4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
34 lines
702 B
Nix
34 lines
702 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fetchpatch
|
|
, iocapture
|
|
, mock
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "argh";
|
|
version = "0.27.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2wbZEIHxck40fM23iclXD+yUc351WvFZiDcpPgH8TNI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|