nixpkgs/pkgs/development/python-modules/argh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
769 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
2018-11-24 13:36:04 +00:00
iocapture,
2021-12-27 22:46:45 +00:00
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "argh";
version = "0.31.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-8wAj2L4Uyl7msbPuq4KRUde72kZK4H3E3VNHkZxYkvk=";
};
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [
2021-12-27 22:46:45 +00:00
iocapture
mock
pytestCheckHook
];
pythonImportsCheck = [ "argh" ];
meta = with lib; {
changelog = "https://github.com/neithere/argh/blob/v${version}/CHANGES";
2021-12-27 22:46:45 +00:00
homepage = "https://github.com/neithere/argh";
description = "Unobtrusive argparse wrapper with natural syntax";
2021-12-27 22:46:45 +00:00
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ domenkozar ];
};
}