nixpkgs/pkgs/applications/window-managers/wio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
2021-10-06 06:56:57 +02:00
, fetchFromGitHub
2021-01-01 17:49:48 +01:00
, alacritty
, cage
, cairo
, libxkbcommon
2021-10-06 06:56:57 +02:00
, makeWrapper
, mesa
, meson
, ninja
, pkg-config
2021-01-01 17:49:48 +01:00
, udev
, wayland
, wayland-protocols
, wlroots
, xwayland
}:
stdenv.mkDerivation rec {
pname = "wio";
version = "0.pre+unstable=2021-06-27";
2021-01-01 17:49:48 +01:00
2021-10-06 06:56:57 +02:00
src = fetchFromGitHub {
owner = "museoa";
repo = pname;
rev = "e0b258777995055d69e61a0246a6a64985743f42";
sha256 = "sha256-8H9fOnZsNjjq9XvOv68F4RRglGNluxs5/jp/h4ROLiI=";
2021-01-01 17:49:48 +01:00
};
nativeBuildInputs = [
2021-10-06 06:56:57 +02:00
makeWrapper
meson
ninja
pkg-config
2021-05-14 19:11:19 +02:00
];
2021-10-06 06:56:57 +02:00
2021-01-01 17:49:48 +01:00
buildInputs = [
cairo
libxkbcommon
mesa # for libEGL
2021-01-01 17:49:48 +01:00
udev
wayland
wayland-protocols
wlroots
xwayland
];
postInstall = ''
wrapProgram $out/bin/wio \
2021-01-15 14:21:58 +01:00
--prefix PATH ":" "${lib.makeBinPath [ alacritty cage ]}"
2021-01-01 17:49:48 +01:00
'';
meta = with lib; {
homepage = "https://wio-project.org/";
2021-01-01 17:49:48 +01:00
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.
'';
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
2021-10-06 06:56:57 +02:00
inherit (wayland.meta) platforms;
2021-01-01 17:49:48 +01:00
};
passthru.providedSessions = [ "wio" ];
}
# TODO: factor Linux-specific options