tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
glew: update, and tweak meta
Vladimír Čunát
11 years ago
084626de
59e3e060
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
glew
default.nix
+6
-4
pkgs/development/libraries/glew/default.nix
···
3
with stdenv.lib;
4
5
stdenv.mkDerivation rec {
6
-
name = "glew-1.10.0";
7
8
src = fetchurl {
9
url = "mirror://sourceforge/glew/${name}.tgz";
10
-
sha256 = "01zki46dr5khzlyywr3cg615bcal32dazfazkf360s1znqh17i4r";
11
};
12
13
nativeBuildInputs = [ x11 libXmu libXi ];
···
42
] ++ optional (stdenv.cross.libc == "msvcrt") "SYSTEM=mingw"
43
++ optional (stdenv.cross.libc == "libSystem") "SYSTEM=darwin";
44
45
-
meta = {
46
description = "An OpenGL extension loading library for C(++)";
47
homepage = http://glew.sourceforge.net/;
48
-
license = ["BSD" "GLX" "SGI-B" "GPL2"]; # License description copied from gentoo-1.4.0
0
0
49
};
50
}
···
3
with stdenv.lib;
4
5
stdenv.mkDerivation rec {
6
+
name = "glew-1.11.0";
7
8
src = fetchurl {
9
url = "mirror://sourceforge/glew/${name}.tgz";
10
+
sha256 = "1mhkllxz49l1x680dmzrv2i82qjrq017sykah3xc90f2d8qcxfv9";
11
};
12
13
nativeBuildInputs = [ x11 libXmu libXi ];
···
42
] ++ optional (stdenv.cross.libc == "msvcrt") "SYSTEM=mingw"
43
++ optional (stdenv.cross.libc == "libSystem") "SYSTEM=darwin";
44
45
+
meta = with stdenv.lib; {
46
description = "An OpenGL extension loading library for C(++)";
47
homepage = http://glew.sourceforge.net/;
48
+
license = licenses.free; # different files under different licenses
49
+
#["BSD" "GLX" "SGI-B" "GPL2"]
50
+
platforms = platforms.mesaPlatforms;
51
};
52
}