blob: ca024f6f5f13ca45c330b8fb4cccfc1894a65a7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
buildPythonPackage,
cython,
fetchPypi,
jdk,
}:
buildPythonPackage rec {
pname = "pyjnius";
version = "1.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-n4FwhISwqE6tPrC6hOU6xXnkxDyhDHRvmJip891Q9U0=";
};
nativeBuildInputs = [
jdk
cython
];
pythonImportsCheck = [ "jnius" ];
meta = {
description = "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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ ifurther ];
};
}
|