2019-09-23 23:50:57 +01:00
|
|
|
{ stdenv, fetchFromGitHub, glib, gnome3 }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
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 = ''
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook preInstall
|
2016-09-18 20:35:23 +01:00
|
|
|
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"
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook postInstall
|
2016-09-18 20:35:23 +01:00
|
|
|
'';
|
|
|
|
|
2018-08-30 10:09:58 +01:00
|
|
|
uuid = "pidgin@muffinmad";
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/muffinmad/pidgin-im-gnome-shell-extension";
|
2016-09-18 20:35:23 +01:00
|
|
|
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; [ ];
|
2019-09-23 23:50:57 +01:00
|
|
|
broken = versionAtLeast gnome3.gnome-shell.version "3.32"; # Doesn't support 3.34
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
}
|