ctucx.git: nixfiles

ctucx' nixfiles

commit a4b901f2881acd42f5e7c178a1bbca27da306c24
parent ed148801f76b48fa88a13b6caecacfeb1f9aba1a
Author: Katja (ctucx) <git@ctu.cx>
Date: Thu, 6 Mar 2025 21:38:58 +0100

pkgs/all/gotosocia: remove `meta.platform`, add `meta.license` to frontend-assets
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pkgs/all/gotosocial/default.nix b/pkgs/all/gotosocial/default.nix
@@ -1,6 +1,7 @@
 { applyPatches, fetchFromGitHub, mkYarnPackage, buildGo123Module, lib, makeWrapper, installShellFiles, ... }:
 
 buildGo123Module rec {
+
   pname   = "gotosocial";
   version = "0.18.1-${builtins.substring 0 6 rev}";
   rev     = "fd670c6a279e2aa54822546536dbf88b45a93051";

@@ -41,6 +42,8 @@ buildGo123Module rec {
 
     distPhase    = "true";
     installPhase = "cp -r ./web/assets $out";
+
+    meta.license = lib.licenses.agpl3Only;
   };
 
   ldflags = ["-s" "-w" "-extldflags '-static'" "-X 'main.Commit=${rev}'" "-X 'main.Version=${version}'"];

@@ -75,6 +78,6 @@ buildGo123Module rec {
     description = "An ActivityPub social network server, written in Golang.";
     homepage    = "https://github.com/superseriousbusiness/gotosocial";
     license     = licenses.agpl3Only;
-    platforms   = platforms.linux;
   };
+
 }