1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "commandparse";
9 version = "1.1.2";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-S9e90BtS6qMjFtYUmgC0w4IKQP8q1iR2tGqq5l2+n6o=";
17 };
18
19 # tests only distributed upstream source, not PyPi
20 doCheck = false;
21
22 pythonImportsCheck = [
23 "commandparse"
24 ];
25
26 meta = with lib; {
27 description = "Python module to parse command based CLI application";
28 homepage = "https://github.com/flgy/commandparse";
29 license = with licenses; [ mit ];
30 maintainers = [ maintainers.fab ];
31 };
32}