diff options
Diffstat (limited to 'pkgs/webapps/phpbb/extensions/monitoranswers.nix')
-rw-r--r-- | pkgs/webapps/phpbb/extensions/monitoranswers.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/webapps/phpbb/extensions/monitoranswers.nix b/pkgs/webapps/phpbb/extensions/monitoranswers.nix new file mode 100644 index 0000000..52c852e --- /dev/null +++ b/pkgs/webapps/phpbb/extensions/monitoranswers.nix | |||
@@ -0,0 +1,19 @@ | |||
1 | { stdenv, fetchurl, unzip }: | ||
2 | stdenv.mkDerivation rec { | ||
3 | pname = "phpBB-extension-monitoranswers"; | ||
4 | version = "1.0.0"; | ||
5 | src = fetchurl { | ||
6 | # http://forums.phpbb-fr.com/extensions-developpement-en-cours/sujet208410.html | ||
7 | url = "https://www.empreintesduweb.com/dl/extension_empreintesduweb_monitoranswers_v100.zip"; | ||
8 | sha256 = "0g5khzz7brkra9rnnjh8vsv11h8vf36pcw53b4wrkcjb66bfm20s"; | ||
9 | }; | ||
10 | |||
11 | buildInputs = [ unzip ]; | ||
12 | phases = [ "unpackPhase" "installPhase" ]; | ||
13 | unpackPhase = '' | ||
14 | mkdir src | ||
15 | cd src | ||
16 | unzip $src | ||
17 | ''; | ||
18 | installPhase = "cp -a . $out"; | ||
19 | } | ||