tlsdate: 0.0.12 -> 0.0.13

This commit is contained in:
Franz Pletz 2016-03-20 04:46:20 +01:00
parent 3b165fdacf
commit 38f322f2cf

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit { stdenv, fetchFromGitHub, fetchpatch
, autoconf , autoconf
, automake , automake
, libevent , libevent
@ -7,15 +7,25 @@
, openssl , openssl
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "tlsdate-0.0.12"; version = "0.0.13";
name = "tlsdate-${version}";
src = fetchgit { src = fetchFromGitHub {
url = https://github.com/ioerror/tlsdate; owner = "ioerror";
rev = "fd04f48ed60eb773c8e34d27ef2ee12ee7559a41"; repo = "tlsdate";
sha256 = "0naxlsanpgixj509z4mbzl41r2nn5wi6q2lp10a7xgcmcb4cgnbf"; rev = name;
sha256 = "0w3v63qmbhpqlxjsvf4k3zp90k6mdzi8cdpgshan9iphy1f44xgl";
}; };
patches = [
(fetchpatch {
name = "tlsdate-no_sslv3.patch";
url = "https://github.com/ioerror/tlsdate/commit/f9d3cba7536d1679e98172ccbddad32bc9ae490c.patch";
sha256 = "0prv46vxvb4paxaswmc6ix0kd5sp0552i5msdldnhg9fysbac8s0";
})
];
buildInputs = [ buildInputs = [
autoconf autoconf
automake automake
@ -32,10 +42,10 @@ stdenv.mkDerivation {
doCheck = true; doCheck = true;
meta = { meta = with stdenv.lib; {
description = "Secure parasitic rdate replacement"; description = "Secure parasitic rdate replacement";
homepage = https://github.com/ioerror/tlsdate; homepage = https://github.com/ioerror/tlsdate;
maintainers = [ stdenv.lib.maintainers.tv ]; maintainers = with maintainers; [ tv fpletz ];
platforms = stdenv.lib.platforms.allBut [ "darwin" ]; platforms = platforms.allBut [ "darwin" ];
}; };
} }