2019-12-06 22:35:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub, findutils, glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-workspace-matrix";
|
2020-07-17 02:19:46 +01:00
|
|
|
version = "4.0.1";
|
2019-12-06 22:35:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mzur";
|
|
|
|
repo = "gnome-shell-wsmatrix";
|
|
|
|
rev = "v${version}";
|
2020-07-17 02:19:46 +01:00
|
|
|
sha256 = "1xx2h8k981657lws614f7x4mqjk900xq9907j2h5jdhbbic5ppy6";
|
2019-12-06 22:35:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uuid = "wsmatrix@martin.zurowietz.de";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
findutils
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
buildFlags = "schemas";
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook preInstall
|
2019-12-06 22:35:18 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
|
|
cp -r ${uuid} $out/share/gnome-shell/extensions
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook postInstall
|
2019-12-06 22:35:18 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Arrange workspaces in a two dimensional grid with workspace thumbnails";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ chkno ];
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mzur/gnome-shell-wsmatrix";
|
2019-12-06 22:35:18 +00:00
|
|
|
};
|
|
|
|
}
|