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_align | |
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_align')
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.json | 1 | ||||
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.nix | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.json b/pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.json new file mode 100644 index 0000000..9405dd2 --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.json | |||
@@ -0,0 +1 @@ | |||
[ "ep_align" ] | |||
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.nix b/pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.nix new file mode 100644 index 0000000..9d045f2 --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_align/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_align = nodeEnv.buildNodePackage { | ||
10 | name = "ep_align"; | ||
11 | packageName = "ep_align"; | ||
12 | version = "0.0.24"; | ||
13 | src = fetchurl { | ||
14 | url = "https://registry.npmjs.org/ep_align/-/ep_align-0.0.24.tgz"; | ||
15 | sha512 = "hQwIerjWtcY3qWfqCsm+MIk/eo/hfpOl7mkGS+YZFJvljv4xuDk8QK8gnYY7RLtiKGo8jN8fKlht2w6DCLosjg=="; | ||
16 | }; | ||
17 | buildInputs = globalBuildInputs; | ||
18 | meta = { | ||
19 | description = "Add Left/Center/Right/Justify to lines of text in a pad"; | ||
20 | homepage = "https://github.com/johnmclear/ep_align#readme"; | ||
21 | }; | ||
22 | production = true; | ||
23 | bypassCache = false; | ||
24 | }; | ||
25 | } \ No newline at end of file | ||