diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-05-04 00:12:46 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-05-04 00:12:46 +0200 |
commit | 4b0a82cc2f4597a11b9275cf156ae9cceffaf44f (patch) | |
tree | a384ea0b7a610387f9a9cb8b6de4de58e8dd76b0 /pkgs/webapps/etherpad-lite/modules/ep_page_view/node-packages.nix | |
parent | e9c91c19475ed679676829bfd716e41009b560c8 (diff) | |
download | Nix-4b0a82cc2f4597a11b9275cf156ae9cceffaf44f.tar.gz Nix-4b0a82cc2f4597a11b9275cf156ae9cceffaf44f.tar.zst Nix-4b0a82cc2f4597a11b9275cf156ae9cceffaf44f.zip |
Fix some etherpad-lite modules and packaging
The upgrade to 1.8.3 broke many modules, which were patched to continue
working correctly.
This commit also reworks the module system, making it similar to
python’s withPackages.
Diffstat (limited to 'pkgs/webapps/etherpad-lite/modules/ep_page_view/node-packages.nix')
-rw-r--r-- | pkgs/webapps/etherpad-lite/modules/ep_page_view/node-packages.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_page_view/node-packages.nix b/pkgs/webapps/etherpad-lite/modules/ep_page_view/node-packages.nix new file mode 100644 index 0000000..e6c6b65 --- /dev/null +++ b/pkgs/webapps/etherpad-lite/modules/ep_page_view/node-packages.nix | |||
@@ -0,0 +1,26 @@ | |||
1 | # This file has been generated by node2nix 1.8.0. Do not edit! | ||
2 | |||
3 | {nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}: | ||
4 | |||
5 | let | ||
6 | sources = {}; | ||
7 | in | ||
8 | { | ||
9 | ep_page_view = nodeEnv.buildNodePackage { | ||
10 | name = "ep_page_view"; | ||
11 | packageName = "ep_page_view"; | ||
12 | version = "0.5.24"; | ||
13 | src = fetchurl { | ||
14 | url = "https://registry.npmjs.org/ep_page_view/-/ep_page_view-0.5.24.tgz"; | ||
15 | sha1 = "26437c23169678f5bd53545b621b492b5b6f2ce4"; | ||
16 | }; | ||
17 | buildInputs = globalBuildInputs; | ||
18 | meta = { | ||
19 | description = "Add support to do 'page view', with a toggle on/off option in Settings, also Page Breaks with Control Enter"; | ||
20 | homepage = "https://github.com/ether/ep_page_view#readme"; | ||
21 | }; | ||
22 | production = true; | ||
23 | bypassCache = true; | ||
24 | reconstructLock = true; | ||
25 | }; | ||
26 | } \ No newline at end of file | ||