mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, pkg-config
|
|
, vala
|
|
, wrapGAppsHook3
|
|
, installShellFiles
|
|
, scdoc
|
|
, at-spi2-atk
|
|
, at-spi2-core
|
|
, dbus
|
|
, gtk3
|
|
, ibus
|
|
, libgee
|
|
, xorg
|
|
, snippetexpanderd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (snippetexpanderd) src version;
|
|
|
|
pname = "snippetexpanderx";
|
|
|
|
sourceRoot = "${src.name}/cmd/snippetexpanderx";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook3
|
|
installShellFiles
|
|
scdoc
|
|
];
|
|
|
|
buildInputs = [
|
|
at-spi2-atk
|
|
at-spi2-core
|
|
dbus
|
|
gtk3
|
|
ibus
|
|
libgee
|
|
xorg.libX11
|
|
snippetexpanderd
|
|
];
|
|
|
|
makeFlags = [ "VERSION=${src.rev}" ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/bin
|
|
install -m555 snippetexpanderx $out/bin/
|
|
installManPage snippetexpanderx.1
|
|
runHook postInstall
|
|
'';
|
|
|
|
# There are no tests.
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Your little expandable text snippet helper auto expander daemon";
|
|
homepage = "https://snippetexpander.org";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ ianmjones ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "snippetexpanderx";
|
|
};
|
|
}
|