mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 12:03:21 +00:00
7eb91a2e24
river: init at unstable 2021-04-08 river: init at unstable 2021-04-08 Co-authored-by: fortuneteller2k <20619776+fortuneteller2k@users.noreply.github.com>
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{ lib, stdenv ,fetchFromGitHub
|
|
, zig, pkg-config, scdoc
|
|
, wayland ,xwayland, wayland-protocols, wlroots
|
|
, libxkbcommon, pixman, libudev, libevdev, libX11, libGL
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "river";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ifreund";
|
|
repo = "river";
|
|
rev = "9e3e92050e04320949c6cd995273c30319ebd515";
|
|
sha256 = "1v8dpbadsb3c7bc84sai09dbqv5s5s5d77vs12kdkd45x0ppmk3j";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
buildInputs = [ wayland xwayland wayland-protocols wlroots pixman
|
|
libxkbcommon pixman libudev libevdev libX11 libGL
|
|
];
|
|
|
|
preBuild = "export HOME=$TMPDIR;";
|
|
installPhase = "zig build -Drelease-safe -Dxwayland -Dman-pages --prefix $out install";
|
|
|
|
nativeBuildInputs = [ zig scdoc pkg-config ];
|
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "A dynamic tiling wayland compositor";
|
|
longDescription = ''
|
|
river is a dynamic tiling wayland compositor that takes inspiration from dwm and bspwm.
|
|
'';
|
|
homepage = "https://github.com/ifreund/river";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ branwright1 ];
|
|
};
|
|
}
|