Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnomeExtensions.remove-dropdown-arrows: init at 9
Add the Remove Dropdown Arrows GNOME Shell extension.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters