vigra: use python3

This commit is contained in:
Martin Weinelt 2022-01-12 04:40:07 +01:00
parent 9cdd711a66
commit fa0e52a918
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -12,12 +12,11 @@
, libpng , libpng
, libtiff , libtiff
, openexr , openexr
, python2Packages , python3
}: }:
let let
inherit (python2Packages) python numpy; python = python3.withPackages (py: with py; [ numpy ]);
# Might want to use `python2.withPackages(ps: [ps.numpy]);` here...
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vigra"; pname = "vigra";
@ -50,7 +49,6 @@ stdenv.mkDerivation rec {
libjpeg libjpeg
libpng libpng
libtiff libtiff
numpy
openexr openexr
python python
]; ];