11 enableAlsaUtils ? true,
22 lib.optionals enableAlsaUtils [
26 ++ lib.optionals enableNetwork [
33 rustPlatform.buildRustPackage rec {
37 src = fetchFromGitHub {
41 sha256 = "sha256-OFwI4evwbXLO4ufjrh5SZia79bwbAKVoSm/IPCDku68=";
55 cargoHash = "sha256-CNhRMJZJMMKh5L308a93YL0kJLkt6DdlmILMVPQV90Q=";
57 postInstall = lib.optionalString (bins != [ ]) ''
58 wrapProgram $out/bin/dwm-status --prefix "PATH" : "${lib.makeBinPath bins}"
62 description = "Highly performant and configurable DWM status service";
63 homepage = "https://github.com/Gerschtli/dwm-status";
64 changelog = "https://github.com/Gerschtli/dwm-status/blob/master/CHANGELOG.md";
65 license = with licenses; [ mit ];
66 maintainers = with maintainers; [ gerschtli ];
67 mainProgram = "dwm-status";
68 platforms = platforms.linux;