1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/servers/rippled/default.nix
Emery Hemingway 6c77690b28 rippled: initial pkg and module expressions
rippled is the Ripple P2P payment network reference server
https://ripple.com
2014-03-29 15:31:37 -04:00

32 lines
869 B
Nix

{ stdenv, fetchurl, scons, pkgconfig, openssl, protobuf, boost155, zlib}:
stdenv.mkDerivation rec {
name = "rippled-${version}";
version = "0.23.0";
src = fetchurl {
url = "https://github.com/ripple/rippled/archive/${version}.tar.gz";
sha256 = "0js734sk11jn19fyp403mk6p62azlc6s9kyhr5jfg466fiak537p";
};
patches = [ ./scons-env.patch ];
buildInputs = [ scons pkgconfig openssl protobuf boost155 zlib ];
RIPPLED_BOOST_HOME = boost155.out;
RIPPLED_ZLIB_HOME = zlib.out;
buildPhase = "scons build/rippled";
installPhase = ''
mkdir -p $out/bin
cp build/rippled $out/bin/
'';
meta = {
description = "Ripple P2P payment network reference server";
homepage = "https://ripple.com";
maintainers = stdenv.lib.maintainers.emery;
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.linux;
};
}