diff --git a/pkgs/development/python-modules/lupa/default.nix b/pkgs/development/python-modules/lupa/default.nix index b5f40446bde7..b2123b92eb1f 100644 --- a/pkgs/development/python-modules/lupa/default.nix +++ b/pkgs/development/python-modules/lupa/default.nix @@ -2,24 +2,33 @@ , buildPythonPackage , cython , fetchPypi +, pythonOlder }: buildPythonPackage rec { pname = "lupa"; - version = "1.14.1"; + version = "2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-0P1OYK0Un+JckFMOKg4DKkKm8EVfKcoO24Fw1ux1HG4="; + hash = "sha256-rT/vSGvnrd3TSf6anDk3iQYTEs+Y68UztIm+NPSEy3k="; }; - nativeBuildInputs = [ cython ]; + nativeBuildInputs = [ + cython + ]; - pythonImportsCheck = [ "lupa" ]; + pythonImportsCheck = [ + "lupa" + ]; meta = with lib; { description = "Lua in Python"; homepage = "https://github.com/scoder/lupa"; + changelog = "https://github.com/scoder/lupa/blob/lupa-${version}/CHANGES.rst"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };