summary refs log tree commit diff
path: root/pkgs/tools/security/tboot
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-08-12 19:38:15 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-08-12 19:42:23 +0200
commitabd361173a9f50b55a15bf65593f78a5cf884703 (patch)
treec92a30b0d63d1c3320fa917d50eeebe0a924d9a3 /pkgs/tools/security/tboot
parent87c3c0e8856083e18009cb5f33d880f3e8614d8a (diff)
downloadnixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.tar
nixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.tar.gz
nixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.tar.bz2
nixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.tar.lz
nixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.tar.xz
nixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.tar.zst
nixpkgs-abd361173a9f50b55a15bf65593f78a5cf884703.zip
PR fixups: use mirror://, drop unused params, etc.
Note: hash of trousers tarball didn't match (anymore),
so I updated it to the one from sourceforge.
It's probably some safe and tiny retrospective update.
Diffstat (limited to 'pkgs/tools/security/tboot')
-rw-r--r--pkgs/tools/security/tboot/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/security/tboot/default.nix b/pkgs/tools/security/tboot/default.nix
index 7975a7fd622..86c4d96e97d 100644
--- a/pkgs/tools/security/tboot/default.nix
+++ b/pkgs/tools/security/tboot/default.nix
@@ -1,10 +1,10 @@
-{stdenv, fetchurl, autoconf, automake, trousers, openssl, zlib}:
+{ stdenv, fetchurl, trousers, openssl, zlib }:
 
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   name = "tboot-1.8.0";
 
   src = fetchurl {
-    url = https://sourceforge.net/projects/tboot/files/tboot/tboot-1.8.0.tar.gz;
+    url = "mirror://sourceforge/tboot/${name}.tar.gz";
     sha256 = "04z1maryqnr714f3rcynqrpmlx76lxr6bb543xwj5rdl1yvdw2xr";
   };
 
@@ -30,3 +30,4 @@ stdenv.mkDerivation {
     platforms   = platforms.linux;
   };
 }
+