From a8ef1adb4a90c2524ac09a85463598e5d41d2a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 25 Apr 2020 15:49:40 +0200 Subject: Migrate phpbb and remove manual tools pages --- pkgs/webapps/phpbb/extensions/adduser.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/webapps/phpbb/extensions/adduser.nix (limited to 'pkgs/webapps/phpbb/extensions/adduser.nix') diff --git a/pkgs/webapps/phpbb/extensions/adduser.nix b/pkgs/webapps/phpbb/extensions/adduser.nix new file mode 100644 index 0000000..f9073e6 --- /dev/null +++ b/pkgs/webapps/phpbb/extensions/adduser.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, unzip }: +stdenv.mkDerivation rec { + pname = "phpBB-extension-adduser"; + version = "1.0.4"; + src = fetchurl { + # https://www.phpbb.com/customise/db/extension/acp_add_user_2 + url = "https://www.phpbb.com/customise/db/download/141601"; + sha256 = "13m4anib74cinnv1ap3b1ncb8cxm3mzhhmlqhbrr9mlrqmwf4zg2"; + }; + + buildInputs = [ unzip ]; + phases = [ "unpackPhase" "installPhase" ]; + unpackPhase = '' + mkdir src + cd src + unzip $src + ''; + installPhase = '' + cp -a . $out + cp -a $out/phpbbmodders/adduser/language/en $out/phpbbmodders/adduser/language/fr + ''; +} -- cgit v1.2.3