@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit
1+{ stdenv, fetchFromGitHub, fetchpatch
22, autoconf
33, automake
44, libevent
@@ -7,15 +7,25 @@
77, openssl
88}:
99
10−stdenv.mkDerivation {
11− name = "tlsdate-0.0.12";
10+stdenv.mkDerivation rec {
11+ version = "0.0.13";
12+ name = "tlsdate-${version}";
1213
13− src = fetchgit {
14− url = https://github.com/ioerror/tlsdate;
15− rev = "fd04f48ed60eb773c8e34d27ef2ee12ee7559a41";
16− sha256 = "0naxlsanpgixj509z4mbzl41r2nn5wi6q2lp10a7xgcmcb4cgnbf";
14+ src = fetchFromGitHub {
15+ owner = "ioerror";
16+ repo = "tlsdate";
17+ rev = name;
18+ sha256 = "0w3v63qmbhpqlxjsvf4k3zp90k6mdzi8cdpgshan9iphy1f44xgl";
1719 };
1820
21+ patches = [
22+ (fetchpatch {
23+ name = "tlsdate-no_sslv3.patch";
24+ url = "https://github.com/ioerror/tlsdate/commit/f9d3cba7536d1679e98172ccbddad32bc9ae490c.patch";
25+ sha256 = "0prv46vxvb4paxaswmc6ix0kd5sp0552i5msdldnhg9fysbac8s0";
26+ })
27+ ];
28+
1929 buildInputs = [
2030 autoconf
2131 automake
@@ -32,10 +42,10 @@ stdenv.mkDerivation {
3242
3343 doCheck = true;
3444
35− meta = {
45+ meta = with stdenv.lib; {
3646 description = "Secure parasitic rdate replacement";
3747 homepage = https://github.com/ioerror/tlsdate;
38− maintainers = [ stdenv.lib.maintainers.tv ];
39− platforms = stdenv.lib.platforms.allBut [ "darwin" ];
48+ maintainers = with maintainers; [ tv fpletz ];
49+ platforms = platforms.allBut [ "darwin" ];
4050 };
4151}