2018-02-13 21:51:27 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gnome-shell-extension-remove-dropdown-arrows-${version}";
|
2019-03-10 01:44:20 +00:00
|
|
|
version = "11";
|
2018-02-13 21:51:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mpdeimos";
|
|
|
|
repo = "gnome-shell-remove-dropdown-arrows";
|
|
|
|
rev = "version/${version}";
|
2019-03-10 01:44:20 +00:00
|
|
|
sha256 = "1g99r9bpjdhab3xj74wkl40gdnaf2w51kswcr8mi6bq72n4wjxwh";
|
2018-02-13 21:51:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|