
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)
86 lines
1.5 KiB
Nix
86 lines
1.5 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, vala
|
|
, atk
|
|
, cairo
|
|
, dconf
|
|
, glib
|
|
, gtk3
|
|
, libwnck
|
|
, libX11
|
|
, libXfixes
|
|
, libXi
|
|
, pango
|
|
, pkg-config
|
|
, libxml2
|
|
, bamf
|
|
, gdk-pixbuf
|
|
, libdbusmenu-gtk3
|
|
, gnome-menus
|
|
, libgee
|
|
, wrapGAppsHook3
|
|
, meson
|
|
, ninja
|
|
, granite
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-dock";
|
|
version = "unstable-2021-05-07";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "dock";
|
|
rev = "113c3b0bc7744501d2101dd7afc1ef21ba66b326";
|
|
sha256 = "sha256-YlvdB02/hUGaDyHIHy21bgloHyVy3vHcanyNKnp3YbM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
libxml2 # xmllint
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
atk
|
|
bamf
|
|
cairo
|
|
gdk-pixbuf
|
|
glib
|
|
gnome-menus
|
|
dconf
|
|
granite
|
|
gtk3
|
|
libX11
|
|
libXfixes
|
|
libXi
|
|
libdbusmenu-gtk3
|
|
libgee
|
|
libwnck
|
|
pango
|
|
];
|
|
|
|
postInstall = ''
|
|
# elementary/dock/master is missing a Meson post
|
|
# install script that does this. This has been
|
|
# resolved after the dock rewrite (the `main` branch).
|
|
# https://github.com/elementary/default-settings/issues/267
|
|
glib-compile-schemas $out/share/glib-2.0/schemas
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Elegant, simple, clean dock";
|
|
homepage = "https://github.com/elementary/dock";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ davidak ] ++ teams.pantheon.members;
|
|
mainProgram = "plank";
|
|
};
|
|
}
|