Merge pull request #310472 from Sigmanificient/normality
python3Packages.normality: adopt, 2.2.5 -> 2.5.0
This commit is contained in:
commit
2e540a107e
1 changed files with 24 additions and 19 deletions
|
@ -1,43 +1,48 @@
|
||||||
{ lib
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
, buildPythonPackage
|
fetchFromGitHub,
|
||||||
, text-unidecode
|
buildPythonPackage,
|
||||||
, chardet
|
setuptools,
|
||||||
, banal
|
setuptools-scm,
|
||||||
, pyicu
|
text-unidecode,
|
||||||
, pytestCheckHook
|
charset-normalizer,
|
||||||
|
chardet,
|
||||||
|
banal,
|
||||||
|
pyicu,
|
||||||
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "normality";
|
pname = "normality";
|
||||||
version = "2.2.5";
|
version = "2.5.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pudo";
|
owner = "pudo";
|
||||||
repo = "normality";
|
repo = "normality";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "n8Ycm5DeFItmMJTolazZKGIyN7CTg2ajDCwi/UqzVe8=";
|
hash = "sha256-cGQpNhUqlT2B9wKDoDeDmyCNQLwWR7rTCLxnPHhMR0w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
setuptools
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
charset-normalizer
|
||||||
text-unidecode
|
text-unidecode
|
||||||
chardet
|
chardet
|
||||||
banal
|
banal
|
||||||
pyicu
|
pyicu
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
pytestCheckHook
|
pythonImportsCheck = [ "normality" ];
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
|
||||||
"normality"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Micro-library to normalize text strings";
|
description = "Micro-library to normalize text strings";
|
||||||
homepage = "https://github.com/pudo/normality";
|
homepage = "https://github.com/pudo/normality";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ ];
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue