dwm-status: 1.4.0 -> 1.4.1
This commit is contained in:
parent
d9b650f4cc
commit
bc2d26fd8f
@ -1,15 +1,21 @@
|
|||||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg
|
{ 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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "dwm-status-${version}";
|
name = "dwm-status-${version}";
|
||||||
version = "1.4.0";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Gerschtli";
|
owner = "Gerschtli";
|
||||||
repo = "dwm-status";
|
repo = "dwm-status";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1v9ksv8hdxhpm7vs71p9s1y3gnahczza0w4wyrk2fsc6x2kwlh6x";
|
sha256 = "054lwgqpx3kbrnlsqbnd8fxsawvw3nl702pf56c7dcm4sfws15nl";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||||
@ -19,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
postInstall = lib.optionalString enableAlsaUtils ''
|
postInstall = lib.optionalString enableAlsaUtils ''
|
||||||
wrapProgram $out/bin/dwm-status \
|
wrapProgram $out/bin/dwm-status \
|
||||||
--prefix "PATH" : "${alsaUtils}/bin"
|
--prefix "PATH" : "${binPath}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user