1 { lib, stdenv, fetchurl, makeWrapper, jre }:
3 stdenv.mkDerivation rec {
8 url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar";
9 sha256 = "sha256-/VMuye6uCQghjwotjmWEe55RADVwHCpH6PelZXVXSzM=";
12 nativeBuildInputs = [ makeWrapper ];
17 makeWrapper ${jre}/bin/java $out/bin/ergo --add-flags "-jar $src"
21 description = "Open protocol that implements modern scientific ideas in the blockchain area";
22 homepage = "https://ergoplatform.org/en/";
23 sourceProvenance = with sourceTypes; [ binaryBytecode ];
24 license = licenses.cc0;
25 platforms = platforms.all;
26 maintainers = with maintainers; [ mmahut ];