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

This commit is contained in:
Donovan Glover 2025-05-31 14:46:41 +00:00 committed by GitHub
commit b4d22dbdf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 10 deletions

View file

@ -69,7 +69,7 @@ in
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig.ExecStart = "${cfg.package}/bin/dwm-status ${configFile}";
serviceConfig.ExecStart = "${cfg.package}/bin/dwm-status ${configFile} --quiet";
};
};

View file

@ -15,6 +15,7 @@
dnsutils,
iproute2,
wirelesstools,
nix-update-script,
}:
let
@ -32,13 +33,13 @@ in
rustPlatform.buildRustPackage rec {
pname = "dwm-status";
version = "1.9.0";
version = "1.10.0";
src = fetchFromGitHub {
owner = "Gerschtli";
repo = pname;
rev = version;
sha256 = "sha256-OFwI4evwbXLO4ufjrh5SZia79bwbAKVoSm/IPCDku68=";
tag = version;
hash = "sha256-982JFYZroskKppAOZjBWOFt624FfRjhXpYN57s/cM50=";
};
nativeBuildInputs = [
@ -53,19 +54,24 @@ rustPlatform.buildRustPackage rec {
];
useFetchCargoVendor = true;
cargoHash = "sha256-G31p8iVRUODD4hUssXaOqEOUTW+C+GZMy/L/tgumDtA=";
cargoHash = "sha256-2/zzE6JzhqeBYLiRkx5ELaW150rk1bMTrpxSw/wxNes=";
postInstall = lib.optionalString (bins != [ ]) ''
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}"
'';
meta = with lib; {
passthru.updateScript = nix-update-script { };
meta = {
description = "Highly performant and configurable DWM status service";
homepage = "https://github.com/Gerschtli/dwm-status";
changelog = "https://github.com/Gerschtli/dwm-status/blob/master/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ gerschtli ];
changelog = "https://github.com/Gerschtli/dwm-status/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
gepbird
gerschtli
];
mainProgram = "dwm-status";
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}