Add Homebrew formula for Markitdown
This commit is contained in:
parent
81e3f24acd
commit
5b4dcafb35
1 changed files with 16 additions and 0 deletions
16
markitdown.rb
Normal file
16
markitdown.rb
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
class Markitdown < Formula
|
||||
desc "Markitdown: A tool for converting markdown documents"
|
||||
homepage "https://github.com/PratibhaK11/markitdown"
|
||||
url "https://github.com/PratibhaK11/markitdown/releases/download/v1.0.0-alpha/markitdown-1.0.0.tar.gz"
|
||||
sha256 "9f81ed1a9011545b4d4ad1318c61b0ab3c46230114036f0aed151c2b0e283c57" # checksum
|
||||
|
||||
depends_on "python@3.9" # required Python version
|
||||
|
||||
def install
|
||||
bin.install "dist/__main__" => "markitdown" # Installing the binary
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/markitdown", "--help"
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue