git.iko.soy/typeable/nixpkgs
on master help sign in
rippled: Update to 0.28.1
commit161418537cb09440d83426ad0a0c01aa4b277ebe authorJaka Hudoklin <jakahudoklin@gmail.com> dateMon 8 Jun 2015, 14:15 (11 years ago) parent8b79a09
3 files changed+10−10
nixos/modules/services/misc/rippled.nix+6−6 pkgs/servers/rippled/default.nix+3−3 pkgs/top-level/all-packages.nix+1−1
nixos/modules/services/misc/rippled.nix+6−6
@@ -27,7 +27,7 @@ let
2727 protocol=${concatStringsSep "," p.protocol}
2828 ${optionalString (p.user != "") "user=${p.user}"}
2929 ${optionalString (p.password != "") "user=${p.password}"}
30− admin=${if p.admin then "allow" else "no"}
30+ admin=${concatStringsSep "," p.admin}
3131 ${optionalString (p.ssl.key != null) "ssl_key=${p.ssl.key}"}
3232 ${optionalString (p.ssl.cert != null) "ssl_cert=${p.ssl.cert}"}
3333 ${optionalString (p.ssl.chain != null) "ssl_chain=${p.ssl.chain}"}
@@ -118,9 +118,9 @@ let
118118 };
119119
120120 admin = mkOption {
121− description = "Controls whether or not administrative commands are allowed.";
122− type = types.bool;
123− default = false;
121+ description = "A comma-separated list of admin IP addresses.";
122+ type = types.listOf types.str;
123+ default = ["127.0.0.1"];
124124 };
125125
126126 ssl = {
@@ -156,7 +156,7 @@ let
156156 dbOptions = {
157157 type = mkOption {
158158 description = "Rippled database type.";
159− type = types.enum ["rocksdb" "nudb" "sqlite" "hyperleveldb"];
159+ type = types.enum ["rocksdb" "nudb"];
160160 default = "rocksdb";
161161 };
162162
@@ -217,7 +217,7 @@ in
217217 default = {
218218 rpc = {
219219 port = 5005;
220− admin = true;
220+ admin = ["127.0.0.1"];
221221 protocol = ["http"];
222222 };
223223
pkgs/servers/rippled/default.nix+3−3
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "rippled-${version}";
5− version = "0.27.4";
5+ version = "0.28.1";
66
77 src = fetchFromGitHub {
88 owner = "ripple";
99 repo = "rippled";
1010 rev = version;
11− sha256 = "13xg2baqcf2h1ww2yk371r27726iq8xb4brsj9rqv692aviblqs3";
11+ sha256 = "0wh8dwdg0gp7smcx40cpqanl2m2hihmx3irqh692svakbl3df3vz";
1212 };
1313
1414 postPatch = ''
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [ scons pkgconfig openssl protobuf boost zlib ];
1919
20− buildPhase = "scons build/rippled";
20+ buildPhase = "scons";
2121
2222 installPhase = ''
2323 mkdir -p $out/bin
pkgs/top-level/all-packages.nix+1−1
@@ -8988,7 +8988,7 @@ let
89888988 };
89898989
89908990 rippled = callPackage ../servers/rippled {
8991− boost = boost155;
8991+ boost = boost157;
89928992 };
89938993
89948994 ripple-data-api = callPackage ../servers/rippled/data-api.nix { };