2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-01 10:25:30 +01:00
|
|
|
pname = "gnome-shell-extension-pidgin-im-integration";
|
2019-07-02 07:56:01 +01:00
|
|
|
version = "32";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "muffinmad";
|
2019-08-01 10:25:30 +01:00
|
|
|
repo = "pidgin-im-gnome-shell-extension";
|
2016-09-18 20:35:23 +01:00
|
|
|
rev = "v${version}";
|
2019-07-02 07:56:01 +01:00
|
|
|
sha256 = "1jyg8r0s1v83sgg6y0jbsj2v37mglh8rvd8vi27fxnjq9xmg8kpc";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2019-07-02 07:56:01 +01:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
share_dir="$prefix/share"
|
|
|
|
extensions_dir="$share_dir/gnome-shell/extensions/pidgin@muffinmad"
|
|
|
|
mkdir -p "$extensions_dir"
|
2019-07-02 07:56:01 +01:00
|
|
|
mv *.js metadata.json dbus.xml schemas locale "$extensions_dir"
|
2016-09-18 20:35:23 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/muffinmad/pidgin-im-gnome-shell-extension;
|
|
|
|
description = "Make Pidgin IM conversations appear in the Gnome Shell message tray";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2017-01-31 10:00:14 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|