From 1247e537b0c8e5ed780ab890cbce4612714a0fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 9 May 2019 10:03:16 +0200 Subject: Make etherpad derivation pure It also moves .ep_initialized to /var/lib to allow proper initialization. --- .../modules/ep_scrollto/node-packages.json | 1 + .../modules/ep_scrollto/node-packages.nix | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.json create mode 100644 pkgs/webapps/etherpad-lite/modules/ep_scrollto/node-packages.nix (limited to 'pkgs/webapps/etherpad-lite/modules/ep_scrollto') 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 @@ +# This file has been generated by node2nix 1.6.0. Do not edit! + +{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}: + +let + sources = {}; +in +{ + ep_scrollto = nodeEnv.buildNodePackage { + name = "ep_scrollto"; + packageName = "ep_scrollto"; + version = "0.0.6"; + src = fetchurl { + url = "https://registry.npmjs.org/ep_scrollto/-/ep_scrollto-0.0.6.tgz"; + sha1 = "6b57e2243cb8477e1437c348a94cb6bcc162f91d"; + }; + buildInputs = globalBuildInputs; + meta = { + 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"; + homepage = https://github.com/johnmclear/ep_scrollto; + }; + production = true; + bypassCache = false; + }; +} \ No newline at end of file -- cgit v1.2.3