depot/third_party/nixpkgs/pkgs/development/python-modules/pep440/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

32 lines
604 B
Nix

{ 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 ];
};
}