3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/JPype1/default.nix

23 lines
554 B
Nix
Raw Normal View History

2018-02-15 18:17:40 +00:00
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
pname = "JPype1";
version = "0.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "09bzmnzkjbrf60h39wapxc1l8mb3r9km486cly0mm78bv096884r";
};
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.";
};
}