Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 29 lines 561 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "JPype1"; 9 version = "0.7.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "c16d01cde9c2c955d76d45675e64b06c3255784d49cea4147024e99a01fbbb18"; 14 }; 15 16 checkInputs = [ 17 pytest 18 ]; 19 20 # required openjdk (easy) but then there were some class path issues 21 # when running the tests 22 doCheck = false; 23 24 meta = with lib; { 25 homepage = https://github.com/originell/jpype/; 26 license = licenses.asl20; 27 description = "A Python to Java bridge"; 28 }; 29}