@@ -1,11 +1,12 @@
11{ lib, stdenv ,fetchFromGitHub
2−, zig, pkg-config, scdoc
3−, wayland ,xwayland, wayland-protocols, wlroots
4−, libxkbcommon, pixman, libudev, libevdev, libX11, libGL
2+, zig, wayland, pkg-config, scdoc
3+, xwayland, wayland-protocols, wlroots
4+, libxkbcommon, pixman, udev, libevdev, libX11, libGL
55}:
66
77stdenv.mkDerivation rec {
8− name = "river";
8+ pname = "river";
9+ version = "unstable-2021-04-08";
910
1011 src = fetchFromGitHub {
1112 owner = "ifreund";
@@ -15,21 +16,25 @@ stdenv.mkDerivation rec {
1516 fetchSubmodules = true;
1617 };
1718
18− buildInputs = [ wayland xwayland wayland-protocols wlroots pixman
19− libxkbcommon pixman libudev libevdev libX11 libGL
19+ buildInputs = [ xwayland wayland-protocols wlroots pixman
20+ libxkbcommon pixman udev libevdev libX11 libGL
2021 ];
2122
22− preBuild = "export HOME=$TMPDIR;";
23− installPhase = "zig build -Drelease-safe -Dxwayland -Dman-pages --prefix $out install";
23+ preBuild = ''
24+ export HOME=$TMPDIR
25+ '';
26+ installPhase = ''
27+ zig build -Drelease-safe -Dxwayland -Dman-pages --prefix $out install
28+ '';
2429
25− nativeBuildInputs = [ zig scdoc pkg-config ];
30+ nativeBuildInputs = [ zig wayland scdoc pkg-config ];
2631
2732 installFlags = [ "DESTDIR=$(out)" ];
2833
2934 meta = with lib; {
3035 description = "A dynamic tiling wayland compositor";
3136 longDescription = ''
32− river is a dynamic tiling wayland compositor that takes inspiration from dwm and bspwm.
37+ river is a dynamic tiling wayland compositor that takes inspiration from dwm and bspwm.
3338 '';
3439 homepage = "https://github.com/ifreund/river";
3540 license = licenses.gpl3Plus;