Skip to content

Commit

Permalink
limesurvey: 3.17.12+190823 -> 3.23.0+200813
Browse files Browse the repository at this point in the history
fixes at least 17 CVEs
also adds test to package
  • Loading branch information
davidak committed Sep 2, 2020
1 parent 2cd9dd5 commit de1c054
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/servers/limesurvey/default.nix
@@ -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" ''
Expand All @@ -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;
Expand Down

0 comments on commit de1c054

Please sign in to comment.