Files
nixpkgs/pkgs/by-name/wi/wiki-go/package.nix
2026-07-24 14:55:22 +00:00

33 lines
643 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "wiki-go";
version = "1.8.12";
src = fetchFromGitHub {
owner = "leomoon-studios";
repo = "wiki-go";
tag = "v${version}";
hash = "sha256-j4a3jUmT9YTrdCCGBMmnzXbPD+81/CzXfhrQA2uN+Zk=";
};
vendorHash = null;
ldflags = [
"-s"
"-w"
];
meta = {
description = "A modern, feature-rich, databaseless flat-file wiki platform built with Go";
homepage = "https://github.com/leomoon-studios/wiki-go";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ paepcke ];
mainProgram = "wiki-go";
};
}