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