diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2014-08-24 23:41:00 +0200 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2014-10-14 16:02:48 +0200 |
commit | 596c9f54dc1e9bd5273e962ff6799efb5e1183fc (patch) | |
tree | bd6e530042a1183bcc90b0227f7aa9d9a725f62c /pkgs/tools/misc/grub | |
parent | b5fe0d32b60e6edaaf0d00873b5c58b1c18e4551 (diff) | |
download | nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.tar nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.tar.gz nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.tar.bz2 nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.tar.lz nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.tar.xz nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.tar.zst nixlib-596c9f54dc1e9bd5273e962ff6799efb5e1183fc.zip |
Add trustedGrub package.
Diffstat (limited to 'pkgs/tools/misc/grub')
-rw-r--r-- | pkgs/tools/misc/grub/trusted.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/grub/trusted.nix b/pkgs/tools/misc/grub/trusted.nix new file mode 100644 index 000000000000..9f897d7e93a2 --- /dev/null +++ b/pkgs/tools/misc/grub/trusted.nix @@ -0,0 +1,26 @@ +{stdenv, fetchgit, autoconf, automake, buggyBiosCDSupport ? true}: + +stdenv.mkDerivation { + name = "trustedGRUB-1.1.5"; + + src = fetchgit { + url = "https://github.com/ts468/TrustedGRUB"; + rev = "954941c17e14c8f7b18e6cd3043ef5f946866f1c"; + sha256 = "30c21765dc44f02275e66220d6724ec9cd45496226ca28c6db59a9147aa22685"; + }; + + # Autoconf/automake required for the splashimage patch. + buildInputs = [autoconf automake]; + + preConfigure = '' + autoreconf + ''; + + meta = { + homepage = "http://sourceforge.net/projects/trustedgrub/"; + repositories.git = https://github.com/ts468/TrustedGRUB; + description = "Legacy GRUB bootloader extended with TCG support"; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ tstrobel ]; + }; +} |