cbfstool: git-2015-07-09 -> 4.5

Fixes build.
This commit is contained in:
Tuomas Tynkkynen 2016-10-22 21:03:01 +03:00
parent fba9d231b4
commit c78ccb92ec

View File

@ -2,17 +2,16 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cbfstool-${version}"; name = "cbfstool-${version}";
version = "git-2015-07-09"; version = "4.5";
src = fetchgit { src = fetchgit {
url = "http://review.coreboot.org/p/coreboot"; url = "http://review.coreboot.org/p/coreboot";
rev = "5d866213f42fd22aed80abb5a91d74f6d485ac3f"; rev = "refs/tags/${version}";
sha256 = "1fki5670pmz1wb0yg0a0hb5cap78mgbvdhj8m2xly2kndwicg40p"; sha256 = "0sc2h440x4sfp1lqnmh3xfgymf7j0rqfx00v6jqf0svfbp8a6cq5";
}; };
buildInputs = [ iasl flex bison ]; nativeBuildInputs = [ flex bison ];
buildInputs = [ iasl ];
hardeningDisable = [ "fortify" ];
buildPhase = '' buildPhase = ''
export LEX=${flex}/bin/flex export LEX=${flex}/bin/flex
@ -27,7 +26,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "CBFS tool"; description = "Management utility for CBFS formatted ROM images";
homepage = http://www.coreboot.org; homepage = http://www.coreboot.org;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.tstrobel ]; maintainers = [ maintainers.tstrobel ];