Merge pull request #234785 from wegank/gl2ps-mesa
gl2ps: drop mesa on darwin
This commit is contained in:
commit
5e7b43f716
|
@ -1,11 +1,13 @@
|
|||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, cmake
|
||||
, zlib
|
||||
, libpng
|
||||
, libGL
|
||||
, libGLU
|
||||
, libpng
|
||||
, freeglut
|
||||
, darwin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -23,10 +25,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
zlib
|
||||
libpng
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
libGL
|
||||
libGLU
|
||||
libpng
|
||||
freeglut
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.OpenGL
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -34,6 +39,6 @@ stdenv.mkDerivation rec {
|
|||
description = "An OpenGL to PostScript printing library";
|
||||
platforms = platforms.all;
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [raskin twhitehead];
|
||||
maintainers = with maintainers; [ raskin twhitehead ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue