e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
40 lines
782 B
Nix
40 lines
782 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fetchpatch
|
|
, flit-core
|
|
, iocapture
|
|
, mock
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "argh";
|
|
version = "0.30.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-n8qOacTa1PjSp7373YCwdURitTUQoD4bXPK0Oofm6WA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit-core
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
iocapture
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "argh" ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/neithere/argh/blob/v${version}/CHANGES";
|
|
homepage = "https://github.com/neithere/argh";
|
|
description = "An unobtrusive argparse wrapper with natural syntax";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
}
|