aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/glfw
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-10-12 15:16:27 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-10-12 15:16:27 -0700
commitda5ffe8cb40d3bf072788d474a6163dd748ae9e1 (patch)
tree07d8b435051d81e1d83d3c0c05f52be16ceb5cad /pkgs/development/libraries/glfw
parentafb4a6462beeaf67804a89332936b9c241ec7ad2 (diff)
GLFW: 3.1.1 -> 3.1.2
Diffstat (limited to 'pkgs/development/libraries/glfw')
-rw-r--r--pkgs/development/libraries/glfw/3.x.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/libraries/glfw/3.x.nix b/pkgs/development/libraries/glfw/3.x.nix
index 02d26759834c..681137cd590b 100644
--- a/pkgs/development/libraries/glfw/3.x.nix
+++ b/pkgs/development/libraries/glfw/3.x.nix
@@ -1,13 +1,16 @@
-{ stdenv, fetchurl, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, xlibsWrapper
+{ stdenv, fetchFromGitHub, cmake, mesa, libXrandr, libXi, libXxf86vm, libXfixes, xlibsWrapper
, libXinerama, libXcursor
}:
stdenv.mkDerivation rec {
- name = "glfw-3.1.1";
+ version = "3.1.2";
+ name = "glfw-${version}";
- src = fetchurl {
- url = "mirror://sourceforge/glfw/${name}.tar.bz2";
- sha256 = "0q9dhbj2az7jwwi556zai0qr8zmg6d2lyxcqngppkw0x7hi1d1aa";
+ src = fetchFromGitHub {
+ owner = "glfw";
+ repo = "GLFW";
+ rev = "${version}";
+ sha256 = "1aj1dfyyd0170gpz32j2xlqbvbsxwbg028xiqai3mqc44xfp10kw";
};
enableParallelBuilding = true;
@@ -21,7 +24,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
- homepage = "http://glfw.sourceforge.net/";
+ homepage = "http://www.glfw.org/";
license = licenses.zlib;
maintainers = with maintainers; [ marcweber ];
platforms = platforms.linux;