From d3fc640a7433d427d4e61481efa55d67a6f24098 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 29 Nov 2020 09:52:28 -0800 Subject: [PATCH] python37Packages.JPype1: fix build --- pkgs/development/python-modules/JPype1/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 ];