Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
ergo: init at 3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahut committed May 26, 2020
1 parent d76e1e3 commit e04964d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/applications/blockchains/ergo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchurl, makeWrapper, jre }:

stdenv.mkDerivation rec {
pname = "ergo";
version = "3.2.4";

src = fetchurl {
url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar";
sha256 = "1xk52b5davd7mz2l35d8vhgff5l8kw6ba0gbnwzkxc8nxmvvsp8b";
};

nativeBuildInputs = [ makeWrapper ];

dontUnpack = true;

installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/ergo --add-flags "-jar $src"
'';

meta = with stdenv.lib; {
description = "Open protocol that implements modern scientific ideas in the blockchain area";
homepage = "https://ergoplatform.org/en/";
license = licenses.cc0;
platforms = platforms.all;
maintainers = with maintainers; [ mmahut ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23206,6 +23206,8 @@ in
dogecoin = callPackage ../applications/blockchains/dogecoin.nix { boost = boost165; withGui = true; };
dogecoind = callPackage ../applications/blockchains/dogecoin.nix { boost = boost165; withGui = false; };

ergo = callPackage ../applications/blockchains/ergo { };

exodus = callPackage ../applications/blockchains/exodus { };

freicoin = callPackage ../applications/blockchains/freicoin.nix { boost = boost155; };
Expand Down

0 comments on commit e04964d

Please sign in to comment.