diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-01-01 13:49:48 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-01-01 16:39:31 -0300 |
commit | f90045d24c972570b627969574d7505843a8b3fe (patch) | |
tree | 7e45915609c2c9ba00324e7d9cc293cf96635837 /pkgs/applications/window-managers | |
parent | 1996ff7d42735bd9f55f7315ffd293a814d37c3a (diff) |
wio: init at unstable-2020-11-02
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/wio/default.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/wio/default.nix b/pkgs/applications/window-managers/wio/default.nix new file mode 100644 index 000000000000..b597cf978a63 --- /dev/null +++ b/pkgs/applications/window-managers/wio/default.nix @@ -0,0 +1,57 @@ +{ stdenv, fetchgit +, meson +, ninja +, pkg-config +, alacritty +, cage +, cairo +, libxkbcommon +, udev +, wayland +, wayland-protocols +, wlroots +, xwayland +, makeWrapper +}: + +stdenv.mkDerivation rec { + pname = "wio"; + version = "unstable-2020-11-02"; + + src = fetchgit { + url = "https://git.sr.ht/~sircmpwn/wio"; + rev = "31b742e473b15a2087be740d1de28bc2afd47a4d"; + sha256 = "1vpvlahv6dmr7vfb11p5cc5ds2y2vfvcb877nkqx18yin6pg357l"; + }; + + nativeBuildInputs = [ meson ninja pkg-config makeWrapper ]; + buildInputs = [ + cairo + libxkbcommon + udev + wayland + wayland-protocols + wlroots + xwayland + ]; + + postInstall = '' + wrapProgram $out/bin/wio \ + --prefix PATH ":" "${stdenv.lib.makeBinPath [ alacritty cage ]}" + ''; + + meta = with stdenv.lib; { + description = "That Plan 9 feel, for Wayland"; + longDescription = '' + Wio is a Wayland compositor for Linux and FreeBSD which has a similar look + and feel to plan9's rio. + ''; + homepage = "https://wio-project.org/"; + license = licenses.mit; + platforms = with platforms; linux; + maintainers = with maintainers; [ AndersonTorres ]; + }; + + passthru.providedSessions = [ "wio" ]; +} +# TODO: factor Linux-specific options |