2018-07-21 01:44:44 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, isPy3k }:
|
2018-02-15 18:17:40 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "JPype1";
|
2018-04-04 19:00:14 +01:00
|
|
|
version = "0.6.3";
|
2018-02-15 18:17:40 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:00:14 +01:00
|
|
|
sha256 = "6841523631874a731e1f94e1b1f130686ad3772030eaa3b6946256eeb1d10dd1";
|
2018-02-15 18:17:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./set-compiler-language.patch ];
|
|
|
|
|
|
|
|
# Test loader complains about non-test module on python3.
|
|
|
|
doCheck = !isPy3k;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/originell/jpype/";
|
|
|
|
license = "License :: OSI Approved :: Apache Software License";
|
|
|
|
description = "A Python to Java bridge.";
|
|
|
|
};
|
|
|
|
}
|