14 withCustomConfigH ? (configH != null),
15 # Configurable options
21 version = "0-unstable-2024-05-16";
23 src = fetchFromGitHub {
26 rev = "0daa1c1fdd82c4d790e477bf171e23ca2fdfa0cb";
27 hash = "sha256-Bu20IqRwBP1WRBgbcEQU4Q2BZ2FBnVaySOTsCn0iSSE=";
42 # Allow alternative config.def.h usage. Taken from dwl.nix.
46 if lib.isDerivation configH || builtins.isPath configH then
49 writeText "config.h" configH;
51 lib.optionalString withCustomConfigH "cp ${configFile} config.h";
54 PREFIX = placeholder "out";
62 passthru.updateScript = unstableGitUpdater { };
65 description = "Fast, feature-complete bar for dwl";
66 homepage = "https://github.com/kolunmi/dwlb";
67 license = lib.licenses.gpl3Plus;
69 maintainers = with lib.maintainers; [
73 platforms = wayland.meta.platforms;