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