mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
33 lines
643 B
Nix
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";
|
|
};
|
|
}
|