mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
27 lines
720 B
Nix
27 lines
720 B
Nix
{ lib, fetchFromGitHub, nodePackages }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
np = nodePackages.override { generated = ./package.nix; self = np; };
|
|
in nodePackages.buildNodePackage rec {
|
|
name = "ripple-rest-${version}";
|
|
version = "1.7.0-rc1";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "ripple-rest";
|
|
owner = "ripple";
|
|
rev = version;
|
|
sha256 = "19ixgrz40iawd927jan0g1ac8w56wxh2vy3n3sa3dn9cmjd4k2r3";
|
|
};
|
|
|
|
deps = (filter (v: nixType v == "derivation") (attrValues np));
|
|
|
|
meta = {
|
|
description = " RESTful API for submitting payments and monitoring accounts on the Ripple Network";
|
|
homepage = https://github.com/ripple/ripple-rest;
|
|
maintainers = with maintainers; [ offline ];
|
|
license = [ licenses.mit ];
|
|
};
|
|
}
|