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

python310Packages.lupa: disable on unsupported Python releases

- add format
parent 9ca9baab
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -2,20 +2,28 @@
, buildPythonPackage
, cython
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  pname = "lupa";
  version = "2.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-rT/vSGvnrd3TSf6anDk3iQYTEs+Y68UztIm+NPSEy3k=";
  };

  nativeBuildInputs = [ cython ];
  nativeBuildInputs = [
    cython
  ];

  pythonImportsCheck = [ "lupa" ];
  pythonImportsCheck = [
    "lupa"
  ];

  meta = with lib; {
    description = "Lua in Python";