depot/third_party/nixpkgs/pkgs/development/libraries/mesa-glu/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
725 B
Nix

{ stdenv, fetchurl, pkgconfig, libGL, ApplicationServices }:
stdenv.mkDerivation rec {
pname = "glu";
version = "9.0.1";
src = fetchurl {
url = "https://mesa.freedesktop.org/archive/${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;
};
}