depot/third_party/nixpkgs/pkgs/desktops/gnome/extensions/hot-edge/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

33 lines
790 B
Nix

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-hot-edge";
version = "jdoda";
src = fetchFromGitHub {
owner = "jdoda";
repo = "hotedge";
rev = "bb7f651becea5287241caf7cda246a68ab07dac8";
sha256 = "oeTs0kRan6b5relxzhK1IKbV0Yv2d5YdvvUPJ3fM9ik=";
};
dontBuild = true;
uuid = "hotedge@jonathan.jdoda.ca";
installPhase = ''
runHook preInstall
install -Dt $out/share/gnome-shell/extensions/${uuid} extension.js metadata.json stylesheet.css
runHook postInstall
'';
meta = with lib; {
description = "Replace the top-left hot corner with a bottom hot edge";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jtojnar ];
homepage = "https://github.com/jdoda/hotedge";
};
}