2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
2020-03-22 12:22:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tessera";
|
2020-04-03 15:12:35 +01:00
|
|
|
version = "0.10.2";
|
2020-03-22 12:22:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://oss.sonatype.org/service/local/repositories/releases/content/com/jpmorgan/quorum/${pname}-app/${version}/${pname}-app-${version}-app.jar";
|
2020-04-03 15:12:35 +01:00
|
|
|
sha256 = "1zn8w7q0q5man0407kb82lw4mlvyiy9whq2f6izf2b5415f9s0m4";
|
2020-03-22 12:22:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
makeWrapper ${jre}/bin/java $out/bin/tessera --add-flags "-jar $src"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-22 12:22:14 +00:00
|
|
|
description = "Enterprise Implementation of Quorum's transaction manager";
|
|
|
|
homepage = "https://github.com/jpmorganchase/tessera";
|
2022-06-02 14:38:41 +01:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2020-03-22 12:22:14 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ mmahut ];
|
|
|
|
};
|
|
|
|
}
|