python311Packages.wunsen: init at 0.0.3

This commit is contained in:
Radik Islamov 2024-03-21 23:54:57 +05:00
parent 34cfa58e79
commit 0ea5d36e3f
No known key found for this signature in database
GPG Key ID: D0B0CBDAF7A902DC
2 changed files with 54 additions and 0 deletions

View 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 ];
};
}

View File

@ -16661,6 +16661,8 @@ self: super: with self; {
wtforms-bootstrap5 = callPackage ../development/python-modules/wtforms-bootstrap5 { };
wunsen = callPackage ../development/python-modules/wunsen { };
wtf-peewee = callPackage ../development/python-modules/wtf-peewee { };
wurlitzer = callPackage ../development/python-modules/wurlitzer { };