2024-01-13 08:15:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, gtk3
|
|
|
|
, libxml2
|
|
|
|
, xkeyboard_config
|
|
|
|
, wrapGAppsHook
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "labwc-tweaks";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "unstable-2024-04-02";
|
2024-01-13 08:15:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "labwc";
|
|
|
|
repo = "labwc-tweaks";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "a1a3cfaefd1908de8752d0d6d6b7170b04ee075c";
|
|
|
|
hash = "sha256-uvUsoqiQBuNMBQWAxl/tCIvWsEYmZ4dQ31TrznI/XcA=";
|
2024-01-13 08:15:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace stack-lang.c --replace /usr/share/X11/xkb ${xkeyboard_config}/share/X11/xkb
|
|
|
|
substituteInPlace theme.c --replace /usr/share /run/current-system/sw/share
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/labwc/labwc-tweaks";
|
|
|
|
description = "Configuration gui app for labwc";
|
|
|
|
mainProgram = "labwc-tweaks";
|
|
|
|
license = lib.licenses.gpl2Only;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres romildo ];
|
|
|
|
};
|
|
|
|
})
|