1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/mesa-glu/default.nix
Will Dietz 7d1b5fa2b0 mesa_glu: 9.0.0 -> 9.0.1
* source tarball is now xz, not bz2
* pkgconfig was fixed to include Cflags

https://gitlab.freedesktop.org/mesa/glu/compare/glu-9.0.0...glu-9.0.1
2019-09-06 19:32:01 +02:00

26 lines
721 B
Nix

{ stdenv, fetchurl, pkgconfig, libGL, ApplicationServices }:
stdenv.mkDerivation rec {
pname = "glu";
version = "9.0.1";
src = fetchurl {
url = "ftp://ftp.freedesktop.org/pub/mesa/${pname}/${pname}-${version}.tar.xz";
sha256 = "1g2m634p73mixkzv1qz1d0flwm390ydi41bwmchiqvdssqnlqnpv";
};
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libGL ]
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
outputs = [ "out" "dev" ];
meta = {
description = "OpenGL utility library";
homepage = https://cgit.freedesktop.org/mesa/glu/;
license = stdenv.lib.licenses.sgi-b-20;
platforms = stdenv.lib.platforms.unix;
broken = stdenv.hostPlatform.isAndroid;
};
}