dwm-status: unstable-2021-05-04 -> 1.7.2 (#122196)

This commit is contained in:
Tobias Happ 2021-05-08 16:55:30 +02:00 committed by GitHub
parent 741262da76
commit 4d549a4c6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,19 +9,19 @@ in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "dwm-status"; pname = "dwm-status";
version = "unstable-2021-05-04"; version = "1.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Gerschtli"; owner = "Gerschtli";
repo = pname; repo = pname;
rev = "c5b1fda78a8175cb53df9d31ae037c58279df810"; rev = version;
sha256 = "sha256-dJUQ7vuz9OC6eU00Snbbza63j01ms54sXO1kqheun+8="; sha256 = "sha256-Y1J0nCVEmGKgQP+GEtPqK8l3SRuls5yesvJuowLDzUo=";
}; };
nativeBuildInputs = [ makeWrapper pkg-config ]; nativeBuildInputs = [ makeWrapper pkg-config ];
buildInputs = [ dbus gdk-pixbuf libnotify xorg.libX11 ]; buildInputs = [ dbus gdk-pixbuf libnotify xorg.libX11 ];
cargoSha256 = "sha256-zSt6iNZ9hmvAgFEXzqfovRsMryVyFWHm68G7J3SMztY="; cargoSha256 = "sha256-8/vzJXZjSQmefHMo5BXKTRiLy2F3wfIn8VgPMJxtIvY=";
postInstall = lib.optionalString (bins != []) '' postInstall = lib.optionalString (bins != []) ''
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}" wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}"