lol

Merge pull request #121405 from branwright1/revert-121357-new-river

Revert "river: refactor"

authored by

Anderson Torres and committed by
GitHub
bebfaab5 fb5a9e40

+16 -57
+16 -57
pkgs/applications/window-managers/river/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , libGL 5 - , libX11 6 - , libevdev 7 - , libxkbcommon 8 - , pixman 9 - , pkg-config 10 - , scdoc 11 - , udev 12 - , wayland 13 - , wayland-protocols 14 - , wlroots 15 - , xwayland 16 - , zig 1 + { lib, stdenv ,fetchFromGitHub 2 + , zig, wayland, pkg-config, scdoc 3 + , xwayland, wayland-protocols, wlroots 4 + , libxkbcommon, pixman, udev, libevdev, libX11, libGL 17 5 }: 18 6 19 7 stdenv.mkDerivation rec { ··· 24 12 owner = "ifreund"; 25 13 repo = pname; 26 14 rev = "0c8e718d95a6a621b9cba0caa9158915e567b076"; 27 - sha256 = "sha256-c3lzsA2oml7DlfYA5mipHafF3Y3mqY1eJR6e2H8DUMo="; 15 + sha256 = "1jjh0dzxi7hy4mg8vag6ipfwb9qxm5lfc07njp1mx6m81nq76ybk"; 28 16 fetchSubmodules = true; 29 17 }; 30 18 31 - nativeBuildInputs = [ 32 - pkg-config 33 - scdoc 34 - wayland-protocols 35 - zig 36 - ]; 37 - buildInputs = [ 38 - libGL 39 - libX11 40 - libevdev 41 - libxkbcommon 42 - pixman 43 - pixman 44 - udev 45 - wayland 46 - wlroots 47 - xwayland 19 + buildInputs = [ xwayland wayland-protocols wlroots pixman 20 + libxkbcommon pixman udev libevdev libX11 libGL 48 21 ]; 49 22 50 - dontConfigure = true; 51 - 52 - buildPhase = '' 53 - runHook preBuild 23 + preBuild = '' 54 24 export HOME=$TMPDIR 55 - zig build -Dman-pages -Drelease-safe -Dxwayland --prefix $out 56 - runHook postBuild 57 25 ''; 58 - 59 26 installPhase = '' 60 - runHook preInstall 61 - zig build -Dman-pages -Drelease-safe -Dxwayland --prefix $out install 62 - runHook postInstall 27 + zig build -Drelease-safe -Dxwayland -Dman-pages --prefix $out install 63 28 ''; 64 29 30 + nativeBuildInputs = [ zig wayland scdoc pkg-config ]; 31 + 32 + installFlags = [ "DESTDIR=$(out)" ]; 33 + 65 34 meta = with lib; { 66 - homepage = "https://github.com/ifreund/river"; 67 35 description = "A dynamic tiling wayland compositor"; 68 36 longDescription = '' 69 - river is a dynamic tiling wayland compositor that takes inspiration from 70 - dwm and bspwm. 71 - 72 - Its design goals are: 73 - - Simplicity and minimalism, river should not overstep the bounds of a 74 - window manager. 75 - - Window management based on a stack of views and tags. 76 - - Dynamic layouts generated by external, user-written executables. 77 - (A default rivertile layout generator is provided.) 78 - - Scriptable configuration and control through a custom wayland protocol 79 - and separate riverctl binary implementing it. 37 + river is a dynamic tiling wayland compositor that takes inspiration from dwm and bspwm. 80 38 ''; 39 + homepage = "https://github.com/ifreund/river"; 81 40 license = licenses.gpl3Plus; 82 - maintainers = with maintainers; [ branwright1 AndersonTorres ]; 83 41 platforms = platforms.linux; 42 + maintainers = with maintainers; [ branwright1 ]; 84 43 }; 85 44 }