python312Packages.pyunormalize: init at 16.0.0

This commit is contained in:
Florian Franzen
2024-09-17 22:26:44 +02:00
committed by hellwolf
parent 933ec31443
commit 563e494e12
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
# nativeCheckInputs
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyunormalize";
version = "16.0.0";
pyproject = true;
# No tags on GitHub
src = fetchPypi {
inherit pname version;
hash = "sha256-Lh37tKEYFUrib3BxBCalKjZLkmyRkfdkYB9ajLEnYfc=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
# The pypi archive does not contain the tests.
# NOTE: one should review this for each future update.
doCheck = false;
pythonImportsCheck = [ "pyunormalize" ];
meta = {
description = "Unicode normalization forms (NFC, NFKC, NFD, NFKD) independent of the Python core Unicode database";
homepage = "https://github.com/mlodewijck/pyunormalize";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hellwolf ];
};
}

View File

@@ -10843,6 +10843,8 @@ self: super: with self; {
pyunpack = callPackage ../development/python-modules/pyunpack { };
pyunormalize = callPackage ../development/python-modules/pyunormalize { };
pyutil = callPackage ../development/python-modules/pyutil { };
pyzbar = callPackage ../development/python-modules/pyzbar { };