about summary refs log tree commit diff
path: root/pkgs/development/python-modules/commandparse/default.nix
blob: a7f28dab1563699f8ca80fdcb74232ad18c35bee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "commandparse";
  version = "1.1.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-S9e90BtS6qMjFtYUmgC0w4IKQP8q1iR2tGqq5l2+n6o=";
  };

  # tests only distributed upstream source, not PyPi
  doCheck = false;

  pythonImportsCheck = [ "commandparse" ];

  meta = with lib; {
    description = "Python module to parse command based CLI application";
    homepage = "https://github.com/flgy/commandparse";
    license = with licenses; [ mit ];
    maintainers = [ maintainers.fab ];
  };
}