3
0
Fork 0
forked from mirrors/nixpkgs

Gummiboot: Switch to zip archive.

For some reason tarballs from cgit have a different hash each time you download.
This commit is contained in:
Shea Levy 2013-02-02 19:38:56 -05:00
parent ac1d2a1221
commit 40e86be5b1

View file

@ -1,8 +1,10 @@
{ stdenv, fetchurl, gnu_efi }:
{ stdenv, fetchurl, gnu_efi, unzip }:
stdenv.mkDerivation rec {
name = "gummiboot-16";
buildInputs = [ unzip ];
patches = [ ./no-usr.patch ];
buildFlags = [
@ -12,8 +14,8 @@ stdenv.mkDerivation rec {
installPhase = "mkdir -p $out/bin; mv gummiboot.efi $out/bin";
src = fetchurl {
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.tar.gz";
sha256 = "1znvbxrhc7pkbhbw9bvg4zhfkp81q7fy4mq2jsw6vimccr7h29a0";
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.zip";
sha256 = "0as5svmvsbz08qgbvns77qfb36xi9lx2138ikiinqv6finzm8fi1";
};
meta = {