cocoon: init at 0.5.0 (#458034)

This commit is contained in:
isabel
2025-11-04 09:50:40 +00:00
committed by GitHub
+36
View File
@@ -0,0 +1,36 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "cocoon";
version = "0.5.0";
src = fetchFromGitHub {
owner = "haileyok";
repo = "cocoon";
tag = finalAttrs.version;
hash = "sha256-9gJj+edTGkQsHH72F2f7A6EWDet+k38+8UZ1KN2UGT0=";
};
ldflags = [
"-s"
"-w"
"-X main.Version=${finalAttrs.version}"
];
vendorHash = "sha256-5WnME+AVrXfvHX2yPbFoL6QgZoCMAJmBj47OM7miOfc=";
passthru.updateScript = nix-update-script { };
meta = {
description = "ATProtocol Personal Data Server written in Go with a SQLite block and blob store";
changelog = "https://github.com/haileyok/cocoon/releases/${finalAttrs.version}";
homepage = "https://github.com/haileyok/cocoon";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ isabelroses ];
mainProgram = "cocoon";
};
})