nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 32 lines 604 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pep440"; 10 version = "0.1.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "m1H/yqqDiFrj6tmD9jo8nDakCBZxkBPq/HtSOXMH4ZQ="; 16 }; 17 18 checkInputs = [ 19 pytestCheckHook 20 ]; 21 22 pythonImportsCheck = [ 23 "pep440" 24 ]; 25 26 meta = with lib; { 27 description = "Python module to check whether versions number match PEP 440"; 28 homepage = "https://github.com/Carreau/pep440"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}