3
0
Fork 0
forked from mirrors/nixpkgs

limesurvey: 3.17.12+190823 -> 3.23.0+200813

fixes at least 17 CVEs
also adds test to package
This commit is contained in:
davidak 2020-09-01 22:47:38 +02:00
parent 2cd9dd502c
commit de1c05439d

View file

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