nixpkgs/pkgs/applications/blockchains/tessera.nix
Marek Mahut 0c97306c6c Revert "tessera: 0.10.2 -> 0.10.4"
This reverts commit dacc35ec5fa9ffe84c5cb3a2c52bfbc1fa05d7f6.
2020-04-03 16:12:35 +02:00

27 lines
776 B
Nix

{ stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
pname = "tessera";
version = "0.10.2";
src = fetchurl {
url = "https://oss.sonatype.org/service/local/repositories/releases/content/com/jpmorgan/quorum/${pname}-app/${version}/${pname}-app-${version}-app.jar";
sha256 = "1zn8w7q0q5man0407kb82lw4mlvyiy9whq2f6izf2b5415f9s0m4";
};
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/tessera --add-flags "-jar $src"
'';
meta = with stdenv.lib; {
description = "Enterprise Implementation of Quorum's transaction manager";
homepage = "https://github.com/jpmorganchase/tessera";
license = licenses.asl20;
maintainers = with maintainers; [ mmahut ];
};
}