mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
34 lines
1010 B
Nix
34 lines
1010 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;
|
|
};
|
|
}
|