nixpkgs/pkgs/development/python-modules/pyjnius/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
640 B
Nix
Raw Normal View History

2022-09-06 16:57:33 +00:00
{ buildPythonPackage
, cython
, fetchPypi
, jdk
, lib
, six
}:
buildPythonPackage rec {
pname = "pyjnius";
version = "1.5.0";
2022-09-06 16:57:33 +00:00
src = fetchPypi {
inherit pname version;
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 ];
};
}