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