about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/desktops/gnome-3/default.nix4
-rw-r--r--pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix (renamed from pkgs/desktops/gnome-3/misc/pidgin/default.nix)7
-rw-r--r--pkgs/top-level/all-packages.nix1
3 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/desktops/gnome-3/default.nix b/pkgs/desktops/gnome-3/default.nix
index 742babf721ac..87b7be5bdd2f 100644
--- a/pkgs/desktops/gnome-3/default.nix
+++ b/pkgs/desktops/gnome-3/default.nix
@@ -345,8 +345,6 @@ lib.makeScope pkgs.newScope (self: with self; {
 
   nautilus-python = callPackage ./misc/nautilus-python { };
 
-  pidgin-im-gnome-shell-extension = callPackage ./misc/pidgin { };
-
   gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant1; };
 
   pomodoro = callPackage ./misc/pomodoro { };
@@ -398,4 +396,6 @@ lib.makeScope pkgs.newScope (self: with self; {
   gtk = gtk3;
   gtkmm = gtkmm3;
   rest = librest;
+
+  pidgin-im-gnome-shell-extension = pkgs.gnomeExtensions.pidgin-im-integration; # added 2019-08-01
 })
diff --git a/pkgs/desktops/gnome-3/misc/pidgin/default.nix b/pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix
index c11fdfa6099e..4bff9175deb6 100644
--- a/pkgs/desktops/gnome-3/misc/pidgin/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix
@@ -1,13 +1,12 @@
 { stdenv, fetchFromGitHub, glib }:
 
 stdenv.mkDerivation rec {
+  pname = "gnome-shell-extension-pidgin-im-integration";
   version = "1.0.1";
-  basename = "pidgin-im-gnome-shell-extension";
-  name = "${basename}-${version}";
 
   src = fetchFromGitHub {
     owner = "muffinmad";
-    repo = "${basename}";
+    repo = "pidgin-im-gnome-shell-extension";
     rev = "v${version}";
     sha256 = "1567s2sfqig4jw0nrn134f5vkx0yq31q044grv3xk4vpl1f3z2lr";
   };
@@ -22,7 +21,7 @@ stdenv.mkDerivation rec {
     mkdir -p "$extensions_dir"
     mv *.js metadata.json dbus.xml gnome-shell-extension-pidgin.pot "$extensions_dir"
 
-    schemas_dir="$share_dir/gsettings-schemas/${name}/glib-2.0/schemas"
+    schemas_dir="$share_dir/gsettings-schemas/${pname}-${version}/glib-2.0/schemas"
     mkdir -p "$schemas_dir"
     mv schemas/* "$schemas_dir" # fix Emacs syntax highlighting: */
     glib-compile-schemas "$schemas_dir"
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6903fc15ef11..4c03030b6061 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -22372,6 +22372,7 @@ in
     mediaplayer = callPackage ../desktops/gnome-3/extensions/mediaplayer { };
     nohotcorner = callPackage ../desktops/gnome-3/extensions/nohotcorner { };
     no-title-bar = callPackage ../desktops/gnome-3/extensions/no-title-bar { };
+    pidgin-im-integration = callPackage ../desktops/gnome-3/extensions/pidgin-im-integration { };
     remove-dropdown-arrows = callPackage ../desktops/gnome-3/extensions/remove-dropdown-arrows { };
     sound-output-device-chooser = callPackage ../desktops/gnome-3/extensions/sound-output-device-chooser { };
     system-monitor = callPackage ../desktops/gnome-3/extensions/system-monitor { };