From 54d2aaca6d8d715ac19ada782e6fcc0efdb3aeaf Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Wed, 13 Apr 2016 23:10:10 -0400 Subject: [PATCH] workspace-grid gnome-shell extension: init --- .../gnome-3/extensions/workspace-grid.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 31 insertions(+) create mode 100644 pkgs/desktops/gnome-3/extensions/workspace-grid.nix diff --git a/pkgs/desktops/gnome-3/extensions/workspace-grid.nix b/pkgs/desktops/gnome-3/extensions/workspace-grid.nix new file mode 100644 index 000000000000..10aee5cafe6e --- /dev/null +++ b/pkgs/desktops/gnome-3/extensions/workspace-grid.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, glib }: + +stdenv.mkDerivation rec { + name = "gnome-shell-workspace-grid-${version}"; + version = "0f3a430e7d04bb5465a17c1225aab0f574426d6b"; + + src = fetchFromGitHub { + owner = "zakkak"; + repo = "workspace-grid-gnome-shell-extension"; + rev = version; + sha256 = "0503b7lmydrbblfvf9b56pv5hpmykzgyc6v8y99rckg58h2jhs69"; + }; + + buildInputs = [ + glib + ]; + + installPhase = '' + cp -r ${uuid} $out + ''; + + uuid = "workspace-grid@mathematical.coffee.gmail.com"; + + meta = with stdenv.lib; { + description = "Arranges workspaces in a configurable grid"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ aneeshusa ]; + homepage = https://github.com/zakkak/workspace-grid-gnome-shell-extension; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a769ce4e414..d48ffe0ef557 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15176,6 +15176,7 @@ in shellExtensions = { impatience = callPackage ../desktops/gnome-3/extensions/impatience.nix {}; volume-mixer = callPackage ../desktops/gnome-3/extensions/volume-mixer.nix {}; + workspace-grid = callPackage ../desktops/gnome-3/extensions/workspace-grid.nix {}; }; };