mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
glui: init at 2.36
This commit is contained in:
parent
97c64f560c
commit
32cbc5b794
24
pkgs/development/libraries/glui/default.nix
Normal file
24
pkgs/development/libraries/glui/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{stdenv, fetchurl, freeglut, mesa, libXmu, libXext, libX11, libXi}:
|
||||
stdenv.mkDerivation {
|
||||
name = "glui-2.35";
|
||||
buildInputs = [freeglut mesa libXmu libXext libX11 libXi];
|
||||
preConfigure = ''cd src'';
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{bin,lib,share/glui/doc,include}
|
||||
cp -rT bin "$out/bin"
|
||||
cp -rT lib "$out/lib"
|
||||
cp -rT include "$out/include"
|
||||
cp -rT doc "$out/share/glui/doc"
|
||||
cp LICENSE.txt "$out/share/glui/doc"
|
||||
'';
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/glui/Source/2.36/glui-2.36.tgz";
|
||||
sha256 = "11r7f0k5jlbl825ibhm5c6bck0fn1hbliya9x1f253ikry1mxvy1";
|
||||
};
|
||||
meta = {
|
||||
description = ''A user interface library using OpenGL'';
|
||||
license = stdenv.lib.licenses.zlib ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -7131,6 +7131,8 @@ in
|
||||
camlimages = ocamlPackages.camlimages_4_0;
|
||||
};
|
||||
|
||||
glui = callPackage ../development/libraries/glui {};
|
||||
|
||||
gmime = callPackage ../development/libraries/gmime { };
|
||||
|
||||
gmm = callPackage ../development/libraries/gmm { };
|
||||
|
Loading…
Reference in New Issue
Block a user