2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-03-11 16:25:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-paperwm";
|
2020-11-10 09:29:35 +00:00
|
|
|
version = "38.1";
|
2020-03-11 16:25:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paperwm";
|
|
|
|
repo = "PaperWM";
|
|
|
|
rev = version;
|
2020-11-10 09:29:35 +00:00
|
|
|
sha256 = "1jq15qrq3khqpjsjbcc17amdr1k53jkvambdacdf56xbqkycvlgs";
|
2020-03-11 16:25:05 +00:00
|
|
|
};
|
|
|
|
|
2021-05-29 20:55:35 +01:00
|
|
|
passthru.extensionUuid = "paperwm@hedning:matrix.org";
|
2020-03-11 16:25:05 +00:00
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook preInstall
|
2021-05-29 20:55:35 +01:00
|
|
|
mkdir -p "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org"
|
|
|
|
cp -r . "$out/share/gnome-shell/extensions/paperwm@hedning:matrix.org"
|
2020-07-18 12:06:33 +01:00
|
|
|
runHook postInstall
|
2020-03-11 16:25:05 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-11 16:25:05 +00:00
|
|
|
description = "Tiled scrollable window management for Gnome Shell";
|
|
|
|
homepage = "https://github.com/paperwm/PaperWM";
|
|
|
|
license = licenses.gpl3;
|
2020-12-13 20:02:13 +00:00
|
|
|
maintainers = with maintainers; [ hedning ];
|
2020-03-11 16:25:05 +00:00
|
|
|
};
|
|
|
|
}
|