about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/JPype1/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/JPype1/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/JPype1/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/JPype1/default.nix b/nixpkgs/pkgs/development/python-modules/JPype1/default.nix
new file mode 100644
index 000000000000..d449ae8bbf69
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/JPype1/default.nix
@@ -0,0 +1,24 @@
+{ buildPythonPackage, fetchPypi, isPy3k, pytest }:
+
+buildPythonPackage rec {
+  pname = "JPype1";
+  version = "0.6.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "6841523631874a731e1f94e1b1f130686ad3772030eaa3b6946256eeb1d10dd1";
+  };
+
+  patches = [ ./set-compiler-language.patch ];
+
+  checkInputs = [ pytest ];
+
+  # ImportError: Failed to import test module: test.testlucene
+  doCheck = false;
+
+  meta = {
+    homepage = "https://github.com/originell/jpype/";
+    license = "License :: OSI Approved :: Apache Software License";
+    description = "A Python to Java bridge.";
+  };
+}