2021-06-24 16:13:35 +01:00
|
|
|
{ lib, stdenv, fetchurl, cmake, meson, ninja, pkg-config
|
|
|
|
, cairo, doctest, libdrm, libexecinfo, libinput, libjpeg, libxkbcommon, wayland
|
2021-04-08 22:03:22 +01:00
|
|
|
, wayland-protocols, wf-config, wlroots, mesa
|
2020-05-02 18:38:59 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wayfire";
|
2021-06-24 16:13:35 +01:00
|
|
|
version = "0.7.2";
|
2020-05-02 18:38:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-07 19:16:13 +00:00
|
|
|
url = "https://github.com/WayfireWM/wayfire/releases/download/v${version}/wayfire-${version}.tar.xz";
|
2021-06-24 16:13:35 +01:00
|
|
|
sha256 = "1gasijjyfl00zpy6j9hh6qpwv0sw42h9irycbnm693j3vw9mcy66";
|
2020-05-02 18:38:59 +01:00
|
|
|
};
|
|
|
|
|
2021-06-24 16:13:35 +01:00
|
|
|
nativeBuildInputs = [ cmake meson ninja pkg-config wayland ];
|
2020-05-02 18:38:59 +01:00
|
|
|
buildInputs = [
|
2021-06-24 16:13:35 +01:00
|
|
|
cairo doctest libdrm libexecinfo libinput libjpeg libxkbcommon wayland
|
2021-04-08 22:03:22 +01:00
|
|
|
wayland-protocols wf-config wlroots mesa
|
2020-05-02 18:38:59 +01:00
|
|
|
];
|
|
|
|
|
2021-06-24 16:13:35 +01:00
|
|
|
# CMake is just used for finding doctest.
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
|
2020-05-02 18:38:59 +01:00
|
|
|
mesonFlags = [ "--sysconfdir" "/etc" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://wayfire.org/";
|
2021-04-29 03:53:30 +01:00
|
|
|
description = "3D Wayland compositor";
|
2020-05-02 18:38:59 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ qyliss wucke13 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|