anchor.diff:      sha256 = "0d6dgw9af492vn5yg2hq82ipq4p80c19lhky0dpwrm5kv67kxbhv";
     };
   
  -  buildInputs = [ makeWrapper ];
  -
     phpConfig = writeText "config.php" ''
     <?php
       return require(getenv('LIMESURVEY_CONFIG'));
  
positive.code: { stdenv, lib, fetchFromGitHub, writeText, makeWrapper, php }:
  
  stdenv.mkDerivation rec {
    pname = "limesurvey";
  
negative.code:   '';
  
    installPhase = ''
      mkdir -p $out/share/limesurvey
      cp -r . $out/share/limesurvey
      cp ${phpConfig} $out/share/limesurvey/application/config/config.php
    '';
  
    meta = with stdenv.lib; {
      description = "Open source survey application";
      license = licenses.gpl2;
      homepage = "https://www.limesurvey.org";
      maintainers = with maintainers; [offline];
      platforms = with platforms; unix;
    };
  