02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
26 lines
661 B
Nix
26 lines
661 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "argparse-dataclass";
|
|
version = "1.0.0";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|