about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/tools/networking/ntp/default.nix9
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/tools/networking/ntp/default.nix b/pkgs/tools/networking/ntp/default.nix
new file mode 100644
index 000000000000..3b707bbb8a18
--- /dev/null
+++ b/pkgs/tools/networking/ntp/default.nix
@@ -0,0 +1,9 @@
+{stdenv, fetchurl}:
+ 
+stdenv.mkDerivation {
+  name = "ntp-4.2.2p4";
+  src = fetchurl {
+    url = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.2p4.tar.gz;
+    md5 = "916fe57525f8327f340b203f129088fa";
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 532f3f118d74..9115dd571ee8 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -434,6 +434,10 @@ rec {
     inherit fetchurl stdenv;
   };
 
+  ntp = import ../tools/networking/ntp {
+    inherit fetchurl stdenv;
+  };
+
   openssh = import ../tools/networking/openssh {
     inherit fetchurl stdenv zlib openssl pam perl;
     inherit (xlibs) xauth;