]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - flakes/etherpad-lite/modules/ep_ruler/node-packages.nix
Add tools
[perso/Immae/Config/Nix.git] / flakes / etherpad-lite / modules / ep_ruler / node-packages.nix
CommitLineData
1247e537
IB
1{stdenv, nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:
2
3let
4 sources = {};
5in
6{
7 ep_ruler = nodeEnv.buildNodePackage {
8 name = "ep_ruler";
9 packageName = "ep_ruler";
10 version = "0.0.2";
11 src = fetchurl {
12 url = "https://registry.npmjs.org/ep_ruler/-/ep_ruler-0.0.2.tgz";
13 sha1 = "5af10dfe0b5f33459566ce649cc483c680ed7811";
14 };
15 preRebuild = ''
16 sed -i -e 's/"dependencies"/"peerDependencies"/' package.json
17 '';
18 buildInputs = globalBuildInputs;
19 meta = {
20 description = "Adds a ruler to Etherpad lite";
21 homepage = https://github.com/iquidus/ep_ruler;
22 };
23 production = true;
24 bypassCache = false;
25 };
26}
27