mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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
|
||||
, libcap, libseccomp, pps-tools
|
||||
, nixosTests
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
gnutls,
|
||||
libedit,
|
||||
nspr,
|
||||
nss,
|
||||
readline,
|
||||
texinfo,
|
||||
libcap,
|
||||
libseccomp,
|
||||
pps-tools,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -13,12 +24,27 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-Gf4dn0Zk1EWmmpbHHo/bYLzY3yTHPROG4CKH9zZq1CI=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gnutls libedit nspr nss readline texinfo ]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ libcap libseccomp pps-tools ];
|
||||
buildInputs =
|
||||
[
|
||||
gnutls
|
||||
libedit
|
||||
nspr
|
||||
nss
|
||||
readline
|
||||
texinfo
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
libcap
|
||||
libseccomp
|
||||
pps-tools
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-ntp-signd"
|
||||
@ -37,14 +63,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
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";
|
||||
homepage = "https://chrony.tuxfamily.org/";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
||||
maintainers = with maintainers; [ fpletz thoughtpolice ];
|
||||
license = lib.licenses.gpl2Only;
|
||||
platforms = with lib.platforms; linux ++ freebsd ++ openbsd;
|
||||
maintainers = with lib.maintainers; [
|
||||
fpletz
|
||||
thoughtpolice
|
||||
];
|
||||
|
||||
longDescription = ''
|
||||
Chronyd is a daemon which runs in background on the system. It obtains
|
||||
|
Loading…
Reference in New Issue
Block a user