depot/third_party/nixpkgs/pkgs/by-name/se/seilfahrt/package.nix

31 lines
736 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
pandoc,
}:
buildGoModule rec {
pname = "seilfahrt";
version = "2.1.1";
src = fetchFromGitHub {
owner = "Nerdbergev";
repo = "seilfahrt";
rev = "v${version}";
hash = "sha256-pn3EsYPhggViL067nk6UhmIULGsf8IYm/dXSDudiZRA=";
};
vendorHash = "sha256-CUxUxumji0j9cwrYksJqHq891VlotMrGIrF0vr6wSMs=";
buildInputs = [ pandoc ];
meta = with lib; {
description = "Tool to create a wiki page from a HedgeDoc";
homepage = "https://github.com/Nerdbergev/seilfahrt";
changelog = "https://github.com/Nerdbergev/seilfahrt/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ xgwq ];
mainProgram = "seilfahrt";
};
}