about summary refs log tree commit diff
path: root/pkgs/applications/misc/gollum/default.nix
blob: 9625236193616f10eab4184ecba7719abf663431 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, bundlerApp, bundlerUpdateScript, ruby, makeWrapper, 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 = "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";
  };
}