mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
fbda1dbfd6
Allow the macOS GLUT framework to be used automatically in many cases. Packages that specifically search for freeglut or require its additional APIs should still explicitly depend on it. Deliberately skip the Haskell package set, which is mostly automatically generated, and mupdf, which has its own fork of freeglut.
20 lines
666 B
Nix
20 lines
666 B
Nix
{lib, stdenv, fetchurl, libglut, libX11, libXt, libXmu, libXi, libXext, libGL, libGLU}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "gle";
|
|
version = "3.1.0";
|
|
buildInputs = [libGLU libGL libglut libX11 libXt libXmu libXi libXext];
|
|
src = fetchurl {
|
|
urls = [
|
|
"mirror://sourceforge/project/gle/gle/gle-${version}/gle-${version}.tar.gz"
|
|
"https://www.linas.org/gle/pub/gle-${version}.tar.gz"
|
|
];
|
|
sha256 = "09zs1di4dsssl9k322nzildvf41jwipbzhik9p43yb1bcfsp92nw";
|
|
};
|
|
meta = {
|
|
description = "Tubing and extrusion library";
|
|
license = lib.licenses.gpl2 ;
|
|
maintainers = [lib.maintainers.raskin];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|