Merge pull request #167749 from raymens/update-stellar-core
stellar-core: 17.0.0 -> 18.5.0
This commit is contained in:
commit
e12311ba6a
@ -1,22 +1,26 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git
|
{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git
|
||||||
, bison, flex, postgresql, ripgrep }:
|
, bison, flex, postgresql, ripgrep, libunwind }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "stellar-core";
|
pname = "stellar-core";
|
||||||
version = "17.0.0";
|
version = "18.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "stellar";
|
owner = "stellar";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1ngl8yjqb8xzhdwzlxzzxf14q2hgwy2ysb17sn5380rrn0jswin1";
|
sha256 = "sha256-wEi22R4zb8d5CJV5eWb776Yob8B6Ok4FrbYI0SGM0H8=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ];
|
nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ];
|
||||||
|
|
||||||
|
buildInputs = [ libunwind ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ bison flex postgresql ];
|
propagatedBuildInputs = [ bison flex postgresql ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on
|
# Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on
|
||||||
# having the .git directory present, so directly provide the version
|
# having the .git directory present, so directly provide the version
|
||||||
|
Loading…
Reference in New Issue
Block a user