python311Packages.commandparse: disable on unsupported Python releases
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "commandparse";
|
||||
version = "1.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@@ -14,7 +18,10 @@ buildPythonPackage rec {
|
||||
|
||||
# tests only distributed upstream source, not PyPi
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "commandparse" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"commandparse"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to parse command based CLI application";
|
||||
|
||||
Reference in New Issue
Block a user