2019-06-04 19:23:05 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libGL, ApplicationServices }:
|
2013-01-30 07:43:04 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "glu";
|
2019-08-23 20:30:39 -07:00
|
|
|
version = "9.0.1";
|
2013-01-30 07:43:04 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-23 20:30:39 -07:00
|
|
|
url = "ftp://ftp.freedesktop.org/pub/mesa/${pname}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1g2m634p73mixkzv1qz1d0flwm390ydi41bwmchiqvdssqnlqnpv";
|
2013-01-30 07:43:04 -08:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:25:26 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-06-04 19:23:05 -07:00
|
|
|
propagatedBuildInputs = [ libGL ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
|
2013-01-31 13:44:31 -08:00
|
|
|
|
2016-09-01 08:23:12 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2013-01-30 07:43:04 -08:00
|
|
|
meta = {
|
|
|
|
description = "OpenGL utility library";
|
2017-08-02 14:50:51 -07:00
|
|
|
homepage = https://cgit.freedesktop.org/mesa/glu/;
|
2014-11-05 16:44:33 -08:00
|
|
|
license = stdenv.lib.licenses.sgi-b-20;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2019-02-22 07:36:48 -08:00
|
|
|
broken = stdenv.hostPlatform.isAndroid;
|
2013-01-30 07:43:04 -08:00
|
|
|
};
|
|
|
|
}
|