depot/third_party/nixpkgs/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
1 KiB
Nix

{ 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 = ''
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";
};
}