nixpkgs/pkgs/applications/misc/regextester/default.nix
Jan Tojnar eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
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)
2024-04-27 02:23:22 +02:00

61 lines
1.2 KiB
Nix

{ lib, stdenv
, fetchFromGitHub
, vala
, gettext
, libxml2
, pkg-config
, glib
, gtk3
, libgee
, meson
, ninja
, gobject-introspection
, gsettings-desktop-schemas
, desktop-file-utils
, pantheon
, wrapGAppsHook3 }:
stdenv.mkDerivation rec {
pname = "regextester";
version = "1.1.1";
src = fetchFromGitHub {
owner = "artemanufrij";
repo = "regextester";
rev = version;
hash = "sha256-5+gU8DeB99w2h/4vMal2eHkR0305dmRYiY6fsLZzlnc=";
};
nativeBuildInputs = [
vala
gettext
gobject-introspection
libxml2
meson
ninja
pkg-config
wrapGAppsHook3
desktop-file-utils
];
buildInputs = [
pantheon.granite
glib
libgee
gsettings-desktop-schemas
gtk3
];
postInstall = ''
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
'';
meta = with lib; {
description = "A desktop application to test regular expressions interactively";
mainProgram = "com.github.artemanufrij.regextester";
homepage = "https://github.com/artemanufrij/regextester";
maintainers = with maintainers; [ samdroid-apps ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
};
}