aboutsummaryrefslogtreecommitdiff
path: root/Formula/fallible.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Formula/fallible.rb')
-rw-r--r--Formula/fallible.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Formula/fallible.rb b/Formula/fallible.rb
new file mode 100644
index 0000000..53d2177
--- /dev/null
+++ b/Formula/fallible.rb
@@ -0,0 +1,16 @@
+class Fallible < Formula
+ desc 'Fault injection library for stress-testing failure scenarios'
+ homepage 'https://fallible.euandreh.xyz'
+ url 'https://git.euandreh.xyz/fallible/snapshot/fallible-66a2ee41beaaffb9a9a6b521837c0967528845fa.tar.gz'
+ sha256 'da5c6e7ef4de276424b28095fde09b029af0b9eccaf91e8ab477bf2bc8b1b95e'
+ license 'AGPL-3.0-or-later'
+
+ depends_on 'valgrind' => :build
+
+ def install
+ system './configure', "--prefix=#{prefix}"
+ system 'make'
+ system 'make', 'check'
+ system 'make', 'install'
+ end
+end