diff --git a/pkgs/by-name/ch/chrony/package.nix b/pkgs/by-name/ch/chrony/package.nix index b18cc5642285..39f957b27bb5 100644 --- a/pkgs/by-name/ch/chrony/package.nix +++ b/pkgs/by-name/ch/chrony/package.nix @@ -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