python311Packages.commandlines: init at 0.4.1

This commit is contained in:
Dan Callaghan 2023-11-25 16:20:16 +11:00
parent 5796bf1074
commit 55aaa1a09e
No known key found for this signature in database
GPG Key ID: 26B5AA2FDAF2F30A
2 changed files with 33 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };