2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-remove-dropdown-arrows";
|
|
|
|
version = "13";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mpdeimos";
|
|
|
|
repo = "gnome-shell-remove-dropdown-arrows";
|
|
|
|
rev = "version/${version}";
|
|
|
|
sha256 = "09b2hnfbqym20pb1sfc8xiz7gs2kbs6b1s7xl8swc8dydhsbambk";
|
|
|
|
};
|
|
|
|
|
|
|
|
# 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 = ''
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
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}
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|