2014-12-20 13:03:15 +00:00
|
|
|
{ stdenv, fetchgit
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libevent
|
|
|
|
, libtool
|
|
|
|
, pkgconfig
|
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "tlsdate-0.0.12";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/ioerror/tlsdate;
|
|
|
|
rev = "fd04f48ed60eb773c8e34d27ef2ee12ee7559a41";
|
|
|
|
sha256 = "d97b7cc6fe64799c12c31a9ebd3a69c9bc954de2eaa7f70d113d39544472854d";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libevent
|
|
|
|
libtool
|
|
|
|
pkgconfig
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export COMPILE_DATE=0
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Secure parasitic rdate replacement";
|
|
|
|
homepage = https://github.com/ioerror/tlsdate;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.tv ];
|
2015-02-28 07:57:21 +00:00
|
|
|
platforms = stdenv.lib.platforms.allBut [ "darwin" ];
|
2014-12-20 13:03:15 +00:00
|
|
|
};
|
|
|
|
}
|