Merge pull request #278985 from romildo/upd.labwc-tweaks

labwc-tweaks: unstable-2023-12-08 -> unstable-2024-01-04
This commit is contained in:
José Romildo Malaquias 2024-01-11 19:11:01 -03:00 committed by GitHub
commit bad05b2c73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,18 +6,20 @@
, pkg-config
, gtk3
, libxml2
, xkeyboard_config
, wrapGAppsHook
, unstableGitUpdater
}:
stdenv.mkDerivation (finalAttrs: {
pname = "labwc-tweaks";
version = "unstable-2023-12-08";
version = "unstable-2024-01-04";
src = fetchFromGitHub {
owner = "labwc";
repo = finalAttrs.pname;
rev = "1c79d6a5ee3ac3d1a6140a1a98ae89674ef36635";
hash = "sha256-RD1VCKVoHsoY7SezY7tjZzomikMgA7N6B5vaYkIo9Es=";
repo = "labwc-tweaks";
rev = "1604f64cc62e4800ee04a6e1c323a48ee8140d83";
hash = "sha256-xFvc+Y03HjSvj846o84Wpk5tEXI49z8xkILSX2oas8A=";
};
nativeBuildInputs = [
@ -35,16 +37,18 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
postPatch = ''
substituteInPlace stack-lang.c --replace /usr/share /run/current-system/sw/share
sed -i '/{ NULL, "\/usr\/share" },/i { NULL, "/run/current-system/sw/share" },' theme.c
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.gpl2Plus;
license = lib.licenses.gpl2Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ romildo ];
maintainers = with lib.maintainers; [ AndersonTorres romildo ];
};
})