1{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "argparse-dataclass";
5 version = "1.0.0";
6
7 src = fetchFromGitHub {
8 owner = "mivade";
9 repo = "argparse_dataclass";
10 rev = version;
11 sha256 = "6//XQKUnCH3ZtOL6M/EstMJ537nEmbuGQNqfelTluOs=";
12 };
13
14 checkInputs = [ pytestCheckHook ];
15
16 pythonImportsCheck = [ "argparse_dataclass" ];
17
18 meta = with lib; {
19 description = "Declarative CLIs with argparse and dataclasses";
20 homepage = "https://github.com/mivade/argparse_dataclass";
21 license = licenses.mit;
22 maintainers = with maintainers; [ tm-drtina ];
23 };
24}