ctucx.git: nixfiles

ctucx' nixfiles

commit 41c450de74bcf98f3b38193cda089c8cb92e8fee
parent b54d114e98110150da5f66c36762b57156807b90
Author: Leah (ctucx) <git@ctu.cx>
Date: Wed, 16 Aug 2023 11:45:00 +0200

pkgs/gotosocial: update version 0.10.0 -> 0.11.0
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/pkgs/gotosocial/default.nix b/pkgs/gotosocial/default.nix
@@ -1,16 +1,16 @@
-{ applyPatches, fetchFromGitHub, mkYarnPackage, buildGoModule, go_1_20, lib, ffmpeg, makeWrapper, installShellFiles, ... }:
+{ applyPatches, fetchFromGitHub, mkYarnPackage, buildGoModule, lib, ffmpeg, makeWrapper, installShellFiles, ... }:
 
 buildGoModule rec {
   pname   = "gotosocial";
-  version = "0.10.0-${builtins.substring 0 6 rev}";
-  rev     = "v0.10.0";
+  version = "0.11.0-${builtins.substring 0 6 rev}";
+  rev     = "815b5291e034864052771cd3561fea479027e00f";
 
   src = applyPatches {
     src = fetchFromGitHub {
       owner  = "superseriousbusiness";
       repo   = "gotosocial";
       inherit rev;
-      sha256 = "sha256-SE+u89xAV6jJulU8XETlzTrqtwBYeMdNGyjk648b7h8";
+      sha256 = "sha256-qbq5pDvG2L1s6BG+sh7eagcFNH/DWyANMQaAl2WcQzE";
     };
     patches = [];
   };

@@ -35,10 +35,6 @@ buildGoModule rec {
     installPhase = "cp -r assets $out";
   };
 
-  go = go_1_20;
-
-  patches = [ ];
-
   ldflags = ["-s" "-w" "-extldflags '-static'" "-X 'main.Commit=${rev}'" "-X 'main.Version=${version}'"];
   tags    = ["netgo" "osusergo" "static_build"];