Merge pull request #145098 from veprbl/pr/pyjet_python38_fix

python38Packages.pyjet: fix build

authored by

Timothy DeHerrera and committed by
GitHub
b31c4628 d14ae626

+6 -2
+6 -2
pkgs/development/python-modules/pyjet/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, cython, pytest, numpy }: 1 + { lib, buildPythonPackage, pythonOlder, fetchFromGitHub, cython, pytest, importlib-resources, numpy }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pyjet"; ··· 13 13 }; 14 14 15 15 nativeBuildInputs = [ cython ]; 16 - propagatedBuildInputs = [ numpy ]; 16 + propagatedBuildInputs = [ 17 + numpy 18 + ] ++ lib.optionals (pythonOlder "3.9") [ 19 + importlib-resources 20 + ]; 17 21 18 22 checkInputs = [ pytest ]; 19 23 checkPhase = ''