python3.pkgs.normality: init at 2.1.3

This commit is contained in:
Cole Helbling 2021-04-19 21:00:22 -07:00
parent 2456c3524b
commit 3eb8428c86
No known key found for this signature in database
GPG Key ID: B37E0F2371016A4C
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, text-unidecode
, chardet
, banal
, PyICU
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "normality";
version = "2.1.3";
src = fetchFromGitHub {
owner = "pudo";
repo = "normality";
rev = version;
sha256 = "WvpMs02vBGnCSPkxo6r6g4Di2fKkUr2SsBflTBxlhkU=";
};
propagatedBuildInputs = [
text-unidecode
chardet
banal
PyICU
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"normality"
];
meta = with lib; {
description = "Micro-library to normalize text strings";
homepage = "https://github.com/pudo/normality";
license = licenses.mit;
maintainers = teams.determinatesystems.members;
};
}

View File

@ -4749,6 +4749,8 @@ in {
noiseprotocol = callPackage ../development/python-modules/noiseprotocol { };
normality = callPackage ../development/python-modules/normality { };
nose2 = callPackage ../development/python-modules/nose2 { };
nose = callPackage ../development/python-modules/nose { };