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)
52 lines
974 B
Nix
52 lines
974 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, cairo
|
|
, glib
|
|
, gobject-introspection
|
|
, libgtop
|
|
, pkg-config
|
|
, rofi-unwrapped
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rofi-top";
|
|
version = "unstable-2017-10-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "davatorium";
|
|
repo = pname;
|
|
rev = "9416addf91dd1bd25dfd5a8c5f1c7297c444408e";
|
|
sha256 = "sha256-lNsmx1xirepITpUD30vpcs5slAQYQcvDW8FkA2K9JtU=";
|
|
};
|
|
|
|
patches = [
|
|
./0001-Patch-plugindir-to-output.patch
|
|
./0002-Patch-add-cairo.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gobject-introspection
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
glib
|
|
libgtop
|
|
rofi-unwrapped
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A plugin for rofi that emulates top behaviour";
|
|
homepage = "https://github.com/davatorium/rofi-top";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ aacebedo ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|