aboutsummaryrefslogtreecommitdiff
path: root/Formula/wmap-1.0.0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Formula/wmap-1.0.0.rb')
-rw-r--r--Formula/wmap-1.0.0.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Formula/wmap-1.0.0.rb b/Formula/wmap-1.0.0.rb
new file mode 100644
index 0000000..b354edb
--- /dev/null
+++ b/Formula/wmap-1.0.0.rb
@@ -0,0 +1,21 @@
+class Wmap < Formula
+ desc "Command line tool to generate wardley map images from wmap files."
+ homepage "https://map.tranquil.systems/cli"
+ if Hardware::CPU.arm?
+ url "https://build.r.bdr.sh/wmap/wmap-aarch64-apple-darwin-1.0.0.tar.gz"
+ sha256 "306023c12b226471e9e8aac602712631f41a131d83db7e996b4aa02f29e44e05"
+ else
+ url "https://build.r.bdr.sh/wmap/wmap-x86_64-apple-darwin-1.0.0.tar.gz"
+ sha256 "6a37c998337fe05851c57dff21fb5afc845482ec7b533f545fa67cc847ce9bfa"
+ end
+ license "AGPL-3.0-or-later"
+ head "https://git.sr.ht/~rbdr/wmap", branch: "main"
+
+ def install
+ bin.install "wmap"
+ end
+
+ test do
+ assert_match "1.0.0", shell_output("#{bin}/wmap -v")
+ end
+end