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

34 lines
1,010 B
Nix
Raw Normal View History

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