Merge pull request #96926 from davidak/limesurvey-update

limesurvey: 3.17.12+190823 -> 3.23.0+200813
This commit is contained in:
Aaron Andersen 2020-09-02 11:50:11 -04:00 committed by GitHub
commit 259aaf6abf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, writeText }: { stdenv, fetchFromGitHub, writeText, nixosTests }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "limesurvey"; pname = "limesurvey";
version = "3.17.12+190823"; version = "3.23.0+200813";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LimeSurvey"; owner = "LimeSurvey";
repo = "LimeSurvey"; repo = "LimeSurvey";
rev = version; rev = version;
sha256 = "1i7jpxndrbya5ggl4babscwzmxx4c0jwri5kpl7h2ihqrn90m4b5"; sha256 = "0r260z40g6b2bsfzxgfwdffbs17bl784xsc67n7q8222rs601hxf";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests = {
smoke-test = nixosTests.limesurvey;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Open source survey application"; description = "Open source survey application";
license = licenses.gpl2; license = licenses.gpl2;