mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
87 lines
1.4 KiB
Nix
87 lines
1.4 KiB
Nix
{ lib
|
|
, cairo
|
|
, fetchFromGitHub
|
|
, gettext
|
|
, glib
|
|
, libdrm
|
|
, libinput
|
|
, libpng
|
|
, librsvg
|
|
, libxcb
|
|
, libxkbcommon
|
|
, libxml2
|
|
, meson
|
|
, ninja
|
|
, pango
|
|
, pkg-config
|
|
, scdoc
|
|
, stdenv
|
|
, wayland
|
|
, wayland-protocols
|
|
, wayland-scanner
|
|
, wlroots
|
|
, xcbutilwm
|
|
, xwayland
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "labwc";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "labwc";
|
|
repo = "labwc";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-8TSBBNg9+W65vEKmwyAWB2yEOpHqV9YRm5+ttL19ke4=";
|
|
};
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
scdoc
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
glib
|
|
libdrm
|
|
libinput
|
|
libpng
|
|
librsvg
|
|
libxcb
|
|
libxkbcommon
|
|
libxml2
|
|
pango
|
|
wayland
|
|
wayland-protocols
|
|
wlroots
|
|
xcbutilwm
|
|
xwayland
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
mesonFlags = [
|
|
(lib.mesonEnable "xwayland" true)
|
|
];
|
|
|
|
passthru = {
|
|
providedSessions = [ "labwc" ];
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/labwc/labwc";
|
|
description = "Wayland stacking compositor, inspired by Openbox";
|
|
changelog = "https://github.com/labwc/labwc/blob/${finalAttrs.src.rev}/NEWS.md";
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
mainProgram = "labwc";
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
inherit (wayland.meta) platforms;
|
|
};
|
|
})
|