Merge pull request #155648 from mmahut/mmahut/besu

besu: init at 21.10.8
This commit is contained in:
Marek Mahut 2022-02-08 14:15:13 +01:00 committed by GitHub
commit 829942fd95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
pname = "besu";
version = "21.10.8";
src = fetchurl {
url = "https://hyperledger.jfrog.io/artifactory/${pname}-binaries/${pname}/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-0yXi42vDinB6nuv5IGj1AhYGqMa2Rku0tNWQCO+AFPw=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp -r bin $out/
mkdir -p $out/lib
cp -r lib $out/
wrapProgram $out/bin/${pname} --set JAVA_HOME "${jre}"
'';
meta = with lib; {
description = "An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client";
homepage = "https://www.hyperledger.org/projects/besu";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ mmahut ];
};
}

View File

@ -30149,6 +30149,8 @@ with pkgs;
clightning = callPackage ../applications/blockchains/clightning { };
besu = callPackage ../applications/blockchains/besu { };
bitcoin-abc = libsForQt5.callPackage ../applications/blockchains/bitcoin-abc {
boost = boost165;
withGui = true;