Commit 335976b8 authored by Anderson Torres's avatar Anderson Torres
Browse files

paperwm: unstable-2023-04-20 -> 44.0.0-beta.1

parent 531051bd
Loading
Loading
Loading
Loading
+12 −9
Original line number Diff line number Diff line
@@ -3,15 +3,15 @@
, fetchFromGitHub
}:

stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
  pname = "gnome-shell-extension-paperwm";
  version = "unstable-2023-04-20";
  version = "44.0.0-beta.1";

  src = fetchFromGitHub {
    owner = "paperwm";
    repo = "PaperWM";
    rev = "1130b663806d6daba1c8355c4b99c287d237e918";
    hash = "sha256-JlamW5DznVZ8G0REqXcxEt/IlHa3GMN184WFpeclhd4=";
    rev = "v${finalAttrs.version}";
    hash = "sha256-YRIaSD22bvzXo/wla178GeXIhvIwW6xLacjAQDC2P40=";
  };

  dontConfigure = true;
@@ -19,18 +19,21 @@ stdenv.mkDerivation {

  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; {
  meta = {
    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;
    changelog = "https://github.com/paperwm/PaperWM/releases/tag/${finalAttrs.src.rev}";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ hedning AndersonTorres ];
    platforms = lib.platforms.all;
  };

  passthru.extensionUuid = "paperwm@hedning:matrix.org";
}
})