nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

dwm-status: 1.9.0 -> 1.10.0; nixos/dwm-status: run with --quiet (#411463)

authored by

Donovan Glover and committed by
GitHub
b4d22dbd 6fd36d44

+16 -10
+1 -1
nixos/modules/services/misc/dwm-status.nix
··· 69 69 wantedBy = [ "graphical-session.target" ]; 70 70 partOf = [ "graphical-session.target" ]; 71 71 72 - serviceConfig.ExecStart = "${cfg.package}/bin/dwm-status ${configFile}"; 72 + serviceConfig.ExecStart = "${cfg.package}/bin/dwm-status ${configFile} --quiet"; 73 73 }; 74 74 75 75 };
+15 -9
pkgs/applications/window-managers/dwm/dwm-status.nix
··· 15 15 dnsutils, 16 16 iproute2, 17 17 wirelesstools, 18 + nix-update-script, 18 19 }: 19 20 20 21 let ··· 33 32 34 33 rustPlatform.buildRustPackage rec { 35 34 pname = "dwm-status"; 36 - version = "1.9.0"; 35 + version = "1.10.0"; 37 36 38 37 src = fetchFromGitHub { 39 38 owner = "Gerschtli"; 40 39 repo = pname; 41 - rev = version; 42 - sha256 = "sha256-OFwI4evwbXLO4ufjrh5SZia79bwbAKVoSm/IPCDku68="; 40 + tag = version; 41 + hash = "sha256-982JFYZroskKppAOZjBWOFt624FfRjhXpYN57s/cM50="; 43 42 }; 44 43 45 44 nativeBuildInputs = [ ··· 54 53 ]; 55 54 56 55 useFetchCargoVendor = true; 57 - cargoHash = "sha256-G31p8iVRUODD4hUssXaOqEOUTW+C+GZMy/L/tgumDtA="; 56 + cargoHash = "sha256-2/zzE6JzhqeBYLiRkx5ELaW150rk1bMTrpxSw/wxNes="; 58 57 59 58 postInstall = lib.optionalString (bins != [ ]) '' 60 59 wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}" 61 60 ''; 62 61 63 - meta = with lib; { 62 + passthru.updateScript = nix-update-script { }; 63 + 64 + meta = { 64 65 description = "Highly performant and configurable DWM status service"; 65 66 homepage = "https://github.com/Gerschtli/dwm-status"; 66 - changelog = "https://github.com/Gerschtli/dwm-status/blob/master/CHANGELOG.md"; 67 - license = with licenses; [ mit ]; 68 - maintainers = with maintainers; [ gerschtli ]; 67 + changelog = "https://github.com/Gerschtli/dwm-status/blob/${src.rev}/CHANGELOG.md"; 68 + license = lib.licenses.mit; 69 + maintainers = with lib.maintainers; [ 70 + gepbird 71 + gerschtli 72 + ]; 69 73 mainProgram = "dwm-status"; 70 - platforms = platforms.linux; 74 + platforms = lib.platforms.linux; 71 75 }; 72 76 }