diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-11-29 09:52:28 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-12-01 14:44:23 +0100 |
commit | d3fc640a7433d427d4e61481efa55d67a6f24098 (patch) | |
tree | a8627b00ee42edd2938fe71a4404e2eeffda0d23 | |
parent | 33f5ff0189f070f68876807a1882957f044d23ae (diff) |
python37Packages.JPype1: fix build
-rw-r--r-- | pkgs/development/python-modules/JPype1/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/JPype1/default.nix b/pkgs/development/python-modules/JPype1/default.nix index 4a557df526ab..11ac2b7599b2 100644 --- a/pkgs/development/python-modules/JPype1/default.nix +++ b/pkgs/development/python-modules/JPype1/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchPypi , isPy27 +, pythonOlder +, typing-extensions , pytest }: @@ -15,6 +17,10 @@ buildPythonPackage rec { sha256 = "c6e36de9f7ef826ff27f6d5260acc710ebc585a534c12cbac905db088ab1d992"; }; + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ + typing-extensions + ]; + checkInputs = [ pytest ]; |