15 # There is a configuration in src/config.def.hpp, which we use by default
16 configFile = if lib.isDerivation conf || builtins.isPath conf then conf else "src/config.def.hpp";
19 stdenv.mkDerivation rec {
23 src = fetchFromSourcehut {
27 sha256 = "sha256-PBxCy1dZrOL1nmhVDQozvF0XL79uKMhhERGNpPPzaRU=";
30 nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
31 buildInputs = [ pango wayland wayland-protocols ];
34 cp ${configFile} src/config.hpp
38 homepage = "https://git.sr.ht/~raphi/somebar";
39 description = "dwm-like bar for dwl";
40 license = licenses.mit;
41 maintainers = with maintainers; [ magnouvean ];
42 platforms = platforms.linux;
43 mainProgram = "somebar";