depot/third_party/nixpkgs/pkgs/development/python-modules/argparse-dataclass/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

24 lines
636 B
Nix

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