summary refs log tree commit diff
path: root/pkgs/applications/window-managers/dwm/dwm-status.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/window-managers/dwm/dwm-status.nix')
-rw-r--r--pkgs/applications/window-managers/dwm/dwm-status.nix14
1 files 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 6e0adb15ffdb..9f1e565d1666 100644
--- a/pkgs/applications/window-managers/dwm/dwm-status.nix
+++ b/pkgs/applications/window-managers/dwm/dwm-status.nix
@@ -1,29 +1,29 @@
-{ stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg, alsaUtils }:
+{ stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg
+, enableAlsaUtils ? true, alsaUtils }:
 
 rustPlatform.buildRustPackage rec {
   name = "dwm-status-${version}";
-  version = "0.5.1";
+  version = "1.1.1";
 
   src = fetchFromGitHub {
     owner = "Gerschtli";
     repo = "dwm-status";
     rev = version;
-    sha256 = "1mppj57h5yr0azypf5d2cgz2wv3k52mg3k4npyfhbmfy1393qbjs";
+    sha256 = "0k6r72qgns8i2y1ks0k9fwlabgndww5rssd13mis5bvkqla8j9i9";
   };
 
   nativeBuildInputs = [ makeWrapper pkgconfig ];
   buildInputs = [ dbus gdk_pixbuf libnotify xorg.libX11 ];
 
-  cargoSha256 = "0qr999hwrqn7a4n4kvbrpli7shxp9jchj8csxzsw951qmzq32qwv";
+  cargoSha256 = "13ibcbk8shfajk200d8v2p6y3zfrz5dlvxqfw1zsm630s5dmy6qx";
 
-  # needed because alsaUtils is an optional runtime dependency
-  postInstall = lib.optionalString (alsaUtils != null) ''
+  postInstall = lib.optionalString enableAlsaUtils ''
     wrapProgram $out/bin/dwm-status \
       --prefix "PATH" : "${alsaUtils}/bin"
   '';
 
   meta = with stdenv.lib; {
-    description = "DWM status service which dynamically updates when needed";
+    description = "Highly performant and configurable DWM status service";
     homepage = https://github.com/Gerschtli/dwm-status;
     license = with licenses; [ mit ];
     maintainers = with maintainers; [ gerschtli ];