mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
Merge pull request #257636 from fabaff/exitcode
python311Packages.exitcode: init at 0.1.0
This commit is contained in:
commit
b710d9572d
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 New Issue
Block a user