2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-window-is-ready-remover";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "1.02";
|
2020-05-03 17:38:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nunofarruca";
|
|
|
|
repo = "WindowIsReady_Remover";
|
2020-05-15 21:57:56 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1xaf95gn0if44avvkjxyf8fl29y28idn9shnrks0m9k67jcwv8ns";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "windowIsReady_Remover@nunofarruca@gmail.com";
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook preInstall
|
2020-05-03 17:38:23 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions/
|
|
|
|
cp -r ${uuid} $out/share/gnome-shell/extensions/${uuid}
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook postInstall
|
2020-05-03 17:38:23 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
description = "GNOME Shell extension removing window is ready notification";
|
|
|
|
homepage = "https://github.com/nunofarruca/WindowIsReady_Remover";
|
2020-05-15 21:57:56 +00:00
|
|
|
license = licenses.asl20;
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
|
|
|
}
|