nixpkgs/pkgs/desktops/gnome-3/extensions/nohotcorner/default.nix
Jon Banafato 62d0308982
gnomeExtensions.nohotcorner: 18.0 -> 19.0
v19.0 declares support for gnome 3.32 and includes no other changes. The
full change set can be found at
https://github.com/HROMANO/nohotcorner/compare/v18.0...v19.0.
2019-04-05 12:14:01 +02:00

31 lines
894 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "gnome-shell-extension-nohotcorner-${version}";
version = "19.0";
src = fetchFromGitHub {
owner = "HROMANO";
repo = "nohotcorner";
rev = "v${version}";
sha256 = "059n4gyz7d686hknaifyjax8gygrda1xab5m15a09p98jdrdfdhi";
};
# Taken from the extension download link at
# https://extensions.gnome.org/extension/118/no-topleft-hot-corner/
uuid = "nohotcorner@azuri.free.fr";
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 = "Disables the top left hot corner";
license = licenses.gpl2;
maintainers = with maintainers; [ jonafato ];
homepage = https://github.com/HROMANO/nohotcorner;
};
}