nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 33 lines 711 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 fetchPypi, 6 jdk, 7}: 8 9buildPythonPackage rec { 10 pname = "pyjnius"; 11 version = "1.7.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-n4FwhISwqE6tPrC6hOU6xXnkxDyhDHRvmJip891Q9U0="; 17 }; 18 19 nativeBuildInputs = [ 20 jdk 21 cython 22 ]; 23 24 pythonImportsCheck = [ "jnius" ]; 25 26 meta = { 27 description = "Python module to access Java classes as Python classes using the Java Native Interface (JNI)"; 28 homepage = "https://github.com/kivy/pyjnius"; 29 changelog = "https://github.com/kivy/pyjnius/blob/${version}/CHANGELOG.md"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ ifurther ]; 32 }; 33}