noannoyance: Init on 2020.01.05

This commit is contained in:
madmaurice 2021-01-05 18:41:12 +01:00
parent 36750e12b0
commit df3743fe58
2 changed files with 29 additions and 0 deletions

View File

@ -11,6 +11,7 @@ rec {
gnomeExtensions = (super.gnomeExtensions or {}) // {
hide-activities = callPackage ./pkgs/gnome-shell-extensions/hide-activities.nix {};
hibernate-button = callPackage ./pkgs/gnome-shell-extensions/hibernate-button.nix {};
noannoyance = callPackage ./pkgs/gnome-shell-extensions/noannoyance.nix {};
};
flatery-icon-theme = callPackage ./pkgs/icon-theme/flatery-icon-theme.nix {};

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "noannoyance";
version = "2021.01.05";
src = fetchFromGitHub {
owner = "BjoernDaase";
repo = "noannoyance";
rev = "f6e76916336aee2f7c4141796f3c40c870d2b347";
sha256 = "1iy3nif8rjjcwf83fg9ds93fi7vmhliynmlwqnx036s3msmxvgs3";
};
uuid = "noannoyance@daase.net";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/gnome-shell/extensions/${uuid}
cp metadata.json extension.js $out/share/gnome-shell/extensions/${uuid}
'';
meta = with stdenv.lib; {
description = "Removes the 'Window is ready' notification and puts the window into focus";
homepage = "https://github.com/BjoernDaase/noannoyance";
license = licenses.gpl2;
};
}