depot/third_party/nixpkgs/pkgs/desktops/gnome/extensions/paperwm/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

36 lines
919 B
Nix

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-shell-extension-paperwm";
version = "38.2";
src = fetchFromGitHub {
owner = "paperwm";
repo = "PaperWM";
rev = finalAttrs.version;
hash = "sha256-Unhz2+MOygOog6B5sOLtYTpdeodQH+/CMI93gC5nDvI=";
};
dontConfigure = true;
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; {
homepage = "https://github.com/paperwm/PaperWM";
description = "Tiled scrollable window management for Gnome Shell";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hedning AndersonTorres ];
platforms = platforms.all;
};
passthru.extensionUuid = "paperwm@hedning:matrix.org";
})