depot/third_party/nixpkgs/pkgs/servers/rippled/data-api.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

25 lines
693 B
Nix

{ 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 ];
};
}