2021-05-20 23:08:51 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, glib, gnome }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-tilingnome-unstable";
|
|
|
|
version = "unstable-2019-09-19";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rliang";
|
|
|
|
repo = "gnome-shell-extension-tilingnome";
|
|
|
|
rev = "f401c20c9721d85e6b3e30d1e822a200db370407";
|
|
|
|
sha256 = "1hq9g9bxqpzqrdj9zm0irld8r6q4w1m4b00jya7wsny8rzb1s0y2";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ glib ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook preBuild
|
2020-04-24 23:36:52 +00:00
|
|
|
glib-compile-schemas .
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook postBuild
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook preInstall
|
2021-07-14 22:03:04 +00:00
|
|
|
mkdir -p "$out/share/gnome-shell/extensions/tilingnome@rliang.github.com"
|
|
|
|
cp -r * "$out/share/gnome-shell/extensions/tilingnome@rliang.github.com/"
|
2020-07-18 16:06:22 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "tilingnome@rliang.github.com";
|
|
|
|
extensionPortalSlug = "tilingnome";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tiling window management for GNOME Shell";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ benley ];
|
|
|
|
homepage = "https://github.com/rliang/gnome-shell-extension-tilingnome";
|
2021-05-20 23:08:51 +00:00
|
|
|
platforms = gnome.gnome-shell.meta.platforms;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|