2020-01-01 16:19:22 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
2018-02-15 19:17:40 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "JPype1";
|
2019-12-19 20:31:03 +01:00
|
|
|
version = "0.7.1";
|
2018-02-15 19:17:40 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 20:31:03 +01:00
|
|
|
sha256 = "c16d01cde9c2c955d76d45675e64b06c3255784d49cea4147024e99a01fbbb18";
|
2018-02-15 19:17:40 +01:00
|
|
|
};
|
|
|
|
|
2020-01-01 16:19:22 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
2018-02-15 19:17:40 +01:00
|
|
|
|
2020-01-01 16:19:22 +01: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 19:17:40 +01:00
|
|
|
|
2020-01-01 16:19:22 +01:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://github.com/originell/jpype/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
description = "A Python to Java bridge";
|
2018-02-15 19:17:40 +01:00
|
|
|
};
|
|
|
|
}
|