gnomeExtensions.dash-to-dock: init at version v57

I needed this extensions and wanted to share it with everyone.
I also created the new group called pkgs.gnomeExtensions.
This commit is contained in:
Emanuele Peruffo 2017-04-24 11:19:52 +02:00
parent 229e3383f4
commit 8211903825
3 changed files with 49 additions and 2 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, glib, gettext }:
stdenv.mkDerivation rec {
name = "gnome-shell-dash-to-dock-${version}";
version = "v57";
src = fetchFromGitHub {
owner = "micheleg";
repo = "dash-to-dock";
rev = "97f6a0bb95b9f87d7a34a074c9b3624b65111794";
sha256 = "0b9i89hpn9k63zcrbl4bhs7qfb70wh09870fwv2ik7hajm64kynn";
};
nativeBuildInputs = [
glib gettext
];
patches = [ ./fix-paths.patch ];
meta = with stdenv.lib; {
description = "A dock for the Gnome Shell";
license = licenses.gpl2;
maintainers = with maintainers; [ eperuffo ];
homepage = https://micheleg.github.io/dash-to-dock/;
};
}

View File

@ -0,0 +1,17 @@
diff --git a/Makefile b/Makefile
index fd29ef8..ec0376a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,7 @@ EXTRA_MODULES = convenience.js dash.js docking.js appIcons.js windowPreview.js i
EXTRA_MEDIA = logo.svg
TOLOCALIZE = prefs.js
MSGSRC = $(wildcard po/*.po)
-ifeq ($(strip $(DESTDIR)),)
- INSTALLBASE = $(HOME)/.local/share/gnome-shell/extensions
-else
- INSTALLBASE = $(DESTDIR)/usr/share/gnome-shell/extensions
-endif
+INSTALLBASE = $(out)/share/gnome-shell/extensions
INSTALLNAME = dash-to-dock@micxgx.gmail.com
# The command line passed variable VERSION is used to set the version string

View File

@ -9598,8 +9598,8 @@ with pkgs;
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix { };
libqtav = callPackage ../development/libraries/libqtav {
libva = libva-full; # also wants libva-x11
libqtav = callPackage ../development/libraries/libqtav {
libva = libva-full; # also wants libva-x11
};
mlt = callPackage ../development/libraries/mlt/qt-5.nix {
@ -17144,6 +17144,10 @@ with pkgs;
gnome3 = gnome3_22;
gnomeExtensions = {
dash-to-dock = callPackage ../desktops/gnome-3/extensions/dash-to-dock { };
};
hsetroot = callPackage ../tools/X11/hsetroot { };
kakasi = callPackage ../tools/text/kakasi { };