Unverified Commit 52d6cbc5 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python311Packages.commandparse: disable on unsupported Python releases

parent 5a4e5d7b
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
{ 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";