ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
48 lines
738 B
Nix
48 lines
738 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
libglut,
|
|
libX11,
|
|
libXt,
|
|
libXmu,
|
|
libXi,
|
|
libXext,
|
|
libGL,
|
|
libGLU,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gle";
|
|
version = "3.1.2";
|
|
|
|
buildInputs = [
|
|
libGLU
|
|
libGL
|
|
libglut
|
|
libX11
|
|
libXt
|
|
libXmu
|
|
libXi
|
|
libXext
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linas";
|
|
repo = "glextrusion";
|
|
rev = "refs/tags/${pname}-${version}";
|
|
sha256 = "sha256-yvCu0EOwxOMN6upeHX+C2sIz1YVjjB/320g+Mf24S6g=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Tubing and extrusion library";
|
|
license = lib.licenses.gpl2;
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|