zfp: use python3Packages

This commit is contained in:
Martin Weinelt 2022-07-04 13:12:41 +02:00
parent 47b3ccc305
commit 5739870901
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,4 @@
{ cmake, cudatoolkit, fetchFromGitHub, gfortran, lib, llvmPackages, pythonPackages, stdenv, targetPlatform
{ cmake, cudatoolkit, fetchFromGitHub, gfortran, lib, llvmPackages, python3Packages, stdenv, targetPlatform
, enableCfp ? true
, enableCuda ? false
, enableExamples ? true
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional enableCuda cudatoolkit
++ lib.optional enableFortran gfortran
++ lib.optional enableOpenMP llvmPackages.openmp
++ lib.optionals enablePython [ pythonPackages.cython pythonPackages.numpy pythonPackages.python ];
++ lib.optionals enablePython (with python3Packages; [ cython numpy python ]);
cmakeFlags = [
# More tests not enabled by default