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.
This commit is contained in:
Vladimír Čunát
2014-08-12 19:42:23 +02:00
parent 87c3c0e885
commit abd361173a
4 changed files with 23 additions and 13 deletions
+8 -4
View File
@@ -1,10 +1,13 @@
{stdenv, fetchurl, autoconf, automake, trousers, openssl}:
{ stdenv, fetchurl, trousers, openssl }:
stdenv.mkDerivation {
name = "tpm-tools-1.3.8";
let
version = "1.3.8";
in
stdenv.mkDerivation rec {
name = "tpm-tools-${version}";
src = fetchurl {
url = https://sourceforge.net/projects/trousers/files/tpm-tools/1.3.8/tpm-tools-1.3.8.tar.gz;
url = "mirror://sourceforge/trousers/tpm-tools/${version}/${name}.tar.gz";
sha256 = "10za1gi89vi9m2lmm7jfzs281h55x1sbbm2bdgdh692ljpq4zsv6";
};
@@ -20,3 +23,4 @@ stdenv.mkDerivation {
platforms = platforms.unix;
};
}