homebrew-core/Formula/sampler.rb

30 lines
940 B
Ruby

class Sampler < Formula
desc "Tool for shell commands execution, visualization and alerting"
homepage "https://sampler.dev"
url "https://github.com/sqshq/sampler/archive/v1.1.0.tar.gz"
sha256 "8b60bc5c0f94ddd4291abc2b89c1792da424fa590733932871f7b5e07e7587f9"
license "GPL-3.0"
bottle do
cellar :any_skip_relocation
sha256 "3dd48615b2dd049e17d2635df81cd8f312e004d2e9c50a0d68d7f4f40516e61c" => :big_sur
sha256 "1b4a4c841691d8a6ca9ea4649092684511bff1f60d7d80e364db13115f2e6399" => :catalina
sha256 "b50240b4f199da6d55d4645dfd3d2b0fc3406d20a504ba9af4d3b545196438b1" => :mojave
sha256 "163b575ff369f264605bdc69c0fc838e44e706f8b6c527bb343cbfb18a9b1fdc" => :high_sierra
end
depends_on "go" => :build
on_linux do
depends_on "alsa-lib"
end
def install
system "go", "build", "-o", bin/"sampler"
end
test do
assert_includes "specify config file", shell_output("#{bin}/sampler")
end
end