Skip to content

Commit fa0e52a

Browse files
committed
vigra: use python3
1 parent 9cdd711 commit fa0e52a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pkgs/development/libraries/vigra/default.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
, libpng
1313
, libtiff
1414
, openexr
15-
, python2Packages
15+
, python3
1616
}:
1717

1818
let
19-
inherit (python2Packages) python numpy;
20-
# Might want to use `python2.withPackages(ps: [ps.numpy]);` here...
19+
python = python3.withPackages (py: with py; [ numpy ]);
2120
in
2221
stdenv.mkDerivation rec {
2322
pname = "vigra";
@@ -50,7 +49,6 @@ stdenv.mkDerivation rec {
5049
libjpeg
5150
libpng
5251
libtiff
53-
numpy
5452
openexr
5553
python
5654
];

0 commit comments

Comments
 (0)