Merge pull request #297800 from ViZiD/wunsen
python311Packages.wunsen: init at 0.0.3
This commit is contained in:
commit
0123d9c1b0
52
pkgs/development/python-modules/wunsen/default.nix
Normal file
52
pkgs/development/python-modules/wunsen/default.nix
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
|
||||||
|
, pythonOlder
|
||||||
|
|
||||||
|
, unittestCheckHook
|
||||||
|
|
||||||
|
, hatchling
|
||||||
|
|
||||||
|
, khanaa
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "wunsen";
|
||||||
|
version = "0.0.3";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cakimpei";
|
||||||
|
repo = "wunsen";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-lMEhtcWG+S3vAz+Y/qDxhaZslsO0pbs5xUn5QgZNs2U=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
khanaa
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
unittestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
unittestFlagsArray = [ "-s" "tests" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "wunsen" ];
|
||||||
|
|
||||||
|
meta = with lib;
|
||||||
|
{
|
||||||
|
description = "Transliterate/transcribe other languages into Thai Topics";
|
||||||
|
homepage = "https://github.com/cakimpei/wunsen";
|
||||||
|
changelog = "https://github.com/cakimpei/wunsen/releases/tag/v${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ vizid ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16667,6 +16667,8 @@ self: super: with self; {
|
||||||
|
|
||||||
wtforms-bootstrap5 = callPackage ../development/python-modules/wtforms-bootstrap5 { };
|
wtforms-bootstrap5 = callPackage ../development/python-modules/wtforms-bootstrap5 { };
|
||||||
|
|
||||||
|
wunsen = callPackage ../development/python-modules/wunsen { };
|
||||||
|
|
||||||
wtf-peewee = callPackage ../development/python-modules/wtf-peewee { };
|
wtf-peewee = callPackage ../development/python-modules/wtf-peewee { };
|
||||||
|
|
||||||
wurlitzer = callPackage ../development/python-modules/wurlitzer { };
|
wurlitzer = callPackage ../development/python-modules/wurlitzer { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user