summaryrefslogtreecommitdiff
path: root/pkgs/webapps/etherpad-lite/modules/ep_ruler/node-packages.nix
blob: c8697d4037ace603f0bb67f50e9f653fd2a2dc5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{stdenv, nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:

let
  sources = {};
in
{
  ep_ruler = nodeEnv.buildNodePackage {
    name = "ep_ruler";
    packageName = "ep_ruler";
    version = "0.0.2";
    src = fetchurl {
      url = "https://registry.npmjs.org/ep_ruler/-/ep_ruler-0.0.2.tgz";
      sha1 = "5af10dfe0b5f33459566ce649cc483c680ed7811";
    };
    preRebuild = ''
      sed -i -e 's/"dependencies"/"peerDependencies"/' package.json
      '';
    buildInputs = globalBuildInputs;
    meta = {
      description = "Adds a ruler to Etherpad lite";
      homepage = https://github.com/iquidus/ep_ruler;
    };
    production = true;
    bypassCache = false;
  };
}