Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / argh / default.nix
blob3097db5417545002693576239c9521bd51fbf863
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fetchpatch
5 , flit-core
6 , iocapture
7 , mock
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "argh";
13   version = "0.31.2";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-2xw0iFgE99RkbDhdwvsZtFKYVhMi9MFerhsTOZP54yM=";
19   };
21   nativeBuildInputs = [
22     flit-core
23   ];
25   nativeCheckInputs = [
26     iocapture
27     mock
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "argh" ];
33   meta = with lib; {
34     changelog = "https://github.com/neithere/argh/blob/v${version}/CHANGES";
35     homepage = "https://github.com/neithere/argh";
36     description = "An unobtrusive argparse wrapper with natural syntax";
37     license = licenses.lgpl3Plus;
38     maintainers = with maintainers; [ domenkozar ];
39   };