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.

35 lines
702 B
Nix
Raw Normal View History

{ lib
, 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
}:
buildPythonPackage rec {
pname = "argh";
version = "0.27.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-AMkCf29GG88kr+WZooG72ly9Xe5LZwW+++opOkyn0iE=";
};
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 = "An unobtrusive argparse wrapper with natural syntax";
2021-12-27 22:46:45 +00:00
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ domenkozar ];
};
}