mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python311Packages.commandlines: init at 0.4.1
This commit is contained in:
parent
5796bf1074
commit
55aaa1a09e
31
pkgs/development/python-modules/commandlines/default.nix
Normal file
31
pkgs/development/python-modules/commandlines/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "commandlines";
|
||||
version = "0.4.1";
|
||||
|
||||
# PyPI source tarballs omit tests, fetch from Github instead
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrissimpkins";
|
||||
repo = "commandlines";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-x3iUeOTAaTKNW5Y5foMPMJcWVxu52uYZoY3Hhe3UvQ4=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for command line argument parsing";
|
||||
homepage = "https://github.com/chrissimpkins/commandlines";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ danc86 ];
|
||||
};
|
||||
}
|
||||
|
@ -2252,6 +2252,8 @@ self: super: with self; {
|
||||
|
||||
comm = callPackage ../development/python-modules/comm { };
|
||||
|
||||
commandlines = callPackage ../development/python-modules/commandlines { };
|
||||
|
||||
commandparse = callPackage ../development/python-modules/commandparse { };
|
||||
|
||||
commentjson = callPackage ../development/python-modules/commentjson { };
|
||||
|
Loading…
Reference in New Issue
Block a user