Skip to content

Commit

Permalink
gnomeExtensions.remove-dropdown-arrows: init at 9
Browse files Browse the repository at this point in the history
Add the Remove Dropdown Arrows GNOME Shell extension.
  • Loading branch information
jonafato authored and jtojnar committed Feb 14, 2018
1 parent 44695e7 commit 14b3b04
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
@@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -19008,6 +19008,7 @@ with pkgs;
mediaplayer = callPackage ../desktops/gnome-3/extensions/mediaplayer { };
nohotcorner = callPackage ../desktops/gnome-3/extensions/nohotcorner { };
pixel-saver = callPackage ../desktops/gnome-3/extensions/pixel-saver { };
remove-dropdown-arrows = callPackage ../desktops/gnome-3/extensions/remove-dropdown-arrows { };
topicons-plus = callPackage ../desktops/gnome-3/extensions/topicons-plus { };
};

Expand Down

0 comments on commit 14b3b04

Please sign in to comment.