grin-wallet 2.1.0 (new formula)
Closes #45833. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
cad8f1519c
commit
e5866bdda6
1 changed files with 17 additions and 0 deletions
17
Formula/grin-wallet.rb
Normal file
17
Formula/grin-wallet.rb
Normal 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
|
Loading…
Reference in a new issue