9 stdenv.mkDerivation rec {
11 version = "6.10.2+250127";
13 src = fetchFromGitHub {
17 hash = "sha256-2ZRN2zbrrGWTXgsPeRWsQbg1qw2vVIAwzUI0LWgCL9g=";
20 phpConfig = writeText "config.php" ''
22 return require(getenv('LIMESURVEY_CONFIG'));
29 mkdir -p $out/share/limesurvey
30 cp -r . $out/share/limesurvey
31 cp ${phpConfig} $out/share/limesurvey/application/config/config.php
37 smoke-test = nixosTests.limesurvey;
41 description = "Open source survey application";
42 license = licenses.gpl2Plus;
43 homepage = "https://www.limesurvey.org";
44 maintainers = with maintainers; [ offline ];
45 platforms = with platforms; unix;