mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
chrony: run nixfmt-rfc-style
This commit is contained in:
parent
d2255aecf2
commit
c7b8243250
@ -1,7 +1,18 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config
|
{
|
||||||
, gnutls, libedit, nspr, nss, readline, texinfo
|
lib,
|
||||||
, libcap, libseccomp, pps-tools
|
stdenv,
|
||||||
, nixosTests
|
fetchurl,
|
||||||
|
pkg-config,
|
||||||
|
gnutls,
|
||||||
|
libedit,
|
||||||
|
nspr,
|
||||||
|
nss,
|
||||||
|
readline,
|
||||||
|
texinfo,
|
||||||
|
libcap,
|
||||||
|
libseccomp,
|
||||||
|
pps-tools,
|
||||||
|
nixosTests,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,12 +24,27 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-Gf4dn0Zk1EWmmpbHHo/bYLzY3yTHPROG4CKH9zZq1CI=";
|
hash = "sha256-Gf4dn0Zk1EWmmpbHHo/bYLzY3yTHPROG4CKH9zZq1CI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"man"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ gnutls libedit nspr nss readline texinfo ]
|
buildInputs =
|
||||||
++ lib.optionals stdenv.hostPlatform.isLinux [ libcap libseccomp pps-tools ];
|
[
|
||||||
|
gnutls
|
||||||
|
libedit
|
||||||
|
nspr
|
||||||
|
nss
|
||||||
|
readline
|
||||||
|
texinfo
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
|
libcap
|
||||||
|
libseccomp
|
||||||
|
pps-tools
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-ntp-signd"
|
"--enable-ntp-signd"
|
||||||
@ -37,14 +63,19 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningEnable = [ "pie" ];
|
hardeningEnable = [ "pie" ];
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) chrony chrony-ptp; };
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) chrony chrony-ptp;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Sets your computer's clock from time servers on the Net";
|
description = "Sets your computer's clock from time servers on the Net";
|
||||||
homepage = "https://chrony.tuxfamily.org/";
|
homepage = "https://chrony.tuxfamily.org/";
|
||||||
license = licenses.gpl2Only;
|
license = lib.licenses.gpl2Only;
|
||||||
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
platforms = with lib.platforms; linux ++ freebsd ++ openbsd;
|
||||||
maintainers = with maintainers; [ fpletz thoughtpolice ];
|
maintainers = with lib.maintainers; [
|
||||||
|
fpletz
|
||||||
|
thoughtpolice
|
||||||
|
];
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Chronyd is a daemon which runs in background on the system. It obtains
|
Chronyd is a daemon which runs in background on the system. It obtains
|
||||||
|
Loading…
Reference in New Issue
Block a user