lol
1{ lib, stdenv, fetchurl, makeWrapper, jre }:
2
3stdenv.mkDerivation rec {
4 pname = "tessera";
5 version = "0.10.2";
6
7 src = fetchurl {
8 url = "https://oss.sonatype.org/service/local/repositories/releases/content/com/jpmorgan/quorum/${pname}-app/${version}/${pname}-app-${version}-app.jar";
9 sha256 = "1zn8w7q0q5man0407kb82lw4mlvyiy9whq2f6izf2b5415f9s0m4";
10 };
11
12 nativeBuildInputs = [ makeWrapper ];
13
14 dontUnpack = true;
15
16 installPhase = ''
17 makeWrapper ${jre}/bin/java $out/bin/tessera --add-flags "-jar $src"
18 '';
19
20 meta = with lib; {
21 description = "Enterprise Implementation of Quorum's transaction manager";
22 homepage = "https://github.com/jpmorganchase/tessera";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ mmahut ];
25 };
26}