mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
41 lines
782 B
Nix
41 lines
782 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fetchpatch
|
|
, flit-core
|
|
, iocapture
|
|
, mock
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "argh";
|
|
version = "0.29.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-aVwK5FNCcMriaXhBtKVvQ0qZBpSgAmTqEOu7zcAsE/c=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|