9 owner = "superseriousbusiness";
14 web-assets = fetchurl {
15 url = "https://github.com/${owner}/${repo}/releases/download/v${version}/${repo}_${version}_web-assets.tar.gz";
16 hash = "sha256-vrSdFIdBcfj6+sxtvv1s/Mu85I1mKxjyUYS902oLKk4=";
23 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-z0iETddkw4C2R6ig9ZO8MTvhuWnmQ37/6q3oZ4WAzd4=";
34 "-X main.Version=${version}"
39 mkdir -p $out/share/gotosocial
40 mv web $out/share/gotosocial/
43 # tests are working only on x86_64-linux
44 # doCheck = stdenv.isLinux && stdenv.isx86_64;
45 # checks are currently very unstable in our setup, so we should test manually for now
50 # flaky / broken tests
52 # See: https://github.com/superseriousbusiness/gotosocial/issues/2651
53 "TestPage/minID,_maxID_and_limit_set"
56 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
58 passthru.tests.gotosocial = nixosTests.gotosocial;
61 homepage = "https://gotosocial.org";
62 changelog = "https://github.com/superseriousbusiness/gotosocial/releases/tag/v${version}";
63 description = "Fast, fun, ActivityPub server, powered by Go";
65 ActivityPub social network server, written in Golang.
66 You can keep in touch with your friends, post, read, and
67 share images and articles. All without being tracked or
68 advertised to! A light-weight alternative to Mastodon
69 and Pleroma, with support for clients!
71 maintainers = with maintainers; [ blakesmith ];
72 license = licenses.agpl3Only;