30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
diff --git i/pkgs/development/libraries/mesa/default.nix w/pkgs/development/libraries/mesa/default.nix
|
|
index c6af00d08b87..40cb0ec35258 100644
|
|
--- i/pkgs/development/libraries/mesa/default.nix
|
|
+++ w/pkgs/development/libraries/mesa/default.nix
|
|
@@ -1,4 +1,4 @@
|
|
-{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, flex, bison, autoreconfHook, substituteAll
|
|
+{ stdenv, fetchzip, fetchpatch, pkgconfig, intltool, flex, bison, autoreconfHook, substituteAll
|
|
, python, libxml2Python, file, expat, makedepend, pythonPackages
|
|
, libdrm, xorg, wayland, udev, llvmPackages, libffi, libomxil-bellagio
|
|
, libvdpau, libelf, libva
|
|
@@ -31,14 +31,10 @@ with { inherit (stdenv.lib) optional optionals optionalString; };
|
|
stdenv.mkDerivation {
|
|
name = "mesa-noglu-${version}";
|
|
|
|
- src = fetchurl {
|
|
- urls = [
|
|
- "ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
|
|
- (with stdenv.lib; ''ftp://ftp.freedesktop.org/pub/mesa/older-versions/''
|
|
- + head (splitString "." version) + ''.x/${version}/mesa-${version}.tar.xz'')
|
|
- "https://launchpad.net/mesa/trunk/${version}/+download/mesa-${version}.tar.xz"
|
|
- ];
|
|
- sha256 = "5696e4730518b6805d2ed5def393c4293f425a2c2c01bd5ed4bdd7ad62f7ad75";
|
|
+ src = fetchzip {
|
|
+ name = "mesa";
|
|
+ url = "https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-11.0.8/mesa-mesa-11.0.8.tar.gz";
|
|
+ sha256 = "sha256-ydcYkDPk1n77veeM/l4Z+BnKv8Qr9AfyP8oiT47zAaI=";
|
|
};
|
|
|
|
prePatch = "patchShebangs .";
|