summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/extensions/window-is-ready-remover/default.nix
blob: 15871e661c12de72cf2a5eafe852ef7f8ef5efed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "gnome-shell-extension-window-is-ready-remover";
  version = "1.02";

  src = fetchFromGitHub {
    owner = "nunofarruca";
    repo = "WindowIsReady_Remover";
    rev = "v${version}";
    sha256 = "1xaf95gn0if44avvkjxyf8fl29y28idn9shnrks0m9k67jcwv8ns";
  };

  uuid = "windowIsReady_Remover@nunofarruca@gmail.com";

  installPhase = ''
    mkdir -p $out/share/gnome-shell/extensions/
    cp -r ${uuid} $out/share/gnome-shell/extensions/${uuid}
  '';

  meta = with stdenv.lib; {
    description = "GNOME Shell extension removing window is ready notification";
    homepage = "https://github.com/nunofarruca/WindowIsReady_Remover";
    license = licenses.asl20;
  };
}