1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-7KTNimthtfmQCgyXevAEj+CZ2MS+uOby73OO1fGNXfs=";
14 vendorHash = "sha256-6RTshhxX+w/gdK53wCHVMpm6EkkRtEJ2/Fe7MfZ0WvY=";
17 ./fix-go-version-error.patch
20 ldflags = [ "-s" "-w" "-X github.com/writefreely/writefreely.softwareVer=${version}" ];
24 subPackages = [ "cmd/writefreely" ];
26 passthru.tests = { inherit (nixosTests) writefreely; };
29 description = "Build a digital writing community";
30 homepage = "https://github.com/writefreely/writefreely";
31 license = licenses.agpl3Only;
32 maintainers = with maintainers; [ soopyc ];
33 mainProgram = "writefreely";