nixpkgs-suyu/pkgs/tools/networking/tlsdate/default.nix

41 lines
766 B
Nix

{ 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 ];
platforms = stdenv.lib.platforms.allBut [ "darwin" ];
};
}