mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python37Packages.vtk: Fix build (#82336)
This commit is contained in:
parent
c9f216d5d5
commit
de36c3b073
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user