Skip to content

Commit

Permalink
okapi 1.1.0 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarkovski authored Nov 9, 2021
1 parent 0ca25cf commit 4e9f16c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Formula/okapi.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class Okapi < Formula
desc "Collection of tools that support workflows for authentic data and identity management."
homepage "https://github.com/trinsic-id/okapi/"
url "https://github.com/trinsic-id/okapi/releases/download/v1.1.0/okapi-1.1.0.tar.gz"
sha256 "3fcdfa1f513b934981812c917b2053dbb4acca955f98e94ee717855e3300523d"
license "Apache-2.0"

depends_on "rust"

def install
system "cargo", "build", "--release"

if OS.linux?
lib.install "target/release/libokapi.so"
else
lib.install "target/release/libokapi.dylib"
end
include.install "include/okapi.h"
end

test do
# add better test
assert_equal "42", "42"
end
end

0 comments on commit 4e9f16c

Please sign in to comment.