2023-04-12 12:48:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayland
|
|
|
|
, wrapGAppsHook
|
|
|
|
, wayfire
|
|
|
|
, wf-shell
|
|
|
|
, wf-config
|
|
|
|
, wayland-scanner
|
|
|
|
, wayland-protocols
|
|
|
|
, gtk3
|
|
|
|
, libevdev
|
|
|
|
, libxml2
|
2020-12-25 13:55:36 +00:00
|
|
|
}:
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-12-25 13:55:36 +00:00
|
|
|
pname = "wcm";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "0.7.5";
|
2020-12-25 13:55:36 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "WayfireWM";
|
2023-08-04 22:07:22 +00:00
|
|
|
repo = "wcm";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
fetchSubmodules = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-LJR9JGl49o4O6LARofz3jOeAqseGcmzVhMnhk/aobUU=";
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wayland-scanner
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [
|
2023-04-12 12:48:02 +00:00
|
|
|
wayfire
|
|
|
|
wf-config
|
|
|
|
wf-shell
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
gtk3
|
|
|
|
libevdev
|
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Denable_wdisplays=false"
|
2020-12-25 13:55:36 +00:00
|
|
|
];
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
meta = {
|
2020-12-25 13:55:36 +00:00
|
|
|
homepage = "https://github.com/WayfireWM/wcm";
|
|
|
|
description = "Wayfire Config Manager";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
mainProgram = "wcm";
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
2023-08-04 22:07:22 +00:00
|
|
|
})
|