katja's git: nixfiles

ctucx' nixfiles

commit 2a76b5ebe1fb3d32fe4bffd19344566122531d1c
parent 0fd885d570bfe7ec8fc1d4c213e39c5635477b95
Author: Katja (ctucx) <git@ctu.cx>
Date: Sat, 26 Apr 2025 18:41:42 +0200

packages/all/gotosocial: update version
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/packages/all/gotosocial/default.nix b/packages/all/gotosocial/default.nix
@@ -1,18 +1,17 @@
 { applyPatches, fetchFromGitHub, mkYarnPackage, buildGo123Module, lib, makeWrapper, installShellFiles, ... }:
 
-buildGo123Module rec {
-
+buildGo123Module rec{
   pname   = "gotosocial";
   version = "0.19.0-${builtins.substring 0 6 rev}";
-  rev     = "69461c461b79dbeb9b55ba83d2b7308772194d7f";
-  sha256  = "sha256-Eoy7bo8ewMvEac6ZCytg/NuttYJpMqWsMBceUQzOs4I=";
+  rev     = "ab2044ef026878613e275b82e37f5dc0139073ac";
+  hash    = "sha256-ioIsa2L1w4z1b7tWFhHScmPwRRq0WLngIdm4r2eCveM=";
 
 
   src = applyPatches {
     src = fetchFromGitHub {
       owner  = "superseriousbusiness";
       repo   = "gotosocial";
-      inherit rev sha256;
+      inherit rev hash;
     };
     patches = [];
   };

@@ -65,8 +64,8 @@ buildGo123Module rec {
   postInstall = ''
     mkdir -p $out/share/web/assets
 
-    cp -r  ./web/template             $out/share/web/
-    cp -rf ${frontend-assets}/.       $out/share/web/assets
+    cp -r  ./web/template                  $out/share/web/
+    cp -rf ${frontend-assets}/. $out/share/web/assets
 
     installShellCompletion --cmd gotosocial \
       --bash <($out/bin/gotosocial completion bash) \