ln-ws-proxy

websockets to lightning proxy
git clone git://jb55.com/ln-ws-proxy
Log | Files | Refs | README

node-packages.nix (1353B)


      1 # This file has been generated by node2nix 1.11.1. Do not edit!
      2 
      3 {nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? []}:
      4 
      5 let
      6   sources = {
      7     "ws-8.8.1" = {
      8       name = "ws";
      9       packageName = "ws";
     10       version = "8.8.1";
     11       src = fetchurl {
     12         url = "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz";
     13         sha512 = "bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==";
     14       };
     15     };
     16   };
     17   args = {
     18     name = "ln-ws-proxy";
     19     packageName = "ln-ws-proxy";
     20     version = "0.1.0";
     21     src = ./.;
     22     dependencies = [
     23       sources."ws-8.8.1"
     24     ];
     25     buildInputs = globalBuildInputs;
     26     meta = {
     27       description = "ln-ws-proxy";
     28     };
     29     production = true;
     30     bypassCache = true;
     31     reconstructLock = false;
     32   };
     33 in
     34 {
     35   args = args;
     36   sources = sources;
     37   tarball = nodeEnv.buildNodeSourceDist args;
     38   package = nodeEnv.buildNodePackage args;
     39   shell = nodeEnv.buildNodeShell args;
     40   nodeDependencies = nodeEnv.buildNodeDependencies (lib.overrideExisting args {
     41     src = stdenv.mkDerivation {
     42       name = args.name + "-package-json";
     43       src = nix-gitignore.gitignoreSourcePure [
     44         "*"
     45         "!package.json"
     46         "!package-lock.json"
     47       ] args.src;
     48       dontBuild = true;
     49       installPhase = "mkdir -p $out; cp -r ./* $out;";
     50     };
     51   });
     52 }