nixpkgs/pkgs/applications/window-managers/wayfire/wcm.nix
2023-04-02 02:51:00 +08:00

62 lines
986 B
Nix

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