1{ lib, fetchgit, fetchurl, nodePackages }:
2
3with lib;
4
5let
6 np = nodePackages.override { generated = ./package.nix; self = np; };
7in nodePackages.buildNodePackage rec {
8 name = "ripple-data-api-${version}";
9 version = lib.strings.substring 0 7 rev;
10 rev = "c56b860105f36c1c44ae011189d495272648c589";
11
12 src = fetchgit {
13 url = https://github.com/ripple/ripple-data-api.git;
14 inherit rev;
15 sha256 = "1iygp26ilradxj268g1l2y93cgrpchqwn71qdag67lv273dbq48m";
16 };
17
18 deps = (filter (v: nixType v == "derivation") (attrValues np));
19
20 meta = {
21 description = "Historical ripple data";
22 homepage = https://github.com/ripple/ripple-data-api;
23 maintainers = with maintainers; [ offline ];
24 };
25}