diff --git a/pkgs/development/python-modules/JPype1/default.nix b/pkgs/development/python-modules/JPype1/default.nix index 9198970cc42c..22093f0258a9 100644 --- a/pkgs/development/python-modules/JPype1/default.nix +++ b/pkgs/development/python-modules/JPype1/default.nix @@ -1,4 +1,8 @@ -{ buildPythonPackage, fetchPypi, pytest }: +{ lib +, buildPythonPackage +, fetchPypi +, pytest +}: buildPythonPackage rec { pname = "JPype1"; @@ -9,16 +13,17 @@ buildPythonPackage rec { sha256 = "c16d01cde9c2c955d76d45675e64b06c3255784d49cea4147024e99a01fbbb18"; }; - patches = [ ./set-compiler-language.patch ]; + checkInputs = [ + pytest + ]; - checkInputs = [ pytest ]; - - # ImportError: Failed to import test module: test.testlucene + # required openjdk (easy) but then there were some class path issues + # when running the tests doCheck = false; - meta = { - homepage = "https://github.com/originell/jpype/"; - license = "License :: OSI Approved :: Apache Software License"; - description = "A Python to Java bridge."; + meta = with lib; { + homepage = https://github.com/originell/jpype/; + license = licenses.asl20; + description = "A Python to Java bridge"; }; } diff --git a/pkgs/development/python-modules/JPype1/set-compiler-language.patch b/pkgs/development/python-modules/JPype1/set-compiler-language.patch deleted file mode 100644 index 1d5921a6ffab..000000000000 --- a/pkgs/development/python-modules/JPype1/set-compiler-language.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/setup.py b/setup.py ---- a/setup.py 2017-01-12 19:08:44.000000000 -0500 -+++ b/setup.py 2018-02-15 12:28:16.000000000 -0500 -@@ -123,7 +123,7 @@ - - # extra compile args - copt = {'msvc': ['/EHsc'], -- 'unix' : ['-ggdb'], -+ 'unix' : ['-ggdb', '-x', 'c++'], - 'mingw32' : [], - } - # extra link args