depot/third_party/nixpkgs/pkgs/development/python-modules/argh/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
772 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
iocapture,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "argh";
version = "0.31.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-2xw0iFgE99RkbDhdwvsZtFKYVhMi9MFerhsTOZP54yM=";
};
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 ];
};
}