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_align/node-packages.json | 1 + .../modules/ep_align/node-packages.nix | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.json create mode 100644 pkgs/webapps/etherpad-lite/modules/ep_align/node-packages.nix (limited to 'pkgs/webapps/etherpad-lite/modules/ep_align') 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 @@ +# This file has been generated by node2nix 1.6.0. Do not edit! + +{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}: + +let + sources = {}; +in +{ + ep_align = nodeEnv.buildNodePackage { + name = "ep_align"; + packageName = "ep_align"; + version = "0.0.24"; + src = fetchurl { + url = "https://registry.npmjs.org/ep_align/-/ep_align-0.0.24.tgz"; + sha512 = "hQwIerjWtcY3qWfqCsm+MIk/eo/hfpOl7mkGS+YZFJvljv4xuDk8QK8gnYY7RLtiKGo8jN8fKlht2w6DCLosjg=="; + }; + buildInputs = globalBuildInputs; + meta = { + description = "Add Left/Center/Right/Justify to lines of text in a pad"; + homepage = "https://github.com/johnmclear/ep_align#readme"; + }; + production = true; + bypassCache = false; + }; +} \ No newline at end of file -- cgit v1.2.3