ntpd-rs: format with nixfmt

seth 243d4e27 dfb5e8dc

+28 -17
+28 -17
pkgs/tools/networking/ntpd-rs/default.nix
··· 1 - { lib 2 - , stdenv 3 - , rustPlatform 4 - , fetchFromGitHub 5 - , ntpd-rs 6 - , installShellFiles 7 - , pandoc 8 - , Security 9 - , nixosTests 10 - , testers 1 + { 2 + lib, 3 + stdenv, 4 + rustPlatform, 5 + fetchFromGitHub, 6 + ntpd-rs, 7 + installShellFiles, 8 + pandoc, 9 + Security, 10 + nixosTests, 11 + testers, 11 12 }: 12 13 13 14 rustPlatform.buildRustPackage rec { ··· 23 24 24 25 cargoHash = "sha256-Badq3GYr7BoF8VNGGtKTT4/ksuds1zBcSxx5O3vLbzg="; 25 26 26 - buildInputs = lib.optionals stdenv.isDarwin [ 27 - Security 27 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 28 + nativeBuildInputs = [ 29 + pandoc 30 + installShellFiles 28 31 ]; 29 - nativeBuildInputs = [ pandoc installShellFiles ]; 30 32 31 33 postPatch = '' 32 34 substituteInPlace utils/generate-man.sh \ 33 - --replace 'utils/pandoc.sh' 'pandoc' 35 + --replace-fail 'utils/pandoc.sh' 'pandoc' 34 36 ''; 35 37 36 38 postBuild = '' ··· 51 53 installManPage docs/precompiled/man/{ntp.toml.5,ntp-ctl.8,ntp-daemon.8,ntp-metrics-exporter.8} 52 54 ''; 53 55 54 - outputs = [ "out" "man" ]; 56 + outputs = [ 57 + "out" 58 + "man" 59 + ]; 55 60 56 61 passthru = { 57 62 tests = { ··· 68 73 homepage = "https://tweedegolf.nl/en/pendulum"; 69 74 changelog = "https://github.com/pendulum-project/ntpd-rs/blob/v${version}/CHANGELOG.md"; 70 75 mainProgram = "ntp-ctl"; 71 - license = with licenses; [ mit /* or */ asl20 ]; 72 - maintainers = with maintainers; [ fpletz getchoo ]; 76 + license = with licenses; [ 77 + mit # or 78 + asl20 79 + ]; 80 + maintainers = with maintainers; [ 81 + fpletz 82 + getchoo 83 + ]; 73 84 # note: Undefined symbols for architecture x86_64: "_ntp_adjtime" 74 85 broken = stdenv.isDarwin && stdenv.isx86_64; 75 86 };