2022-09-06 16:57:33 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, fetchPypi
|
|
|
|
, jdk
|
|
|
|
, lib
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyjnius";
|
2023-05-17 06:12:39 +00:00
|
|
|
version = "1.5.0";
|
2022-09-06 16:57:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-17 06:12:39 +00:00
|
|
|
hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4=";
|
2022-09-06 16:57:33 +00:00
|
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ifurther ];
|
|
|
|
};
|
|
|
|
}
|