gl2ps: drop mesa on darwin
This commit is contained in:
parent
fa386a50ae
commit
63fa43aeb2
1 changed files with 9 additions and 4 deletions
|
@ -1,11 +1,13 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, cmake
|
, cmake
|
||||||
, zlib
|
, zlib
|
||||||
|
, libpng
|
||||||
, libGL
|
, libGL
|
||||||
, libGLU
|
, libGLU
|
||||||
, libpng
|
|
||||||
, freeglut
|
, freeglut
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -23,10 +25,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib
|
zlib
|
||||||
|
libpng
|
||||||
|
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||||
libGL
|
libGL
|
||||||
libGLU
|
libGLU
|
||||||
libpng
|
|
||||||
freeglut
|
freeglut
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.OpenGL
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -34,6 +39,6 @@ stdenv.mkDerivation rec {
|
||||||
description = "An OpenGL to PostScript printing library";
|
description = "An OpenGL to PostScript printing library";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
maintainers = with maintainers; [raskin twhitehead];
|
maintainers = with maintainers; [ raskin twhitehead ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue