1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Merge pull request #34186 from jonafato/gnome-shell-extension-nohotcorner

gnome-shell-extension-nohotcorner: init at 16.0
This commit is contained in:
Jan Tojnar 2018-01-23 23:18:01 +01:00 committed by GitHub
commit c7dc968721
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "gnome-shell-extension-nohotcorner-${version}";
version = "16.0";
src = fetchFromGitHub {
owner = "HROMANO";
repo = "nohotcorner";
rev = "v${version}";
sha256 = "042lv4pvzsxv6spa8k1hji1bfqj893arx55p56mmm20wa5dr5qm3";
};
# 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;
};
}

View file

@ -18814,6 +18814,7 @@ with pkgs;
dash-to-dock = callPackage ../desktops/gnome-3/extensions/dash-to-dock { };
dash-to-panel = callPackage ../desktops/gnome-3/extensions/dash-to-panel { };
mediaplayer = callPackage ../desktops/gnome-3/extensions/mediaplayer { };
nohotcorner = callPackage ../desktops/gnome-3/extensions/nohotcorner { };
topicons-plus = callPackage ../desktops/gnome-3/extensions/topicons-plus { };
};