nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 767 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6}: 7 8buildPythonPackage rec { 9 pname = "exitcode"; 10 version = "0.1.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "rumpelsepp"; 15 repo = "exitcode"; 16 tag = "v${version}"; 17 hash = "sha256-MZeLwU1gODqH752y/nc9WkUArl48pyq9Vun7tX620No="; 18 }; 19 20 nativeBuildInputs = [ poetry-core ]; 21 22 # Module has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "exitcode" ]; 26 27 meta = { 28 description = "Preferred system exit codes as defined by sysexits.h"; 29 homepage = "https://github.com/rumpelsepp/exitcode"; 30 changelog = "https://github.com/rumpelsepp/exitcode/releases/tag/v${version}"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}