1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/rippled/data-api.nix
2015-03-26 20:02:39 +01:00

26 lines
709 B
Nix

{ lib, fetchgit, fetchurl, nodePackages }:
with lib;
let
np = nodePackages.override { generated = ./package.nix; self = np; };
in nodePackages.buildNodePackage rec {
name = "ripple-data-api-${version}";
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 ];
};
}