Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / decli / default.nix
bloba1d6e0db2eadcd3d8ae7aff991f8c0165674156d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "decli";
11   version = "0.6.1";
12   format = "pyproject";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "woile";
18     repo = pname;
19     rev = "refs/tags/v${version}";
20     hash = "sha256-FZYKNKkQExx/YBn5y/W0+0aMlenuwEctYTL7LAXMZGE=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "decli"
33   ];
35   meta = with lib; {
36     description = "Minimal, easy to use, declarative command line interface tool";
37     homepage = "https://github.com/Woile/decli";
38     changelog = "https://github.com/woile/decli/blob/v${version}/CHANGELOG.md";
39     license = licenses.mit;
40     maintainers = with maintainers; [ lovesegfault ];
41   };