depot/third_party/nixpkgs/pkgs/applications/window-managers/wayfire/wcm.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

62 lines
1 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wrapGAppsHook3
, wayfire
, wf-shell
, wayland-scanner
, wayland-protocols
, gtk3
, gtkmm3
, libevdev
, libxml2
, libxkbcommon
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wcm";
version = "0.8.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wcm";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-UwHJ4Wi83ATnA1CQKNSt8Qga7ooLnAY7QARz2FXvUIo=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
wrapGAppsHook3
];
buildInputs = [
wayfire
wf-shell
wayland-protocols
gtk3
gtkmm3
libevdev
libxml2
libxkbcommon
];
mesonFlags = [
"-Denable_wdisplays=false"
];
meta = {
homepage = "https://github.com/WayfireWM/wcm";
description = "Wayfire Config Manager";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ wucke13 rewine ];
platforms = lib.platforms.unix;
mainProgram = "wcm";
};
})