default.nix (682B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromSourcehut, 5 }: 6 7 buildGoModule { 8 pname = "gemcert"; 9 version = "2020-08-01"; 10 11 src = fetchFromSourcehut { 12 owner = "~solderpunk"; 13 repo = "gemcert"; 14 rev = "fc14deb2751274d2df01f8d5abef023ec7e12a8c"; 15 hash = "sha256-za3pS6WlOJ+NKqhyCfhlj7gH4U5yFXtJ6gLta7WXhb0="; 16 }; 17 18 patches = [ ./go.mod.patch ]; 19 20 vendorHash = null; 21 22 meta = { 23 description = "A simple tool for creating self-signed certs for use in Geminispace"; 24 homepage = "https://git.sr.ht/~solderpunk/gemcert"; 25 license = lib.licenses.bsd2; 26 maintainers = [ lib.maintainers.sikmir ]; 27 platforms = lib.platforms.unix; 28 mainProgram = "gemcert"; 29 }; 30 }