From a1a42b161560097cfdd981850a6215964c34e785 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 6 Dec 2019 01:06:10 -0800 Subject: [PATCH] glui: 2.36 -> 2.37 --- pkgs/development/libraries/glui/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/glui/default.nix b/pkgs/development/libraries/glui/default.nix index 8ac42375bf92..d84a9227c3b8 100644 --- a/pkgs/development/libraries/glui/default.nix +++ b/pkgs/development/libraries/glui/default.nix @@ -1,5 +1,5 @@ { stdenv -, fetchurl +, fetchFromGitHub , freeglut , libGL , libGLU @@ -11,17 +11,17 @@ stdenv.mkDerivation rec { pname = "glui"; - version = "2.36"; + version = "2.37"; - src = fetchurl { - url = "mirror://sourceforge/project/glui/Source/${version}/glui-${version}.tgz"; - sha256 = "11r7f0k5jlbl825ibhm5c6bck0fn1hbliya9x1f253ikry1mxvy1"; + src = fetchFromGitHub { + owner = "libglui"; + repo = "glui"; + rev = version; + sha256 = "0qg2y8w95s03zay1qsqs8pqxxlg6l9kwm7rrs1qmx0h22sxb360i"; }; buildInputs = [ freeglut libGLU libGL libXmu libXext libX11 libXi ]; - preConfigure = ''cd src''; - installPhase = '' mkdir -p "$out"/{bin,lib,share/glui/doc,include} cp -rT bin "$out/bin"