mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
42 lines
750 B
Nix
42 lines
750 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;
|
|
platforms = stdenv.lib.platforms.all;
|
|
maintainers = [ stdenv.lib.maintainers.tv ];
|
|
};
|
|
}
|