Skip to content

Commit

Permalink
gnomeExtensions.gtile: init at 34
Browse files Browse the repository at this point in the history
A window tiling extension for Gnome.
  • Loading branch information
firmero committed May 2, 2020
1 parent 56e720e commit 2f397e9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/desktops/gnome-3/extensions/gtile/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, glib }:

stdenv.mkDerivation rec {
pname = "gnome-shell-extension-gtile";
version = "34";

src = fetchFromGitHub {
owner = "gTile";
repo = "gTile";
rev = "V${version}";
sha256 = "1yka4acmrykh4vdd89yvn6yv89c6q16r72lgi3j48my3jghwjiwp";
};

uuid = "gTile@vibou";

nativeBuildInputs = [ glib ];

installPhase = ''
mkdir -p $out/share/gnome-shell/extensions/$uuid
cp -r * $out/share/gnome-shell/extensions/$uuid
schemadir=${glib.makeSchemaPath "$out" "${pname}-${version}"}
mkdir -p $schemadir
cp -r $out/share/gnome-shell/extensions/$uuid/schemas/* $schemadir
'';

meta = with stdenv.lib; {
description = "GNOME shell extension to move/resize windows on a configurable grid scheme";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.firmero ];
homepage = "https://github.com/gTile/gTile";
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24091,6 +24091,7 @@ in
draw-on-your-screen = callPackage ../desktops/gnome-3/extensions/draw-on-your-screen { };
drop-down-terminal = callPackage ../desktops/gnome-3/extensions/drop-down-terminal { };
gsconnect = callPackage ../desktops/gnome-3/extensions/gsconnect { };
gtile = callPackage ../desktops/gnome-3/extensions/gtile { };
icon-hider = callPackage ../desktops/gnome-3/extensions/icon-hider { };
impatience = callPackage ../desktops/gnome-3/extensions/impatience { };
mpris-indicator-button = callPackage ../desktops/gnome-3/extensions/mpris-indicator-button { };
Expand Down

0 comments on commit 2f397e9

Please sign in to comment.