evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / decli / default.nix
blob0298d04cf2476993385f2fd2201ace8f7352ca63
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "decli";
12   version = "0.6.1";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "woile";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-FZYKNKkQExx/YBn5y/W0+0aMlenuwEctYTL7LAXMZGE=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "decli" ];
30   meta = with lib; {
31     description = "Minimal, easy to use, declarative command line interface tool";
32     homepage = "https://github.com/Woile/decli";
33     changelog = "https://github.com/woile/decli/blob/v${version}/CHANGELOG.md";
34     license = licenses.mit;
35     maintainers = with maintainers; [ lovesegfault ];
36   };