nixpkgs/pkgs/applications/misc/gollum/default.nix
2024-02-11 03:19:15 +01:00

25 lines
729 B
Nix

{ lib, bundlerApp, bundlerUpdateScript, ruby, makeWrapper, git, docutils, nixosTests }:
bundlerApp rec {
pname = "gollum";
exes = [ "gollum" ];
inherit ruby;
gemdir = ./.;
nativeBuildInputs = [ makeWrapper ];
passthru.updateScript = bundlerUpdateScript "gollum";
passthru.tests.gollum = nixosTests.gollum;
meta = with lib; {
description = "A simple, Git-powered wiki with a sweet API and local frontend";
homepage = "https://github.com/gollum/gollum";
changelog = "https://github.com/gollum/gollum/blob/HEAD/HISTORY.md";
license = licenses.mit;
maintainers = with maintainers; [ erictapen jgillich nicknovitski bbenno ];
platforms = platforms.unix;
mainProgram = "gollum";
};
}