diff options
author | Peter Simons <simons@cryp.to> | 2011-07-14 12:23:03 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-07-14 12:23:03 +0000 |
commit | 7049b34b10df6d75ab19eb1518ba76d5001d63b3 (patch) | |
tree | 84dacda5ecd2685c5e9da34678ec575d665769d4 /pkgs | |
parent | 13db8d6999fb069fd2a4cfd13aa2456a153a72e0 (diff) |
glxinfo: updated to version 8.0.1
svn path=/nixpkgs/trunk/; revision=27779
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/graphics/glxinfo/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/tools/graphics/glxinfo/default.nix b/pkgs/tools/graphics/glxinfo/default.nix index d1978134a710..02db33f92cb1 100644 --- a/pkgs/tools/graphics/glxinfo/default.nix +++ b/pkgs/tools/graphics/glxinfo/default.nix @@ -1,23 +1,27 @@ {stdenv, fetchurl, x11, mesa}: +let version = "8.0.1"; in + stdenv.mkDerivation { - name = "glxinfo-7.8.2"; - + name = "glxinfo-${version}"; + src = fetchurl { - url = ftp://ftp.freedesktop.org/pub/mesa/7.8.2/MesaDemos-7.8.2.tar.bz2; - md5 = "757d9e2e06f48b1a52848be9b0307ced"; + url = "ftp://ftp.freedesktop.org/pub/mesa/demos/${version}/mesa-demos-${version}.tar.bz2"; + sha256 = "1lbp1llpx0hl5k79xb653yvjvk9mlikj73r8xjzyxqqp1nrg5isb"; }; buildInputs = [x11 mesa]; + configurePhase = "true"; + buildPhase = " - cd progs/xdemos - gcc glxinfo.c -o glxinfo -lGL -lX11 + cd src/xdemos + gcc glxinfo.c -o glxinfo -lGL -lX11 gcc glxgears.c -o glxgears -lGL -lX11 "; installPhase = " ensureDir $out/bin - cp glxinfo glxgears $out/bin + cp glxinfo glxgears $out/bin/ "; } |