2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, cairo
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, libgtop
|
|
|
|
, pkg-config
|
|
|
|
, rofi-unwrapped
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2022-08-12 12:06:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2022-08-12 12:06:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
|
|
|
libgtop
|
|
|
|
rofi-unwrapped
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Plugin for rofi that emulates top behaviour";
|
2022-08-12 12:06:08 +00:00
|
|
|
homepage = "https://github.com/davatorium/rofi-top";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ aacebedo ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|