nixos/tests: add unit-php test

This commit is contained in:
Izorkin
2020-05-06 13:21:59 +03:00
parent dc0260f7da
commit ca2145bdfc
3 changed files with 51 additions and 1 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, which
{ stdenv, fetchFromGitHub, nixosTests, which
, withPython2 ? false, python2
, withPython3 ? true, python3, ncurses
, withPHP72 ? false, php72
@@ -81,6 +81,8 @@ in stdenv.mkDerivation rec {
${optionalString withRuby_2_7 "./configure ruby --module=ruby27 --ruby=${ruby_2_7}/bin/ruby"}
'';
passthru.tests.unit-php = nixosTests.unit-php;
meta = {
description = "Dynamic web and application server, designed to run applications in multiple languages.";
homepage = "https://unit.nginx.org/";