nixos/dokuwiki: add passthru test

This commit is contained in:
Jonas Heinrich 2021-12-13 17:26:36 +01:00
parent fe96112597
commit cc8ab71ee9

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, writeText }:
{ lib, stdenv, fetchFromGitHub, writeText, nixosTests }:
stdenv.mkDerivation rec {
pname = "dokuwiki";
@ -45,6 +45,10 @@ stdenv.mkDerivation rec {
cp ${phpPluginsLocalConfig} $out/share/dokuwiki/conf/plugins.local.php
'';
passthru.tests = {
inherit (nixosTests) dokuwiki;
};
meta = with lib; {
description = "Simple to use and highly versatile Open Source wiki software that doesn't require a database";
license = licenses.gpl2;