limesurvey: 2.05_plus_141210 -> 3.17.1+190408
This commit is contained in:
parent
42c0ce80e6
commit
fc49f75f63
@ -1,14 +1,14 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, writeText, makeWrapper, php }:
|
{ stdenv, lib, fetchFromGitHub, writeText, makeWrapper, php }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "limesurvey-${version}";
|
pname = "limesurvey";
|
||||||
version = "2.05_plus_141210";
|
version = "3.17.1+190408";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LimeSurvey";
|
owner = "LimeSurvey";
|
||||||
repo = "LimeSurvey";
|
repo = "LimeSurvey";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1b5yixrlrjm055ag07c7phk84mk1892v20nsss1y0xzvgn6s14gq";
|
sha256 = "0d6dgw9af492vn5yg2hq82ipq4p80c19lhky0dpwrm5kv67kxbhv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
@ -19,11 +19,6 @@ stdenv.mkDerivation rec {
|
|||||||
?>
|
?>
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
substituteInPlace application/core/LSYii_Application.php \
|
|
||||||
--replace "'basePath" "//'basePath"
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,share/limesurvey}
|
mkdir -p $out/{bin,share/limesurvey}
|
||||||
cp -R . $out/share/limesurvey
|
cp -R . $out/share/limesurvey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user