Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
glib,
|
|
gnome-shell,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "gnome-shell-extension-tilingnome";
|
|
version = "unstable-2019-09-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rliang";
|
|
repo = "gnome-shell-extension-tilingnome";
|
|
rev = "f401c20c9721d85e6b3e30d1e822a200db370407";
|
|
sha256 = "1hq9g9bxqpzqrdj9zm0irld8r6q4w1m4b00jya7wsny8rzb1s0y2";
|
|
};
|
|
|
|
nativeBuildInputs = [ glib ];
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
glib-compile-schemas .
|
|
runHook postBuild
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p "$out/share/gnome-shell/extensions/tilingnome@rliang.github.com"
|
|
cp -r * "$out/share/gnome-shell/extensions/tilingnome@rliang.github.com/"
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru = {
|
|
extensionUuid = "tilingnome@rliang.github.com";
|
|
extensionPortalSlug = "tilingnome";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Tiling window management for GNOME Shell";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ benley ];
|
|
homepage = "https://github.com/rliang/gnome-shell-extension-tilingnome";
|
|
platforms = gnome-shell.meta.platforms;
|
|
};
|
|
}
|