grin-wallet 2.1.0 (new formula)

Closes #45833.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
Quentin Le Sceller 2019-10-29 15:15:42 -04:00 committed by Rui Chen
parent cad8f1519c
commit e5866bdda6

17
Formula/grin-wallet.rb Normal file
View file

@ -0,0 +1,17 @@
class GrinWallet < Formula
desc "Official wallet for the cryptocurrency Grin"
homepage "https://grin.mw"
url "https://github.com/mimblewimble/grin-wallet/archive/v2.1.0.tar.gz"
sha256 "649664af929fc2afd42e52597ad675d3e1856c95e0cda60ef8d4c478abe5c01c"
depends_on "rust" => :build
def install
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
test do
system "yes | #{bin}/grin-wallet init"
assert_predicate testpath/".grin/main/wallet_data/wallet.seed", :exist?
end
end