aboutsummaryrefslogtreecommitdiff
path: root/pkgs/webapps/etherpad-lite/modules/ep_scrollto
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-09 10:03:16 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-09 10:56:07 +0200
commit1247e537b0c8e5ed780ab890cbce4612714a0fa7 (patch)
treec5160a45367b8c7dd4f8b5d9162d908517da041e /pkgs/webapps/etherpad-lite/modules/ep_scrollto
parent803d2d9f35005f10eb43e4568b7f0444d3f9d6aa (diff)
downloadNix-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_scrollto')
-rw-r--r--pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.json1
-rw-r--r--pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix25
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.json b/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.json
new file mode 100644
index 0000000..6d068d0
--- /dev/null
+++ b/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.json
@@ -0,0 +1 @@
[ "ep_scrollto" ]
diff --git a/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix b/pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix
new file mode 100644
index 0000000..ba50b56
--- /dev/null
+++ b/pkgs/webapps/etherpad-lite/modules/ep_scrollto/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
5let
6 sources = {};
7in
8{
9 ep_scrollto = nodeEnv.buildNodePackage {
10 name = "ep_scrollto";
11 packageName = "ep_scrollto";
12 version = "0.0.6";
13 src = fetchurl {
14 url = "https://registry.npmjs.org/ep_scrollto/-/ep_scrollto-0.0.6.tgz";
15 sha1 = "6b57e2243cb8477e1437c348a94cb6bcc162f91d";
16 };
17 buildInputs = globalBuildInputs;
18 meta = {
19 description = "Scroll to a specific line number based on a parameter of lineNumber in the URL IE http://test.com/p/foo#lineNumber=10 -- Users can click on the line number to get a link";
20 homepage = https://github.com/johnmclear/ep_scrollto;
21 };
22 production = true;
23 bypassCache = false;
24 };
25} \ No newline at end of file