mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
51 lines
972 B
Nix
51 lines
972 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 = "Plugin for rofi that emulates top behaviour";
|
|
homepage = "https://github.com/davatorium/rofi-top";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ aacebedo ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|