mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
* NTP 4.2.4p5 (and the old url was broken).
svn path=/nixpkgs/trunk/; revision=12883
This commit is contained in:
parent
cfef9ba3ad
commit
0548c19dbe
|
@ -3,14 +3,22 @@
|
|||
assert stdenv.isLinux -> libcap != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ntp-4.2.4p4";
|
||||
name = "ntp-4.2.4p5";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.4p4.tar.gz;
|
||||
sha256 = "0im89i51ap7aqlhxq5isz5xg4h8w8ahwdhir8la3c83h3p47fcmv";
|
||||
url = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.4p5.tar.gz;
|
||||
sha256 = "066x8gm55cziyc86ciwdq68y2xqfbbqqh8417nkwd1jmrihfmjvl";
|
||||
};
|
||||
|
||||
configureFlags = ''
|
||||
--without-crypto
|
||||
${if stdenv.isLinux then "--enable-linuxcaps" else ""}
|
||||
'';
|
||||
|
||||
buildInputs = if stdenv.isLinux then [libcap] else [];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.ntp.org/;
|
||||
description = "An implementation of the Network Time Protocol";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue