python311Packages.exitcode: init at 0.1.0
This commit is contained in:
parent
4919a8cdcc
commit
9ae60ea55a
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/exitcode/default.nix
Normal file
40
pkgs/development/python-modules/exitcode/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "exitcode";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rumpelsepp";
|
||||
repo = "exitcode";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-MZeLwU1gODqH752y/nc9WkUArl48pyq9Vun7tX620No=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"exitcode"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Preferred system exit codes as defined by sysexits.h";
|
||||
homepage = "https://github.com/rumpelsepp/exitcode";
|
||||
changelog = "https://github.com/rumpelsepp/exitcode/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3636,6 +3636,8 @@ self: super: with self; {
|
|||
|
||||
exrex = callPackage ../development/python-modules/exrex { };
|
||||
|
||||
exitcode = callPackage ../development/python-modules/exitcode { };
|
||||
|
||||
extractcode = callPackage ../development/python-modules/extractcode { };
|
||||
|
||||
extractcode-7z = callPackage ../development/python-modules/extractcode/7z.nix {
|
||||
|
|
Loading…
Reference in a new issue