Merge pull request #119387 from branwright1/river

This commit is contained in:
Sandro 2021-04-14 19:23:18 +02:00 committed by GitHub
commit 24dc4599cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 0 deletions

View file

@ -1364,6 +1364,12 @@
githubId = 302429;
name = "Marton Boros";
};
branwright1 = {
email = "branwright@protonmail.com";
github = "branwright1";
githubId = 71175207;
name = "Brandon Wright";
};
bramd = {
email = "bram@bramd.nl";
github = "bramd";

View file

@ -0,0 +1,44 @@
{ lib, stdenv ,fetchFromGitHub
, zig, wayland, pkg-config, scdoc
, xwayland, wayland-protocols, wlroots
, libxkbcommon, pixman, udev, libevdev, libX11, libGL
}:
stdenv.mkDerivation rec {
pname = "river";
version = "unstable-2021-04-08";
src = fetchFromGitHub {
owner = "ifreund";
repo = "river";
rev = "9e3e92050e04320949c6cd995273c30319ebd515";
sha256 = "1v8dpbadsb3c7bc84sai09dbqv5s5s5d77vs12kdkd45x0ppmk3j";
fetchSubmodules = true;
};
buildInputs = [ xwayland wayland-protocols wlroots pixman
libxkbcommon pixman udev libevdev libX11 libGL
];
preBuild = ''
export HOME=$TMPDIR
'';
installPhase = ''
zig build -Drelease-safe -Dxwayland -Dman-pages --prefix $out install
'';
nativeBuildInputs = [ zig wayland 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 ];
};
}

View file

@ -2918,6 +2918,8 @@ in
psrecord = python3Packages.callPackage ../tools/misc/psrecord {};
river = callPackage ../applications/window-managers/river { };
rmapi = callPackage ../applications/misc/remarkable/rmapi { };
rmview = libsForQt5.callPackage ../applications/misc/remarkable/rmview { };