13 stdenv.mkDerivation (finalAttrs: {
17 src = fetchFromSourcehut {
20 rev = "v${finalAttrs.version}";
21 fetchSubmodules = true;
22 hash = "sha256-nDKPv/roweW7ynEROsipUJPvs6VMmz3E4JzEFRBzE6s=";
35 ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
39 homepage = "https://git.sr.ht/~novakane/rivercarro";
40 description = "Layout generator for river Wayland compositor, fork of rivertile";
42 A slightly modified version of rivertile layout generator for river.
44 Compared to rivertile, rivercarro adds:
45 - Monocle layout, views will takes all the usable area on the screen.
46 - Gaps instead of padding around views or layout area.
47 - Modify gaps size at runtime.
48 - Smart gaps, if there is only one view, gaps will be disable.
49 - Limit the width of the usable area of the screen.
51 changelog = "https://git.sr.ht/~novakane/rivercarro/refs/v${finalAttrs.version}";
52 license = licenses.gpl3Plus;
53 maintainers = with maintainers; [ kraem ];
54 inherit (zig_0_12.meta) platforms;
55 mainProgram = "rivercarro";