1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/JPype1/default.nix
2018-02-15 13:17:40 -05:00

23 lines
554 B
Nix

{ 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.";
};
}