python37Packages.vtk: Fix build (#82336)

This commit is contained in:
Josef Kemetmüller 2020-03-13 23:12:34 +01:00 committed by GitHub
parent c9f216d5d5
commit de36c3b073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, cmake, libGLU, libGL, libX11, xorgproto, libXt, libtiff { stdenv, fetchurl, cmake, libGLU, libGL, libX11, xorgproto, libXt, libtiff
, fetchpatch
, qtLib ? null , qtLib ? null
, enablePython ? false, python ? null , enablePython ? false, python ? null
# Darwin support # Darwin support
@ -21,6 +22,13 @@ stdenv.mkDerivation rec {
sha256 = "0nm7xwwj7rnsxjdv2ssviys8nhci4n9iiiqm2y14s520hl2dsp1d"; sha256 = "0nm7xwwj7rnsxjdv2ssviys8nhci4n9iiiqm2y14s520hl2dsp1d";
}; };
patches = [
(fetchpatch {
url = "https://gitlab.kitware.com/vtk/vtk/-/commit/706f1b397df09a27ab8981ab9464547028d0c322.diff";
sha256 = "1q3pi5h40g05pzpbqp75xlgzvbfvyw8raza51svmi7d8dlslqybx";
})
];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libtiff ] buildInputs = [ libtiff ]
@ -60,7 +68,7 @@ stdenv.mkDerivation rec {
description = "Open source libraries for 3D computer graphics, image processing and visualization"; description = "Open source libraries for 3D computer graphics, image processing and visualization";
homepage = http://www.vtk.org/; homepage = http://www.vtk.org/;
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ ]; maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
platforms = with stdenv.lib.platforms; unix; platforms = with stdenv.lib.platforms; unix;
}; };
} }