3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/wayfire/default.nix
2021-06-24 22:15:17 +02:00

34 lines
1,010 B
Nix

{ lib, stdenv, fetchurl, cmake, meson, ninja, pkg-config
, cairo, doctest, libdrm, libexecinfo, libinput, libjpeg, libxkbcommon, wayland
, wayland-protocols, wf-config, wlroots, mesa
}:
stdenv.mkDerivation rec {
pname = "wayfire";
version = "0.7.2";
src = fetchurl {
url = "https://github.com/WayfireWM/wayfire/releases/download/v${version}/wayfire-${version}.tar.xz";
sha256 = "1gasijjyfl00zpy6j9hh6qpwv0sw42h9irycbnm693j3vw9mcy66";
};
nativeBuildInputs = [ cmake meson ninja pkg-config wayland ];
buildInputs = [
cairo doctest libdrm libexecinfo libinput libjpeg libxkbcommon wayland
wayland-protocols wf-config wlroots mesa
];
# CMake is just used for finding doctest.
dontUseCmakeConfigure = true;
mesonFlags = [ "--sysconfdir" "/etc" ];
meta = with lib; {
homepage = "https://wayfire.org/";
description = "3D Wayland compositor";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 ];
platforms = platforms.unix;
};
}