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

labwc-tweaks-gtk: init at 0-unstable-2024-04-07

authored by José Romildo Malaquias and committed by GitHub aa606b10 72388bc6

+54
+54
pkgs/by-name/la/labwc-tweaks-gtk/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , gtk3 8 + , libxml2 9 + , xkeyboard_config 10 + , wrapGAppsHook 11 + , unstableGitUpdater 12 + }: 13 + 14 + stdenv.mkDerivation (finalAttrs: { 15 + pname = "labwc-tweaks-gtk"; 16 + version = "0-unstable-2024-04-07"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "labwc"; 20 + repo = "labwc-tweaks-gtk"; 21 + rev = "67adbedd610a1b44e7ba667ae72a5c9b07105119"; 22 + hash = "sha256-RGPm+hvyTWxkd3z841Y8ozXrDD1ZgHCZjimyRdRNrCs="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + meson 27 + ninja 28 + pkg-config 29 + wrapGAppsHook 30 + ]; 31 + 32 + buildInputs = [ 33 + gtk3 34 + libxml2 35 + ]; 36 + 37 + strictDeps = true; 38 + 39 + postPatch = '' 40 + substituteInPlace stack-lang.c --replace /usr/share/X11/xkb ${xkeyboard_config}/share/X11/xkb 41 + substituteInPlace theme.c --replace /usr/share /run/current-system/sw/share 42 + ''; 43 + 44 + passthru.updateScript = unstableGitUpdater { }; 45 + 46 + meta = { 47 + homepage = "https://github.com/labwc/labwc-tweaks-gtk"; 48 + description = "Configuration gui app for labwc; gtk fork"; 49 + mainProgram = "labwc-tweaks"; 50 + license = lib.licenses.gpl2Only; 51 + platforms = lib.platforms.unix; 52 + maintainers = with lib.maintainers; [ AndersonTorres romildo ]; 53 + }; 54 + })