diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2020-03-22 13:22:14 +0100 |
---|---|---|
committer | Marek Mahut <marek.mahut@gmail.com> | 2020-03-22 13:22:14 +0100 |
commit | e8cfb12f4613b46727c550a22d697d5d1cfef4e3 (patch) | |
tree | 4539cef427091f5b56ac48d32e64505ded8c118f /pkgs/applications/blockchains/tessera.nix | |
parent | 28cb73749b6fe1ed7b470410b7e70b6b36902338 (diff) |
tessera: init at 0.10.2
Diffstat (limited to 'pkgs/applications/blockchains/tessera.nix')
-rw-r--r-- | pkgs/applications/blockchains/tessera.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/tessera.nix b/pkgs/applications/blockchains/tessera.nix new file mode 100644 index 000000000000..84f7925d2180 --- /dev/null +++ b/pkgs/applications/blockchains/tessera.nix @@ -0,0 +1,26 @@ +{ 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 ]; + }; +} |