jackett 0.22.1382
[Homebrew/homebrew-core.git] / Formula / b / bossa.rb
blob0e0fde038e23d8782cbcddfdceceb9eda853d8d2
1 class Bossa < Formula
2   desc "Flash utility for Atmel SAM microcontrollers"
3   homepage "https://github.com/shumatech/BOSSA"
4   url "https://github.com/shumatech/BOSSA/archive/refs/tags/1.9.1.tar.gz"
5   sha256 "ca650455dfa36cbd029010167347525bea424717a71a691381c0811591c93e72"
6   license "BSD-3-Clause"
7   head "https://github.com/shumatech/BOSSA.git", branch: "master"
9   bottle do
10     sha256 cellar: :any_skip_relocation, arm64_sequoia:  "72aece3647237751f8f18d1cc9af56dfecbc84652321ef43137eec8c47fd7922"
11     sha256 cellar: :any_skip_relocation, arm64_sonoma:   "d7ca492e595832676559c6b646e3d702ddd46dcb0610bf8d03c225b49c6d4624"
12     sha256 cellar: :any_skip_relocation, arm64_ventura:  "2158f7a97081f5f80316164003c9081332974aef077205116c33a4aecd374baa"
13     sha256 cellar: :any_skip_relocation, arm64_monterey: "13a2c2eb937b91821a9f6f353219287ef55b464b9cf7c1b856d886fb1497f0eb"
14     sha256 cellar: :any_skip_relocation, arm64_big_sur:  "374d82b1d164b7996887cad910472e9a9e58fc5eecfb8e61271e26059137727a"
15     sha256 cellar: :any_skip_relocation, sonoma:         "e0acbe505207e5941a946aa5578011eb90c34feda27045e6bd311f0f18ea9f8d"
16     sha256 cellar: :any_skip_relocation, ventura:        "d2c70106f28ae84a178b62a6f028eac65adf61baf48c6de1d2992796403eb6a6"
17     sha256 cellar: :any_skip_relocation, monterey:       "0cc5c9f5080c2066dde8ee2c4c9fe8d7d6fc251a89bc975e2fde2fc99399e10a"
18     sha256 cellar: :any_skip_relocation, big_sur:        "aa5fe3c981a324abb67a667253e2cfae1479b832e8a2d53ba615d99d3e0f0002"
19     sha256 cellar: :any_skip_relocation, x86_64_linux:   "c0621b561b15f00b336c30d0d91ab52ab59b8b6fab7c1a9fccb4faa287f65b52"
20   end
22   on_linux do
23     depends_on "readline"
24   end
26   def install
27     system "make", "bin/bossac", "bin/bossash"
28     bin.install "bin/bossac"
29     bin.install "bin/bossash"
30   end
32   test do
33     expected_output = /^No device found.*/
34     assert_match expected_output, shell_output("#{bin}/bossac -i 2>&1", 1)
35   end
36 end