diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-09 10:03:16 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-09 10:56:07 +0200 |
commit | 1247e537b0c8e5ed780ab890cbce4612714a0fa7 (patch) | |
tree | c5160a45367b8c7dd4f8b5d9162d908517da041e /pkgs/webapps/etherpad-lite/modules/ep_headings2 | |
parent | 803d2d9f35005f10eb43e4568b7f0444d3f9d6aa (diff) | |
download | Nix-1247e537b0c8e5ed780ab890cbce4612714a0fa7.tar.gz Nix-1247e537b0c8e5ed780ab890cbce4612714a0fa7.tar.zst Nix-1247e537b0c8e5ed780ab890cbce4612714a0fa7.zip |
Make etherpad derivation pure
It also moves .ep_initialized to /var/lib to allow proper
initialization.
Diffstat (limited to 'pkgs/webapps/etherpad-lite/modules/ep_headings2')
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.json | 1 | ||||
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.nix | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.json b/pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.json new file mode 100644 index 0000000..adbc268 --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.json | |||
@@ -0,0 +1 @@ | |||
[ "ep_headings2" ] | |||
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.nix b/pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.nix new file mode 100644 index 0000000..17af4c6 --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_headings2/node-packages.nix | |||
@@ -0,0 +1,25 @@ | |||
1 | # This file has been generated by node2nix 1.6.0. Do not edit! | ||
2 | |||
3 | {nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}: | ||
4 | |||
5 | let | ||
6 | sources = {}; | ||
7 | in | ||
8 | { | ||
9 | ep_headings2 = nodeEnv.buildNodePackage { | ||
10 | name = "ep_headings2"; | ||
11 | packageName = "ep_headings2"; | ||
12 | version = "0.0.9"; | ||
13 | src = fetchurl { | ||
14 | url = "https://registry.npmjs.org/ep_headings2/-/ep_headings2-0.0.9.tgz"; | ||
15 | sha1 = "115f4162a2e49808a0cee50e04aff26c591db0d4"; | ||
16 | }; | ||
17 | buildInputs = globalBuildInputs; | ||
18 | meta = { | ||
19 | description = "Adds heading support to Etherpad Lite. Includes improved suppot for export, i18n etc."; | ||
20 | homepage = https://github.com/johnmclear/ep_headings2; | ||
21 | }; | ||
22 | production = true; | ||
23 | bypassCache = false; | ||
24 | }; | ||
25 | } \ No newline at end of file | ||