2021-01-25 08:26:54 +00:00
|
|
|
{
|
|
|
|
lib,
|
2018-10-27 13:47:07 +00:00
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2023-03-09 17:51:34 +00:00
|
|
|
flit-core,
|
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";
|
2024-07-14 01:17:38 +00:00
|
|
|
version = "0.31.3";
|
2023-03-09 17:51:34 +00:00
|
|
|
format = "pyproject";
|
2018-10-27 13:47:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-14 01:17:38 +00:00
|
|
|
hash = "sha256-8wAj2L4Uyl7msbPuq4KRUde72kZK4H3E3VNHkZxYkvk=";
|
2018-10-27 13:47:07 +00:00
|
|
|
};
|
|
|
|
|
2023-03-09 17:51:34 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
|
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 = "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 ];
|
|
|
|
};
|
|
|
|
}
|