nixpkgs/pkgs/applications/misc/gollum/default.nix
Benno Bielmeier 8a770f06a2 gollum: refactor package
use `bundlerApp` in preference to `stdenv.mkDerivation`
2022-05-22 15:06:00 +02:00

23 lines
638 B
Nix

{ lib, bundlerApp, bundlerUpdateScript, ruby, makeWrapper, git, docutils }:
bundlerApp rec {
pname = "gollum";
exes = [ "gollum" ];
inherit ruby;
gemdir = ./.;
buildInputs = [ makeWrapper ];
passthru.updateScript = bundlerUpdateScript "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;
};
}