diff options
Diffstat (limited to 'pkgs/webapps/phpbb/extensions/mchat.nix')
-rw-r--r-- | pkgs/webapps/phpbb/extensions/mchat.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/webapps/phpbb/extensions/mchat.nix b/pkgs/webapps/phpbb/extensions/mchat.nix new file mode 100644 index 0000000..93ea861 --- /dev/null +++ b/pkgs/webapps/phpbb/extensions/mchat.nix | |||
@@ -0,0 +1,21 @@ | |||
1 | { stdenv, fetchurl, unzip }: | ||
2 | stdenv.mkDerivation rec { | ||
3 | pname = "phpBB-extension-mchat"; | ||
4 | version = "2.1.3"; | ||
5 | src = fetchurl { | ||
6 | # https://www.phpbb.com/customise/db/extension/mchat_extension | ||
7 | name = "dmzx_mchat_${version}.zip"; | ||
8 | url = "https://www.phpbb.com/customise/db/download/168331"; | ||
9 | sha256 = "0mcka02wamn899vg64m1c5d5k6f4qml18cshhzfvccrdc7a0m5p1"; | ||
10 | }; | ||
11 | |||
12 | buildInputs = [ unzip ]; | ||
13 | phases = [ "unpackPhase" "installPhase" ]; | ||
14 | unpackPhase = '' | ||
15 | mkdir src | ||
16 | cd src | ||
17 | unzip $src | ||
18 | ''; | ||
19 | installPhase = "cp -a . $out"; | ||
20 | } | ||
21 | |||