mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
glxinfo: 8.1.0 -> 8.3.0
This commit is contained in:
parent
d1998b93d7
commit
d5dd5e05f1
@ -1,13 +1,13 @@
|
||||
{stdenv, fetchurl, xlibsWrapper, mesa}:
|
||||
|
||||
let version = "8.1.0"; in
|
||||
let version = "8.3.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "glxinfo-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freedesktop.org/pub/mesa/demos/${version}/mesa-demos-${version}.tar.bz2";
|
||||
sha256 = "0a58hw5850731p4smz4zqsbvyxvgjf7n5xdbs9l1wamk8q3gl0wp";
|
||||
sha256 = "1vqb7s5m3fcg2csbiz45mha1pys2xx6rhw94fcyvapqdpm5iawy1";
|
||||
};
|
||||
|
||||
buildInputs = [xlibsWrapper mesa];
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildPhase = "
|
||||
cd src/xdemos
|
||||
gcc glxinfo.c -o glxinfo -lGL -lX11
|
||||
gcc glxinfo.c glinfo_common.c -o glxinfo -lGL -lX11
|
||||
gcc glxgears.c -o glxgears -lGL -lX11
|
||||
";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user