mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
eb12149979
Some already have it, this adds it to the rest. With all extensions having an 'uuid' attr we can do cool things like declaratively enable extensions on NixOS.
31 lines
931 B
Nix
31 lines
931 B
Nix
{ stdenv, fetchFromGitHub, glib, gnome3, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-topicons-plus";
|
|
version = "22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phocean";
|
|
repo = "TopIcons-plus";
|
|
rev = "v${version}";
|
|
sha256 = "196s1gdir52gbc444pzrb5l7gn5xr5vqk5ajqaiqryqlmp3i8vil";
|
|
};
|
|
|
|
buildInputs = [ glib ];
|
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ];
|
|
|
|
uuid = "TopIcons@phocean.net";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Brings all icons back to the top panel, so that it's easier to keep track of apps running in the backround";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ eperuffo ];
|
|
homepage = "https://github.com/phocean/TopIcons-plus";
|
|
# Unmaintained and no longer working with GNOME Shell 3.34+
|
|
broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.32";
|
|
};
|
|
}
|