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