nixpkgs/pkgs/development/libraries/mesa-glu/default.nix
Vladimír Čunát aa0fb73064 mesa: make the attribute include the GL/glu.h
Packages expect it and it used to be true until mesa-9*.
This seems to be the easiest fix, otherwise many changes would be needed.
2013-01-31 22:44:31 +01:00

22 lines
550 B
Nix

{ stdenv, fetchurl, pkgconfig, mesa_noglu }:
stdenv.mkDerivation rec {
name = "glu-9.0.0";
src = fetchurl {
url = "ftp://ftp.freedesktop.org/pub/mesa/glu/${name}.tar.bz2";
sha256 = "04nzlil3a6fifcmb95iix3yl8mbxdl66b99s62yzq8m7g79x0yhz";
};
buildInputs = [ pkgconfig ];
propagatedBuildInputs = [ mesa_noglu ];
passthru = { inherit (mesa_noglu) libdrm; };
meta = {
description = "OpenGL utility library";
homepage = http://cgit.freedesktop.org/mesa/glu/;
license = "bsd"; # SGI-B-2.0, which seems BSD-like
};
}