mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
33 lines
612 B
Nix
33 lines
612 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cerca";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cblgh";
|
|
repo = "cerca";
|
|
tag = "v${version}";
|
|
hash = "sha256-y+TVjtu/5rugY74mIFznHjEUxUmhrmQhdMpSomqLEWw=";
|
|
};
|
|
|
|
vendorHash = "sha256-iIZMYIwIgnFvraowh2k8MUTl7L4zhgcm+UojlimpCTk=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
description = "Lean forum software";
|
|
homepage = "https://github.com/cblgh/cerca";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = with lib.maintainers; [ dansbandit ];
|
|
mainProgram = "cerca";
|
|
};
|
|
}
|