nixpkgs/pkgs/desktops/gnome-3/extensions/appindicator/default.nix
Jon Banafato 9ddf85d1d2 gnomeExtensions.appindicator: 23.1 -> 28
Update the GNOME appindicator support extension to the latest version.
See the GitHub page for the full changelog:
https://github.com/ubuntu/gnome-shell-extension-appindicator/compare/v23...v28
2019-04-09 23:52:26 -04:00

35 lines
1.2 KiB
Nix

{ stdenv, fetchFromGitHub, gnome3 }:
stdenv.mkDerivation rec {
name = "gnome-shell-extension-appindicator-${version}";
version = "28";
src = fetchFromGitHub {
owner = "Ubuntu";
repo = "gnome-shell-extension-appindicator";
rev = "v${version}";
sha256 = "03sgb2xkb4lzp8pbb7g56q29y1r764qzpc0j4d4m1gi0sb39sxrl";
};
# 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 ];
platforms = gnome3.gnome-shell.meta.platforms;
homepage = https://github.com/Ubuntu/gnome-shell-extension-appindicator;
};
}