28 stdenv.mkDerivation (finalAttrs: {
32 src = fetchFromGitHub {
35 rev = "v${finalAttrs.version}";
36 fetchSubmodules = true;
37 hash = "sha256-xQZ4/UE66IISZQLl702OQXAAr8XmEsA4hJwB7aXua+E=";
60 propagatedBuildInputs = [
73 # CMake is just used for finding doctest.
74 dontUseCmakeConfigure = true;
80 "-Duse_system_wlroots=enabled"
81 "-Duse_system_wfconfig=enabled"
82 (lib.mesonEnable "wf-touch:tests" (stdenv.buildPlatform.canExecute stdenv.hostPlatform))
85 passthru.providedSessions = [ "wayfire" ];
87 passthru.tests.mate = nixosTests.mate-wayland;
90 homepage = "https://wayfire.org/";
91 description = "3D Wayland compositor";
92 license = lib.licenses.mit;
93 maintainers = with lib.maintainers; [ wucke13 rewine ];
94 platforms = lib.platforms.unix;
95 mainProgram = "wayfire";