From 12eaa1f5fb46f7ad0115c885109bf6a90bb43901 Mon Sep 17 00:00:00 2001 From: Matheus de Souza Pessanha Date: Mon, 24 May 2021 14:39:47 -0300 Subject: [PATCH] gTile: init at 44 --- .../gnome/extensions/gtile/default.nix | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/desktops/gnome/extensions/gtile/default.nix diff --git a/pkgs/desktops/gnome/extensions/gtile/default.nix b/pkgs/desktops/gnome/extensions/gtile/default.nix new file mode 100644 index 00000000000..3430dff1355 --- /dev/null +++ b/pkgs/desktops/gnome/extensions/gtile/default.nix @@ -0,0 +1,32 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "gnome-shell-extension-gtile"; + version = "44"; + + src = fetchFromGitHub { + owner = "gTile"; + repo = "gTile"; + rev = "V${version}"; + sha256 = "0i00psc1ky70zljd14jzr627y7nd8xwnwrh4xpajl1f6djabh12s"; + }; + + uuid = "gTile@vibou"; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/gnome-shell/extensions/${uuid} + cp -r * $out/share/gnome-shell/extensions/${uuid} + + runHook postInstall + ''; + + meta = with lib; { + description = "A window tiling extension for Gnome. This is the new official home of the vibou.gTile extension."; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ mdsp ]; + platforms = platforms.linux; + homepage = "https://github.com/gTile/gTile"; + }; +}