2020-01-01 07:19:22 -08:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-16 13:28:57 -07:00
|
|
|
, isPy27
|
2020-01-01 07:19:22 -08:00
|
|
|
, pytest
|
|
|
|
}:
|
2018-02-15 10:17:40 -08:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "JPype1";
|
2020-08-16 10:30:49 -07:00
|
|
|
version = "1.0.2";
|
2020-06-16 13:28:57 -07:00
|
|
|
disabled = isPy27;
|
2018-02-15 10:17:40 -08:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 10:30:49 -07:00
|
|
|
sha256 = "c751436350c105f403e382574d34a6ad73e4a677cb0ff5bc9a87581cc07094e1";
|
2018-02-15 10:17:40 -08:00
|
|
|
};
|
|
|
|
|
2020-01-01 07:19:22 -08:00
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
2018-02-15 10:17:40 -08:00
|
|
|
|
2020-01-01 07:19:22 -08:00
|
|
|
# required openjdk (easy) but then there were some class path issues
|
|
|
|
# when running the tests
|
2018-07-26 03:32:07 -07:00
|
|
|
doCheck = false;
|
2018-02-15 10:17:40 -08:00
|
|
|
|
2020-01-01 07:19:22 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/originell/jpype/";
|
2020-01-01 07:19:22 -08:00
|
|
|
license = licenses.asl20;
|
|
|
|
description = "A Python to Java bridge";
|
2018-02-15 10:17:40 -08:00
|
|
|
};
|
|
|
|
}
|