vscode-extensions.yoavbls.pretty-ts-errors: 0.5.4 -> 0.6.1 (#363464)
[NixPkgs.git] / pkgs / development / python-modules / argparse-dataclass / default.nix
blob5de2533fb17b626b8e40c9a470390b762a36fe78
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "argparse-dataclass";
12   version = "2.0.0";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "mivade";
19     repo = "argparse_dataclass";
20     tag = version;
21     hash = "sha256-ASdP6LOEeTszyppYV6vRQX8BKOHYUimI36tMSZTQfTk=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "argparse_dataclass" ];
30   meta = with lib; {
31     description = "Declarative CLIs with argparse and dataclasses";
32     homepage = "https://github.com/mivade/argparse_dataclass";
33     changelog = "https://github.com/mivade/argparse_dataclass/blob/${version}/CHANGELOG.md";
34     license = licenses.mit;
35     maintainers = with maintainers; [ tm-drtina ];
36   };