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