python310packages.pyuca: init at 1.2

This commit is contained in:
Martin Weinelt 2023-05-08 18:48:14 +02:00
parent 7be2ba708e
commit 2e546199d3
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "pyuca";
version = "1.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "jtauber";
repo = "pyuca";
rev = "v${version}";
hash = "sha256-KIWk+/o1MX5J9cO7xITvjHrYg0NdgdTetOzfGVwAI/4=";
};
pythonImportsCheck = [
"pyuca"
];
nativeCheckInputs = [
unittestCheckHook
];
meta = with lib; {
description = "A Python implementation of the Unicode Collation Algorithm";
homepage = "https://github.com/jtauber/pyuca";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -7665,6 +7665,8 @@ self: super: with self; {
pytomorrowio = callPackage ../development/python-modules/pytomorrowio { };
pyuca = callPackage ../development/python-modules/pyuca { };
pyutil = callPackage ../development/python-modules/pyutil { };
pyzbar = callPackage ../development/python-modules/pyzbar { };