wiki-js: init at 2.5.191

This commit is contained in:
Maximilian Bosch
2021-03-20 20:43:21 +01:00
parent 800a3dd909
commit de98a184f5
6 changed files with 320 additions and 0 deletions
+25
View File
@@ -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 ];
};
}