2024-07-27 06:49:29 +00:00
|
|
|
{ lib, bundlerApp, bundlerUpdateScript, ruby, makeWrapper, nixosTests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
bundlerApp rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gollum";
|
2022-06-16 17:23:12 +00:00
|
|
|
exes = [ "gollum" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
inherit ruby;
|
|
|
|
gemdir = ./.;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru.updateScript = bundlerUpdateScript "gollum";
|
2022-09-11 15:47:08 +00:00
|
|
|
passthru.tests.gollum = nixosTests.gollum;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple, Git-powered wiki with a sweet API and local frontend";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/gollum/gollum";
|
2022-06-16 17:23:12 +00:00
|
|
|
changelog = "https://github.com/gollum/gollum/blob/HEAD/HISTORY.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ erictapen jgillich nicknovitski bbenno ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "gollum";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|