depot/pkgs/by-name/gl/gle/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
738 B
Nix
Raw Normal View History

{
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;
};
}