Merge pull request #207020 from Homebrew/bump-qpdf-11.10.0
[Homebrew/homebrew-core.git] / Formula / e / eva.rb
blob49300390083208cdb6df5a7d5ad8a255d4f48017
1 class Eva < Formula
2   desc "Calculator REPL, similar to bc(1)"
3   homepage "https://github.com/oppiliappan/eva/"
4   url "https://github.com/oppiliappan/eva/archive/refs/tags/v0.3.1.tar.gz"
5   sha256 "d6a6eb8e0d46de1fea9bd00c361bd7955fcd7cc8f3310b786aad48c1dce7b3f7"
6   license "MIT"
7   head "https://github.com/oppiliappan/eva.git", branch: "master"
9   bottle do
10     sha256 cellar: :any_skip_relocation, arm64_sequoia:  "7aab4759863c03125626a08fca970c20fd337228da45f2e77a6f39040306ca1e"
11     sha256 cellar: :any_skip_relocation, arm64_sonoma:   "6d968de7427eee52b9958b820535eecdbb11c1fba0f8eb1c9e0623468b813255"
12     sha256 cellar: :any_skip_relocation, arm64_ventura:  "244898ede20bf08ca17f739fd850699b99e8940a010007f8084d2ad3e6b6c12e"
13     sha256 cellar: :any_skip_relocation, arm64_monterey: "9d600eb8e8e278101a902807941e3417a5508bb90352ddaadbab09b889b6499f"
14     sha256 cellar: :any_skip_relocation, arm64_big_sur:  "967cc1144edab1e5632c3105e84b588121dd7f211c056ffb9795ccf35fba2449"
15     sha256 cellar: :any_skip_relocation, sonoma:         "e75f9951f13b9b27818f838b59c870c2eea5ce55a827926c6da79b2942ac84a5"
16     sha256 cellar: :any_skip_relocation, ventura:        "ad7e7d66530d8aa57fb9d219e069faebf84ac9357d7c45d937547efe25c267d4"
17     sha256 cellar: :any_skip_relocation, monterey:       "16b3a5a30dc5aeb1a91c1ff219924f758df52eb763c33dd713a54487d0e5a309"
18     sha256 cellar: :any_skip_relocation, big_sur:        "97fc21bb2c1e5e7094c8b1f5e073271845b3d54928a4a41c15063aeb6a102cef"
19     sha256 cellar: :any_skip_relocation, catalina:       "a2a2e8826e0a8a23815c811fb034c7c315b0df0a83790887c6d57f6f62df08e6"
20     sha256 cellar: :any_skip_relocation, x86_64_linux:   "b35ce00d707f0e3f494d1e4708ae37653472874166b3b7d8dec6bd7972085459"
21   end
23   depends_on "rust" => :build
25   def install
26     system "cargo", "install", *std_cargo_args
27   end
29   test do
30     assert_equal "6.0000000000", shell_output("#{bin}/eva '2 + abs(-4)'").strip
31   end
32 end