1{ stdenv, fetchgit
2, autoconf
3, automake
4, libevent
5, libtool
6, pkgconfig
7, openssl
8}:
9
10stdenv.mkDerivation {
11 name = "tlsdate-0.0.12";
12
13 src = fetchgit {
14 url = https://github.com/ioerror/tlsdate;
15 rev = "fd04f48ed60eb773c8e34d27ef2ee12ee7559a41";
16 sha256 = "d97b7cc6fe64799c12c31a9ebd3a69c9bc954de2eaa7f70d113d39544472854d";
17 };
18
19 buildInputs = [
20 autoconf
21 automake
22 libevent
23 libtool
24 pkgconfig
25 openssl
26 ];
27
28 preConfigure = ''
29 export COMPILE_DATE=0
30 ./autogen.sh
31 '';
32
33 doCheck = true;
34
35 meta = {
36 description = "Secure parasitic rdate replacement";
37 homepage = https://github.com/ioerror/tlsdate;
38 platforms = stdenv.lib.platforms.all;
39 maintainers = [ stdenv.lib.maintainers.tv ];
40 };
41}