depot/third_party/nixpkgs/pkgs/development/libraries/mesa-glu/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

25 lines
710 B
Nix

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