forked from mirrors/nixpkgs
python3Packages.argparse-dataclass: init at 1.0.0
This commit is contained in:
parent
61d68ad177
commit
c491427c43
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argparse-dataclass";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mivade";
|
||||
repo = "argparse_dataclass";
|
||||
rev = version;
|
||||
sha256 = "6//XQKUnCH3ZtOL6M/EstMJ537nEmbuGQNqfelTluOs=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "argparse_dataclass" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Declarative CLIs with argparse and dataclasses";
|
||||
homepage = "https://github.com/mivade/argparse_dataclass";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tm-drtina ];
|
||||
};
|
||||
}
|
|
@ -612,6 +612,8 @@ self: super: with self; {
|
|||
|
||||
argparse-addons = callPackage ../development/python-modules/argparse-addons { };
|
||||
|
||||
argparse-dataclass = callPackage ../development/python-modules/argparse-dataclass { };
|
||||
|
||||
args = callPackage ../development/python-modules/args { };
|
||||
|
||||
aria2p = callPackage ../development/python-modules/aria2p { };
|
||||
|
|
Loading…
Reference in a new issue