Skip to content

Commit

Permalink
dwm-status: 1.7.1 -> unstable-2021-05-04
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz authored and Jonathan Ringer committed May 8, 2021
1 parent 5a4cec0 commit 2af2325
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/applications/window-managers/dwm/dwm-status.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ in

rustPlatform.buildRustPackage rec {
pname = "dwm-status";
version = "1.7.1";
version = "unstable-2021-05-04";

src = fetchFromGitHub {
owner = "Gerschtli";
repo = "dwm-status";
rev = version;
sha256 = "172qkzbi37j6wx81pyqqffi9wxbg3bf8nis7d15ncn1yfd5r4gqh";
repo = pname;
rev = "c5b1fda78a8175cb53df9d31ae037c58279df810";
sha256 = "sha256-dJUQ7vuz9OC6eU00Snbbza63j01ms54sXO1kqheun+8=";
};

nativeBuildInputs = [ makeWrapper pkg-config ];
buildInputs = [ dbus gdk-pixbuf libnotify xorg.libX11 ];

cargoSha256 = "041sd9zm1c3v6iihnwjcya2xg5yxb2y4biyxpjlfblz2srxa15dm";
cargoSha256 = "sha256-zSt6iNZ9hmvAgFEXzqfovRsMryVyFWHm68G7J3SMztY=";

postInstall = lib.optionalString (bins != []) ''
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}"
Expand All @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Gerschtli/dwm-status";
license = with licenses; [ mit ];
maintainers = with maintainers; [ gerschtli ];
mainProgram = pname;
platforms = platforms.linux;
};
}

0 comments on commit 2af2325

Please sign in to comment.