3b21d1e521
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
31 lines
825 B
Nix
31 lines
825 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-paperwm";
|
|
version = "38.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "paperwm";
|
|
repo = "PaperWM";
|
|
rev = version;
|
|
sha256 = "1jq15qrq3khqpjsjbcc17amdr1k53jkvambdacdf56xbqkycvlgs";
|
|
};
|
|
|
|
passthru.extensionUuid = "paperwm@hedning:matrix.org";
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org"
|
|
cp -r . "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org"
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tiled scrollable window management for Gnome Shell";
|
|
homepage = "https://github.com/paperwm/PaperWM";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ hedning ];
|
|
};
|
|
}
|