diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2021-03-18 12:33:40 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2021-03-20 20:43:21 +0100 |
commit | de98a184f52837288a748778d40f93554e3e5c03 (patch) | |
tree | 5ce55f375c3309f0a109e9a9bd359b81ba9f5ac3 /pkgs/servers/web-apps | |
parent | 800a3dd90970a277e3f6853633bd7faf04d6691e (diff) |
wiki-js: init at 2.5.191
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/wiki-js/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/wiki-js/default.nix b/pkgs/servers/web-apps/wiki-js/default.nix new file mode 100644 index 0000000000000..7e1117e660ffc --- /dev/null +++ b/pkgs/servers/web-apps/wiki-js/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, lib, nixosTests }: + +stdenv.mkDerivation rec { + pname = "wiki-js"; + version = "2.5.191"; + + src = fetchurl { + url = "https://github.com/Requarks/wiki/releases/download/${version}/${pname}.tar.gz"; + sha256 = "sha256-lEHelZTFZxcds7t3TCMcd9b3rKdml54A0/V7gcQIyPA="; + }; + + buildCommand = '' + mkdir $out + tar xzvf $src -C $out + ''; + + passthru.tests = { inherit (nixosTests) wiki-js; }; + + meta = with lib; { + homepage = "https://js.wiki/"; + description = "A modern and powerful wiki app built on Node.js"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ ma27 ]; + }; +} |