
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)
53 lines
948 B
Nix
53 lines
948 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchFromGitHub
|
|
, wrapGAppsHook3
|
|
, gobject-introspection
|
|
, gtk3
|
|
, docutils
|
|
, gtksourceview
|
|
, gtkspell3
|
|
, librsvg
|
|
, pygobject3
|
|
, webkitgtk
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "formiko";
|
|
version = "1.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ondratu";
|
|
repo = "formiko";
|
|
rev = version;
|
|
sha256 = "0n7w585gbrpn2xcd5n04hivrjarpr2wj260y2kpxpgh93vn52sdi";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook3
|
|
gobject-introspection
|
|
gtk3
|
|
];
|
|
propagatedBuildInputs = [
|
|
docutils
|
|
gobject-introspection
|
|
gtk3
|
|
gtksourceview
|
|
gtkspell3
|
|
librsvg
|
|
pygobject3
|
|
webkitgtk
|
|
];
|
|
|
|
# Needs a display
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "reStructuredText editor and live previewer";
|
|
homepage = "https://github.com/ondratu/formiko";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ shamilton ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|