2019-04-10 01:43:24 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gnome3 }:
|
2018-02-14 05:57:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-shell-extension-appindicator";
|
2020-03-03 19:22:38 +00:00
|
|
|
version = "32";
|
2018-02-14 05:57:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ubuntu";
|
|
|
|
repo = "gnome-shell-extension-appindicator";
|
|
|
|
rev = "v${version}";
|
2020-03-03 19:22:38 +00:00
|
|
|
sha256 = "1qv9ll4iwkinwk5mf2jppj4fbk8rfncix6q4hhrwnqmhmsbiz6n2";
|
2018-02-14 05:57:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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 ];
|
2019-04-10 01:43:24 +01:00
|
|
|
platforms = gnome3.gnome-shell.meta.platforms;
|
2020-03-03 19:22:38 +00:00
|
|
|
homepage = "https://github.com/Ubuntu/gnome-shell-extension-appindicator";
|
2018-02-14 05:57:32 +00:00
|
|
|
};
|
|
|
|
}
|