forked from mirrors/nixpkgs
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.mkDerivation rec {
|
||||
name = "limesurvey-${version}";
|
||||
version = "2.05_plus_141210";
|
||||
pname = "limesurvey";
|
||||
version = "3.17.1+190408";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LimeSurvey";
|
||||
repo = "LimeSurvey";
|
||||
rev = version;
|
||||
sha256 = "1b5yixrlrjm055ag07c7phk84mk1892v20nsss1y0xzvgn6s14gq";
|
||||
sha256 = "0d6dgw9af492vn5yg2hq82ipq4p80c19lhky0dpwrm5kv67kxbhv";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
@ -19,11 +19,6 @@ stdenv.mkDerivation rec {
|
|||
?>
|
||||
'';
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace application/core/LSYii_Application.php \
|
||||
--replace "'basePath" "//'basePath"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,share/limesurvey}
|
||||
cp -R . $out/share/limesurvey
|
||||
|
|
Loading…
Reference in a new issue