1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "commandparse";
8 version = "1.1.1";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "06mcxc0vs5qdcywalgyx5zm18z4xcsrg5g0wsqqv5qawkrvmvl53";
13 };
14
15 # tests only distributed upstream source, not PyPi
16 doCheck = false;
17 pythonImportsCheck = [ "commandparse" ];
18
19 meta = with lib; {
20 description = "Python module to parse command based CLI application";
21 homepage = "https://github.com/flgy/commandparse";
22 license = with licenses; [ mit ];
23 maintainers = [ maintainers.fab ];
24 };
25}