python3Packages.pep440: init at 0.1.0

This commit is contained in:
Fabian Affolter 2021-11-22 00:12:07 +01:00
parent 293e6f0ce5
commit d06436f798
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pep440";
version = "0.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "m1H/yqqDiFrj6tmD9jo8nDakCBZxkBPq/HtSOXMH4ZQ=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pep440"
];
meta = with lib; {
description = "Python module to check whether versions number match PEP 440";
homepage = "https://github.com/Carreau/pep440";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5608,6 +5608,8 @@ in {
pep257 = callPackage ../development/python-modules/pep257 { };
pep440 = callPackage ../development/python-modules/pep440 { };
pep517 = callPackage ../development/python-modules/pep517 { };
pep8 = callPackage ../development/python-modules/pep8 { };