My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/normality/default.nix

42 lines
732 B

{ lib
, fetchFromGitHub
, buildPythonPackage
, text-unidecode
, chardet
, banal
, PyICU
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "normality";
version = "2.2.5";
src = fetchFromGitHub {
owner = "pudo";
repo = "normality";
rev = version;
sha256 = "n8Ycm5DeFItmMJTolazZKGIyN7CTg2ajDCwi/UqzVe8=";
};
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;
};
}