diff --git a/pkgs/development/python-modules/pyjnius/default.nix b/pkgs/development/python-modules/pyjnius/default.nix index 5d8d7f7da01c..292c5f1c116a 100644 --- a/pkgs/development/python-modules/pyjnius/default.nix +++ b/pkgs/development/python-modules/pyjnius/default.nix @@ -1,30 +1,36 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , cython , fetchPypi , jdk -, lib -, six +, pythonOlder }: buildPythonPackage rec { pname = "pyjnius"; - version = "1.4.2"; + version = "1.5.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-/AY3zaSuEo7EqWrDJ9NS6H6oZnZLAdliZyhwvlOana4="; + hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4="; }; - propagatedBuildInputs = [ - six + + nativeBuildInputs = [ + jdk + cython ]; - nativeBuildInputs = [ jdk cython ]; - - pythonImportsCheck = [ "jnius" ]; + pythonImportsCheck = [ + "jnius" + ]; meta = with lib; { description = "A Python module to access Java classes as Python classes using the Java Native Interface (JNI)"; homepage = "https://github.com/kivy/pyjnius"; + changelog = "https://github.com/kivy/pyjnius/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ifurther ]; };