3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.argparse-dataclass: init at 1.0.0

This commit is contained in:
Tomas Drtina 2023-05-13 05:47:42 +02:00
parent 61d68ad177
commit c491427c43
No known key found for this signature in database
GPG key ID: F1E8E218484B075F
2 changed files with 26 additions and 0 deletions

View file

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

View file

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