about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/commandparse/default.nix
blob: 68da870f4e2dfad7399b05eac8bf8648bd118a32 (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
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "commandparse";
  version = "1.1.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "06mcxc0vs5qdcywalgyx5zm18z4xcsrg5g0wsqqv5qawkrvmvl53";
  };

  # 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 ];
  };
}