mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
Merge pull request #51318 from Gerschtli/update/dwm-status
dwm-status: 1.4.0 -> 1.4.1
This commit is contained in:
commit
cee7969561
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user