mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wayland
|
|
, wrapGAppsHook
|
|
, wayfire
|
|
, wf-shell
|
|
, wf-config
|
|
, 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
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
wayfire
|
|
wf-config
|
|
wf-shell
|
|
wayland
|
|
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; [ qyliss wucke13 rewine ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "wcm";
|
|
};
|
|
})
|