git.iko.soy/typeable/nixpkgs
on master help sign in
cbfstool: init at git-2015-07-09
commit90cad1bc0cf785dd3a1a74e1308122ff3c74ae52 authorThomas Strobel <ts468@cam.ac.uk> dateThu 9 Jul 2015, 16:27 (11 years ago) parentdf038c9
2 files changed+37
pkgs/applications/virtualization/cbfstool/default.nix+35 pkgs/top-level/all-packages.nix+2
pkgs/applications/virtualization/cbfstool/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv, fetchgit, iasl, flex, bison }:
2+
3+stdenv.mkDerivation rec {
4+ name = "cbfstool-${version}";
5+ version = "git-2015-07-09";
6+
7+ src = fetchgit {
8+ url = "http://review.coreboot.org/p/coreboot";
9+ rev = "5d866213f42fd22aed80abb5a91d74f6d485ac3f";
10+ sha256 = "148155829jbabsgg1inmcpqmwbg0fgp8a685bzybv9j4ibasi0z2";
11+ };
12+
13+ buildInputs = [ iasl flex bison ];
14+
15+ buildPhase = ''
16+ export LEX=${flex}/bin/flex
17+ make -C util/cbfstool
18+ '';
19+
20+ installPhase = ''
21+ mkdir -p $out/bin
22+ cp util/cbfstool/cbfstool $out/bin
23+ cp util/cbfstool/fmaptool $out/bin
24+ cp util/cbfstool/rmodtool $out/bin
25+ '';
26+
27+ meta = with stdenv.lib; {
28+ description = "CBFS tool";
29+ homepage = http://www.coreboot.org;
30+ license = licenses.gpl2;
31+ maintainers = [ maintainers.tstrobel ];
32+ platforms = platforms.linux;
33+ };
34+}
35+
pkgs/top-level/all-packages.nix+2
@@ -9061,6 +9061,8 @@ let
90619061
90629062 seabios = callPackage ../applications/virtualization/seabios { };
90639063
9064+ cbfstool = callPackage ../applications/virtualization/cbfstool { };
9065+
90649066 pgpool92 = pgpool.override { postgresql = postgresql92; };
90659067 pgpool93 = pgpool.override { postgresql = postgresql93; };
90669068 pgpool94 = pgpool.override { postgresql = postgresql94; };