Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
761 B · 37 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, cython, fetchPypi, jdk, pythonOlder}:
buildPythonPackage rec { pname = "pyjnius"; version = "1.5.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4="; };
nativeBuildInputs = [ jdk cython ];
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 ]; };}