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