From 263a179946c23fddb000851e1631c7071f44b5d8 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 20 Dec 2014 14:03:15 +0100 Subject: [PATCH] tlsdate: add version 0.0.12 --- pkgs/tools/networking/tlsdate/default.nix | 41 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/tools/networking/tlsdate/default.nix diff --git a/pkgs/tools/networking/tlsdate/default.nix b/pkgs/tools/networking/tlsdate/default.nix new file mode 100644 index 000000000000..eea7dfcccacf --- /dev/null +++ b/pkgs/tools/networking/tlsdate/default.nix @@ -0,0 +1,41 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e2cdbf6b0600..5292c3ef77ff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2623,6 +2623,8 @@ let tiny8086 = callPackage ../applications/virtualization/8086tiny { }; + tlsdate = callPackage ../tools/networking/tlsdate { }; + tmpwatch = callPackage ../tools/misc/tmpwatch { }; tmux = callPackage ../tools/misc/tmux { };