aboutsummaryrefslogtreecommitdiff
path: root/pkgs/webapps/phpbb/extensions/monitoranswers.nix
blob: 52c852e101083592ec23378591f85b7de717b758 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
  pname = "phpBB-extension-monitoranswers";
  version = "1.0.0";
  src = fetchurl {
    # http://forums.phpbb-fr.com/extensions-developpement-en-cours/sujet208410.html
    url = "https://www.empreintesduweb.com/dl/extension_empreintesduweb_monitoranswers_v100.zip";
    sha256 = "0g5khzz7brkra9rnnjh8vsv11h8vf36pcw53b4wrkcjb66bfm20s";
  };

  buildInputs = [ unzip ];
  phases = [ "unpackPhase" "installPhase" ];
  unpackPhase = ''
    mkdir src
    cd src
    unzip $src
  '';
  installPhase = "cp -a . $out";
}