diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-02 20:05:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-02 20:05:54 -0500 |
commit | cee7969561c2b0d30e9c8e5ed6360f022d5d057e (patch) | |
tree | 995ad4301a11b0ddf4fdff34dbccb6adc32d39b9 /pkgs/applications/window-managers | |
parent | 6de18342d9517c15811f06c2f8800458da0a5cec (diff) | |
parent | bc2d26fd8f5f0e179cb739817b220bfa81da950e (diff) |
Merge pull request #51318 from Gerschtli/update/dwm-status
dwm-status: 1.4.0 -> 1.4.1
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/dwm/dwm-status.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/window-managers/dwm/dwm-status.nix b/pkgs/applications/window-managers/dwm/dwm-status.nix index 16a67030736d3..f88ef63bc2ecc 100644 --- a/pkgs/applications/window-managers/dwm/dwm-status.nix +++ b/pkgs/applications/window-managers/dwm/dwm-status.nix @@ -1,15 +1,21 @@ { stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg -, enableAlsaUtils ? true, alsaUtils }: +, enableAlsaUtils ? true, alsaUtils, bash, coreutils }: + +let + binPath = stdenv.lib.makeBinPath [ + alsaUtils bash coreutils + ]; +in rustPlatform.buildRustPackage rec { name = "dwm-status-${version}"; - version = "1.4.0"; + version = "1.4.1"; src = fetchFromGitHub { owner = "Gerschtli"; repo = "dwm-status"; rev = version; - sha256 = "1v9ksv8hdxhpm7vs71p9s1y3gnahczza0w4wyrk2fsc6x2kwlh6x"; + sha256 = "054lwgqpx3kbrnlsqbnd8fxsawvw3nl702pf56c7dcm4sfws15nl"; }; nativeBuildInputs = [ makeWrapper pkgconfig ]; @@ -19,7 +25,7 @@ rustPlatform.buildRustPackage rec { postInstall = lib.optionalString enableAlsaUtils '' wrapProgram $out/bin/dwm-status \ - --prefix "PATH" : "${alsaUtils}/bin" + --prefix "PATH" : "${binPath}" ''; meta = with stdenv.lib; { |