2024-09-19 14:19:46 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gnome-shell }:
|
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;
|
2024-09-19 14:19:46 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = gnome-shell.meta.platforms;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/ikalnytskyi/gnome-shell-extension-icon-hider";
|
2024-09-19 14:19:46 +00:00
|
|
|
broken = versionAtLeast gnome-shell.version "3.32"; # Doesn't support 3.34
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|