wordpress: add passthru.tests
This commit is contained in:
parent
e6d5fec97d
commit
f422d6582d
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wordpress";
|
pname = "wordpress";
|
||||||
|
@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
|
||||||
cp -r . $out/share/wordpress
|
cp -r . $out/share/wordpress
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) wordpress;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://wordpress.org";
|
homepage = "https://wordpress.org";
|
||||||
description = "WordPress is open source software you can use to create a beautiful website, blog, or app";
|
description = "WordPress is open source software you can use to create a beautiful website, blog, or app";
|
||||||
|
|
Loading…
Reference in New Issue