forked from mirrors/nixpkgs
Merge pull request #232080 from tm-drtina/python-argparse-dataclass
python3Packages.argparse-dataclass: init at 1.0.0
This commit is contained in:
commit
c3c08f7fd8
|
@ -16139,6 +16139,12 @@
|
|||
githubId = 3159881;
|
||||
name = "Tobias Markus";
|
||||
};
|
||||
tm-drtina = {
|
||||
email = "tm.drtina@gmail.com";
|
||||
github = "tm-drtina";
|
||||
githubId = 26902865;
|
||||
name = "Tomas Drtina";
|
||||
};
|
||||
tmountain = {
|
||||
email = "tinymountain@gmail.com";
|
||||
github = "tmountain";
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -610,6 +610,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