3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #67386 from aanderse/limesurvey

limesurvey: 3.17.1+190408 -> 3.17.12+190823
This commit is contained in:
Marek Mahut 2019-08-24 16:19:52 +02:00 committed by GitHub
commit 1c5efbb592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "limesurvey";
version = "3.17.1+190408";
version = "3.17.12+190823";
src = fetchFromGitHub {
owner = "LimeSurvey";
repo = "LimeSurvey";
rev = version;
sha256 = "0d6dgw9af492vn5yg2hq82ipq4p80c19lhky0dpwrm5kv67kxbhv";
sha256 = "1i7jpxndrbya5ggl4babscwzmxx4c0jwri5kpl7h2ihqrn90m4b5";
};
phpConfig = writeText "config.php" ''
@ -18,9 +18,13 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/limesurvey
cp -r . $out/share/limesurvey
cp ${phpConfig} $out/share/limesurvey/application/config/config.php
runHook postInstall
'';
meta = with stdenv.lib; {