2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-27 13:47:07 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-12-27 22:46:45 +00:00
|
|
|
, fetchpatch
|
2018-11-24 13:36:04 +00:00
|
|
|
, iocapture
|
2021-12-27 22:46:45 +00:00
|
|
|
, mock
|
|
|
|
, pytestCheckHook
|
2018-10-27 13:47:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "argh";
|
2023-02-10 17:26:20 +00:00
|
|
|
version = "0.27.2";
|
2018-10-27 13:47:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-02-10 17:26:20 +00:00
|
|
|
hash = "sha256-AMkCf29GG88kr+WZooG72ly9Xe5LZwW+++opOkyn0iE=";
|
2018-10-27 13:47:07 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2021-12-27 22:46:45 +00:00
|
|
|
iocapture
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "argh" ];
|
2018-10-27 13:47:07 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2023-02-09 01:15:07 +00:00
|
|
|
changelog = "https://github.com/neithere/argh/blob/v${version}/CHANGES";
|
2021-12-27 22:46:45 +00:00
|
|
|
homepage = "https://github.com/neithere/argh";
|
2018-10-27 13:47:07 +00:00
|
|
|
description = "An unobtrusive argparse wrapper with natural syntax";
|
2021-12-27 22:46:45 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2018-10-27 13:47:07 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
}
|