30 lines
563 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
2018-02-15 13:17:40 -05:00
buildPythonPackage rec {
pname = "JPype1";
2020-05-09 12:01:42 +02:00
version = "0.7.4";
2018-02-15 13:17:40 -05:00
src = fetchPypi {
inherit pname version;
2020-05-09 12:01:42 +02:00
sha256 = "92f24b0fe11e90b57343494ce38699043d9e6828a22a99dddbcf99c0adb4c1f7";
2018-02-15 13:17:40 -05:00
};
checkInputs = [
pytest
];
2018-02-15 13:17:40 -05:00
# required openjdk (easy) but then there were some class path issues
# when running the tests
2018-07-26 12:32:07 +02:00
doCheck = false;
2018-02-15 13:17:40 -05:00
meta = with lib; {
homepage = "https://github.com/originell/jpype/";
license = licenses.asl20;
description = "A Python to Java bridge";
2018-02-15 13:17:40 -05:00
};
}