nixpkgs/pkgs/development/python-modules/JPype1/default.nix

32 lines
593 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
}:
2018-02-15 10:17:40 -08:00
buildPythonPackage rec {
pname = "JPype1";
2020-06-05 10:44:32 -07:00
version = "0.7.5";
disabled = isPy27;
2018-02-15 10:17:40 -08:00
src = fetchPypi {
inherit pname version;
2020-06-05 10:44:32 -07:00
sha256 = "7bbd25453dc04704d77d854c80acb5537ecb18b9de8a5572e5f22649a2160aaf";
2018-02-15 10:17:40 -08:00
};
checkInputs = [
pytest
];
2018-02-15 10:17:40 -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
meta = with lib; {
homepage = "https://github.com/originell/jpype/";
license = licenses.asl20;
description = "A Python to Java bridge";
2018-02-15 10:17:40 -08:00
};
}