summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/commandparse
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-08-03 18:25:51 +0200
committerGitHub <noreply@github.com>2023-08-03 18:25:51 +0200
commit52d6cbc56d1075e495069ec5a141e2593ecb09d2 (patch)
treee5ceab68229c3b565deb779529b27d2e580fd92f /pkgs/development/python-modules/commandparse
parent5a4e5d7b1209fd393624478e0397a5dd0b33ae7d (diff)
python311Packages.commandparse: disable on unsupported Python releases
Diffstat (limited to 'pkgs/development/python-modules/commandparse')
-rw-r--r--pkgs/development/python-modules/commandparse/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/commandparse/default.nix b/pkgs/development/python-modules/commandparse/default.nix
index 7ac68dd973ef..e146649604f0 100644
--- a/pkgs/development/python-modules/commandparse/default.nix
+++ b/pkgs/development/python-modules/commandparse/default.nix
@@ -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";