1 { lib, stdenv, buildGoModule, fetchFromGitHub, openssl }:
7 src = fetchFromGitHub {
11 hash = "sha256-b4uSztroeOKPOyPwxVB3ofkAmDpWFstHDQX2IwQwG/4=";
14 vendorHash = "sha256-B+SmzNLAXIjkUO1JGpD1eqa52Z1zOdPiG8urvLFXf88=";
16 nativeBuildInputs = [ openssl ];
19 go generate ./migrations
22 ldflags = [ "-X github.com/dimkr/tootik/buildinfo.Version=${version}" ];
26 doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64);
29 description = "Federated nanoblogging service with a Gemini frontend";
30 homepage = "https://github.com/dimkr/tootik";
31 license = lib.licenses.asl20;
32 maintainers = with lib.maintainers; [ sikmir ];
33 mainProgram = "tootik";