diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /flakes/mypackages/pkgs/webapps/phpbb/extensions/markdown.nix | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'flakes/mypackages/pkgs/webapps/phpbb/extensions/markdown.nix')
-rw-r--r-- | flakes/mypackages/pkgs/webapps/phpbb/extensions/markdown.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flakes/mypackages/pkgs/webapps/phpbb/extensions/markdown.nix b/flakes/mypackages/pkgs/webapps/phpbb/extensions/markdown.nix new file mode 100644 index 0000000..3bd73c7 --- /dev/null +++ b/flakes/mypackages/pkgs/webapps/phpbb/extensions/markdown.nix | |||
@@ -0,0 +1,20 @@ | |||
1 | { stdenv, fetchurl, unzip }: | ||
2 | stdenv.mkDerivation rec { | ||
3 | pname = "phpBB-extension-markdown"; | ||
4 | version = "1.2.0"; | ||
5 | src = fetchurl { | ||
6 | # https://www.phpbb.com/customise/db/extension/markdown | ||
7 | name = "alfredoramos_markdown_${version}.zip"; | ||
8 | url = "https://www.phpbb.com/customise/db/download/173626"; | ||
9 | sha256 = "0bmgi8qr6azaaz8xnz8dkyf147dyawqvqr93r01qbm9s8bfkpzqx"; | ||
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 | } | ||