mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +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)
63 lines
1.3 KiB
Nix
63 lines
1.3 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
, gtk3
|
|
, wrapGAppsHook3
|
|
, glibcLocales
|
|
, gobject-introspection
|
|
, gettext
|
|
, pango
|
|
, gdk-pixbuf
|
|
, atk
|
|
, fluxbox
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "fluxboxlauncher";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mothsart";
|
|
repo = "fluxboxlauncher";
|
|
rev = "0.2.1";
|
|
sha256 = "024h1dk0bhc5s4dldr6pqabrgcqih9p8cys5lqgkgz406y4vyzvf";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook3
|
|
gobject-introspection
|
|
pango
|
|
gdk-pixbuf
|
|
atk
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
glibcLocales
|
|
gtk3
|
|
python3
|
|
fluxbox
|
|
];
|
|
|
|
makeWrapperArgs = [ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
|
|
"--set CHARSET en_us.UTF-8" ];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pygobject3
|
|
];
|
|
|
|
postInstall = ''
|
|
install -Dm444 fluxboxlauncher.desktop -t $out/share/applications
|
|
install -Dm444 fluxboxlauncher.svg -t $out/share/icons/hicolor/scalable/apps
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A Gui editor (gtk) to configure applications launching on a fluxbox session";
|
|
mainProgram = "fluxboxlauncher";
|
|
homepage = "https://github.com/mothsART/fluxboxlauncher";
|
|
maintainers = with maintainers; [ mothsart ];
|
|
license = licenses.bsdOriginal;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|