2013-01-31 21:44:31 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, mesa_noglu }:
|
2013-01-30 15:43:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "glu-9.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.freedesktop.org/pub/mesa/glu/${name}.tar.bz2";
|
|
|
|
sha256 = "04nzlil3a6fifcmb95iix3yl8mbxdl66b99s62yzq8m7g79x0yhz";
|
|
|
|
};
|
2016-03-28 09:32:34 +00:00
|
|
|
postPatch = ''
|
|
|
|
echo 'Cflags: -I''${includedir}' >> glu.pc.in
|
|
|
|
'';
|
2013-01-30 15:43:04 +00:00
|
|
|
|
2013-01-31 21:44:31 +00:00
|
|
|
buildInputs = [ pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ mesa_noglu ];
|
|
|
|
|
2016-09-01 15:23:12 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2013-01-30 15:43:04 +00:00
|
|
|
meta = {
|
|
|
|
description = "OpenGL utility library";
|
2017-08-02 21:50:51 +00: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 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-01-30 15:43:04 +00:00
|
|
|
};
|
|
|
|
}
|