summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
diff options
context:
space:
mode:
authorJon Banafato <jon@jonafato.com>2018-02-13 16:51:27 -0500
committerJan Tojnar <jtojnar@gmail.com>2018-02-14 02:36:07 +0100
commit14b3b04c22c6bcc2b90a0cedbec156adacfe97dc (patch)
tree8ae761ee0229e90087e18ac6afc5d46fa28ad210 /pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
parent44695e7045f9785c988ec8436b5806c753ed3bc2 (diff)
downloadnixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.tar
nixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.tar.gz
nixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.tar.bz2
nixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.tar.lz
nixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.tar.xz
nixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.tar.zst
nixlib-14b3b04c22c6bcc2b90a0cedbec156adacfe97dc.zip
gnomeExtensions.remove-dropdown-arrows: init at 9
Add the Remove Dropdown Arrows GNOME Shell extension.
Diffstat (limited to 'pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix')
-rw-r--r--pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix b/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
new file mode 100644
index 000000000000..42cd6d217de7
--- /dev/null
+++ b/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "gnome-shell-extension-remove-dropdown-arrows-${version}";
+  version = "9";
+
+  src = fetchFromGitHub {
+    owner = "mpdeimos";
+    repo = "gnome-shell-remove-dropdown-arrows";
+    rev = "version/${version}";
+    sha256 = "1z9icxr75rd3cas28xjlmsbbd3j3sm1qvj6mp95jhfaqj821q665";
+  };
+
+  # This package has a Makefile, but it's used for publishing and linting, not
+  # for building. Disable the build phase so installing doesn't attempt to
+  # publish the extension.
+  dontBuild = true;
+
+  uuid = "remove-dropdown-arrows@mpdeimos.com";
+  installPhase = ''
+    mkdir -p $out/share/gnome-shell/extensions/${uuid}
+    cp extension.js $out/share/gnome-shell/extensions/${uuid}
+    cp metadata.json $out/share/gnome-shell/extensions/${uuid}
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Remove dropdown arrows from GNOME Shell Menus";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ jonafato ];
+    homepage = https://github.com/mpdeimos/gnome-shell-remove-dropdown-arrows;
+  };
+}