Merge pull request #167749 from raymens/update-stellar-core

stellar-core: 17.0.0 -> 18.5.0
This commit is contained in:
Artturi 2022-04-08 13:52:20 +03:00 committed by GitHub
commit e12311ba6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,26 @@
{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git
, bison, flex, postgresql, ripgrep }:
, bison, flex, postgresql, ripgrep, libunwind }:
stdenv.mkDerivation rec {
pname = "stellar-core";
version = "17.0.0";
version = "18.5.0";
src = fetchFromGitHub {
owner = "stellar";
repo = pname;
rev = "v${version}";
sha256 = "1ngl8yjqb8xzhdwzlxzzxf14q2hgwy2ysb17sn5380rrn0jswin1";
sha256 = "sha256-wEi22R4zb8d5CJV5eWb776Yob8B6Ok4FrbYI0SGM0H8=";
fetchSubmodules = true;
};
nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ];
buildInputs = [ libunwind ];
propagatedBuildInputs = [ bison flex postgresql ];
enableParallelBuilding = true;
preConfigure = ''
# Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on
# having the .git directory present, so directly provide the version