Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnomeExtensions.appindicator: init at v22
Add the AppIndicator Support GNOME Shell extension.
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ stdenv, fetchFromGitHub }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "gnome-shell-extension-appindicator-${version}"; | ||
version = "22"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "Ubuntu"; | ||
repo = "gnome-shell-extension-appindicator"; | ||
rev = "v${version}"; | ||
sha256 = "1gqw54d55hxjj2hh04p0dx2j40bhi4ck9hgwlz8f7j4v7r37z0qw"; | ||
}; | ||
|
||
# This package has a Makefile, but it's used for building a zip for | ||
# publication to extensions.gnome.org. Disable the build phase so | ||
# installing doesn't build an unnecessary release. | ||
dontBuild = true; | ||
|
||
uuid = "appindicatorsupport@rgcjonas.gmail.com"; | ||
installPhase = '' | ||
mkdir -p $out/share/gnome-shell/extensions/${uuid} | ||
cp *.js $out/share/gnome-shell/extensions/${uuid} | ||
cp -r interfaces-xml $out/share/gnome-shell/extensions/${uuid} | ||
cp metadata.json $out/share/gnome-shell/extensions/${uuid} | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "AppIndicator/KStatusNotifierItem support for GNOME Shell"; | ||
license = licenses.gpl2Plus; | ||
maintainers = with maintainers; [ jonafato ]; | ||
homepage = https://github.com/Ubuntu/gnome-shell-extension-appindicator; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters