diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2020-05-27 11:34:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 11:34:24 +0200 |
commit | 8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a (patch) | |
tree | 5a0334fb8397f43bbf030ab6857ff5130f3ae716 /pkgs/applications/blockchains | |
parent | 7fe32a614abfd6d6afacb27d8e7c99fb6f9e41b7 (diff) | |
parent | ffd6460df94b4c945055423de53c6546bc3a43ae (diff) | |
download | nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.tar nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.tar.gz nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.tar.bz2 nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.tar.lz nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.tar.xz nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.tar.zst nixpkgs-8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a.zip |
Merge pull request #88881 from mmahut/ergo
ergo: init at 3.2.5
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/ergo/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/ergo/default.nix b/pkgs/applications/blockchains/ergo/default.nix new file mode 100644 index 00000000000..bae7326c255 --- /dev/null +++ b/pkgs/applications/blockchains/ergo/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, makeWrapper, jre }: + +stdenv.mkDerivation rec { + pname = "ergo"; + version = "3.2.5"; + + src = fetchurl { + url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar"; + sha256 = "0vaq6cqz03ps0fg3rvk298jnbf8mazvmyfcj7zsf1cgw41xdjjcf"; + }; + + 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 ]; + }; +} |