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