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