From eb3cf54d27e61d3f20b55c826608acee20e3ea7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Tue, 27 May 2025 18:57:57 +0200 Subject: [PATCH] dwm-status: refactor --- .../window-managers/dwm/dwm-status.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/window-managers/dwm/dwm-status.nix b/pkgs/applications/window-managers/dwm/dwm-status.nix index b14d6f735f87..385485fafbed 100644 --- a/pkgs/applications/window-managers/dwm/dwm-status.nix +++ b/pkgs/applications/window-managers/dwm/dwm-status.nix @@ -38,8 +38,8 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "Gerschtli"; repo = pname; - rev = version; - sha256 = "sha256-982JFYZroskKppAOZjBWOFt624FfRjhXpYN57s/cM50="; + tag = version; + hash = "sha256-982JFYZroskKppAOZjBWOFt624FfRjhXpYN57s/cM50="; }; nativeBuildInputs = [ @@ -62,13 +62,13 @@ rustPlatform.buildRustPackage rec { passthru.updateScript = nix-update-script { }; - meta = with lib; { + 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; [ gerschtli ]; mainProgram = "dwm-status"; - platforms = platforms.linux; + platforms = lib.platforms.linux; }; }