summary refs log tree commit diff
path: root/pkgs/servers/rippled/data-api.nix
blob: a2de1d8fad3a98aee322b402f07fb89a7feb152c (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
{ lib, fetchgit, nodePackages }:

with lib;

let
  np = nodePackages.override { generated = ./package.nix; self = np; };
in nodePackages.buildNodePackage rec {
  pname = "ripple-data-api";
  version = lib.strings.substring 0 7 rev;
  rev = "c56b860105f36c1c44ae011189d495272648c589";

  src = fetchgit {
    url = "https://github.com/ripple/ripple-data-api.git";
    inherit rev;
    sha256 = "1iygp26ilradxj268g1l2y93cgrpchqwn71qdag67lv273dbq48m";
  };

  deps = (filter (v: nixType v == "derivation") (attrValues np));

  meta = {
    description = "Historical ripple data";
    homepage = "https://github.com/ripple/ripple-data-api";
    maintainers = with maintainers; [ offline ];
  };
}