2021-05-07 22:18:14 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gnome }:
|
2018-01-31 03:26:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-shell-extension-icon-hider";
|
2019-04-22 01:25:39 +01:00
|
|
|
version = "23";
|
2018-01-31 03:26:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ikalnytskyi";
|
|
|
|
repo = "gnome-shell-extension-icon-hider";
|
|
|
|
rev = "v${version}";
|
2019-04-22 01:25:39 +01:00
|
|
|
sha256 = "18c8zkdrmdbghqqz7b450vhgpykgz25mgigwn2nggcb2lxmvm9ks";
|
2018-01-31 03:26:56 +00:00
|
|
|
};
|
|
|
|
|
2021-05-29 16:34:26 +01:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "icon-hider@kalnitsky.org";
|
|
|
|
extensionPortalSlug = "icon-hider";
|
|
|
|
};
|
2018-01-31 03:26:56 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook preInstall
|
2018-01-31 03:26:56 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
2021-05-29 20:55:35 +01:00
|
|
|
cp -r "icon-hider@kalnitsky.org" $out/share/gnome-shell/extensions
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook postInstall
|
2018-01-31 03:26:56 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-31 03:26:56 +00:00
|
|
|
description = "Icon Hider is a GNOME Shell extension for managing status area items";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jonafato ];
|
2021-05-07 22:18:14 +01:00
|
|
|
platforms = gnome.gnome-shell.meta.platforms;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ikalnytskyi/gnome-shell-extension-icon-hider";
|
2021-05-07 22:18:14 +01:00
|
|
|
broken = versionAtLeast gnome.gnome-shell.version "3.32"; # Doesn't support 3.34
|
2018-01-31 03:26:56 +00:00
|
|
|
};
|
|
|
|
}
|