├── Aliases
├── leg
├── qt5
├── 0mq
├── ant@1.10
├── az
├── bzr
├── clasp
├── fastcgi
├── gcc@9
├── ghc@8.6
├── git-tig
├── gmt@5
├── gnupg2
├── go@1.12
├── golang
├── google-go
├── gpg
├── gpg2
├── gtef
├── gtk
├── hg
├── ipsum
├── jocr
├── libgc
├── libgd
├── libjpeg
├── libjpg
├── libmad
├── liboggz
├── llvm@8
├── lua@5.3
├── mat
├── mp4box
├── myrepos
├── node.js
├── node@12
├── nodejs
├── npm
├── nvim
├── o-caml
├── osh
├── pcre1
├── php@7.3
├── pyqt5
├── pzstd
├── rg
├── sbt@1
├── slang
├── swig@4
├── v8@7.5
├── vim@8.1
├── zmq
├── 2ping
├── 4store
├── 64tass
├── alut
├── antlr@4
├── apache-fop
├── apache2
├── bison@3.4
├── bjam
├── boehmgc
├── boost@1.70
├── cowthink
├── cpanm
├── csvfix
├── db
├── dejagnu
├── dupeseek
├── erlang@22
├── faas
├── ffmpeg@4
├── findbugs
├── fishfish
├── gearmand
├── gnupg@2.2
├── gnuplot@5
├── gpg1
├── gradle@5
├── gringo
├── gs
├── hashdeep
├── hdf5@1.10
├── htop-osx
├── hudson
├── ipython@7
├── kibana@6.8
├── lcms
├── lcms2
├── libgeoip
├── libmcrypt
├── libnettle
├── libtag
├── libtasn
├── lukemftp
├── lukemftpd
├── maven@3.6
├── mdocml
├── mobile-shell
├── mongo
├── mysql@8.0
├── nsis
├── ocio
├── opencv@4
├── openmpi
├── openocd
├── perl6
├── perl@5.30
├── pgrep
├── pipeviewer
├── pkill
├── python2
├── python3
├── python@3
├── redis@5.0
├── rtl-sdr
├── ruby@2.6
├── saltstack
├── scala@2.13
├── solr@8.1
├── sqlite3
├── style
├── svn
├── swig@4.0
├── tachyon
├── tomcat@9
├── transfig
├── twolame
├── unix2dos
├── wxwidgets
├── 0install
├── actor-framework
├── ag
├── ansible@2.8
├── apache-httpd
├── autoconf@2.69
├── aws-as
├── aws-mon
├── bigdata
├── bn
├── boost-jam
├── bs
├── bx
├── camlistore
├── crystal-lang
├── ctags-exuberant
├── fluidsynth
├── freetds@1.1
├── gtypist
├── kubectl
├── latexila
├── letsencrypt
├── libcryptopp
├── libgme
├── libqrencode
├── littlecms
├── mariadb@10.4
├── mathcomp
├── mc
├── mediainfo
├── mongo-c
├── mongodb@4.0
├── newsbeuter
├── openssl@1.0
├── pkgconfig
├── postgres
├── protobuf@3.7
├── recipes
├── rustup
├── ssreflect
├── stack
├── supervisord
├── thrift@0.12
├── tinyfugue
├── tutum
├── twemproxy
├── vid.stab
├── xmlsec1
├── yubico-pam
├── apache-activemq
├── berkeley-db@18
├── boot2docker
├── cassandra@3.11
├── gnu-scientific-library
├── imagemagick@7
├── iwyu
├── libjpeg-turbo
├── liblabjackusb
├── libmongoc
├── libtcnative
├── postgresql@11
├── pt
├── speedtest_cli
├── sphinxbase
├── stash-cli
├── subversion@1.12
├── suitesparse
├── tensorflow
├── terraform@0.12
├── awsebcli
├── boost-python@1.70
├── boot2docker-cli
├── elasticsearch@6.8
├── libmongoclient
├── openscenegraph
├── pocketsphinx
├── sem
├── team-explorer-everywhere
├── usb-multiplex-daemon
├── yubikey-personalization
├── zsh-completion
├── bash-completion@1
├── gitlab-ci-multi-runner
├── gnome-icon-theme
├── percona-server@8.0
└── swagger-codegen@3
├── .github
├── main.workflow
├── ISSUE_TEMPLATE.md
├── PULL_REQUEST_TEMPLATE.md
└── support.yml
├── Formula
├── spark.rb
├── dyld-headers.rb
├── coda-cli.rb
├── gimme.rb
├── ievms.rb
├── easy-git.rb
├── fff.rb
├── git-game.rb
├── shellshare.rb
├── brew-pip.rb
├── shunit2.rb
├── swaks.rb
├── burl.rb
├── gdub.rb
├── xcv.rb
├── modgit.rb
├── ip_relay.rb
├── mussh.rb
├── vassh.rb
├── finatra.rb
├── git-open.rb
├── ipcalc.rb
├── hr.rb
├── matlab2tikz.rb
├── memcache-top.rb
├── saxon-b.rb
├── xmlformat.rb
├── git-fresh.rb
├── mozilla-addon-sdk.rb
├── repl.rb
├── tkdiff.rb
├── webkit2png.rb
├── dockutil.rb
├── format-udf.rb
├── virtualhost.sh.rb
├── boot-clj.rb
├── httpstat.rb
├── ivy.rb
├── selecta.rb
├── term.rb
├── docker-clean.rb
├── epubcheck.rb
├── gpcslots2.rb
├── rmate.rb
├── wifi-password.rb
├── ffind.rb
├── putmail-queue.rb
├── browser.rb
├── nave.rb
├── shpotify.rb
├── vfuse.rb
├── xcenv.rb
├── ppss.rb
├── wgetpaste.rb
├── docker-machine-nfs.rb
├── fasd.rb
├── github-keygen.rb
├── growly.rb
├── rbenv-whatis.rb
├── sec.rb
├── lorem.rb
├── cssembed.rb
├── gcutil.rb
├── modman.rb
├── maven-shell.rb
├── sisc-scheme.rb
├── brew-gem.rb
├── exenv.rb
├── bar.rb
├── brag.rb
├── psgrep.rb
├── tccutil.rb
├── zinc.rb
├── apm-bash-completion.rb
├── cap-completion.rb
├── minimesos.rb
├── speedread.rb
├── wp-cli.rb
├── djvu2pdf.rb
├── keychain.rb
├── q.rb
├── rake-completion.rb
├── repo.rb
├── stormssh-completion.rb
├── cpanminus.rb
├── jbake.rb
├── slugify.rb
├── vcsh.rb
├── gifcap.rb
├── goto.rb
├── hg-fast-export.rb
├── kommit.rb
├── rbenv-use.rb
├── titlecase.rb
├── betty.rb
├── doubledown.rb
├── putmail.rb
├── rbenv-gemset.rb
├── sjk.rb
├── yarn-completion.rb
├── homesick-completion.rb
├── linklint.rb
├── rbenv-communal-gems.rb
├── rest-shell.rb
├── timedog.rb
├── bzr-extmerge.rb
├── iproute2mac.rb
├── ansiweather.rb
├── imgur-screenshot.rb
├── launch4j.rb
├── objc-run.rb
├── tfenv.rb
├── zzz.rb
├── gcviewer.rb
├── gem-completion.rb
├── kerl.rb
├── orc-tools.rb
├── pip-completion.rb
├── rbenv-aliases.rb
├── rsync-time-backup.rb
├── xtitle.rb
├── denominator.rb
├── git-gerrit.rb
├── jsawk.rb
├── ruby-completion.rb
├── ssh-audit.rb
├── wp-cli-completion.rb
├── avro-tools.rb
├── brew-cask-completion.rb
├── rbenv-bundler.rb
├── spring-roo.rb
├── bfg.rb
├── open-completion.rb
├── rails-completion.rb
├── ditaa.rb
├── pyenv-which-ext.rb
├── rbenv-binstubs.rb
├── rbenv-bundle-exec.rb
├── stanford-parser.rb
├── bundler-completion.rb
├── hubflow.rb
├── jpegrescan.rb
├── pyenv-pip-migrate.rb
├── rbenv-vars.rb
├── storm.rb
├── aws-keychain.rb
├── launchctl-completion.rb
├── mix-completion.rb
├── node-build.rb
├── rbenv-ctags.rb
├── stanford-ner.rb
├── csshx.rb
├── elixir-build.rb
├── historian.rb
├── jvmtop.rb
├── maven-completion.rb
├── smartypants.rb
├── vagrant-completion.rb
├── briss.rb
├── django-completion.rb
├── flyway.rb
├── gifify.rb
├── packer-completion.rb
├── ranger.rb
├── t-completion.rb
├── apache-opennlp.rb
├── deployer.rb
├── pax-runner.rb
├── v.rb
├── wtf.rb
├── sonar-completion.rb
├── speedtest-cli.rb
├── spring-completion.rb
├── duply.rb
├── icdiff.rb
├── mysql-search-replace.rb
├── oysttyer.rb
├── pgtoolkit.rb
├── shml.rb
├── boom-completion.rb
├── clojure.rb
├── jooby-bootstrap.rb
├── psql2csv.rb
├── tailor.rb
├── eless.rb
├── grakn.rb
├── grunt-completion.rb
├── spring-loaded.rb
├── txt2tags.rb
├── pyenv-virtualenvwrapper.rb
├── ruby-build.rb
├── cadubi.rb
├── dasht.rb
├── nuget.rb
├── skinny.rb
├── trace2html.rb
├── zsh-lovers.rb
├── distribution.rb
├── ktlint.rb
├── nifi.rb
├── pidcat.rb
├── cimg.rb
├── digdag.rb
├── narwhal.rb
├── negfix8.rb
├── gradle.rb
├── griffon.rb
├── git-quick-stats.rb
├── rbenv-bundler-ruby-version.rb
├── schema-evolution-manager.rb
├── jboss-forge.rb
├── pegtl.rb
├── pyenv-ccache.rb
├── rhino.rb
├── titan-server.rb
├── frege-repl.rb
├── jmxterm.rb
├── micronaut.rb
├── sshrc.rb
├── ckan.rb
├── kitchen-completion.rb
├── ammonite-repl.rb
├── ansible-cmdb.rb
├── basex.rb
├── idnits.rb
├── kumo.rb
├── naturaldocs.rb
├── tmux-xpanes.rb
├── fpp.rb
├── gradle-completion.rb
├── grails.rb
├── jflex.rb
├── xmlsh.rb
├── bats-core.rb
├── di.rb
├── galen.rb
├── gibo.rb
├── gmail-backup.rb
├── brew-php-switcher.rb
├── calabash.rb
├── png++.rb
├── walkmod.rb
├── xmlsectool.rb
├── serveit.rb
└── amdatu-bootstrap.rb
└── README.md
/Aliases/leg:
--------------------------------------------------------------------------------
1 | ../Formula/peg.rb
--------------------------------------------------------------------------------
/Aliases/qt5:
--------------------------------------------------------------------------------
1 | ../Formula/qt.rb
--------------------------------------------------------------------------------
/Aliases/0mq:
--------------------------------------------------------------------------------
1 | ../Formula/zeromq.rb
--------------------------------------------------------------------------------
/Aliases/ant@1.10:
--------------------------------------------------------------------------------
1 | ../Formula/ant.rb
--------------------------------------------------------------------------------
/Aliases/az:
--------------------------------------------------------------------------------
1 | ../Formula/azure-cli.rb
--------------------------------------------------------------------------------
/Aliases/bzr:
--------------------------------------------------------------------------------
1 | ../Formula/bazaar.rb
--------------------------------------------------------------------------------
/Aliases/clasp:
--------------------------------------------------------------------------------
1 | ../Formula/clingo.rb
--------------------------------------------------------------------------------
/Aliases/fastcgi:
--------------------------------------------------------------------------------
1 | ../Formula/fcgi.rb
--------------------------------------------------------------------------------
/Aliases/gcc@9:
--------------------------------------------------------------------------------
1 | ../Formula/gcc.rb
--------------------------------------------------------------------------------
/Aliases/ghc@8.6:
--------------------------------------------------------------------------------
1 | ../Formula/ghc.rb
--------------------------------------------------------------------------------
/Aliases/git-tig:
--------------------------------------------------------------------------------
1 | ../Formula/tig.rb
--------------------------------------------------------------------------------
/Aliases/gmt@5:
--------------------------------------------------------------------------------
1 | ../Formula/gmt.rb
--------------------------------------------------------------------------------
/Aliases/gnupg2:
--------------------------------------------------------------------------------
1 | ../Formula/gnupg.rb
--------------------------------------------------------------------------------
/Aliases/go@1.12:
--------------------------------------------------------------------------------
1 | ../Formula/go.rb
--------------------------------------------------------------------------------
/Aliases/golang:
--------------------------------------------------------------------------------
1 | ../Formula/go.rb
--------------------------------------------------------------------------------
/Aliases/google-go:
--------------------------------------------------------------------------------
1 | ../Formula/go.rb
--------------------------------------------------------------------------------
/Aliases/gpg:
--------------------------------------------------------------------------------
1 | ../Formula/gnupg.rb
--------------------------------------------------------------------------------
/Aliases/gpg2:
--------------------------------------------------------------------------------
1 | ../Formula/gnupg.rb
--------------------------------------------------------------------------------
/Aliases/gtef:
--------------------------------------------------------------------------------
1 | ../Formula/tepl.rb
--------------------------------------------------------------------------------
/Aliases/gtk:
--------------------------------------------------------------------------------
1 | ../Formula/gtk+.rb
--------------------------------------------------------------------------------
/Aliases/hg:
--------------------------------------------------------------------------------
1 | ../Formula/mercurial.rb
--------------------------------------------------------------------------------
/Aliases/ipsum:
--------------------------------------------------------------------------------
1 | ../Formula/lorem.rb
--------------------------------------------------------------------------------
/Aliases/jocr:
--------------------------------------------------------------------------------
1 | ../Formula/gocr.rb
--------------------------------------------------------------------------------
/Aliases/libgc:
--------------------------------------------------------------------------------
1 | ../Formula/bdw-gc.rb
--------------------------------------------------------------------------------
/Aliases/libgd:
--------------------------------------------------------------------------------
1 | ../Formula/gd.rb
--------------------------------------------------------------------------------
/Aliases/libjpeg:
--------------------------------------------------------------------------------
1 | ../Formula/jpeg.rb
--------------------------------------------------------------------------------
/Aliases/libjpg:
--------------------------------------------------------------------------------
1 | ../Formula/jpeg.rb
--------------------------------------------------------------------------------
/Aliases/libmad:
--------------------------------------------------------------------------------
1 | ../Formula/mad.rb
--------------------------------------------------------------------------------
/Aliases/liboggz:
--------------------------------------------------------------------------------
1 | ../Formula/oggz.rb
--------------------------------------------------------------------------------
/Aliases/llvm@8:
--------------------------------------------------------------------------------
1 | ../Formula/llvm.rb
--------------------------------------------------------------------------------
/Aliases/lua@5.3:
--------------------------------------------------------------------------------
1 | ../Formula/lua.rb
--------------------------------------------------------------------------------
/Aliases/mat:
--------------------------------------------------------------------------------
1 | ../Formula/mat2.rb
--------------------------------------------------------------------------------
/Aliases/mp4box:
--------------------------------------------------------------------------------
1 | ../Formula/gpac.rb
--------------------------------------------------------------------------------
/Aliases/myrepos:
--------------------------------------------------------------------------------
1 | ../Formula/mr.rb
--------------------------------------------------------------------------------
/Aliases/node.js:
--------------------------------------------------------------------------------
1 | ../Formula/node.rb
--------------------------------------------------------------------------------
/Aliases/node@12:
--------------------------------------------------------------------------------
1 | ../Formula/node.rb
--------------------------------------------------------------------------------
/Aliases/nodejs:
--------------------------------------------------------------------------------
1 | ../Formula/node.rb
--------------------------------------------------------------------------------
/Aliases/npm:
--------------------------------------------------------------------------------
1 | ../Formula/node.rb
--------------------------------------------------------------------------------
/Aliases/nvim:
--------------------------------------------------------------------------------
1 | ../Formula/neovim.rb
--------------------------------------------------------------------------------
/Aliases/o-caml:
--------------------------------------------------------------------------------
1 | ../Formula/ocaml.rb
--------------------------------------------------------------------------------
/Aliases/osh:
--------------------------------------------------------------------------------
1 | ../Formula/etsh.rb
--------------------------------------------------------------------------------
/Aliases/pcre1:
--------------------------------------------------------------------------------
1 | ../Formula/pcre.rb
--------------------------------------------------------------------------------
/Aliases/php@7.3:
--------------------------------------------------------------------------------
1 | ../Formula/php.rb
--------------------------------------------------------------------------------
/Aliases/pyqt5:
--------------------------------------------------------------------------------
1 | ../Formula/pyqt.rb
--------------------------------------------------------------------------------
/Aliases/pzstd:
--------------------------------------------------------------------------------
1 | ../Formula/zstd.rb
--------------------------------------------------------------------------------
/Aliases/rg:
--------------------------------------------------------------------------------
1 | ../Formula/ripgrep.rb
--------------------------------------------------------------------------------
/Aliases/sbt@1:
--------------------------------------------------------------------------------
1 | ../Formula/sbt.rb
--------------------------------------------------------------------------------
/Aliases/slang:
--------------------------------------------------------------------------------
1 | ../Formula/s-lang.rb
--------------------------------------------------------------------------------
/Aliases/swig@4:
--------------------------------------------------------------------------------
1 | ../Formula/swig.rb
--------------------------------------------------------------------------------
/Aliases/v8@7.5:
--------------------------------------------------------------------------------
1 | ../Formula/v8.rb
--------------------------------------------------------------------------------
/Aliases/vim@8.1:
--------------------------------------------------------------------------------
1 | ../Formula/vim.rb
--------------------------------------------------------------------------------
/Aliases/zmq:
--------------------------------------------------------------------------------
1 | ../Formula/zeromq.rb
--------------------------------------------------------------------------------
/Aliases/2ping:
--------------------------------------------------------------------------------
1 | ../Formula/twoping.rb
--------------------------------------------------------------------------------
/Aliases/4store:
--------------------------------------------------------------------------------
1 | ../Formula/fourstore.rb
--------------------------------------------------------------------------------
/Aliases/64tass:
--------------------------------------------------------------------------------
1 | ../Formula/tass64.rb
--------------------------------------------------------------------------------
/Aliases/alut:
--------------------------------------------------------------------------------
1 | ../Formula/freealut.rb
--------------------------------------------------------------------------------
/Aliases/antlr@4:
--------------------------------------------------------------------------------
1 | ../Formula/antlr.rb
--------------------------------------------------------------------------------
/Aliases/apache-fop:
--------------------------------------------------------------------------------
1 | ../Formula/fop.rb
--------------------------------------------------------------------------------
/Aliases/apache2:
--------------------------------------------------------------------------------
1 | ../Formula/httpd.rb
--------------------------------------------------------------------------------
/Aliases/bison@3.4:
--------------------------------------------------------------------------------
1 | ../Formula/bison.rb
--------------------------------------------------------------------------------
/Aliases/bjam:
--------------------------------------------------------------------------------
1 | ../Formula/boost-build.rb
--------------------------------------------------------------------------------
/Aliases/boehmgc:
--------------------------------------------------------------------------------
1 | ../Formula/bdw-gc.rb
--------------------------------------------------------------------------------
/Aliases/boost@1.70:
--------------------------------------------------------------------------------
1 | ../Formula/boost.rb
--------------------------------------------------------------------------------
/Aliases/cowthink:
--------------------------------------------------------------------------------
1 | ../Formula/cowsay.rb
--------------------------------------------------------------------------------
/Aliases/cpanm:
--------------------------------------------------------------------------------
1 | ../Formula/cpanminus.rb
--------------------------------------------------------------------------------
/Aliases/csvfix:
--------------------------------------------------------------------------------
1 | ../Formula/csv-fix.rb
--------------------------------------------------------------------------------
/Aliases/db:
--------------------------------------------------------------------------------
1 | ../Formula/berkeley-db.rb
--------------------------------------------------------------------------------
/Aliases/dejagnu:
--------------------------------------------------------------------------------
1 | ../Formula/deja-gnu.rb
--------------------------------------------------------------------------------
/Aliases/dupeseek:
--------------------------------------------------------------------------------
1 | ../Formula/dupseek.rb
--------------------------------------------------------------------------------
/Aliases/erlang@22:
--------------------------------------------------------------------------------
1 | ../Formula/erlang.rb
--------------------------------------------------------------------------------
/Aliases/faas:
--------------------------------------------------------------------------------
1 | ../Formula/faas-cli.rb
--------------------------------------------------------------------------------
/Aliases/ffmpeg@4:
--------------------------------------------------------------------------------
1 | ../Formula/ffmpeg.rb
--------------------------------------------------------------------------------
/Aliases/findbugs:
--------------------------------------------------------------------------------
1 | ../Formula/spotbugs.rb
--------------------------------------------------------------------------------
/Aliases/fishfish:
--------------------------------------------------------------------------------
1 | ../Formula/fish.rb
--------------------------------------------------------------------------------
/Aliases/gearmand:
--------------------------------------------------------------------------------
1 | ../Formula/gearman.rb
--------------------------------------------------------------------------------
/Aliases/gnupg@2.2:
--------------------------------------------------------------------------------
1 | ../Formula/gnupg.rb
--------------------------------------------------------------------------------
/Aliases/gnuplot@5:
--------------------------------------------------------------------------------
1 | ../Formula/gnuplot.rb
--------------------------------------------------------------------------------
/Aliases/gpg1:
--------------------------------------------------------------------------------
1 | ../Formula/gnupg@1.4.rb
--------------------------------------------------------------------------------
/Aliases/gradle@5:
--------------------------------------------------------------------------------
1 | ../Formula/gradle.rb
--------------------------------------------------------------------------------
/Aliases/gringo:
--------------------------------------------------------------------------------
1 | ../Formula/clingo.rb
--------------------------------------------------------------------------------
/Aliases/gs:
--------------------------------------------------------------------------------
1 | ../Formula/ghostscript.rb
--------------------------------------------------------------------------------
/Aliases/hashdeep:
--------------------------------------------------------------------------------
1 | ../Formula/md5deep.rb
--------------------------------------------------------------------------------
/Aliases/hdf5@1.10:
--------------------------------------------------------------------------------
1 | ../Formula/hdf5.rb
--------------------------------------------------------------------------------
/Aliases/htop-osx:
--------------------------------------------------------------------------------
1 | ../Formula/htop.rb
--------------------------------------------------------------------------------
/Aliases/hudson:
--------------------------------------------------------------------------------
1 | ../Formula/jenkins.rb
--------------------------------------------------------------------------------
/Aliases/ipython@7:
--------------------------------------------------------------------------------
1 | ../Formula/ipython.rb
--------------------------------------------------------------------------------
/Aliases/kibana@6.8:
--------------------------------------------------------------------------------
1 | ../Formula/kibana.rb
--------------------------------------------------------------------------------
/Aliases/lcms:
--------------------------------------------------------------------------------
1 | ../Formula/little-cms.rb
--------------------------------------------------------------------------------
/Aliases/lcms2:
--------------------------------------------------------------------------------
1 | ../Formula/little-cms2.rb
--------------------------------------------------------------------------------
/Aliases/libgeoip:
--------------------------------------------------------------------------------
1 | ../Formula/geoip.rb
--------------------------------------------------------------------------------
/Aliases/libmcrypt:
--------------------------------------------------------------------------------
1 | ../Formula/mcrypt.rb
--------------------------------------------------------------------------------
/Aliases/libnettle:
--------------------------------------------------------------------------------
1 | ../Formula/nettle.rb
--------------------------------------------------------------------------------
/Aliases/libtag:
--------------------------------------------------------------------------------
1 | ../Formula/taglib.rb
--------------------------------------------------------------------------------
/Aliases/libtasn:
--------------------------------------------------------------------------------
1 | ../Formula/libtasn1.rb
--------------------------------------------------------------------------------
/Aliases/lukemftp:
--------------------------------------------------------------------------------
1 | ../Formula/tnftp.rb
--------------------------------------------------------------------------------
/Aliases/lukemftpd:
--------------------------------------------------------------------------------
1 | ../Formula/tnftpd.rb
--------------------------------------------------------------------------------
/Aliases/maven@3.6:
--------------------------------------------------------------------------------
1 | ../Formula/maven.rb
--------------------------------------------------------------------------------
/Aliases/mdocml:
--------------------------------------------------------------------------------
1 | ../Formula/mandoc.rb
--------------------------------------------------------------------------------
/Aliases/mobile-shell:
--------------------------------------------------------------------------------
1 | ../Formula/mosh.rb
--------------------------------------------------------------------------------
/Aliases/mongo:
--------------------------------------------------------------------------------
1 | ../Formula/mongodb.rb
--------------------------------------------------------------------------------
/Aliases/mysql@8.0:
--------------------------------------------------------------------------------
1 | ../Formula/mysql.rb
--------------------------------------------------------------------------------
/Aliases/nsis:
--------------------------------------------------------------------------------
1 | ../Formula/makensis.rb
--------------------------------------------------------------------------------
/Aliases/ocio:
--------------------------------------------------------------------------------
1 | ../Formula/opencolorio.rb
--------------------------------------------------------------------------------
/Aliases/opencv@4:
--------------------------------------------------------------------------------
1 | ../Formula/opencv.rb
--------------------------------------------------------------------------------
/Aliases/openmpi:
--------------------------------------------------------------------------------
1 | ../Formula/open-mpi.rb
--------------------------------------------------------------------------------
/Aliases/openocd:
--------------------------------------------------------------------------------
1 | ../Formula/open-ocd.rb
--------------------------------------------------------------------------------
/Aliases/perl6:
--------------------------------------------------------------------------------
1 | ../Formula/rakudo-star.rb
--------------------------------------------------------------------------------
/Aliases/perl@5.30:
--------------------------------------------------------------------------------
1 | ../Formula/perl.rb
--------------------------------------------------------------------------------
/Aliases/pgrep:
--------------------------------------------------------------------------------
1 | ../Formula/proctools.rb
--------------------------------------------------------------------------------
/Aliases/pipeviewer:
--------------------------------------------------------------------------------
1 | ../Formula/pv.rb
--------------------------------------------------------------------------------
/Aliases/pkill:
--------------------------------------------------------------------------------
1 | ../Formula/proctools.rb
--------------------------------------------------------------------------------
/Aliases/python2:
--------------------------------------------------------------------------------
1 | ../Formula/python@2.rb
--------------------------------------------------------------------------------
/Aliases/python3:
--------------------------------------------------------------------------------
1 | ../Formula/python.rb
--------------------------------------------------------------------------------
/Aliases/python@3:
--------------------------------------------------------------------------------
1 | ../Formula/python.rb
--------------------------------------------------------------------------------
/Aliases/redis@5.0:
--------------------------------------------------------------------------------
1 | ../Formula/redis.rb
--------------------------------------------------------------------------------
/Aliases/rtl-sdr:
--------------------------------------------------------------------------------
1 | ../Formula/librtlsdr.rb
--------------------------------------------------------------------------------
/Aliases/ruby@2.6:
--------------------------------------------------------------------------------
1 | ../Formula/ruby.rb
--------------------------------------------------------------------------------
/Aliases/saltstack:
--------------------------------------------------------------------------------
1 | ../Formula/salt.rb
--------------------------------------------------------------------------------
/Aliases/scala@2.13:
--------------------------------------------------------------------------------
1 | ../Formula/scala.rb
--------------------------------------------------------------------------------
/Aliases/solr@8.1:
--------------------------------------------------------------------------------
1 | ../Formula/solr.rb
--------------------------------------------------------------------------------
/Aliases/sqlite3:
--------------------------------------------------------------------------------
1 | ../Formula/sqlite.rb
--------------------------------------------------------------------------------
/Aliases/style:
--------------------------------------------------------------------------------
1 | ../Formula/diction.rb
--------------------------------------------------------------------------------
/Aliases/svn:
--------------------------------------------------------------------------------
1 | ../Formula/subversion.rb
--------------------------------------------------------------------------------
/Aliases/swig@4.0:
--------------------------------------------------------------------------------
1 | ../Formula/swig.rb
--------------------------------------------------------------------------------
/Aliases/tachyon:
--------------------------------------------------------------------------------
1 | ../Formula/alluxio.rb
--------------------------------------------------------------------------------
/Aliases/tomcat@9:
--------------------------------------------------------------------------------
1 | ../Formula/tomcat.rb
--------------------------------------------------------------------------------
/Aliases/transfig:
--------------------------------------------------------------------------------
1 | ../Formula/fig2dev.rb
--------------------------------------------------------------------------------
/Aliases/twolame:
--------------------------------------------------------------------------------
1 | ../Formula/two-lame.rb
--------------------------------------------------------------------------------
/Aliases/unix2dos:
--------------------------------------------------------------------------------
1 | ../Formula/dos2unix.rb
--------------------------------------------------------------------------------
/Aliases/wxwidgets:
--------------------------------------------------------------------------------
1 | ../Formula/wxmac.rb
--------------------------------------------------------------------------------
/Aliases/0install:
--------------------------------------------------------------------------------
1 | ../Formula/zero-install.rb
--------------------------------------------------------------------------------
/Aliases/actor-framework:
--------------------------------------------------------------------------------
1 | ../Formula/caf.rb
--------------------------------------------------------------------------------
/Aliases/ag:
--------------------------------------------------------------------------------
1 | ../Formula/the_silver_searcher.rb
--------------------------------------------------------------------------------
/Aliases/ansible@2.8:
--------------------------------------------------------------------------------
1 | ../Formula/ansible.rb
--------------------------------------------------------------------------------
/Aliases/apache-httpd:
--------------------------------------------------------------------------------
1 | ../Formula/httpd.rb
--------------------------------------------------------------------------------
/Aliases/autoconf@2.69:
--------------------------------------------------------------------------------
1 | ../Formula/autoconf.rb
--------------------------------------------------------------------------------
/Aliases/aws-as:
--------------------------------------------------------------------------------
1 | ../Formula/auto-scaling.rb
--------------------------------------------------------------------------------
/Aliases/aws-mon:
--------------------------------------------------------------------------------
1 | ../Formula/cloud-watch.rb
--------------------------------------------------------------------------------
/Aliases/bigdata:
--------------------------------------------------------------------------------
1 | ../Formula/blazegraph.rb
--------------------------------------------------------------------------------
/Aliases/bn:
--------------------------------------------------------------------------------
1 | ../Formula/libbitcoin-node.rb
--------------------------------------------------------------------------------
/Aliases/boost-jam:
--------------------------------------------------------------------------------
1 | ../Formula/boost-build.rb
--------------------------------------------------------------------------------
/Aliases/bs:
--------------------------------------------------------------------------------
1 | ../Formula/libbitcoin-server.rb
--------------------------------------------------------------------------------
/Aliases/bx:
--------------------------------------------------------------------------------
1 | ../Formula/libbitcoin-explorer.rb
--------------------------------------------------------------------------------
/Aliases/camlistore:
--------------------------------------------------------------------------------
1 | ../Formula/perkeep.rb
--------------------------------------------------------------------------------
/Aliases/crystal-lang:
--------------------------------------------------------------------------------
1 | ../Formula/crystal.rb
--------------------------------------------------------------------------------
/Aliases/ctags-exuberant:
--------------------------------------------------------------------------------
1 | ../Formula/ctags.rb
--------------------------------------------------------------------------------
/Aliases/fluidsynth:
--------------------------------------------------------------------------------
1 | ../Formula/fluid-synth.rb
--------------------------------------------------------------------------------
/Aliases/freetds@1.1:
--------------------------------------------------------------------------------
1 | ../Formula/freetds.rb
--------------------------------------------------------------------------------
/Aliases/gtypist:
--------------------------------------------------------------------------------
1 | ../Formula/gnu-typist.rb
--------------------------------------------------------------------------------
/Aliases/kubectl:
--------------------------------------------------------------------------------
1 | ../Formula/kubernetes-cli.rb
--------------------------------------------------------------------------------
/Aliases/latexila:
--------------------------------------------------------------------------------
1 | ../Formula/gnome-latex.rb
--------------------------------------------------------------------------------
/Aliases/letsencrypt:
--------------------------------------------------------------------------------
1 | ../Formula/certbot.rb
--------------------------------------------------------------------------------
/Aliases/libcryptopp:
--------------------------------------------------------------------------------
1 | ../Formula/cryptopp.rb
--------------------------------------------------------------------------------
/Aliases/libgme:
--------------------------------------------------------------------------------
1 | ../Formula/game-music-emu.rb
--------------------------------------------------------------------------------
/Aliases/libqrencode:
--------------------------------------------------------------------------------
1 | ../Formula/qrencode.rb
--------------------------------------------------------------------------------
/Aliases/littlecms:
--------------------------------------------------------------------------------
1 | ../Formula/little-cms.rb
--------------------------------------------------------------------------------
/Aliases/mariadb@10.4:
--------------------------------------------------------------------------------
1 | ../Formula/mariadb.rb
--------------------------------------------------------------------------------
/Aliases/mathcomp:
--------------------------------------------------------------------------------
1 | ../Formula/math-comp.rb
--------------------------------------------------------------------------------
/Aliases/mc:
--------------------------------------------------------------------------------
1 | ../Formula/midnight-commander.rb
--------------------------------------------------------------------------------
/Aliases/mediainfo:
--------------------------------------------------------------------------------
1 | ../Formula/media-info.rb
--------------------------------------------------------------------------------
/Aliases/mongo-c:
--------------------------------------------------------------------------------
1 | ../Formula/mongo-c-driver.rb
--------------------------------------------------------------------------------
/Aliases/mongodb@4.0:
--------------------------------------------------------------------------------
1 | ../Formula/mongodb.rb
--------------------------------------------------------------------------------
/Aliases/newsbeuter:
--------------------------------------------------------------------------------
1 | ../Formula/newsboat.rb
--------------------------------------------------------------------------------
/Aliases/openssl@1.0:
--------------------------------------------------------------------------------
1 | ../Formula/openssl.rb
--------------------------------------------------------------------------------
/Aliases/pkgconfig:
--------------------------------------------------------------------------------
1 | ../Formula/pkg-config.rb
--------------------------------------------------------------------------------
/Aliases/postgres:
--------------------------------------------------------------------------------
1 | ../Formula/postgresql.rb
--------------------------------------------------------------------------------
/Aliases/protobuf@3.7:
--------------------------------------------------------------------------------
1 | ../Formula/protobuf.rb
--------------------------------------------------------------------------------
/Aliases/recipes:
--------------------------------------------------------------------------------
1 | ../Formula/gnome-recipes.rb
--------------------------------------------------------------------------------
/Aliases/rustup:
--------------------------------------------------------------------------------
1 | ../Formula/rustup-init.rb
--------------------------------------------------------------------------------
/Aliases/ssreflect:
--------------------------------------------------------------------------------
1 | ../Formula/math-comp.rb
--------------------------------------------------------------------------------
/Aliases/stack:
--------------------------------------------------------------------------------
1 | ../Formula/haskell-stack.rb
--------------------------------------------------------------------------------
/Aliases/supervisord:
--------------------------------------------------------------------------------
1 | ../Formula/supervisor.rb
--------------------------------------------------------------------------------
/Aliases/thrift@0.12:
--------------------------------------------------------------------------------
1 | ../Formula/thrift.rb
--------------------------------------------------------------------------------
/Aliases/tinyfugue:
--------------------------------------------------------------------------------
1 | ../Formula/tiny-fugue.rb
--------------------------------------------------------------------------------
/Aliases/tutum:
--------------------------------------------------------------------------------
1 | ../Formula/docker-cloud.rb
--------------------------------------------------------------------------------
/Aliases/twemproxy:
--------------------------------------------------------------------------------
1 | ../Formula/nutcracker.rb
--------------------------------------------------------------------------------
/Aliases/vid.stab:
--------------------------------------------------------------------------------
1 | ../Formula/libvidstab.rb
--------------------------------------------------------------------------------
/Aliases/xmlsec1:
--------------------------------------------------------------------------------
1 | ../Formula/libxmlsec1.rb
--------------------------------------------------------------------------------
/Aliases/yubico-pam:
--------------------------------------------------------------------------------
1 | ../Formula/pam_yubico.rb
--------------------------------------------------------------------------------
/Aliases/apache-activemq:
--------------------------------------------------------------------------------
1 | ../Formula/activemq.rb
--------------------------------------------------------------------------------
/Aliases/berkeley-db@18:
--------------------------------------------------------------------------------
1 | ../Formula/berkeley-db.rb
--------------------------------------------------------------------------------
/Aliases/boot2docker:
--------------------------------------------------------------------------------
1 | ../Formula/docker-machine.rb
--------------------------------------------------------------------------------
/Aliases/cassandra@3.11:
--------------------------------------------------------------------------------
1 | ../Formula/cassandra.rb
--------------------------------------------------------------------------------
/Aliases/gnu-scientific-library:
--------------------------------------------------------------------------------
1 | ../Formula/gsl.rb
--------------------------------------------------------------------------------
/Aliases/imagemagick@7:
--------------------------------------------------------------------------------
1 | ../Formula/imagemagick.rb
--------------------------------------------------------------------------------
/Aliases/iwyu:
--------------------------------------------------------------------------------
1 | ../Formula/include-what-you-use.rb
--------------------------------------------------------------------------------
/Aliases/libjpeg-turbo:
--------------------------------------------------------------------------------
1 | ../Formula/jpeg-turbo.rb
--------------------------------------------------------------------------------
/Aliases/liblabjackusb:
--------------------------------------------------------------------------------
1 | ../Formula/exodriver.rb
--------------------------------------------------------------------------------
/Aliases/libmongoc:
--------------------------------------------------------------------------------
1 | ../Formula/mongo-c-driver.rb
--------------------------------------------------------------------------------
/Aliases/libtcnative:
--------------------------------------------------------------------------------
1 | ../Formula/tomcat-native.rb
--------------------------------------------------------------------------------
/Aliases/postgresql@11:
--------------------------------------------------------------------------------
1 | ../Formula/postgresql.rb
--------------------------------------------------------------------------------
/Aliases/pt:
--------------------------------------------------------------------------------
1 | ../Formula/the_platinum_searcher.rb
--------------------------------------------------------------------------------
/Aliases/speedtest_cli:
--------------------------------------------------------------------------------
1 | ../Formula/speedtest-cli.rb
--------------------------------------------------------------------------------
/Aliases/sphinxbase:
--------------------------------------------------------------------------------
1 | ../Formula/cmu-sphinxbase.rb
--------------------------------------------------------------------------------
/Aliases/stash-cli:
--------------------------------------------------------------------------------
1 | ../Formula/atlassian-cli.rb
--------------------------------------------------------------------------------
/Aliases/subversion@1.12:
--------------------------------------------------------------------------------
1 | ../Formula/subversion.rb
--------------------------------------------------------------------------------
/Aliases/suitesparse:
--------------------------------------------------------------------------------
1 | ../Formula/suite-sparse.rb
--------------------------------------------------------------------------------
/Aliases/tensorflow:
--------------------------------------------------------------------------------
1 | ../Formula/libtensorflow.rb
--------------------------------------------------------------------------------
/Aliases/terraform@0.12:
--------------------------------------------------------------------------------
1 | ../Formula/terraform.rb
--------------------------------------------------------------------------------
/Aliases/awsebcli:
--------------------------------------------------------------------------------
1 | ../Formula/aws-elasticbeanstalk.rb
--------------------------------------------------------------------------------
/Aliases/boost-python@1.70:
--------------------------------------------------------------------------------
1 | ../Formula/boost-python.rb
--------------------------------------------------------------------------------
/Aliases/boot2docker-cli:
--------------------------------------------------------------------------------
1 | ../Formula/docker-machine.rb
--------------------------------------------------------------------------------
/Aliases/elasticsearch@6.8:
--------------------------------------------------------------------------------
1 | ../Formula/elasticsearch.rb
--------------------------------------------------------------------------------
/Aliases/libmongoclient:
--------------------------------------------------------------------------------
1 | ../Formula/mongo-cxx-driver.rb
--------------------------------------------------------------------------------
/Aliases/openscenegraph:
--------------------------------------------------------------------------------
1 | ../Formula/open-scene-graph.rb
--------------------------------------------------------------------------------
/Aliases/pocketsphinx:
--------------------------------------------------------------------------------
1 | ../Formula/cmu-pocketsphinx.rb
--------------------------------------------------------------------------------
/Aliases/sem:
--------------------------------------------------------------------------------
1 | ../Formula/schema-evolution-manager.rb
--------------------------------------------------------------------------------
/Aliases/team-explorer-everywhere:
--------------------------------------------------------------------------------
1 | ../Formula/tee-clc.rb
--------------------------------------------------------------------------------
/Aliases/usb-multiplex-daemon:
--------------------------------------------------------------------------------
1 | ../Formula/usbmuxd.rb
--------------------------------------------------------------------------------
/Aliases/yubikey-personalization:
--------------------------------------------------------------------------------
1 | ../Formula/ykpers.rb
--------------------------------------------------------------------------------
/Aliases/zsh-completion:
--------------------------------------------------------------------------------
1 | ../Formula/zsh-completions.rb
--------------------------------------------------------------------------------
/Aliases/bash-completion@1:
--------------------------------------------------------------------------------
1 | ../Formula/bash-completion.rb
--------------------------------------------------------------------------------
/Aliases/gitlab-ci-multi-runner:
--------------------------------------------------------------------------------
1 | ../Formula/gitlab-runner.rb
--------------------------------------------------------------------------------
/Aliases/gnome-icon-theme:
--------------------------------------------------------------------------------
1 | ../Formula/adwaita-icon-theme.rb
--------------------------------------------------------------------------------
/Aliases/percona-server@8.0:
--------------------------------------------------------------------------------
1 | ../Formula/percona-server.rb
--------------------------------------------------------------------------------
/Aliases/swagger-codegen@3:
--------------------------------------------------------------------------------
1 | ../Formula/swagger-codegen.rb
--------------------------------------------------------------------------------
/.github/main.workflow:
--------------------------------------------------------------------------------
1 | workflow "Push" {
2 | on = "push"
3 | resolves = ["Generate formulae.brew.sh"]
4 | }
5 |
6 | action "Generate formulae.brew.sh" {
7 | uses = "docker://linuxbrew/brew"
8 | runs = ".github/main.workflow.sh"
9 | secrets = ["ANALYTICS_JSON_KEY", "FORMULAE_DEPLOY_KEY"]
10 | }
11 |
--------------------------------------------------------------------------------
/Formula/spark.rb:
--------------------------------------------------------------------------------
1 | class Spark < Formula
2 | desc "Sparklines for the shell"
3 | homepage "https://zachholman.com/spark/"
4 | url "https://github.com/holman/spark/archive/v1.0.1.tar.gz"
5 | sha256 "a81c1bc538ce8e011f62264fe6f33d28042ff431b510a6359040dc77403ebab6"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "spark"
11 | end
12 |
13 | test do
14 | system "#{bin}/spark"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/dyld-headers.rb:
--------------------------------------------------------------------------------
1 | class DyldHeaders < Formula
2 | desc "Header files for the dynamic linker"
3 | homepage "https://opensource.apple.com/"
4 | url "https://opensource.apple.com/tarballs/dyld/dyld-635.2.tar.gz"
5 | sha256 "e891f256bf0cb570b7bc881a67de94944f973b97a37af5e3deeae7437d27dd37"
6 |
7 | bottle :unneeded
8 |
9 | keg_only :provided_by_macos
10 |
11 | def install
12 | include.install Dir["include/*"]
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | Please fill out one of the templates on: https://github.com/Homebrew/homebrew-core/issues/new/choose
2 |
3 | To get formulae added or changed in Homebrew please file a [Pull Request](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)
4 |
5 | If you want to ask a question please do so on our Discourse: https://discourse.brew.sh
6 |
7 | We will close issues asking questions or requesting formulae changes without comment.
--------------------------------------------------------------------------------
/Formula/coda-cli.rb:
--------------------------------------------------------------------------------
1 | class CodaCli < Formula
2 | desc "Shell integration for Panic's Coda"
3 | homepage "http://justinhileman.info/coda-cli/"
4 | url "https://github.com/bobthecow/coda-cli/archive/v1.0.5.tar.gz"
5 | sha256 "5ed407313a8d1fc6cc4d5b1acc14a80f7e6fad6146f2334de510e475955008b9"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "coda"
11 | end
12 |
13 | test do
14 | system "#{bin}/coda", "-h"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/gimme.rb:
--------------------------------------------------------------------------------
1 | class Gimme < Formula
2 | desc "Shell script to install any Go version"
3 | homepage "https://github.com/travis-ci/gimme"
4 | url "https://github.com/travis-ci/gimme/archive/v1.5.3.tar.gz"
5 | sha256 "66b654f460efe9a697fdefda39fa73308f6e2f25393b28c7979724f28159a613"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "gimme"
11 | end
12 |
13 | test do
14 | system "#{bin}/gimme", "-l"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/ievms.rb:
--------------------------------------------------------------------------------
1 | class Ievms < Formula
2 | desc "Automated installation of Microsoft IE AppCompat virtual machines"
3 | homepage "https://xdissent.github.io/ievms/"
4 | url "https://github.com/xdissent/ievms/archive/v0.3.3.tar.gz"
5 | sha256 "95cafdc295998712c3e963dc4a397d6e6a823f6e93f2c119e9be928b036163be"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "unar"
10 |
11 | def install
12 | bin.install "ievms.sh" => "ievms"
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/Formula/easy-git.rb:
--------------------------------------------------------------------------------
1 | class EasyGit < Formula
2 | desc "Wrapper to simplify learning and using git"
3 | homepage "https://people.gnome.org/~newren/eg/"
4 | url "https://people.gnome.org/~newren/eg/download/1.7.5.2/eg"
5 | sha256 "59bb4f8b267261ab3d48c66b957af851d1a61126589173ebcc20ba9f43c382fb"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "eg"
11 | end
12 |
13 | test do
14 | system "#{bin}/eg", "help"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/fff.rb:
--------------------------------------------------------------------------------
1 | class Fff < Formula
2 | desc "Simple file manager written in bash"
3 | homepage "https://github.com/dylanaraps/fff"
4 | url "https://github.com/dylanaraps/fff/archive/2.1.tar.gz"
5 | sha256 "776870d11c022fa40468d5d582831c0ab5beced573489097deaaf5dd690e7eab"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "fff"
11 | man1.install "fff.1"
12 | end
13 |
14 | test do
15 | system bin/"fff", "-v"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/git-game.rb:
--------------------------------------------------------------------------------
1 | class GitGame < Formula
2 | desc "Game for git to guess who made which commit"
3 | homepage "https://github.com/jsomers/git-game"
4 | url "https://github.com/jsomers/git-game/archive/1.2.tar.gz"
5 | sha256 "d893b2c813388754c16d867cf37726cd7e73c9ccd316735aac43bf1cd3ab1412"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "git-game"
11 | end
12 |
13 | test do
14 | system "git", "game", "help"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/shellshare.rb:
--------------------------------------------------------------------------------
1 | class Shellshare < Formula
2 | desc "Live Terminal Broadcast"
3 | homepage "https://shellshare.net"
4 | url "https://github.com/vitorbaptista/shellshare/archive/v1.0.4.tar.gz"
5 | sha256 "55bfb1521f312b9b9b3e7bc10c9ab8e0c198278e6372187556a8d310ee6b602a"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "public/bin/shellshare"
11 | end
12 |
13 | test do
14 | system "#{bin}/shellshare", "-v"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/brew-pip.rb:
--------------------------------------------------------------------------------
1 | class BrewPip < Formula
2 | desc "Install pip packages as homebrew formulae"
3 | homepage "https://github.com/hanxue/brew-pip"
4 | url "https://github.com/hanxue/brew-pip/archive/0.4.1.tar.gz"
5 | sha256 "9049a6db97188560404d8ecad2a7ade72a4be4338d5241097d3e3e8e215cda28"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "bin/brew-pip"
11 | end
12 |
13 | test do
14 | system "#{bin}/brew-pip", "help"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/shunit2.rb:
--------------------------------------------------------------------------------
1 | class Shunit2 < Formula
2 | desc "xUnit unit testing framework for Bourne-based shell scripts"
3 | homepage "https://github.com/kward/shunit2"
4 | url "https://github.com/kward/shunit2/archive/v2.1.7.tar.gz"
5 | sha256 "41a103aa984bfdeea3fec426edb0b3dda19153a5ce448d4b4bbe52a85c4d7fee"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "shunit2"
11 | end
12 |
13 | test do
14 | system bin/"shunit2"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/swaks.rb:
--------------------------------------------------------------------------------
1 | class Swaks < Formula
2 | desc "SMTP command-line test tool"
3 | homepage "https://www.jetmore.org/john/code/swaks/"
4 | url "https://www.jetmore.org/john/code/swaks/files/swaks-20170101.0.tar.gz"
5 | sha256 "84e62dd0de4a56d5daebe25afd16835bd8d3c7f39caa5e6bc7d86a056925915e"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "swaks"
11 | end
12 |
13 | test do
14 | system "#{bin}/swaks", "--version"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/burl.rb:
--------------------------------------------------------------------------------
1 | class Burl < Formula
2 | desc "Shell script wrapper that offers helpful shortcuts for curl(1)"
3 | homepage "https://github.com/tj/burl"
4 | url "https://github.com/tj/burl/archive/1.0.1.tar.gz"
5 | sha256 "634949b7859ddf7c75a89123608998f8dac8ced8c601fa2c2717569caeaa54e5"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "bin/burl"
11 | end
12 |
13 | test do
14 | system "#{bin}/burl", "-I", "github.com"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/gdub.rb:
--------------------------------------------------------------------------------
1 | class Gdub < Formula
2 | desc "Gradlew/gradle wrapper"
3 | homepage "https://www.gdub.rocks/"
4 | url "https://github.com/dougborg/gdub/archive/v0.1.0.tar.gz"
5 | sha256 "ddf2572cc67b8df3293b1707720c6ef09d6caf73227fa869a73b16239df959c3"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "bin/gw"
11 | end
12 |
13 | test do
14 | assert_match "No gradlew set up for this project", pipe_output("#{bin}/gw 2>&1")
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/xcv.rb:
--------------------------------------------------------------------------------
1 | class Xcv < Formula
2 | desc "Cut, copy and paste files with Bash"
3 | homepage "https://github.com/busterc/xcv"
4 | url "https://github.com/busterc/xcv/archive/v1.0.1.tar.gz"
5 | sha256 "f2898f78bb05f4334073adb8cdb36de0f91869636a7770c8e955cee8758c0644"
6 | head "https://github.com/busterc/xcv.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "xcv"
12 | end
13 |
14 | test do
15 | system "#{bin}/xcv"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/modgit.rb:
--------------------------------------------------------------------------------
1 | class Modgit < Formula
2 | desc "Tool for git repo deploy with filters. Used for magento development"
3 | homepage "https://github.com/jreinke/modgit"
4 | url "https://github.com/jreinke/modgit/archive/v1.0.1.tar.gz"
5 | sha256 "3df1ccddaacf386a32be0fe5b6333438f17876bc6a4851d9bc22a68a73ae314d"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "modgit"
11 | end
12 |
13 | test do
14 | system "#{bin}/modgit"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/ip_relay.rb:
--------------------------------------------------------------------------------
1 | class IpRelay < Formula
2 | desc "TCP traffic shaping relay application"
3 | homepage "http://www.stewart.com.au/ip_relay/"
4 | url "http://www.stewart.com.au/ip_relay/ip_relay-0.71.tgz"
5 | sha256 "0cf6c7db64344b84061c64e848e8b4f547b5576ad28f8f5e67163fc0382d9ed3"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "ip_relay.pl" => "ip_relay"
11 | end
12 |
13 | test do
14 | shell_output("#{bin}/ip_relay -b", 1)
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/mussh.rb:
--------------------------------------------------------------------------------
1 | class Mussh < Formula
2 | desc "Multi-host SSH wrapper"
3 | homepage "https://mussh.sourceforge.io/"
4 | url "https://downloads.sourceforge.net/project/mussh/mussh/1.0/mussh-1.0.tgz"
5 | sha256 "6ba883cfaacc3f54c2643e8790556ff7b17da73c9e0d4e18346a51791fedd267"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "mussh"
11 | man1.install "mussh.1"
12 | end
13 |
14 | test do
15 | system "#{bin}/mussh", "--help"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/vassh.rb:
--------------------------------------------------------------------------------
1 | class Vassh < Formula
2 | desc "Vagrant Host-Guest SSH Command Wrapper/Proxy/Forwarder"
3 | homepage "https://github.com/x-team/vassh"
4 | url "https://github.com/x-team/vassh/archive/0.2.tar.gz"
5 | sha256 "dd9b3a231c2b0c43975ba3cc22e0c45ba55fbbe11a3e4be1bceae86561b35340"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "vassh.sh", "vasshin", "vassh"
11 | end
12 |
13 | test do
14 | system "#{bin}/vassh", "-h"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/finatra.rb:
--------------------------------------------------------------------------------
1 | class Finatra < Formula
2 | desc "Scala web framework inspired by Sinatra"
3 | homepage "http://finatra.info/"
4 | url "https://github.com/twitter/finatra/archive/1.5.3.tar.gz"
5 | sha256 "aa4fab5ccdc012da9edf4650addf54b6ba64eb7e6a5e88d8c76e68e4d89216de"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install Dir["*"]
11 | bin.install_symlink libexec/"finatra"
12 | end
13 |
14 | test do
15 | system bin/"finatra"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/git-open.rb:
--------------------------------------------------------------------------------
1 | class GitOpen < Formula
2 | desc "Open GitHub webpages from a terminal"
3 | homepage "https://github.com/jeffreyiacono/git-open"
4 | url "https://github.com/jeffreyiacono/git-open/archive/v1.3.tar.gz"
5 | sha256 "a1217e9b0a76382a96afd33ecbacad723528ec1116381c22a17cc7458de23701"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "git-open.sh" => "git-open"
11 | end
12 |
13 | test do
14 | system "#{bin}/git-open", "-v"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/ipcalc.rb:
--------------------------------------------------------------------------------
1 | class Ipcalc < Formula
2 | desc "Calculate various network masks, etc. from a given IP address"
3 | homepage "http://jodies.de/ipcalc"
4 | url "http://jodies.de/ipcalc-archive/ipcalc-0.41.tar.gz"
5 | sha256 "dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "ipcalc"
11 | end
12 |
13 | test do
14 | system "#{bin}/ipcalc", "--nobinary", "192.168.0.1/24"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/hr.rb:
--------------------------------------------------------------------------------
1 | class Hr < Formula
2 | desc "
, for your terminal window"
3 | homepage "https://github.com/LuRsT/hr"
4 | url "https://github.com/LuRsT/hr/archive/1.2.tar.gz"
5 | sha256 "8f611b3f25e10fac1e67cf8b30fea4c1c02db7ab8c55d39402fe08caecb68a1a"
6 | head "https://github.com/LuRsT/hr.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "hr"
12 | man1.install "hr.1"
13 | end
14 |
15 | test do
16 | system "#{bin}/hr", "-#-"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/matlab2tikz.rb:
--------------------------------------------------------------------------------
1 | class Matlab2tikz < Formula
2 | desc "Convert MATLAB(R) figures into TikZ/Pgfplots figures"
3 | homepage "https://github.com/matlab2tikz/matlab2tikz"
4 | url "https://github.com/matlab2tikz/matlab2tikz/archive/v1.1.0.tar.gz"
5 | sha256 "4e6fe80ebe4c8729650eb00679f97398c2696fd9399c17f9c5b60a1a6cf23a19"
6 | head "https://github.com/matlab2tikz/matlab2tikz.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | pkgshare.install Dir["src/*"]
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/Formula/memcache-top.rb:
--------------------------------------------------------------------------------
1 | class MemcacheTop < Formula
2 | desc "Grab real-time stats from memcache"
3 | homepage "https://code.google.com/archive/p/memcache-top/"
4 | url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/memcache-top/memcache-top-v0.6"
5 | sha256 "d5f896a9e46a92988b782e340416312cc480261ce8a5818db45ccd0da8a0f22a"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "memcache-top-v#{version}" => "memcache-top"
11 | end
12 | end
13 |
--------------------------------------------------------------------------------
/Formula/saxon-b.rb:
--------------------------------------------------------------------------------
1 | class SaxonB < Formula
2 | desc "XSLT and XQuery processor"
3 | homepage "https://saxon.sourceforge.io/"
4 | url "https://downloads.sourceforge.net/project/saxon/Saxon-B/9.1.0.8/saxonb9-1-0-8j.zip"
5 | version "9.1.0.8"
6 | sha256 "92bcdc4a0680c7866fe5828adb92c714cfe88dcf3fa0caf5bf638fcc6d9369b4"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | (buildpath/"saxon-b").install Dir["*.jar", "doc", "notices"]
12 | share.install Dir["*"]
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/Formula/xmlformat.rb:
--------------------------------------------------------------------------------
1 | class Xmlformat < Formula
2 | desc "Format XML documents"
3 | homepage "http://www.kitebird.com/software/xmlformat/"
4 | url "http://www.kitebird.com/software/xmlformat/xmlformat-1.04.tar.gz"
5 | sha256 "71a70397e44760d67645007ad85fea99736f4b6f8679067a3b5f010589fd8fef"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "xmlformat.pl" => "xmlformat"
11 | end
12 |
13 | test do
14 | system "#{bin}/xmlformat", "--version"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/git-fresh.rb:
--------------------------------------------------------------------------------
1 | class GitFresh < Formula
2 | desc "Utility to keep git repos fresh"
3 | homepage "https://github.com/imsky/git-fresh"
4 | url "https://github.com/imsky/git-fresh/archive/v1.12.1.tar.gz"
5 | sha256 "48be2629113ba77a2a6d8fd478b7186f7237669e9495e768b9d3133704c49dde"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | system "./install.sh", bin
11 | man1.install "git-fresh.1"
12 | end
13 |
14 | test do
15 | system "#{bin}/git-fresh", "-T"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/mozilla-addon-sdk.rb:
--------------------------------------------------------------------------------
1 | class MozillaAddonSdk < Formula
2 | desc "Create Firefox add-ons using JS, HTML, and CSS"
3 | homepage "https://developer.mozilla.org/en-US/Add-ons/SDK"
4 | url "https://archive.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.17.zip"
5 | sha256 "16e29d92214a556c8422db156b541fb8c47addfcb3cd879e0a4ca879d6a31f65"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install Dir["*"]
11 | bin.install_symlink "#{libexec}/bin/cfx"
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/Formula/repl.rb:
--------------------------------------------------------------------------------
1 | class Repl < Formula
2 | desc "Wrap non-interactive programs with a REPL"
3 | homepage "https://github.com/defunkt/repl"
4 | url "https://github.com/defunkt/repl/archive/v1.0.0.tar.gz"
5 | sha256 "d0542404f03159b0d6eb22a1aa4a509714c87c8594fca5121c578d50d950307d"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "bin/repl"
11 | man1.install "man/repl.1"
12 | end
13 |
14 | test do
15 | pipe_output("#{bin}/repl git", "init", 0)
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/tkdiff.rb:
--------------------------------------------------------------------------------
1 | class Tkdiff < Formula
2 | desc "Graphical side by side diff utility"
3 | homepage "https://tkdiff.sourceforge.io/"
4 | url "https://downloads.sourceforge.net/project/tkdiff/tkdiff/4.3.5/tkdiff-4-3-5.zip"
5 | version "4.3.5"
6 | sha256 "29d7f0b815d06b0ab6653baa9b6b7c213801ce6a976724ae843bf9735cbbde7e"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "tkdiff"
12 | end
13 |
14 | test do
15 | system "#{bin}/tkdiff", "--help"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/webkit2png.rb:
--------------------------------------------------------------------------------
1 | class Webkit2png < Formula
2 | desc "Create screenshots of webpages from the terminal"
3 | homepage "https://www.paulhammond.org/webkit2png/"
4 | url "https://github.com/paulhammond/webkit2png/archive/v0.7.tar.gz"
5 | sha256 "9b810edb6f54cc23ba86b0212f203e6c3bbafc3cbdb62b9c33887548c91015bf"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "webkit2png"
11 | end
12 |
13 | test do
14 | system "#{bin}/webkit2png", "--version"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/dockutil.rb:
--------------------------------------------------------------------------------
1 | class Dockutil < Formula
2 | desc "Tool for managing dock items"
3 | homepage "https://github.com/kcrawford/dockutil"
4 | url "https://github.com/kcrawford/dockutil/archive/2.0.5.tar.gz"
5 | sha256 "6dbbc1467caaab977bf4c9f2d106ceadfedd954b6a4848c54c925aff81159a65"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "scripts/dockutil"
11 | end
12 |
13 | test do
14 | assert_match version.to_s, shell_output("#{bin}/dockutil --version")
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/format-udf.rb:
--------------------------------------------------------------------------------
1 | class FormatUdf < Formula
2 | desc "Bash script to format a block device to UDF"
3 | homepage "https://github.com/JElchison/format-udf"
4 | url "https://github.com/JElchison/format-udf/archive/1.6.1.tar.gz"
5 | sha256 "c87e2690986c5f98991937b31824f8e227ce703b17a7ca0fe63f7e6594ae9ae0"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "format-udf.sh" => "format-udf"
11 | end
12 |
13 | test do
14 | system "#{bin}/format-udf", "-h"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/virtualhost.sh.rb:
--------------------------------------------------------------------------------
1 | class VirtualhostSh < Formula
2 | desc "Script for macOS to create Apache virtual hosts"
3 | homepage "https://github.com/virtualhost/virtualhost.sh"
4 | url "https://github.com/virtualhost/virtualhost.sh/archive/1.35.tar.gz"
5 | sha256 "75d34b807e71acd253876c6a99cdbc11ce31ffb159155373c83a99af862fffcc"
6 | head "https://github.com/virtualhost/virtualhost.sh.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "virtualhost.sh"
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/Formula/boot-clj.rb:
--------------------------------------------------------------------------------
1 | class BootClj < Formula
2 | desc "Build tooling for Clojure"
3 | homepage "https://boot-clj.com/"
4 | url "https://github.com/boot-clj/boot-bin/releases/download/2.7.2/boot.sh"
5 | sha256 "0ccd697f2027e7e1cd3be3d62721057cbc841585740d0aaa9fbb485d7b1f17c3"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java
10 |
11 | def install
12 | bin.install "boot.sh" => "boot"
13 | end
14 |
15 | test do
16 | system "#{bin}/boot", "repl", "-e", "(System/exit 0)"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/httpstat.rb:
--------------------------------------------------------------------------------
1 | class Httpstat < Formula
2 | desc "Curl statistics made simple"
3 | homepage "https://github.com/reorx/httpstat"
4 | url "https://github.com/reorx/httpstat/archive/1.2.1.tar.gz"
5 | sha256 "b670f03d38ecaae40e05cae79dfc296b567598752d5fb6ec174836a5f4d0b381"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "httpstat.py" => "httpstat"
11 | end
12 |
13 | test do
14 | assert_match "HTTP", shell_output("#{bin}/httpstat https://github.com")
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/ivy.rb:
--------------------------------------------------------------------------------
1 | class Ivy < Formula
2 | desc "Agile dependency manager"
3 | homepage "https://ant.apache.org/ivy/"
4 | url "https://www.apache.org/dyn/closer.cgi?path=ant/ivy/2.4.0/apache-ivy-2.4.0-bin.tar.gz"
5 | sha256 "7a3d13a80b69d71608191463dfc2a74fff8ef638ce0208e70d54d28ba9785ee9"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install Dir["ivy*"]
11 | doc.install Dir["doc/*"]
12 | bin.write_jar_script libexec/"ivy-#{version}.jar", "ivy", "$JAVA_OPTS"
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/Formula/selecta.rb:
--------------------------------------------------------------------------------
1 | class Selecta < Formula
2 | desc "Fuzzy text selector for files and anything else you need to select"
3 | homepage "https://github.com/garybernhardt/selecta"
4 | url "https://github.com/garybernhardt/selecta/archive/v0.0.7.tar.gz"
5 | sha256 "00d1bdabb44b93f90018438f8ffc0780f96893b809b52956abb9485f509d03d2"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "selecta"
11 | end
12 |
13 | test do
14 | system "#{bin}/selecta", "--version"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/term.rb:
--------------------------------------------------------------------------------
1 | class Term < Formula
2 | desc "Open terminal in specified directory (and optionally run command)"
3 | homepage "https://github.com/liyanage/macosx-shell-scripts/blob/master/term"
4 | url "https://raw.githubusercontent.com/liyanage/macosx-shell-scripts/e29f7eaa1eb13d78056dec85dc517626ab1d93e3/term"
5 | version "2.1"
6 | sha256 "a0a430f024ff330c6225fe52e3ed9278fccf8a9cd2be9023282481dacfdffb3c"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "term"
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/Formula/docker-clean.rb:
--------------------------------------------------------------------------------
1 | class DockerClean < Formula
2 | desc "Clean Docker containers, images, networks, and volumes"
3 | homepage "https://github.com/ZZROTDesign/docker-clean"
4 | url "https://github.com/ZZROTDesign/docker-clean/archive/v2.0.4.tar.gz"
5 | sha256 "4b636fd7391358b60c05b65ba7e89d27eaf8dd56cc516f3c786b59cadac52740"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "docker-clean"
11 | end
12 |
13 | test do
14 | system "#{bin}/docker-clean", "--help"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/epubcheck.rb:
--------------------------------------------------------------------------------
1 | class Epubcheck < Formula
2 | desc "Validate EPUB files, version 2.0 and later"
3 | homepage "https://github.com/w3c/epubcheck"
4 | url "https://github.com/w3c/epubcheck/releases/download/v4.2.1/epubcheck-4.2.1.zip"
5 | sha256 "8a2fc55b9b060aae162192b48338e8b2d3423926c483c1da02183d081874cb10"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | jarname = "epubcheck.jar"
11 | libexec.install jarname, "lib"
12 | bin.write_jar_script libexec/jarname, "epubcheck"
13 | end
14 | end
15 |
--------------------------------------------------------------------------------
/Formula/gpcslots2.rb:
--------------------------------------------------------------------------------
1 | class Gpcslots2 < Formula
2 | desc "Casino text-console game"
3 | homepage "https://sourceforge.net/projects/gpcslots2/"
4 | url "https://downloads.sourceforge.net/project/gpcslots2/gpcslots2_0-4-5b"
5 | version "0.4.5b"
6 | sha256 "4daf5b6e5a23fe6cd121fe1250f10ad9f3b936bd536d475ec585f57998736f55"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "gpcslots2_0-4-5b" => "gpcslots2"
12 | end
13 |
14 | test do
15 | system "#{bin}/gpcslots2", "-h"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/rmate.rb:
--------------------------------------------------------------------------------
1 | class Rmate < Formula
2 | desc "Edit files from an SSH session in TextMate"
3 | homepage "https://github.com/textmate/rmate"
4 | url "https://github.com/textmate/rmate/archive/v1.5.8.tar.gz"
5 | sha256 "40be07ae251bfa47b408eb56395dd2385d8e9ea220a19efd5145593cd8cbd89c"
6 | head "https://github.com/textmate/rmate.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "bin/rmate"
12 | end
13 |
14 | test do
15 | system "#{bin}/rmate", "--version"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/wifi-password.rb:
--------------------------------------------------------------------------------
1 | class WifiPassword < Formula
2 | desc "Show the current WiFi network password"
3 | homepage "https://github.com/rauchg/wifi-password"
4 | url "https://github.com/rauchg/wifi-password/archive/0.1.0.tar.gz"
5 | sha256 "6af6a34a579063eb21c067f10b7c2eb5995995eceb70e6a1f571dc78d4f3651b"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "wifi-password.sh" => "wifi-password"
11 | end
12 |
13 | test do
14 | system "#{bin}/wifi-password", "--version"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/ffind.rb:
--------------------------------------------------------------------------------
1 | class Ffind < Formula
2 | desc "Friendlier find"
3 | homepage "https://github.com/sjl/friendly-find"
4 | url "https://github.com/sjl/friendly-find/archive/v1.0.1.tar.gz"
5 | sha256 "cf30e09365750a197f7e041ec9bbdd40daf1301e566cd0b1a423bf71582aad8d"
6 |
7 | bottle :unneeded
8 |
9 | conflicts_with "sleuthkit",
10 | :because => "both install a 'ffind' executable."
11 |
12 | def install
13 | bin.install "ffind"
14 | end
15 |
16 | test do
17 | system "#{bin}/ffind"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/putmail-queue.rb:
--------------------------------------------------------------------------------
1 | class PutmailQueue < Formula
2 | desc "Putmail queue package"
3 | homepage "https://putmail.sourceforge.io"
4 | url "https://downloads.sourceforge.net/project/putmail/putmail-queue/0.2/putmail-queue-0.2.tar.bz2"
5 | sha256 "09349ad26345783e061bfe4ad7586fbbbc5d1cc48e45faa9ba9f667104f9447c"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "putmail"
10 |
11 | def install
12 | bin.install "putmail_dequeue.py", "putmail_enqueue.py"
13 | man1.install Dir["man/man1/*.1"]
14 | end
15 | end
16 |
--------------------------------------------------------------------------------
/Formula/browser.rb:
--------------------------------------------------------------------------------
1 | class Browser < Formula
2 | desc "Pipe HTML to a browser"
3 | homepage "https://gist.github.com/318247/"
4 | url "https://gist.github.com/defunkt/318247/raw/7720fc969d58a9bfdc74d71deaa15c1eb7582fc1/browser"
5 | # This the gist revision number
6 | version "7"
7 | sha256 "273343d6cf9ed543ccea47b85a2ad2ef2afe7b7a2b956f2e7a24ce0175326dcc"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bin.install "browser"
13 | end
14 |
15 | test do
16 | system "#{bin}/browser"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/nave.rb:
--------------------------------------------------------------------------------
1 | class Nave < Formula
2 | desc "Virtual environments for Node.js"
3 | homepage "https://github.com/isaacs/nave"
4 | url "https://github.com/isaacs/nave/archive/v2.4.2.tar.gz"
5 | sha256 "31cca9a97c263936200989890d4ac08acb948118349d5356a7ac61d31a5ca4a0"
6 | head "https://github.com/isaacs/nave.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "nave.sh" => "nave"
12 | end
13 |
14 | test do
15 | assert_match "0.10.30", shell_output("#{bin}/nave ls-remote")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/shpotify.rb:
--------------------------------------------------------------------------------
1 | class Shpotify < Formula
2 | desc "Command-line interface for Spotify on a Mac"
3 | homepage "https://harishnarayanan.org/projects/shpotify/"
4 | url "https://github.com/hnarayanan/shpotify/archive/2.1.tar.gz"
5 | sha256 "b41d8798687be250d0306ac0c5a79420fa46619c5954286711a5d63c86a6c071"
6 | head "https://github.com/hnarayanan/shpotify.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "spotify"
12 | end
13 |
14 | test do
15 | system "#{bin}/spotify"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/vfuse.rb:
--------------------------------------------------------------------------------
1 | class Vfuse < Formula
2 | desc "Convert bootable DMG images for use in VMware Fusion"
3 | homepage "https://github.com/chilcote/vfuse"
4 | url "https://github.com/chilcote/vfuse/archive/2.2.2.tar.gz"
5 | sha256 "5ed949e1161d69808ccaac8f7427c8021ebe8e54cf15d680d32d13c7fb2a751d"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install Dir["pkgroot/usr/local/vfuse/bin/*"]
11 | end
12 |
13 | test do
14 | assert_match version.to_s, shell_output("#{bin}/vfuse --version")
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/xcenv.rb:
--------------------------------------------------------------------------------
1 | class Xcenv < Formula
2 | desc "Xcode version manager"
3 | homepage "https://github.com/xcenv/xcenv"
4 | url "https://github.com/xcenv/xcenv/archive/v1.1.1.tar.gz"
5 | sha256 "9426dc1fa50fba7f31a2867c543751428768e0592e499fb7724da8dae45a32ec"
6 | head "https://github.com/xcenv/xcenv.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | prefix.install ["bin", "libexec"]
12 | end
13 |
14 | test do
15 | shell_output("eval \"$(#{bin}/xcenv init -)\" && xcenv versions")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/ppss.rb:
--------------------------------------------------------------------------------
1 | class Ppss < Formula
2 | desc "Shell script to execute commands in parallel"
3 | homepage "https://github.com/louwrentius/PPSS"
4 | url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ppss/ppss-2.97.tgz"
5 | sha256 "25d819a97d8ca04a27907be4bfcc3151712837ea12a671f1a3c9e58bc025360f"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "ppss"
11 | end
12 |
13 | test do
14 | assert_match version.to_s, shell_output("#{bin}/ppss --version")
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/wgetpaste.rb:
--------------------------------------------------------------------------------
1 | class Wgetpaste < Formula
2 | desc "Automate pasting to a number of pastebin services"
3 | homepage "https://wgetpaste.zlin.dk/"
4 | url "https://wgetpaste.zlin.dk/wgetpaste-2.29.tar.bz2"
5 | sha256 "42e42437f97376c9a2793839344205eff40c9f6b4a7d356e17fef83f72e7e0e6"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "wget"
10 |
11 | def install
12 | bin.install "wgetpaste"
13 | zsh_completion.install "_wgetpaste"
14 | end
15 |
16 | test do
17 | system bin/"wgetpaste", "-S"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/docker-machine-nfs.rb:
--------------------------------------------------------------------------------
1 | class DockerMachineNfs < Formula
2 | desc "Activates NFS on docker-machine"
3 | homepage "https://github.com/adlogix/docker-machine-nfs"
4 | url "https://github.com/adlogix/docker-machine-nfs/archive/0.5.2.tar.gz"
5 | sha256 "58ac0384a6db4edd648534af5d11ef3d39d13b4b534b9a7070912504ec3601f6"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "docker-machine-nfs.sh" => "docker-machine-nfs"
11 | end
12 |
13 | test do
14 | system "#{bin}/docker-machine-nfs"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/fasd.rb:
--------------------------------------------------------------------------------
1 | class Fasd < Formula
2 | desc "CLI tool for quick access to files and directories"
3 | homepage "https://github.com/clvv/fasd"
4 | url "https://github.com/clvv/fasd/archive/1.0.1.tar.gz"
5 | sha256 "88efdfbbed8df408699a14fa6c567450bf86480f5ff3dde42d0b3e1dee731f65"
6 | head "https://github.com/clvv/fasd.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "fasd"
12 | man1.install "fasd.1"
13 | end
14 |
15 | test do
16 | system "#{bin}/fasd", "--init", "auto"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/github-keygen.rb:
--------------------------------------------------------------------------------
1 | class GithubKeygen < Formula
2 | desc "Bootstrap GitHub SSH configuration"
3 | homepage "https://github.com/dolmen/github-keygen"
4 | url "https://github.com/dolmen/github-keygen/archive/v1.305.tar.gz"
5 | sha256 "5a0a68ed9e3eb1c0e3b783c250e0790fffe17fc1a663cefa1348560ff040b940"
6 | head "https://github.com/dolmen/github-keygen.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "github-keygen"
12 | end
13 |
14 | test do
15 | system "#{bin}/github-keygen"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/growly.rb:
--------------------------------------------------------------------------------
1 | class Growly < Formula
2 | desc "Redirect command output to a growl notification"
3 | homepage "https://github.com/ryankee/growly"
4 | url "https://github.com/downloads/ryankee/growly/growly-v0.2.0.tar.gz"
5 | sha256 "3e803207aa15e3a1ee33fc388a073bd84230dce2c579295ce26b857987e78a79"
6 | head "https://github.com/ryankee/growly.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "growly"
12 | end
13 |
14 | test do
15 | system "#{bin}/growly", "echo Hello, world!"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/rbenv-whatis.rb:
--------------------------------------------------------------------------------
1 | class RbenvWhatis < Formula
2 | desc "Resolves abbreviations and aliases to Ruby versions"
3 | homepage "https://github.com/rkh/rbenv-whatis"
4 | url "https://github.com/rkh/rbenv-whatis/archive/v1.0.0.tar.gz"
5 | sha256 "1a09f824d1dcbca360565930fa66e93a9a2840c1bb45935e2ee989ce57d1f6e6"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | depends_on "rbenv"
11 |
12 | def install
13 | prefix.install Dir["*"]
14 | end
15 |
16 | test do
17 | system "rbenv", "whatis", "2.0"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/sec.rb:
--------------------------------------------------------------------------------
1 | class Sec < Formula
2 | desc "Event correlation tool for event processing of various kinds"
3 | homepage "https://simple-evcorr.sourceforge.io/"
4 | url "https://github.com/simple-evcorr/sec/releases/download/2.8.2/sec-2.8.2.tar.gz"
5 | sha256 "ec7b30b77221f58de4c91df115b07a9f5de91813f904fd01007632389672aa3c"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "sec"
11 | man1.install "sec.man" => "sec.1"
12 | end
13 |
14 | test do
15 | system "#{bin}/sec", "--version"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/lorem.rb:
--------------------------------------------------------------------------------
1 | class Lorem < Formula
2 | desc "Python generator for the console"
3 | homepage "https://github.com/per9000/lorem"
4 | url "https://github.com/per9000/lorem/archive/v0.8.0.tar.gz"
5 | sha256 "3eec439d616a044e61a6733730b1fc009972466f869dae358991f95abd57e8b3"
6 | head "https://github.com/per9000/lorem.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "lorem"
12 | end
13 |
14 | test do
15 | assert_equal "lorem ipsum", shell_output("#{bin}/lorem -n 2").strip.downcase
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/cssembed.rb:
--------------------------------------------------------------------------------
1 | class Cssembed < Formula
2 | desc "Automatic data URI embedding in CSS files"
3 | homepage "https://www.nczonline.net/blog/2009/11/03/automatic-data-uri-embedding-in-css-files/"
4 | url "https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar"
5 | sha256 "8955016c0d32de8755d9ee33d365d1ad658a596aba48537a810ce62f3d32a1af"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install "cssembed-#{version}.jar"
11 | bin.write_jar_script libexec/"cssembed-#{version}.jar", "cssembed"
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/Formula/gcutil.rb:
--------------------------------------------------------------------------------
1 | class Gcutil < Formula
2 | desc "Manage your Google Compute Engine resources"
3 | homepage "https://cloud.google.com/compute/docs/gcutil/"
4 | url "https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.zip"
5 | sha256 "31f438c9ce3471f1404340e3411239b28b63f117d17776271fee1e1a352f3877"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install "gcutil", "lib"
11 | bin.install_symlink libexec/"gcutil"
12 | end
13 |
14 | test do
15 | system "#{bin}/gcutil", "version"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/modman.rb:
--------------------------------------------------------------------------------
1 | class Modman < Formula
2 | desc "Module deployment script geared towards Magento development"
3 | homepage "https://github.com/colinmollenhour/modman"
4 | url "https://github.com/colinmollenhour/modman/archive/1.12.tar.gz"
5 | sha256 "437547bb54f62101215038a678506e87b1e9d5a8f04eed68e0c823198dd0b6ec"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "modman"
11 | bash_completion.install "bash_completion" => "modman.bash"
12 | end
13 |
14 | test do
15 | system "#{bin}/modman"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/maven-shell.rb:
--------------------------------------------------------------------------------
1 | class MavenShell < Formula
2 | desc "Shell for Maven"
3 | homepage "https://github.com/jdillon/mvnsh"
4 | url "https://search.maven.org/remotecontent?filepath=org/sonatype/maven/shell/dist/mvnsh-assembly/1.1.0/mvnsh-assembly-1.1.0-bin.tar.gz"
5 | sha256 "584008d726bf6f90271f4ccd03b549773cbbe62ba7e92bf131e67df3ac5a41ac"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | # Remove windows files.
11 | rm_f Dir["bin/*.bat"]
12 | libexec.install Dir["*"]
13 | bin.install_symlink libexec/"bin/mvnsh"
14 | end
15 | end
16 |
--------------------------------------------------------------------------------
/Formula/sisc-scheme.rb:
--------------------------------------------------------------------------------
1 | class SiscScheme < Formula
2 | desc "Extensive Java based Scheme interpreter"
3 | homepage "http://sisc-scheme.org/"
4 | url "https://downloads.sourceforge.net/project/sisc/SISC%20Lite/1.16.6/sisc-lite-1.16.6.tar.gz"
5 | sha256 "7a2f1ee46915ef885282f6df65f481b734db12cfd97c22d17b6c00df3117eea8"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install Dir["*"]
11 | (bin/"sisc").write <<~EOS
12 | #!/bin/sh
13 | SISC_HOME=#{libexec}
14 | exec #{libexec}/sisc "$@"
15 | EOS
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/brew-gem.rb:
--------------------------------------------------------------------------------
1 | class BrewGem < Formula
2 | desc "Install RubyGems as Homebrew formulae"
3 | homepage "https://github.com/sportngin/brew-gem"
4 | url "https://github.com/sportngin/brew-gem/archive/v1.0.0.tar.gz"
5 | sha256 "bc321722746e82243be50bc999d02f3d0754d40e7e40552ed2d61103191c82cf"
6 | head "https://github.com/sportngin/brew-gem.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | lib.install Dir["lib/*"]
12 | bin.install "bin/brew-gem"
13 | end
14 |
15 | test do
16 | system "#{bin}/brew-gem", "help"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/exenv.rb:
--------------------------------------------------------------------------------
1 | class Exenv < Formula
2 | desc "Elixir versions management tool"
3 | homepage "https://github.com/mururu/exenv"
4 | url "https://github.com/mururu/exenv/archive/v0.1.0.tar.gz"
5 | sha256 "368095760ecc386a0930954f5f0ce7cea977641fe6d27b1beff032f512598a58"
6 | head "https://github.com/mururu/exenv.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | inreplace "libexec/exenv", "/usr/local", HOMEBREW_PREFIX
12 | prefix.install Dir["*"]
13 | end
14 |
15 | test do
16 | system "#{bin}/exenv", "init", "-"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/bar.rb:
--------------------------------------------------------------------------------
1 | class Bar < Formula
2 | desc "Provide progress bars for shell scripts"
3 | homepage "http://www.theiling.de/projects/bar.html"
4 | url "http://www.theiling.de/downloads/bar-1.4-src.tar.bz2"
5 | sha256 "8034c405b6aa0d474c75ef9356cde1672b8b81834edc7bd94fc91e8ae097033e"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "bar"
11 | end
12 |
13 | test do
14 | (testpath/"test1").write "pumpkin"
15 | (testpath/"test2").write "latte"
16 | assert_match /latte/, shell_output("#{bin}/bar test1 test2")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/brag.rb:
--------------------------------------------------------------------------------
1 | class Brag < Formula
2 | desc "Download and assemble multipart binaries from newsgroups"
3 | homepage "https://brag.sourceforge.io/"
4 | url "https://downloads.sourceforge.net/project/brag/brag/1.4.3/brag-1.4.3.tar.gz"
5 | sha256 "f2c8110c38805c31ad181f4737c26e766dc8ecfa2bce158197b985be892cece6"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "uudeview"
10 |
11 | def install
12 | bin.install "brag"
13 | man1.install "brag.1"
14 | end
15 |
16 | test do
17 | system "#{bin}/brag", "-s", "nntp.perl.org", "-L"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/psgrep.rb:
--------------------------------------------------------------------------------
1 | class Psgrep < Formula
2 | desc "Shortcut for the 'ps aux | grep' idiom"
3 | homepage "https://github.com/jvz/psgrep"
4 | url "https://github.com/jvz/psgrep/archive/1.0.9.tar.gz"
5 | sha256 "6408e4fc99414367ad08bfbeda6aa86400985efe1ccb1a1f00f294f86dd8b984"
6 | head "https://github.com/jvz/psgrep.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "psgrep"
12 | man1.install "psgrep.1"
13 | end
14 |
15 | test do
16 | assert_match $PROGRAM_NAME, shell_output("#{bin}/psgrep #{Process.pid}")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/tccutil.rb:
--------------------------------------------------------------------------------
1 | class Tccutil < Formula
2 | desc "Utility to modify the macOS Accessibility Database (TCC.db)"
3 | homepage "https://github.com/jacobsalmela/tccutil"
4 | url "https://github.com/jacobsalmela/tccutil/archive/v1.2.3.tar.gz"
5 | sha256 "8146f44e6b44add60ce29469ce04000baa0066d632373f7c8ad21cf906d06cc3"
6 | head "https://github.com/jacobsalmela/tccutil.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "tccutil.py" => "tccutil"
12 | end
13 |
14 | test do
15 | system "#{bin}/tccutil", "--help"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/zinc.rb:
--------------------------------------------------------------------------------
1 | class Zinc < Formula
2 | desc "Stand-alone version of sbt's Scala incremental compiler"
3 | homepage "https://github.com/typesafehub/zinc"
4 | url "https://downloads.typesafe.com/zinc/0.3.15/zinc-0.3.15.tgz"
5 | sha256 "5ec4df3fa2cbb271d65a5b478c940a9da6ef4902aa8c9d41a76dd253e3334ca7"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | rm_f Dir["bin/ng/{linux,win}*"]
11 | libexec.install Dir["*"]
12 | bin.install_symlink libexec/"bin/zinc"
13 | end
14 |
15 | test do
16 | system "#{bin}/zinc", "-version"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/apm-bash-completion.rb:
--------------------------------------------------------------------------------
1 | class ApmBashCompletion < Formula
2 | desc "Completion for Atom Package Manager"
3 | homepage "https://github.com/vigo/apm-bash-completion"
4 | url "https://github.com/vigo/apm-bash-completion/archive/1.0.0.tar.gz"
5 | sha256 "1043a7f19eabe69316ea483830fb9f78d6c90853aaf4dd7ed60007af7f0d6e9d"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "apm"
11 | end
12 |
13 | test do
14 | assert_match "-F __apm",
15 | shell_output("source #{bash_completion}/apm && complete -p apm")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/cap-completion.rb:
--------------------------------------------------------------------------------
1 | class CapCompletion < Formula
2 | desc "Bash completion for Capistrano"
3 | homepage "https://github.com/bashaus/capistrano-autocomplete"
4 | url "https://github.com/bashaus/capistrano-autocomplete/archive/v1.0.0.tar.gz"
5 | sha256 "66a94420be44d82ff18f366778e05decde3f16ad05d35fd8ec7b51860b102c0c"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "cap"
11 | end
12 |
13 | test do
14 | assert_match "-F _cap",
15 | shell_output("source #{bash_completion}/cap && complete -p cap")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/minimesos.rb:
--------------------------------------------------------------------------------
1 | class Minimesos < Formula
2 | desc "Testing infrastructure for Mesos frameworks"
3 | homepage "https://minimesos.org/"
4 | url "https://github.com/ContainerSolutions/minimesos/archive/0.13.0.tar.gz"
5 | sha256 "806a2e7084d66431a706e365814fca8603ba64780ac6efc90e52cbf7ef592250"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "bin/minimesos"
12 | end
13 |
14 | test do
15 | output = shell_output("#{bin}/minimesos --help 2>&1", 127)
16 | assert_match "docker: command not found", output
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/speedread.rb:
--------------------------------------------------------------------------------
1 | class Speedread < Formula
2 | desc "Simple terminal-based rapid serial visual presentation (RSVP) reader"
3 | homepage "https://github.com/pasky/speedread"
4 | url "https://github.com/pasky/speedread/archive/v1.0.tar.gz"
5 | sha256 "a65f5bec427e66893663bcfc49a22e43169dd35976302eaed467eec2a5aafc1b"
6 | head "https://github.com/pasky/speedread.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "speedread"
12 | end
13 |
14 | test do
15 | system "#{bin}/speedread", "-w 1000", "<(echo This is a test)"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/wp-cli.rb:
--------------------------------------------------------------------------------
1 | class WpCli < Formula
2 | desc "Command-line interface for WordPress"
3 | homepage "https://wp-cli.org/"
4 | url "https://github.com/wp-cli/wp-cli/releases/download/v2.2.0/wp-cli-2.2.0.phar"
5 | sha256 "71ee8a2449f17bf8a6fd385872cbdc3cc263107f7767a3b55f6c6e2ef5920368"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "wp-cli-#{version}.phar" => "wp"
11 | end
12 |
13 | test do
14 | output = shell_output("#{bin}/wp core download --path=wptest")
15 | assert_match "Success: WordPress downloaded.", output
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/djvu2pdf.rb:
--------------------------------------------------------------------------------
1 | class Djvu2pdf < Formula
2 | desc "Small tool to convert Djvu files to PDF files"
3 | homepage "https://0x2a.at/site/projects/djvu2pdf/"
4 | url "https://0x2a.at/site/projects/djvu2pdf/djvu2pdf-0.9.2.tar.gz"
5 | sha256 "afe86237bf4412934d828dfb5d20fe9b584d584ef65b012a893ec853c1e84a6c"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "djvulibre"
10 | depends_on "ghostscript"
11 |
12 | def install
13 | bin.install "djvu2pdf"
14 | man1.install "djvu2pdf.1.gz"
15 | end
16 |
17 | test do
18 | system "#{bin}/djvu2pdf", "-h"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/keychain.rb:
--------------------------------------------------------------------------------
1 | class Keychain < Formula
2 | desc "User-friendly front-end to ssh-agent(1)"
3 | homepage "https://www.funtoo.org/Keychain"
4 | url "https://build.funtoo.org/distfiles/keychain/keychain-2.8.5.tar.bz2"
5 | mirror "https://fossies.org/linux/privat/keychain-2.8.5.tar.bz2"
6 | sha256 "16f5949b606691dea6e1832a77e697b8c0b2a536abfbd29e3a3f47222259c3b2"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "keychain"
12 | man1.install "keychain.1"
13 | end
14 |
15 | test do
16 | system "#{bin}/keychain", "--version"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/q.rb:
--------------------------------------------------------------------------------
1 | class Q < Formula
2 | desc "Treat text as a database"
3 | homepage "https://github.com/harelba/q"
4 | url "https://github.com/harelba/q/archive/1.7.4.tar.gz"
5 | sha256 "97a21907e4599bfdc8937ee4cb4d7e899c45ae09ae8d3c96235efa469e4f2ac3"
6 | head "https://github.com/harelba/q.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "bin/q"
12 | end
13 |
14 | test do
15 | seq = (1..100).map(&:to_s).join("\n")
16 | output = pipe_output("#{bin}/q 'select sum(c1) from -'", seq)
17 | assert_equal "5050\n", output
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/rake-completion.rb:
--------------------------------------------------------------------------------
1 | class RakeCompletion < Formula
2 | desc "Bash completion for Rake"
3 | homepage "https://github.com/JoeNyland/rake-completion"
4 | url "https://github.com/JoeNyland/rake-completion/archive/v1.0.0.tar.gz"
5 | sha256 "2d619d0d1d8052994011209c62f926b9e41d45e9268da4b9858fa45911b04cd1"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "rake.sh" => "rake"
11 | end
12 |
13 | test do
14 | assert_match "-F _rakecomplete",
15 | shell_output("source #{bash_completion}/rake && complete -p rake")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/repo.rb:
--------------------------------------------------------------------------------
1 | class Repo < Formula
2 | desc "Repository tool for Android development"
3 | homepage "https://source.android.com/source/developing.html"
4 | url "https://gerrit.googlesource.com/git-repo.git",
5 | :tag => "v1.13.3",
6 | :revision => "c5b0e23490478b4e5d22335d7015f40a8c187518"
7 | version_scheme 1
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bin.install "repo"
13 | doc.install (buildpath/"docs").children
14 | end
15 |
16 | test do
17 | assert_match "usage:", shell_output("#{bin}/repo help 2>&1", 1)
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/stormssh-completion.rb:
--------------------------------------------------------------------------------
1 | class StormsshCompletion < Formula
2 | desc "Completion for storm-ssh"
3 | homepage "https://github.com/vigo/stormssh-completion"
4 | url "https://github.com/vigo/stormssh-completion/archive/0.1.1.tar.gz"
5 | sha256 "cbdc35d674919aacc18723c42f2b6354fcd3efdcbfbb28e1fe60fbd1c1c7b18d"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "stormssh"
11 | end
12 |
13 | test do
14 | assert_match "-F __stormssh",
15 | shell_output("source #{bash_completion}/stormssh && complete -p storm")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/cpanminus.rb:
--------------------------------------------------------------------------------
1 | class Cpanminus < Formula
2 | desc "Get, unpack, build, and install modules from CPAN"
3 | homepage "https://github.com/miyagawa/cpanminus"
4 | url "https://github.com/miyagawa/cpanminus/archive/1.9019.tar.gz"
5 | sha256 "d0a37547a3c4b6dbd3806e194cd6cf4632158ebed44d740ac023e0739538fb46"
6 | head "https://github.com/miyagawa/cpanminus.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | cd "App-cpanminus" do
12 | bin.install "cpanm"
13 | end
14 | end
15 |
16 | test do
17 | system "#{bin}/cpanm", "Test::More"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/jbake.rb:
--------------------------------------------------------------------------------
1 | class Jbake < Formula
2 | desc "Java based static site/blog generator"
3 | homepage "https://jbake.org/"
4 | url "https://dl.bintray.com/jbake/binary/jbake-2.6.4-bin.zip"
5 | sha256 "831149752f72005e3ebf6e7f554b0bf880a8df74faf4bfcf0ec746185316faf0"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.7+"
10 |
11 | def install
12 | rm_f Dir["bin/*.bat"]
13 | libexec.install Dir["*"]
14 | bin.install_symlink libexec/"bin/jbake"
15 | end
16 |
17 | test do
18 | assert_match "Usage: jbake", shell_output("#{bin}/jbake")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/slugify.rb:
--------------------------------------------------------------------------------
1 | class Slugify < Formula
2 | desc "Convert filenames and directories to a web friendly format"
3 | homepage "https://github.com/benlinton/slugify"
4 | url "https://github.com/benlinton/slugify/archive/v1.0.1.tar.gz"
5 | sha256 "f6873b062119d3eaa7d89254fc6e241debf074da02e3189f12e08b372af096e5"
6 | head "https://github.com/benlinton/slugify.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "slugify"
12 | man1.install "slugify.1"
13 | end
14 |
15 | test do
16 | system "#{bin}/slugify", "-n", "dry_run.txt"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/vcsh.rb:
--------------------------------------------------------------------------------
1 | class Vcsh < Formula
2 | desc "Config manager based on git"
3 | homepage "https://github.com/RichiH/vcsh"
4 | url "https://github.com/RichiH/vcsh/archive/v1.20151229-1.tar.gz"
5 | version "1.20151229-1"
6 | sha256 "7682a517eaf88a86ea5e38ad81707800e965375eaff8b5cfd882e210fe2fef71"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "vcsh"
12 | man1.install "vcsh.1"
13 | zsh_completion.install "_vcsh"
14 | end
15 |
16 | test do
17 | assert_match /Initialized empty/, shell_output("#{bin}/vcsh init test").strip
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/gifcap.rb:
--------------------------------------------------------------------------------
1 | class Gifcap < Formula
2 | desc "Capture video from an Android device and make a gif"
3 | homepage "https://github.com/outlook/gifcap"
4 | url "https://github.com/outlook/gifcap/archive/1.0.4.tar.gz"
5 | sha256 "32747a6cf77f7ea99380752ba35ecd929bb185167e5908cf910d2a92f05029ad"
6 | head "https://github.com/outlook/gifcap.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "ffmpeg"
11 |
12 | def install
13 | bin.install "gifcap"
14 | end
15 |
16 | test do
17 | assert_match /^usage: gifcap/, shell_output("#{bin}/gifcap --help").strip
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/goto.rb:
--------------------------------------------------------------------------------
1 | class Goto < Formula
2 | desc "Bash tool for navigation to aliased directories with auto-completion"
3 | homepage "https://github.com/iridakos/goto"
4 | url "https://github.com/iridakos/goto/archive/v1.2.3.tar.gz"
5 | sha256 "856e0c2b9f7e8f55ff9aa9bdb356dbc831644f7b25da1d5f1e9ae8c3ff538d47"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "goto.sh"
11 | end
12 |
13 | test do
14 | output = shell_output("source #{bash_completion}/goto.sh && complete -p goto")
15 | assert_match "-F _complete_goto_bash", output
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/hg-fast-export.rb:
--------------------------------------------------------------------------------
1 | class HgFastExport < Formula
2 | desc "Fast Mercurial to Git converter"
3 | homepage "https://repo.or.cz/fast-export.git"
4 | url "https://github.com/frej/fast-export/archive/v190107.tar.gz"
5 | sha256 "2b9ff09308071ac2642ffe411b834f5028ee23ca6d1deb237a39ed9e63ecd5b1"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "hg-fast-export.py", "hg-fast-export.sh",
11 | "hg-reset.py", "hg-reset.sh",
12 | "hg2git.py"
13 | end
14 |
15 | test do
16 | system bin/"hg-fast-export.sh", "--help"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/kommit.rb:
--------------------------------------------------------------------------------
1 | class Kommit < Formula
2 | desc "More detailed commit messages without committing!"
3 | homepage "https://github.com/vigo/kommit"
4 | url "https://github.com/vigo/kommit/archive/v1.1.0.tar.gz"
5 | sha256 "c51e87c9719574feb9841fdcbd6d1a43b73a45afeca25e1312d2699fdf730161"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "bin/git-kommit"
11 | end
12 |
13 | test do
14 | system "git", "init"
15 | system "#{bin}/git-kommit", "-m", "Hello"
16 | assert_match /Hello/, shell_output("#{bin}/git-kommit -s /dev/null 2>&1")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/rbenv-use.rb:
--------------------------------------------------------------------------------
1 | class RbenvUse < Formula
2 | desc "Switch between rubies without reference to patch levels"
3 | homepage "https://github.com/rkh/rbenv-use"
4 | url "https://github.com/rkh/rbenv-use/archive/v1.0.0.tar.gz"
5 | sha256 "f831dc9b8a43e30499e62928d13f5d354bf4c505b3f6b7fc1a1a9956ed9e538c"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | depends_on "rbenv"
11 | depends_on "rbenv-whatis"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | shell_output("eval \"$(rbenv init -)\" && rbenv use system")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/titlecase.rb:
--------------------------------------------------------------------------------
1 | class Titlecase < Formula
2 | desc "Script to convert text to title case"
3 | homepage "http://plasmasturm.org/code/titlecase/"
4 | url "https://github.com/ap/titlecase/archive/v1.004.tar.gz"
5 | sha256 "fbaafdb66ab4ba26f1f03fa292771d146c050fff0a3a640e11314ace322c2d92"
6 | head "https://github.com/ap/titlecase.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "titlecase"
12 | end
13 |
14 | test do
15 | (testpath/"test").write "homebrew"
16 | assert_equal "Homebrew\n", shell_output("#{bin}/titlecase test")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/betty.rb:
--------------------------------------------------------------------------------
1 | class Betty < Formula
2 | desc "English-like interface for the command-line"
3 | homepage "https://github.com/pickhardt/betty"
4 | url "https://github.com/pickhardt/betty/archive/v0.1.7.tar.gz"
5 | sha256 "ed71e88a659725e0c475888df044c9de3ab1474ff483f0a3bb432949035e62d3"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | libexec.install "lib", "main.rb" => "betty"
12 | bin.write_exec_script libexec/"betty"
13 | end
14 |
15 | test do
16 | system bin/"betty", "what is your name"
17 | system bin/"betty", "version"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/doubledown.rb:
--------------------------------------------------------------------------------
1 | class Doubledown < Formula
2 | desc "Sync local changes to a remote directory"
3 | homepage "https://github.com/devstructure/doubledown"
4 | url "https://github.com/devstructure/doubledown/archive/v0.0.2.tar.gz"
5 | sha256 "47ff56b6197c5302a29ae4a373663229d3b396fd54d132adbf9f499172caeb71"
6 | head "https://github.com/devstructure/doubledown.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install Dir["bin/*"]
12 | man1.install Dir["man/man1/*.1"]
13 | end
14 |
15 | test do
16 | system "#{bin}/doubledown", "--help"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/putmail.rb:
--------------------------------------------------------------------------------
1 | class Putmail < Formula
2 | desc "MTA or SMTP client designed to replace the sendmail command"
3 | homepage "https://putmail.sourceforge.io"
4 | url "https://downloads.sourceforge.net/project/putmail/putmail.py/1.4/putmail.py-1.4.tar.bz2"
5 | sha256 "1f4e6f33496100ad89b8f029621fb78ab2f80258994c7cd8687fd46730df45be"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "putmail.py"
11 | man1.install "man/man1/putmail.py.1"
12 | bin.install_symlink "putmail.py" => "putmail"
13 | man1.install_symlink "putmail.py.1" => "putmail.1"
14 | end
15 | end
16 |
--------------------------------------------------------------------------------
/Formula/rbenv-gemset.rb:
--------------------------------------------------------------------------------
1 | class RbenvGemset < Formula
2 | desc "Adds basic gemset support to rbenv"
3 | homepage "https://github.com/jf/rbenv-gemset"
4 | url "https://github.com/jf/rbenv-gemset/archive/v0.5.9.tar.gz"
5 | sha256 "856aa45ce1e9ac56d476667e2ca58f5f312600879fec4243073edc88a41954da"
6 | revision 1
7 | head "https://github.com/jf/rbenv-gemset.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | assert_match "gemset.bash", shell_output("rbenv hooks exec")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/sjk.rb:
--------------------------------------------------------------------------------
1 | class Sjk < Formula
2 | desc "Swiss Java Knife"
3 | homepage "https://github.com/aragozin/jvm-tools"
4 | url "https://search.maven.org/remotecontent?filepath=org/gridkit/jvmtool/sjk-plus/0.10.1/sjk-plus-0.10.1.jar"
5 | sha256 "dafd3b18de282265fe0f806872b23211a1318fc63aaef284fbd6abee5a288368"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java
10 |
11 | def install
12 | libexec.install "sjk-plus-#{version}.jar"
13 | bin.write_jar_script "#{libexec}/sjk-plus-#{version}.jar", "sjk"
14 | end
15 |
16 | test do
17 | system bin/"sjk", "jps"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/yarn-completion.rb:
--------------------------------------------------------------------------------
1 | class YarnCompletion < Formula
2 | desc "Bash completion for Yarn"
3 | homepage "https://github.com/dsifford/yarn-completion"
4 | url "https://github.com/dsifford/yarn-completion/archive/v0.8.0.tar.gz"
5 | sha256 "f359dbfd4d9dd28e231e81da16f308e73662fd586546672569a0eac994f2bcd6"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "yarn-completion.bash" => "yarn"
11 | end
12 |
13 | test do
14 | assert_match "complete -F _yarn yarn",
15 | shell_output("source #{bash_completion}/yarn && complete -p yarn")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/homesick-completion.rb:
--------------------------------------------------------------------------------
1 | class HomesickCompletion < Formula
2 | desc "Bash completion for Homesick"
3 | homepage "https://github.com/MasterRoot24/homesick-completion"
4 | url "https://github.com/MasterRoot24/homesick-completion/archive/v1.0.0.tar.gz"
5 | sha256 "f9953d92dc5c0d9770d502a68651795c78f5d7bd6078cd747e77ebc602c43609"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "homesick"
11 | end
12 |
13 | test do
14 | assert_match "-F _homesick",
15 | shell_output("source #{bash_completion}/homesick && complete -p homesick")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/linklint.rb:
--------------------------------------------------------------------------------
1 | class Linklint < Formula
2 | desc "Link checker and web site maintenance tool"
3 | homepage "http://linklint.org"
4 | url "http://linklint.org/download/linklint-2.3.5.tar.gz"
5 | sha256 "ecaee456a3c2d6a3bd18a580d6b09b6b7b825df3e59f900270fe3f84ec3ac9c7"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | mv "READ_ME.txt", "README"
11 |
12 | doc.install "README"
13 | bin.install "linklint-#{version}" => "linklint"
14 | end
15 |
16 | test do
17 | (testpath/"index.html").write('Home')
18 | system "#{bin}/linklint", "/"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/rbenv-communal-gems.rb:
--------------------------------------------------------------------------------
1 | class RbenvCommunalGems < Formula
2 | desc "Share gems across multiple rbenv Ruby installs"
3 | homepage "https://github.com/tpope/rbenv-communal-gems"
4 | url "https://github.com/tpope/rbenv-communal-gems/archive/v1.0.1.tar.gz"
5 | sha256 "99f1c0be6721e25037f964015cbd2622d70603ceeeaef58f040410ac3697d766"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | depends_on "rbenv"
11 |
12 | def install
13 | prefix.install Dir["*"]
14 | end
15 |
16 | test do
17 | assert_match "communal-gems.bash", shell_output("rbenv hooks install")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/rest-shell.rb:
--------------------------------------------------------------------------------
1 | class RestShell < Formula
2 | desc "Shell to work with Spring HATEOAS-compliant REST resources"
3 | homepage "https://github.com/spring-projects/rest-shell"
4 | url "http://download.gopivotal.com/rest-shell/1.2.1/rest-shell-1.2.1.RELEASE.tar.gz"
5 | version "1.2.1.RELEASE"
6 | sha256 "0ecfa67d005cc0d51e7a3a26c4dacc53aa12012f0e757332a2fa40c5e780c2d6"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | libexec.install Dir["*"]
12 | bin.write_exec_script libexec/"bin/rest-shell"
13 | end
14 |
15 | test do
16 | system "#{bin}/rest-shell"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/timedog.rb:
--------------------------------------------------------------------------------
1 | class Timedog < Formula
2 | desc "Lists files that were saved by a backup of the macOS Time Machine"
3 | homepage "https://github.com/nlfiedler/timedog"
4 | url "https://github.com/nlfiedler/timedog/archive/v1.4.tar.gz"
5 | sha256 "169ab408fe5c6b292a7d4adf0845c42160108fd43d6a392b95210204de49cb52"
6 | head "https://github.com/nlfiedler/timedog.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "timedog"
12 | end
13 |
14 | test do
15 | assert_match "No machine directory found for host", shell_output("#{bin}/timedog 2>&1", 1)
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/bzr-extmerge.rb:
--------------------------------------------------------------------------------
1 | class BzrExtmerge < Formula
2 | desc "External merge tool support for Bazaar"
3 | homepage "https://launchpad.net/bzr-extmerge"
4 | url "https://launchpad.net/bzr-extmerge/trunk/1.0.0/+download/bzr-extmerge-1.0.0.tar.gz"
5 | sha256 "1b86d3a54fe669db19bc2a42a09eae52e449cc3ece8234377fd213e834f69cc0"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "bazaar"
10 |
11 | def install
12 | (share/"bazaar/plugins/extmerge").install Dir["*"]
13 | end
14 |
15 | test do
16 | assert_match /Calls an external merge program/, shell_output("bzr help extmerge")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/iproute2mac.rb:
--------------------------------------------------------------------------------
1 | class Iproute2mac < Formula
2 | desc "CLI wrapper for basic network utilities on macOS - ip command"
3 | homepage "https://github.com/brona/iproute2mac"
4 | url "https://github.com/brona/iproute2mac/releases/download/v1.2.2/iproute2mac-1.2.2.tar.gz"
5 | sha256 "37ea67da5bbcac5977877c4a3a1ea8c6149785d44c65ffdaf60f9e2ba689def3"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "src/ip.py" => "ip"
11 | end
12 |
13 | test do
14 | system "#{bin}/ip", "route"
15 | system "#{bin}/ip", "address"
16 | system "#{bin}/ip", "neigh"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/ansiweather.rb:
--------------------------------------------------------------------------------
1 | class Ansiweather < Formula
2 | desc "Weather in your terminal, with ANSI colors and Unicode symbols"
3 | homepage "https://github.com/fcambus/ansiweather"
4 | url "https://github.com/fcambus/ansiweather/archive/1.13.0.tar.gz"
5 | sha256 "2f0fc8722e45f02042a96d903e87196ad08b237ae693895df9a805c27637dac9"
6 | head "https://github.com/fcambus/ansiweather.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "jq"
11 |
12 | def install
13 | bin.install "ansiweather"
14 | end
15 |
16 | test do
17 | assert_match "Wind", shell_output("#{bin}/ansiweather")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/imgur-screenshot.rb:
--------------------------------------------------------------------------------
1 | class ImgurScreenshot < Formula
2 | desc "Take screenshot selection, upload to imgur. + more cool things"
3 | homepage "https://github.com/jomo/imgur-screenshot"
4 | url "https://github.com/jomo/imgur-screenshot/archive/v1.7.4.tar.gz"
5 | sha256 "1f0f2d5e201f1fdc1472f201f04430d809bf442ad034c194e70d8921823e990e"
6 | head "https://github.com/jomo/imgur-screenshot.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "imgur-screenshot.sh"
12 | end
13 |
14 | test do
15 | system "#{bin}/imgur-screenshot.sh", "--check" # checks deps
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/launch4j.rb:
--------------------------------------------------------------------------------
1 | class Launch4j < Formula
2 | desc "Cross-platform Java executable wrapper"
3 | homepage "https://launch4j.sourceforge.io/"
4 | url "https://downloads.sourceforge.net/project/launch4j/launch4j-3/3.12/launch4j-3.12-macosx-x86.tgz"
5 | version "3.12"
6 | sha256 "754e557036ff4a469b4a24443c809113f85b9a0689a5ffdcf35a8a6e986c458f"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | libexec.install Dir["*"] - ["src", "web"]
12 | bin.write_jar_script libexec/"launch4j.jar", "launch4j"
13 | end
14 |
15 | test do
16 | system "#{bin}/launch4j", "--version"
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/objc-run.rb:
--------------------------------------------------------------------------------
1 | class ObjcRun < Formula
2 | desc "Use Objective-C files for shell script-like tasks"
3 | homepage "https://github.com/iljaiwas/objc-run"
4 | url "https://github.com/iljaiwas/objc-run/archive/1.4.tar.gz"
5 | sha256 "6d02a31764c457c4a6a9f5df0963d733d611ba873fc32672151ee02a05acd6f2"
6 | head "https://github.com/iljaiwas/objc-run.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "objc-run"
12 | pkgshare.install "examples", "test.bash"
13 | end
14 |
15 | test do
16 | cp_r pkgshare, testpath
17 | system "./objc-run/test.bash"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/tfenv.rb:
--------------------------------------------------------------------------------
1 | class Tfenv < Formula
2 | desc "Terraform version manager inspired by rbenv"
3 | homepage "https://github.com/tfutils/tfenv"
4 | url "https://github.com/tfutils/tfenv/archive/v1.0.1.tar.gz"
5 | sha256 "8121f269a1c6214d7621a06e7f40e114e0a1c38a87d5b57585405aa4862ff0f0"
6 | head "https://github.com/tfutils/tfenv.git"
7 |
8 | bottle :unneeded
9 |
10 | conflicts_with "terraform", :because => "tfenv symlinks terraform binaries"
11 |
12 | def install
13 | prefix.install ["bin", "libexec"]
14 | end
15 |
16 | test do
17 | system bin/"tfenv", "list-remote"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/zzz.rb:
--------------------------------------------------------------------------------
1 | class Zzz < Formula
2 | desc "Command-line tool to put Macs to sleep"
3 | homepage "https://github.com/Orc/Zzz"
4 | url "https://github.com/Orc/Zzz/archive/v1.tar.gz"
5 | sha256 "8c8958b65a74ab1081ce1a950af6d360166828bdb383d71cc8fe37ddb1702576"
6 | head "https://github.com/Orc/Zzz.git"
7 |
8 | bottle :unneeded
9 |
10 | # No test is possible: this has no --help or --version, it just
11 | # sleeps the Mac instantly.
12 | def install
13 | system "make", "install", "PREFIX=#{prefix}"
14 | end
15 |
16 | test do
17 | assert_predicate bin/"Zzz", :exist?
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/gcviewer.rb:
--------------------------------------------------------------------------------
1 | class Gcviewer < Formula
2 | desc "Java garbage collection visualization tool"
3 | homepage "https://github.com/chewiebug/GCViewer"
4 | url "https://downloads.sourceforge.net/project/gcviewer/gcviewer-1.35.jar"
5 | sha256 "35d359a0aae175871f8d554ef1097e7f175e9f455980f6d59659f0e8d54e93f2"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | bin.write_jar_script libexec/"gcviewer-#{version}.jar", "gcviewer"
14 | end
15 |
16 | test do
17 | assert_predicate libexec/"gcviewer-#{version}.jar", :exist?
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/gem-completion.rb:
--------------------------------------------------------------------------------
1 | class GemCompletion < Formula
2 | desc "Bash completion for gem"
3 | homepage "https://github.com/mernen/completion-ruby"
4 | url "https://github.com/mernen/completion-ruby.git",
5 | :revision => "f3e4345042b0cc48317e45b673dfd3d23904b9a7"
6 | version "2"
7 | head "https://github.com/mernen/completion-ruby.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bash_completion.install "completion-gem" => "gem"
13 | end
14 |
15 | test do
16 | assert_match "-F __gem",
17 | shell_output("source #{bash_completion}/gem && complete -p gem")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/kerl.rb:
--------------------------------------------------------------------------------
1 | class Kerl < Formula
2 | desc "Easy building and installing of Erlang/OTP instances"
3 | homepage "https://github.com/kerl/kerl"
4 | url "https://github.com/kerl/kerl/archive/1.8.5.tar.gz"
5 | sha256 "1dbbabbddc1373837578e2d7c0c0f832291ec9fe1b4181ba0e7da8ca4b8f81ed"
6 | head "https://github.com/kerl/kerl.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "kerl"
12 | bash_completion.install "bash_completion/kerl"
13 | zsh_completion.install "zsh_completion/_kerl"
14 | end
15 |
16 | test do
17 | system "#{bin}/kerl", "list", "releases"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/orc-tools.rb:
--------------------------------------------------------------------------------
1 | class OrcTools < Formula
2 | desc "ORC java command-line tools and utilities"
3 | homepage "https://orc.apache.org/"
4 | url "https://search.maven.org/remotecontent?filepath=org/apache/orc/orc-tools/1.5.6/orc-tools-1.5.6-uber.jar"
5 | sha256 "c429c94e9550ca113c45315083453b2e2ceb83eca3596695b68b8cafc8248c56"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install "orc-tools-#{version}-uber.jar"
11 | bin.write_jar_script libexec/"orc-tools-#{version}-uber.jar", "orc-tools"
12 | end
13 |
14 | test do
15 | system "#{bin}/orc-tools", "meta", "-h"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/pip-completion.rb:
--------------------------------------------------------------------------------
1 | class PipCompletion < Formula
2 | desc "Bash completion for Pip"
3 | homepage "https://github.com/ekalinin/pip-bash-completion"
4 | url "https://github.com/ekalinin/pip-bash-completion.git",
5 | :revision => "87983a927dc372b66952a6ef84ade70dd86450f9"
6 | version "20161126"
7 | head "https://github.com/ekalinin/pip-bash-completion.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bash_completion.install "pip"
13 | end
14 |
15 | test do
16 | assert_match "-F _pip",
17 | shell_output("source #{bash_completion}/pip && complete -p pip")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/rbenv-aliases.rb:
--------------------------------------------------------------------------------
1 | class RbenvAliases < Formula
2 | desc "Make aliases for Ruby versions"
3 | homepage "https://github.com/tpope/rbenv-aliases"
4 | url "https://github.com/tpope/rbenv-aliases/archive/v1.1.0.tar.gz"
5 | sha256 "12e89bc4499e85d8babac2b02bc8b66ceb0aa3f8047b26728a3eca8a6030273d"
6 | revision 1
7 | head "https://github.com/tpope/rbenv-aliases.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | assert_match "autoalias.bash", shell_output("rbenv hooks install")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/rsync-time-backup.rb:
--------------------------------------------------------------------------------
1 | class RsyncTimeBackup < Formula
2 | desc "Time Machine-style backup for the terminal using rsync"
3 | homepage "https://github.com/laurent22/rsync-time-backup"
4 | url "https://github.com/laurent22/rsync-time-backup/archive/v1.1.5.tar.gz"
5 | sha256 "567f42ddf2c365273252f15580bb64aa3b3a8abb4a375269aea9cf0278510657"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "rsync_tmbackup.sh"
11 | end
12 |
13 | test do
14 | output = shell_output("#{bin}/rsync_tmbackup.sh --rsync-get-flags")
15 | assert_match "--times --recursive", output
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/xtitle.rb:
--------------------------------------------------------------------------------
1 | class Xtitle < Formula
2 | desc "Set window title and icon for your X terminal"
3 | homepage "https://www.cs.indiana.edu/~kinzler/xtitle/"
4 | url "https://www.cs.indiana.edu/~kinzler/xtitle/xtitle-1.0.4.tgz"
5 | sha256 "cadddef1389ba1c5e1dc7dd861545a5fe11cb397a3f692cd63881671340fcc15"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "xtitle.sh" => "xtitle"
11 | bin.install "xtctl.sh" => "xtctl"
12 | man1.install "xtitle.man" => "xtitle.1"
13 | end
14 |
15 | test do
16 | assert_match version.to_s, shell_output("#{bin}/xtitle --version")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/denominator.rb:
--------------------------------------------------------------------------------
1 | class Denominator < Formula
2 | desc "Portable Java library for manipulating DNS clouds"
3 | homepage "https://github.com/Netflix/denominator/tree/v4.7.1/cli"
4 | url "https://bintray.com/artifact/download/netflixoss/maven/com/netflix/denominator/denominator-cli/4.7.1/denominator-cli-4.7.1-fat.jar"
5 | sha256 "f2d09aaebb63ccb348dcba3a5cc3e94a42b0eae49e90ac0ec2b0a14adfbe5254"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "denominator-cli-4.7.1-fat.jar" => "denominator"
11 | end
12 |
13 | test do
14 | system "#{bin}/denominator", "providers"
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/git-gerrit.rb:
--------------------------------------------------------------------------------
1 | class GitGerrit < Formula
2 | desc "Gerrit code review helper scripts"
3 | homepage "https://github.com/fbzhong/git-gerrit"
4 | url "https://github.com/fbzhong/git-gerrit/archive/v0.3.0.tar.gz"
5 | sha256 "433185315db3367fef82a7332c335c1c5e0b05dabf8d4fbeff9ecf6cc7e422eb"
6 | head "https://github.com/fbzhong/git-gerrit.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | prefix.install "bin"
12 | bash_completion.install "completion/git-gerrit-completion.bash"
13 | end
14 |
15 | test do
16 | system "git", "init"
17 | system "git", "gerrit", "help"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/jsawk.rb:
--------------------------------------------------------------------------------
1 | class Jsawk < Formula
2 | desc "Like awk, but for JSON, using JavaScript objects and arrays"
3 | homepage "https://github.com/micha/jsawk"
4 | url "https://github.com/micha/jsawk/archive/1.4.tar.gz"
5 | sha256 "3d38ffb4b9c6ff7f17072a12c5817ffe68bd0ab58d6182de300fc1e587d34530"
6 | head "https://github.com/micha/jsawk.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "spidermonkey"
11 |
12 | def install
13 | bin.install "jsawk"
14 | end
15 |
16 | test do
17 | cmd = %Q(#{bin}/jsawk 'this.a = "foo"')
18 | assert_equal %Q({"a":"foo"}\n), pipe_output(cmd, "{}")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/ruby-completion.rb:
--------------------------------------------------------------------------------
1 | class RubyCompletion < Formula
2 | desc "Bash completion for Ruby"
3 | homepage "https://github.com/mernen/completion-ruby"
4 | url "https://github.com/mernen/completion-ruby.git",
5 | :revision => "f3e4345042b0cc48317e45b673dfd3d23904b9a7"
6 | version "2"
7 | head "https://github.com/mernen/completion-ruby.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bash_completion.install "completion-ruby" => "ruby"
13 | end
14 |
15 | test do
16 | assert_match "-F __ruby",
17 | shell_output("source #{bash_completion}/ruby && complete -p ruby")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/ssh-audit.rb:
--------------------------------------------------------------------------------
1 | class SshAudit < Formula
2 | desc "SSH server auditing"
3 | homepage "https://github.com/arthepsy/ssh-audit"
4 | url "https://github.com/arthepsy/ssh-audit/archive/v1.7.0.tar.gz"
5 | sha256 "cba29cc19ec2932e4f43c720b2c49a7d179219e23482476aeb472f7463713b68"
6 | revision 1
7 | head "https://github.com/arthepsy/ssh-audit.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bin.install "ssh-audit.py" => "ssh-audit"
13 | end
14 |
15 | test do
16 | output = shell_output("#{bin}/ssh-audit -h 2>&1", 1)
17 | assert_match "force ssh version 1 only", output
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/wp-cli-completion.rb:
--------------------------------------------------------------------------------
1 | class WpCliCompletion < Formula
2 | desc "Bash completion for Wpcli"
3 | homepage "https://github.com/wp-cli/wp-cli"
4 | url "https://github.com/wp-cli/wp-cli/archive/v2.2.0.tar.gz"
5 | sha256 "c40b7427532b7c42623a23e3537c6440463b0bc5294943bbaa1805cd88c73083"
6 | head "https://github.com/wp-cli/wp-cli.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "utils/wp-completion.bash" => "wp"
12 | end
13 |
14 | test do
15 | assert_match "-F _wp_complete",
16 | shell_output("source #{bash_completion}/wp && complete -p wp")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/avro-tools.rb:
--------------------------------------------------------------------------------
1 | class AvroTools < Formula
2 | desc "Avro command-line tools and utilities"
3 | homepage "https://avro.apache.org/"
4 | url "https://www.apache.org/dyn/closer.cgi?path=avro/avro-1.9.0/java/avro-tools-1.9.0.jar"
5 | sha256 "09e2556753c0c0a6983b43a198f1bdd0487d33095bd6f4e563851e6f6e53901e"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install "avro-tools-#{version}.jar"
11 | bin.write_jar_script libexec/"avro-tools-#{version}.jar", "avro-tools"
12 | end
13 |
14 | test do
15 | assert_match "Version #{version}", shell_output("#{bin}/avro-tools 2>&1", 1)
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/brew-cask-completion.rb:
--------------------------------------------------------------------------------
1 | class BrewCaskCompletion < Formula
2 | desc "Fish completion for brew-cask"
3 | homepage "https://github.com/xyb/homebrew-cask-completion"
4 | url "https://github.com/xyb/homebrew-cask-completion/archive/v2.1.tar.gz"
5 | sha256 "27c7ea3b7f7c060f5b5676a419220c4ce6ebf384237e859a61c346f61c8f7a1b"
6 | revision 1
7 | head "https://github.com/xyb/homebrew-cask-completion.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | fish_completion.install "brew-cask.fish"
13 | end
14 |
15 | test do
16 | assert_predicate fish_completion/"brew-cask.fish", :exist?
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/rbenv-bundler.rb:
--------------------------------------------------------------------------------
1 | class RbenvBundler < Formula
2 | desc "Makes shims aware of bundle install paths"
3 | homepage "https://github.com/carsomyr/rbenv-bundler"
4 | url "https://github.com/carsomyr/rbenv-bundler/archive/1.00.tar.gz"
5 | sha256 "84f5456b1ac8ea4554db8fa17c99b5f5d2eafcd647f85088a5d36e805c092ba7"
6 | revision 1
7 | head "https://github.com/carsomyr/rbenv-bundler.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | assert_match "bundler.bash", shell_output("rbenv hooks exec")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/spring-roo.rb:
--------------------------------------------------------------------------------
1 | class SpringRoo < Formula
2 | desc "Rapid application development tool for Java developers"
3 | homepage "https://projects.spring.io/spring-roo/"
4 | url "https://s3.amazonaws.com/spring-roo-repository.springsource.org/release/ROO/spring-roo-2.0.0.RELEASE.zip"
5 | version "2.0.0"
6 | sha256 "37819adf23b221a4544a7b1e6853b67f695fb915f5a1d433760e04fb4b5d7263"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | rm Dir["bin/*.bat"]
12 | libexec.install Dir["*"]
13 | mv "#{libexec}/bin/roo.sh", "#{libexec}/bin/roo"
14 | bin.write_exec_script Dir["#{libexec}/bin/*"]
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/Formula/bfg.rb:
--------------------------------------------------------------------------------
1 | class Bfg < Formula
2 | desc "Remove large files or passwords from Git history like git-filter-branch"
3 | homepage "https://rtyley.github.io/bfg-repo-cleaner/"
4 | url "https://search.maven.org/remotecontent?filepath=com/madgag/bfg/1.13.0/bfg-1.13.0.jar"
5 | sha256 "bf22bab9dd42d4682b490d6bc366afdad6c3da99f97521032d3be8ba7526c8ce"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | libexec.install "bfg-#{version}.jar"
13 | bin.write_jar_script libexec/"bfg-#{version}.jar", "bfg"
14 | end
15 |
16 | test do
17 | system "#{bin}/bfg"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/open-completion.rb:
--------------------------------------------------------------------------------
1 | class OpenCompletion < Formula
2 | desc "Bash completion for open"
3 | homepage "https://github.com/moshen/open-bash-completion"
4 | url "https://github.com/moshen/open-bash-completion/archive/v1.0.3.tar.gz"
5 | sha256 "e7ed931d49d2c9ed5bc4fcad1b60a8c4cb6d4bca86948cb54e6689f313a2029e"
6 | head "https://github.com/moshen/open-bash-completion.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "open"
12 | end
13 |
14 | test do
15 | assert_match "-F _open",
16 | shell_output("source #{bash_completion}/open && complete -p open")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/rails-completion.rb:
--------------------------------------------------------------------------------
1 | class RailsCompletion < Formula
2 | desc "Bash completion for Rails"
3 | homepage "https://github.com/mernen/completion-ruby"
4 | url "https://github.com/mernen/completion-ruby.git",
5 | :revision => "f3e4345042b0cc48317e45b673dfd3d23904b9a7"
6 | version "2"
7 | head "https://github.com/mernen/completion-ruby.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bash_completion.install "completion-rails" => "rails"
13 | end
14 |
15 | test do
16 | assert_match "-F __rails",
17 | shell_output("source #{bash_completion}/rails && complete -p rails")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Homebrew Core
2 |
3 | Core formulae for the Homebrew package manager.
4 |
5 | Core formulae for the Linuxbrew package manager (Homebrew on Linux or Windows 10 Subsystem for Linux) are in [Homebrew/linuxbrew-core](https://github.com/Homebrew/linuxbrew-core).
6 |
7 | ## How do I install these formulae?
8 |
9 | Just `brew install `. This is the default tap for Homebrew and is installed by default.
10 |
11 | ## More Documentation, Troubleshooting, Contributing, Security, Community, Donations, License and Sponsors
12 |
13 | See these sections in [Homebrew/brew's README](https://github.com/Homebrew/brew#homebrew).
14 |
--------------------------------------------------------------------------------
/Formula/ditaa.rb:
--------------------------------------------------------------------------------
1 | class Ditaa < Formula
2 | desc "Convert ASCII diagrams into proper bitmap graphics"
3 | homepage "https://ditaa.sourceforge.io/"
4 | url "https://github.com/stathissideris/ditaa/releases/download/v0.11.0/ditaa-0.11.0-standalone.jar"
5 | sha256 "9418aa63ff6d89c5d2318396f59836e120e75bea7a5930c4d34aa10fe7a196a9"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java
10 |
11 | def install
12 | libexec.install "ditaa-#{version}-standalone.jar"
13 | bin.write_jar_script libexec/"ditaa-#{version}-standalone.jar", "ditaa"
14 | end
15 |
16 | test do
17 | system "#{bin}/ditaa", "-help"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/pyenv-which-ext.rb:
--------------------------------------------------------------------------------
1 | class PyenvWhichExt < Formula
2 | desc "Integrate pyenv and system commands"
3 | homepage "https://github.com/pyenv/pyenv-which-ext"
4 | url "https://github.com/pyenv/pyenv-which-ext/archive/v0.0.2.tar.gz"
5 | sha256 "4098e5a96b048192b0eab66ca5f588602e30ed16aac816e96ff514f6b5896257"
6 | head "https://github.com/pyenv/pyenv-which-ext.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "pyenv"
11 |
12 | def install
13 | ENV["PREFIX"] = prefix
14 | system "./install.sh"
15 | end
16 |
17 | test do
18 | shell_output("eval \"$(pyenv init -)\" && pyenv which python")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/rbenv-binstubs.rb:
--------------------------------------------------------------------------------
1 | class RbenvBinstubs < Formula
2 | desc "Make rbenv aware of bundler binstubs"
3 | homepage "https://github.com/ianheggie/rbenv-binstubs"
4 | url "https://github.com/ianheggie/rbenv-binstubs/archive/v1.5.tar.gz"
5 | sha256 "305000b8ba5b829df1a98fc834b7868b9e817815c661f429b0e28c1f613f4d0c"
6 | revision 1
7 | head "https://github.com/ianheggie/rbenv-binstubs.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | assert_match "rbenv-binstubs.bash", shell_output("rbenv hooks exec")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/rbenv-bundle-exec.rb:
--------------------------------------------------------------------------------
1 | class RbenvBundleExec < Formula
2 | desc "Integrate rbenv and bundler"
3 | homepage "https://github.com/maljub01/rbenv-bundle-exec"
4 | url "https://github.com/maljub01/rbenv-bundle-exec/archive/v1.0.0.tar.gz"
5 | sha256 "2da08cbb1d8edecd1bcf68005d30e853f6f948c54ddb07bada67762032445cf3"
6 | revision 1
7 | head "https://github.com/maljub01/rbenv-bundle-exec.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | assert_match "bundle-exec.bash", shell_output("rbenv hooks exec")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/stanford-parser.rb:
--------------------------------------------------------------------------------
1 | class StanfordParser < Formula
2 | desc "Statistical NLP parser"
3 | homepage "https://nlp.stanford.edu/software/lex-parser.shtml"
4 | url "https://nlp.stanford.edu/software/stanford-parser-full-2018-10-17.zip"
5 | version "3.9.2"
6 | sha256 "92d852af54c0727c2367b9ce267c53bf08f1551a08ec5dd92c357b8cc7b2bcd9"
7 |
8 | bottle :unneeded
9 |
10 | depends_on :java => "1.8+"
11 |
12 | def install
13 | libexec.install Dir["*"]
14 | bin.write_exec_script Dir["#{libexec}/*.sh"]
15 | end
16 |
17 | test do
18 | system "#{bin}/lexparser.sh", "#{libexec}/data/testsent.txt"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/bundler-completion.rb:
--------------------------------------------------------------------------------
1 | class BundlerCompletion < Formula
2 | desc "Bash completion for Bundler"
3 | homepage "https://github.com/mernen/completion-ruby"
4 | url "https://github.com/mernen/completion-ruby.git",
5 | :revision => "f3e4345042b0cc48317e45b673dfd3d23904b9a7"
6 | version "2"
7 | head "https://github.com/mernen/completion-ruby.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bash_completion.install "completion-bundle" => "bundler"
13 | end
14 |
15 | test do
16 | assert_match "-F __bundle",
17 | shell_output("source #{bash_completion}/bundler && complete -p bundle")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/hubflow.rb:
--------------------------------------------------------------------------------
1 | # Note: pull from git tag to get submodules
2 | class Hubflow < Formula
3 | desc "GitFlow for GitHub"
4 | homepage "https://datasift.github.io/gitflow/"
5 | url "https://github.com/datasift/gitflow.git",
6 | :tag => "1.5.3",
7 | :revision => "ed032438d2100b826d2fd5c8281b5e07d88ab9eb"
8 | head "https://github.com/datasift/gitflow.git"
9 |
10 | bottle :unneeded
11 |
12 | def install
13 | ENV["INSTALL_INTO"] = libexec
14 | system "./install.sh", "install"
15 | bin.write_exec_script libexec/"git-hf"
16 | end
17 |
18 | test do
19 | system bin/"git-hf", "version"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/jpegrescan.rb:
--------------------------------------------------------------------------------
1 | class Jpegrescan < Formula
2 | desc "Losslessly shrink any JPEG file"
3 | homepage "https://github.com/kud/jpegrescan"
4 | url "https://github.com/kud/jpegrescan/archive/1.1.0.tar.gz"
5 | sha256 "a8522e971d11c904f4b61af665c3be800f26404e2b14f5f80c675b4a72a42b32"
6 | head "https://github.com/kud/jpegrescan.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "jpeg"
11 |
12 | def install
13 | bin.install "jpegrescan"
14 | end
15 |
16 | test do
17 | system bin/"jpegrescan", "-v", test_fixtures("test.jpg"), testpath/"out.jpg"
18 | assert_predicate testpath/"out.jpg", :exist?
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/pyenv-pip-migrate.rb:
--------------------------------------------------------------------------------
1 | class PyenvPipMigrate < Formula
2 | desc "Migrate pip packages from one Python version to another"
3 | homepage "https://github.com/pyenv/pyenv-pip-migrate"
4 | url "https://github.com/pyenv/pyenv-pip-migrate/archive/v20130527.tar.gz"
5 | sha256 "1ec5a590a05792843d493a66825ede852b6afc6e95a6a2d2a813e73497c6637a"
6 | head "https://github.com/pyenv/pyenv-pip-migrate.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "pyenv"
11 |
12 | def install
13 | prefix.install Dir["*"]
14 | end
15 |
16 | test do
17 | shell_output("eval \"$(pyenv init -)\" && pyenv help migrate")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/rbenv-vars.rb:
--------------------------------------------------------------------------------
1 | class RbenvVars < Formula
2 | desc "Safely sets global and per-project environment variables"
3 | homepage "https://github.com/sstephenson/rbenv-vars"
4 | url "https://github.com/sstephenson/rbenv-vars/archive/v1.2.0.tar.gz"
5 | sha256 "9e6a5726aad13d739456d887a43c220ba9198e672b32536d41e884c0a54b4ddb"
6 | revision 1
7 | head "https://github.com/sstephenson/rbenv-vars.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | assert_match "rbenv-vars.bash", shell_output("rbenv hooks exec")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/storm.rb:
--------------------------------------------------------------------------------
1 | class Storm < Formula
2 | desc "Distributed realtime computation system to process data streams"
3 | homepage "https://storm.apache.org"
4 | url "https://www.apache.org/dyn/closer.cgi?path=storm/apache-storm-1.2.2/apache-storm-1.2.2.tar.gz"
5 | sha256 "e97e92ea13998c95ee37565bdf4d6f6a379deb259ec76cb0178cd356502e657f"
6 |
7 | bottle :unneeded
8 |
9 | conflicts_with "stormssh", :because => "both install 'storm' binary"
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | bin.install_symlink libexec/"bin/storm"
14 | end
15 |
16 | test do
17 | system bin/"storm", "version"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/aws-keychain.rb:
--------------------------------------------------------------------------------
1 | class AwsKeychain < Formula
2 | desc "Uses macOS keychain for storage of AWS credentials"
3 | homepage "https://github.com/pda/aws-keychain"
4 | url "https://github.com/pda/aws-keychain/archive/v3.0.0.tar.gz"
5 | sha256 "3c9882d3b516b629303ca9a045fc50f6eb75fda25cd2452f10c47eda205e051f"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "aws-keychain"
11 | end
12 |
13 | test do
14 | # It is not possible to create a new keychain without triggering a prompt.
15 | assert_match /Store multiple AWS IAM access keys/,
16 | shell_output("#{bin}/aws-keychain --help", 1)
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/launchctl-completion.rb:
--------------------------------------------------------------------------------
1 | class LaunchctlCompletion < Formula
2 | desc "Bash completion for Launchctl"
3 | homepage "https://github.com/CamJN/launchctl-completion"
4 | url "https://github.com/CamJN/launchctl-completion/archive/v1.0.tar.gz"
5 | sha256 "b21c39031fa41576d695720b295dce57358c320964f25d19a427798d0f0df7a0"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bash_completion.install "launchctl-completion.sh" => "launchctl"
11 | end
12 |
13 | test do
14 | assert_match "-F _launchctl",
15 | shell_output("bash -c 'source #{bash_completion}/launchctl && complete -p launchctl'")
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/mix-completion.rb:
--------------------------------------------------------------------------------
1 | class MixCompletion < Formula
2 | desc "Elixir Mix completion plus shortcuts/colors"
3 | homepage "https://github.com/davidhq/mix-power-completion"
4 | url "https://github.com/davidhq/mix-power-completion/archive/0.8.2.tar.gz"
5 | sha256 "0e3e94b199f847926f3668b4cebf1b132e63a44d438425dd5c45ac4a299f28f3"
6 | head "https://github.com/davidhq/mix-power-completion.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "mix"
12 | end
13 |
14 | test do
15 | assert_match "-F _mix",
16 | shell_output("source #{bash_completion}/mix && complete -p mix")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/node-build.rb:
--------------------------------------------------------------------------------
1 | class NodeBuild < Formula
2 | desc "Install NodeJS versions"
3 | homepage "https://github.com/nodenv/node-build"
4 | url "https://github.com/nodenv/node-build/archive/v4.6.1.tar.gz"
5 | sha256 "b78de73430d9b2e7c0b4478c0ac297b5efb0fcabfa14b3f9f5f2adb89d552223"
6 | head "https://github.com/nodenv/node-build.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "autoconf"
11 | depends_on "openssl"
12 | depends_on "pkg-config"
13 |
14 | def install
15 | ENV["PREFIX"] = prefix
16 | system "./install.sh"
17 | end
18 |
19 | test do
20 | system "#{bin}/node-build", "--definitions"
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/rbenv-ctags.rb:
--------------------------------------------------------------------------------
1 | class RbenvCtags < Formula
2 | desc "Automatically generate ctags for rbenv Ruby stdlibs"
3 | homepage "https://github.com/tpope/rbenv-ctags"
4 | url "https://github.com/tpope/rbenv-ctags/archive/v1.0.2.tar.gz"
5 | sha256 "94b38c277a5de3f53aac0e7f4ffacf30fb6ddeb31c0597c1bcd78b0175c86cbe"
6 | revision 1
7 | head "https://github.com/tpope/rbenv-ctags.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "ctags"
12 | depends_on "rbenv"
13 |
14 | def install
15 | prefix.install Dir["*"]
16 | end
17 |
18 | test do
19 | assert_match "ctags.bash", shell_output("rbenv hooks install")
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/stanford-ner.rb:
--------------------------------------------------------------------------------
1 | class StanfordNer < Formula
2 | desc "Stanford NLP Group's implementation of a Named Entity Recognizer"
3 | homepage "https://nlp.stanford.edu/software/CRF-NER.shtml"
4 | url "https://nlp.stanford.edu/software/stanford-ner-2018-02-27.zip"
5 | version "3.9.1"
6 | sha256 "e37b0094040c95e98799d849a7be2f4967de6b786f0b07360d179756bd4dce95"
7 |
8 | bottle :unneeded
9 |
10 | depends_on :java => "1.8+"
11 |
12 | def install
13 | libexec.install Dir["*"]
14 | bin.write_exec_script Dir["#{libexec}/*.sh"]
15 | end
16 |
17 | test do
18 | system "#{bin}/ner.sh", "#{libexec}/sample.txt"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/csshx.rb:
--------------------------------------------------------------------------------
1 | class Csshx < Formula
2 | desc "Cluster ssh tool for Terminal.app"
3 | homepage "https://github.com/brockgr/csshx"
4 | url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/csshx/csshX-0.74.tgz"
5 | mirror "https://distfiles.macports.org/csshX/csshX-0.74.tgz"
6 | sha256 "eaa9e52727c8b28dedc87398ed33ffa2340d6d0f3ea9d261749c715cb7a0e9c8"
7 | head "https://github.com/brockgr/csshx.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bin.install "csshX"
13 | end
14 |
15 | test do
16 | assert_match version.to_s, shell_output("#{bin}/csshX --version 2>&1", 2)
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/elixir-build.rb:
--------------------------------------------------------------------------------
1 | class ElixirBuild < Formula
2 | desc "Elixir version of ruby-build"
3 | homepage "https://github.com/mururu/elixir-build"
4 | url "https://github.com/mururu/elixir-build/archive/v20141001.tar.gz"
5 | sha256 "825637780a580b7ebe8c5265a43d37ceff9f3876e771aa2f824079e504ad7347"
6 | head "https://github.com/mururu/elixir-build.git"
7 |
8 | bottle :unneeded
9 |
10 | conflicts_with "narwhal", :because => "both install `json` binaries"
11 |
12 | def install
13 | ENV["PREFIX"] = prefix
14 | system "./install.sh"
15 | end
16 |
17 | test do
18 | system "#{bin}/elixir-build", "--version"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/historian.rb:
--------------------------------------------------------------------------------
1 | class Historian < Formula
2 | desc "Command-line utility for managing shell history in a SQLite database"
3 | homepage "https://github.com/jcsalterego/historian"
4 | url "https://github.com/jcsalterego/historian/archive/0.0.2.tar.gz"
5 | sha256 "691b131290ddf06142a747755412115fec996cb9cc2ad8e8f728118788b3fe05"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "hist"
11 | end
12 |
13 | test do
14 | ENV["HISTORIAN_SRC"] = "test_history"
15 | (testpath/"test_history").write <<~EOS
16 | brew update
17 | brew upgrade
18 | EOS
19 | system bin/"hist", "import"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/jvmtop.rb:
--------------------------------------------------------------------------------
1 | class Jvmtop < Formula
2 | desc "Console application for monitoring all running JVMs on a machine"
3 | homepage "https://github.com/patric-r/jvmtop"
4 | url "https://github.com/patric-r/jvmtop/releases/download/0.8.0/jvmtop-0.8.0.tar.gz"
5 | sha256 "f9de8159240b400a51b196520b4c4f0ddbcaa8e587fab1f0a59be8a00dc128c4"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java
10 |
11 | def install
12 | rm Dir["*.bat"]
13 | mv "jvmtop.sh", "jvmtop"
14 | chmod 0755, "jvmtop"
15 |
16 | libexec.install Dir["*"]
17 | (bin/"jvmtop").write_env_script(libexec/"jvmtop", Language::Java.java_home_env)
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/maven-completion.rb:
--------------------------------------------------------------------------------
1 | class MavenCompletion < Formula
2 | desc "Bash completion for Maven"
3 | homepage "https://github.com/juven/maven-bash-completion"
4 | url "https://github.com/juven/maven-bash-completion.git",
5 | :revision => "106b6ca03badc9474cf7b6b1b7039ad950a17f89"
6 | version "20160501"
7 | head "https://github.com/juven/maven-bash-completion.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bash_completion.install "bash_completion.bash" => "maven"
13 | end
14 |
15 | test do
16 | assert_match "-F _mvn",
17 | shell_output("source #{bash_completion}/maven && complete -p mvn")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/smartypants.rb:
--------------------------------------------------------------------------------
1 | class Smartypants < Formula
2 | desc "Typography prettifier"
3 | homepage "https://daringfireball.net/projects/smartypants/"
4 | url "https://daringfireball.net/projects/downloads/SmartyPants_1.5.1.zip"
5 | sha256 "2813a12d8dd23f091399195edd7965e130103e439e2a14f298b75b253616d531"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "SmartyPants.pl" => "smartypants"
11 | end
12 |
13 | test do
14 | assert_equal "“Give me a beer”, said Mike O’Connor",
15 | pipe_output("#{bin}/smartypants",
16 | %q("Give me a beer", said Mike O'Connor), 0)
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/vagrant-completion.rb:
--------------------------------------------------------------------------------
1 | class VagrantCompletion < Formula
2 | desc "Bash completion for Vagrant"
3 | homepage "https://github.com/hashicorp/vagrant"
4 | url "https://github.com/hashicorp/vagrant/archive/v2.2.5.tar.gz"
5 | sha256 "0a228f5185b24b72efcc5a3924f86fa9fabab6f7562c3c63c1d9d239aa72a7b1"
6 | head "https://github.com/hashicorp/vagrant.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "contrib/bash/completion.sh" => "vagrant"
12 | end
13 |
14 | test do
15 | assert_match "-F _vagrant",
16 | shell_output("source #{bash_completion}/vagrant && complete -p vagrant")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/briss.rb:
--------------------------------------------------------------------------------
1 | class Briss < Formula
2 | desc "Crop PDF files"
3 | homepage "https://briss.sourceforge.io/"
4 | url "https://downloads.sourceforge.net/project/briss/release%200.9/briss-0.9.tar.gz"
5 | sha256 "45dd668a9ceb9cd59529a9fefe422a002ee1554a61be07e6fc8b3baf33d733d9"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install Dir["*.jar"]
11 | bin.write_jar_script libexec/"briss-#{version}.jar", "briss"
12 | end
13 |
14 | test do
15 | cp test_fixtures("test.pdf"), testpath
16 | system "#{bin}/briss", "-s", "test.pdf", "-d", "output.pdf"
17 | assert_predicate testpath/"output.pdf", :exist?
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/django-completion.rb:
--------------------------------------------------------------------------------
1 | class DjangoCompletion < Formula
2 | desc "Bash completion for Django"
3 | homepage "https://github.com/django/django"
4 | url "https://github.com/django/django/archive/2.2.3.tar.gz"
5 | sha256 "7e31a5c35af2726b185e60c3e87513e5e8559c47582f4ebc32006bb761247876"
6 | head "https://github.com/django/django.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "extras/django_bash_completion" => "django"
12 | end
13 |
14 | test do
15 | assert_match "-F _django_completion",
16 | shell_output("source #{bash_completion}/django && complete -p django-admin.py")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/flyway.rb:
--------------------------------------------------------------------------------
1 | class Flyway < Formula
2 | desc "Database version control to control migrations"
3 | homepage "https://flywaydb.org/"
4 | url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/5.2.4/flyway-commandline-5.2.4.tar.gz"
5 | sha256 "ac42a414e316d7592c7035cd7fa14050ed02c77972196367ab8f11b9a9352a9a"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java
10 |
11 | def install
12 | rm Dir["*.cmd"]
13 | libexec.install Dir["*"]
14 | bin.install_symlink Dir["#{libexec}/flyway"]
15 | end
16 |
17 | test do
18 | system "#{bin}/flyway", "-url=jdbc:h2:mem:flywaydb", "validate"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/gifify.rb:
--------------------------------------------------------------------------------
1 | class Gifify < Formula
2 | desc "Turn movies into GIFs"
3 | homepage "https://github.com/jclem/gifify"
4 | url "https://github.com/jclem/gifify/archive/v4.0.tar.gz"
5 | sha256 "4cb967e8d0ba897bc91a60006e34299687f388dd47e05fd534f2eff8379fe479"
6 | head "https://github.com/jclem/gifify.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "ffmpeg"
11 | depends_on "imagemagick"
12 |
13 | def install
14 | bin.install "gifify.sh" => "gifify"
15 | end
16 |
17 | test do
18 | system "ffmpeg", "-f", "lavfi", "-i", "testsrc", "-t", "1", "-c:v", "libx264", "test.m4v"
19 | system "#{bin}/gifify", "test.m4v"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/packer-completion.rb:
--------------------------------------------------------------------------------
1 | class PackerCompletion < Formula
2 | desc "Bash completion for Packer"
3 | homepage "https://github.com/mrolli/packer-bash-completion"
4 | url "https://github.com/mrolli/packer-bash-completion/archive/1.0.0.tar.gz"
5 | sha256 "20ebfacd3f3a60f8dbd09e25b97d3b6e5049cbdf00a2d607fe79eaaef39e1eea"
6 | head "https://github.com/mrolli/packer-bash-completion.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "packer"
12 | end
13 |
14 | test do
15 | assert_match "-F _packer_completion",
16 | shell_output("source #{bash_completion}/packer && complete -p packer")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/ranger.rb:
--------------------------------------------------------------------------------
1 | class Ranger < Formula
2 | desc "File browser"
3 | homepage "https://ranger.github.io"
4 | url "https://ranger.github.io/ranger-1.9.2.tar.gz"
5 | sha256 "0e1d1b1d3f78c227a6cfa783822e98591ca76a35c643d4814f40f73515d66b8a"
6 | head "https://github.com/ranger/ranger.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | man1.install "doc/ranger.1"
12 | libexec.install "ranger.py", "ranger"
13 | bin.install_symlink libexec+"ranger.py" => "ranger"
14 | doc.install "examples"
15 | end
16 |
17 | test do
18 | assert_match version.to_s, shell_output("script -q /dev/null #{bin}/ranger --version")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/t-completion.rb:
--------------------------------------------------------------------------------
1 | class TCompletion < Formula
2 | desc "Completion for CLI power tool for Twitter"
3 | homepage "https://sferik.github.io/t/"
4 | url "https://github.com/sferik/t/archive/v3.1.0.tar.gz"
5 | sha256 "900ef6e3d6180b70bf2434503774ea5e1bf985b9110d4f051c44a191b08f6062"
6 | head "https://github.com/sferik/t.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "etc/t-completion.sh" => "t"
12 | zsh_completion.install "etc/t-completion.zsh" => "_t"
13 | end
14 |
15 | test do
16 | assert_match "-F _t",
17 | shell_output("source #{bash_completion}/t && complete -p t")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/apache-opennlp.rb:
--------------------------------------------------------------------------------
1 | class ApacheOpennlp < Formula
2 | desc "Machine learning toolkit for processing natural language text"
3 | homepage "https://opennlp.apache.org/"
4 | url "https://www.apache.org/dyn/closer.cgi?path=opennlp/opennlp-1.9.1/apache-opennlp-1.9.1-bin.tar.gz"
5 | sha256 "ce636b08c876b4f528003260e1ca2c647ef2a2d7faa4ea0ff7b85b5b5eaf22da"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install Dir["*"]
11 | bin.write_exec_script libexec/"bin/opennlp"
12 | end
13 |
14 | test do
15 | assert_equal "Hello , friends", pipe_output("#{bin}/opennlp SimpleTokenizer", "Hello, friends").lines.first.chomp
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/deployer.rb:
--------------------------------------------------------------------------------
1 | class Deployer < Formula
2 | desc "Deployment tool written in PHP with support for popular frameworks"
3 | homepage "https://deployer.org/"
4 | url "https://deployer.org/releases/v6.4.3/deployer.phar"
5 | sha256 "d0b0d4dbd834c1d5e387981042d452017dd92eb5db00c8fa1db31ad343d9bedf"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "php"
10 |
11 | conflicts_with "dep", :because => "both install `dep` binaries"
12 |
13 | def install
14 | bin.install "deployer.phar" => "dep"
15 | end
16 |
17 | test do
18 | system "#{bin}/dep", "init", "--template=Common"
19 | assert_predicate testpath/"deploy.php", :exist?
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/pax-runner.rb:
--------------------------------------------------------------------------------
1 | class PaxRunner < Formula
2 | desc "Tool to provision OSGi bundles"
3 | homepage "https://ops4j1.jira.com/"
4 | url "https://search.maven.org/remotecontent?filepath=org/ops4j/pax/runner/pax-runner-assembly/1.8.6/pax-runner-assembly-1.8.6-jdk15.tar.gz"
5 | version "1.8.6"
6 | sha256 "42a650efdedcb48dca89f3e4272a9e2e1dcc6bc84570dbb176b5e578ca1ce2d4"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | (bin+"pax-runner").write <<~EOS
12 | #!/bin/sh
13 | exec java $JAVA_OPTS -cp #{libexec}/bin/pax-runner-#{version}.jar org.ops4j.pax.runner.Run "$@"
14 | EOS
15 |
16 | libexec.install Dir["*"]
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/v.rb:
--------------------------------------------------------------------------------
1 | class V < Formula
2 | desc "Z for vim"
3 | homepage "https://github.com/rupa/v"
4 | url "https://github.com/rupa/v/archive/v1.1.tar.gz"
5 | sha256 "6483ef1248dcbc6f360b0cdeb9f9c11879815bd18b0c4f053a18ddd56a69b81f"
6 | head "https://github.com/rupa/v.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "v"
12 | man1.install "v.1"
13 | end
14 |
15 | test do
16 | (testpath/".vimrc").write "set viminfo='25,\"50,n#{testpath}/.viminfo"
17 | system "/usr/bin/vim", "-u", testpath/".vimrc", "+wq", "test.txt"
18 | assert_equal "#{testpath}/test.txt", shell_output("#{bin}/v -a --debug").chomp
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/wtf.rb:
--------------------------------------------------------------------------------
1 | class Wtf < Formula
2 | desc "Translate common Internet acronyms"
3 | homepage "https://sourceforge.net/projects/bsdwtf/"
4 | url "https://downloads.sourceforge.net/project/bsdwtf/wtf-20190623.tar.gz"
5 | sha256 "60b2e78d3abe66fcd945881be282f5c2e3b94e3d5118253b9a9addff29207edf"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | inreplace %w[wtf wtf.6], "/usr/share", share
11 | bin.install "wtf"
12 | man6.install "wtf.6"
13 | (share+"misc").install %w[acronyms acronyms.comp]
14 | (share+"misc").install "acronyms-o.real" => "acronyms-o"
15 | end
16 |
17 | test do
18 | system bin/"wtf", "needle"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/sonar-completion.rb:
--------------------------------------------------------------------------------
1 | class SonarCompletion < Formula
2 | desc "Bash completion for Sonar"
3 | homepage "https://github.com/a1dutch/sonarqube-bash-completion"
4 | url "https://github.com/a1dutch/sonarqube-bash-completion/archive/1.0.tar.gz"
5 | sha256 "501bb1c87fab9dd934cdc506f12e74ea21d48be72a9e4321c88187e4a0e0a99a"
6 | head "https://github.com/a1dutch/sonarqube-bash-completion.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "etc/bash_completion.d/sonar"
12 | end
13 |
14 | test do
15 | assert_match "-F _sonar",
16 | shell_output("source #{bash_completion}/sonar && complete -p sonar")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/speedtest-cli.rb:
--------------------------------------------------------------------------------
1 | class SpeedtestCli < Formula
2 | desc "Command-line interface for https://speedtest.net bandwidth tests"
3 | homepage "https://github.com/sivel/speedtest-cli"
4 | url "https://github.com/sivel/speedtest-cli/archive/v2.1.1.tar.gz"
5 | sha256 "433675c19bd40c059da5d98c512874742405e8185afed47f8aa11a02ac61aa06"
6 | head "https://github.com/sivel/speedtest-cli.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "speedtest.py" => "speedtest"
12 | bin.install_symlink "speedtest" => "speedtest-cli"
13 | man1.install "speedtest-cli.1"
14 | end
15 |
16 | test do
17 | system bin/"speedtest"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/spring-completion.rb:
--------------------------------------------------------------------------------
1 | class SpringCompletion < Formula
2 | desc "Bash completion for Spring"
3 | homepage "https://github.com/jacaetevha/spring_bash_completion"
4 | url "https://github.com/jacaetevha/spring_bash_completion/archive/v0.0.1.tar.gz"
5 | sha256 "a97b256dbdaca894dfa22bd96a6705ebf4f94fa8206d05f41927f062c3dd60bf"
6 | head "https://github.com/jacaetevha/spring_bash_completion.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "spring.bash" => "spring"
12 | end
13 |
14 | test do
15 | assert_match "-F _spring",
16 | shell_output("source #{bash_completion}/spring && complete -p spring")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/duply.rb:
--------------------------------------------------------------------------------
1 | class Duply < Formula
2 | desc "Frontend to the duplicity backup system"
3 | # Canonical domain: duply.net
4 | # Historical homepage: https://web.archive.org/web/20131126005707/ftplicity.sourceforge.net
5 | homepage "https://sourceforge.net/projects/ftplicity/"
6 | url "https://downloads.sourceforge.net/project/ftplicity/duply%20%28simple%20duplicity%29/2.2.x/duply_2.2.tgz"
7 | sha256 "79e55942ef8d31d2319ed45a2c3e6c70b23797f98f5b072c31afd7cef58ea7ad"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "duplicity"
12 |
13 | def install
14 | bin.install "duply"
15 | end
16 |
17 | test do
18 | system "#{bin}/duply", "-v"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/icdiff.rb:
--------------------------------------------------------------------------------
1 | class Icdiff < Formula
2 | desc "Improved colored diff"
3 | homepage "https://github.com/jeffkaufman/icdiff"
4 | url "https://github.com/jeffkaufman/icdiff/archive/release-1.9.4.tar.gz"
5 | sha256 "dabceff1986d45f1e0e6a396ed71836586acfb99092a91303f14052b879ca59a"
6 | head "https://github.com/jeffkaufman/icdiff.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "icdiff", "git-icdiff"
12 | end
13 |
14 | test do
15 | (testpath/"file1").write "test1"
16 | (testpath/"file2").write "test2"
17 | system "#{bin}/icdiff", "file1", "file2"
18 | system "git", "init"
19 | system "#{bin}/git-icdiff"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/mysql-search-replace.rb:
--------------------------------------------------------------------------------
1 | class MysqlSearchReplace < Formula
2 | desc "Database search and replace script in PHP"
3 | homepage "https://interconnectit.com/products/search-and-replace-for-wordpress-databases/"
4 | url "https://github.com/interconnectit/Search-Replace-DB/archive/3.1.tar.gz"
5 | sha256 "837389799a2884e3f77a3ab84c1a4161b6e2220041f91c9f149529111babe676"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install "srdb.class.php"
11 | libexec.install "srdb.cli.php" => "srdb"
12 | chmod 0755, libexec/"srdb"
13 | bin.install_symlink libexec/"srdb"
14 | end
15 |
16 | test do
17 | system bin/"srdb", "--help"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/oysttyer.rb:
--------------------------------------------------------------------------------
1 | class Oysttyer < Formula
2 | desc "Command-line Twitter client"
3 | homepage "https://github.com/oysttyer/oysttyer"
4 | url "https://github.com/oysttyer/oysttyer/archive/2.10.0.tar.gz"
5 | sha256 "3c0ce1c7b112f2db496cc75a6e76c67f1cad956f9e7812819c6ae7a979b2baea"
6 | head "https://github.com/oysttyer/oysttyer.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "oysttyer.pl" => "oysttyer"
12 | end
13 |
14 | test do
15 | IO.popen("#{bin}/oysttyer", "r+") do |pipe|
16 | assert_equal "-- using SSL for default URLs.", pipe.gets.chomp
17 | pipe.puts "^C"
18 | pipe.close_write
19 | end
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/pgtoolkit.rb:
--------------------------------------------------------------------------------
1 | class Pgtoolkit < Formula
2 | desc "Tools for PostgreSQL maintenance"
3 | homepage "https://github.com/grayhemp/pgtoolkit"
4 | url "https://github.com/grayhemp/pgtoolkit/archive/v1.0.2.tar.gz"
5 | sha256 "d86f34c579a4c921b77f313d4c7efbf4b12695df89e6b68def92ffa0332a7351"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "fatpack/pgcompact"
11 | doc.install %w[CHANGES.md LICENSE.md README.md TODO.md]
12 | end
13 |
14 | test do
15 | output = IO.popen("#{bin}/pgcompact --help")
16 | matches = output.readlines.select { |line| line =~ /pgcompact - PostgreSQL bloat reducing tool/ }
17 | !matches.empty?
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/shml.rb:
--------------------------------------------------------------------------------
1 | class Shml < Formula
2 | desc "Style Framework for The Terminal"
3 | homepage "https://odb.github.io/shml/"
4 | url "https://github.com/MaxCDN/shml/archive/1.1.0.tar.gz"
5 | sha256 "0f0634fe5dd043f5ff52946151584a59b5826acbb268c9d884a166c3196b8f4f"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "shml.sh"
11 | bin.install_symlink bin/"shml.sh" => "shml"
12 | end
13 |
14 | test do
15 | ["shml", "shml.sh"].each do |cmd|
16 | result = shell_output("#{bin}/#{cmd} -v")
17 | result.force_encoding("UTF-8") if result.respond_to?(:force_encoding)
18 | assert_match version.to_s, result
19 | end
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/boom-completion.rb:
--------------------------------------------------------------------------------
1 | class BoomCompletion < Formula
2 | desc "Bash and Zsh completion for Boom"
3 | homepage "https://zachholman.com/boom"
4 | url "https://github.com/holman/boom/archive/v0.5.0.tar.gz"
5 | sha256 "d107accf1fb84d9c245bb25383486179605d3b397c439c2f4690341283b0b2dd"
6 | head "https://github.com/holman/boom.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "completion/boom.bash" => "boom"
12 | zsh_completion.install "completion/boom.zsh" => "_boom"
13 | end
14 |
15 | test do
16 | assert_match "-F _boom_complete",
17 | shell_output("source #{bash_completion}/boom && complete -p boom")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/clojure.rb:
--------------------------------------------------------------------------------
1 | class Clojure < Formula
2 | desc "The Clojure Programming Language"
3 | homepage "https://clojure.org"
4 | url "https://download.clojure.org/install/clojure-tools-1.10.1.466.tar.gz"
5 | sha256 "205922e501e38ff9aec57d9cf00fef5f32e628aa11b3422e9a881ea69a8e04e6"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 | depends_on "rlwrap"
11 |
12 | def install
13 | system "./install.sh", prefix
14 | end
15 |
16 | test do
17 | ENV["TERM"] = "xterm"
18 | system("#{bin}/clj -e nil")
19 | %w[clojure clj].each do |clj|
20 | assert_equal "2", shell_output("#{bin}/#{clj} -e \"(+ 1 1)\"").strip
21 | end
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/jooby-bootstrap.rb:
--------------------------------------------------------------------------------
1 | class JoobyBootstrap < Formula
2 | desc "Script to simplify the creation of jooby apps"
3 | homepage "https://github.com/jooby-project/jooby-bootstrap"
4 | url "https://github.com/jooby-project/jooby-bootstrap/archive/0.2.2.tar.gz"
5 | sha256 "ba662dcbe9022205cdb147a1c4e0931191eb902477ca40f3cba0170dfad54fda"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | depends_on :java => "1.8"
11 | depends_on "maven"
12 |
13 | def install
14 | libexec.install "jooby"
15 | (bin/"jooby").write_env_script libexec/"jooby", Language::Java.java_home_env("1.8")
16 | end
17 |
18 | test do
19 | system "#{bin}/jooby", "version"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/psql2csv.rb:
--------------------------------------------------------------------------------
1 | class Psql2csv < Formula
2 | desc "Run a query in psql and output the result as CSV"
3 | homepage "https://github.com/fphilipe/psql2csv"
4 | url "https://github.com/fphilipe/psql2csv/archive/v0.11.tar.gz"
5 | sha256 "f961c3ca980ce4b527a0d86b593c73fbf244829a20ab7df343e1c077818ddba0"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "postgresql"
10 |
11 | def install
12 | bin.install "psql2csv"
13 | end
14 |
15 | test do
16 | expected = "COPY (SELECT 1) TO STDOUT WITH (FORMAT csv, ENCODING 'UTF8', HEADER true)"
17 | output = shell_output(%Q(#{bin}/psql2csv --dry-run "SELECT 1")).strip
18 | assert_equal expected, output
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/tailor.rb:
--------------------------------------------------------------------------------
1 | class Tailor < Formula
2 | desc "Cross-platform static analyzer and linter for Swift"
3 | homepage "https://tailor.sh"
4 | url "https://github.com/sleekbyte/tailor/releases/download/v0.12.0/tailor-0.12.0.tar"
5 | sha256 "ec3810b27e9a35ecdf3a21987f17cad86918240d773172264e9abbb1a7efc415"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | bin.install_symlink libexec/"bin/tailor"
14 | man1.install libexec/"tailor.1"
15 | end
16 |
17 | test do
18 | (testpath/"Test.swift").write "import Foundation\n"
19 | system "#{bin}/tailor", testpath/"Test.swift"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/eless.rb:
--------------------------------------------------------------------------------
1 | class Eless < Formula
2 | desc "Better `less` using Emacs view-mode and Bash"
3 | homepage "https://eless.scripter.co/"
4 | url "https://github.com/kaushalmodi/eless/archive/v0.5.tar.gz"
5 | sha256 "b4da2c7c223996681bb951d50e0d542d8df04baf765c16412fa0848cdb2b3a3d"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "emacs"
10 |
11 | def install
12 | bin.install "eless"
13 | info.install "docs/eless.info"
14 | end
15 |
16 | test do
17 | assert_match version.to_s, shell_output("#{bin}/eless -V")
18 | expected = "This script is not supposed to send output to a pipe"
19 | assert_equal expected, pipe_output("#{bin}/eless").chomp
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/grakn.rb:
--------------------------------------------------------------------------------
1 | class Grakn < Formula
2 | desc "The distributed hyper-relational database for knowledge engineering"
3 | homepage "https://grakn.ai"
4 | url "https://github.com/graknlabs/grakn/releases/download/1.5.7/grakn-core-all-mac-1.5.7.zip"
5 | sha256 "0c406be4442f272eb8a31fce189a4f970b499cadf4eac8bf91d0287a0e08eafa"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8"
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | bin.install libexec/"grakn"
14 | bin.env_script_all_files(libexec, Language::Java.java_home_env("1.8"))
15 | end
16 |
17 | test do
18 | assert_match /RUNNING/i, shell_output("#{bin}/grakn server status")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/grunt-completion.rb:
--------------------------------------------------------------------------------
1 | class GruntCompletion < Formula
2 | desc "Bash and Zsh completion for Grunt"
3 | homepage "https://gruntjs.com/"
4 | url "https://github.com/gruntjs/grunt-cli/archive/v1.3.2.tar.gz"
5 | sha256 "c85c4882a53de135d56fba703e35d7b47a89c628382eb5c7d43e250da197502f"
6 | head "https://github.com/gruntjs/grunt-cli.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "completion/bash" => "grunt"
12 | zsh_completion.install "completion/zsh" => "_grunt"
13 | end
14 |
15 | test do
16 | assert_match "-F _grunt_completions",
17 | shell_output("source #{bash_completion}/grunt && complete -p grunt")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/spring-loaded.rb:
--------------------------------------------------------------------------------
1 | class SpringLoaded < Formula
2 | desc "Java agent to enable class reloading in a running JVM"
3 | homepage "https://github.com/spring-projects/spring-loaded"
4 | url "https://repo.spring.io/simple/libs-release-local/org/springframework/springloaded/1.2.6.RELEASE/springloaded-1.2.6.RELEASE.jar"
5 | version "1.2.6"
6 | sha256 "6edd6ffb3fd82c3eee95f5588465f1ab3a94fc5fff65b6e3a262f6de5323d203"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | (share/"java").install "springloaded-#{version}.RELEASE.jar" => "springloaded.jar"
12 | end
13 |
14 | test do
15 | system "java", "-javaagent:#{share}/java/springloaded.jar", "-version"
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/Formula/txt2tags.rb:
--------------------------------------------------------------------------------
1 | class Txt2tags < Formula
2 | desc "Conversion tool to generating several file formats"
3 | homepage "https://txt2tags.org/"
4 | url "https://github.com/txt2tags/txt2tags/archive/2.6.tar.gz"
5 | sha256 "c87b911ac5cc97dd2fdb6067601cf4fbd0094a065f6b7a593142fa75e3a924c1"
6 | revision 1
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "txt2tags"
12 | man1.install "doc/English/manpage.man" => "txt2tags.1"
13 | end
14 |
15 | test do
16 | (testpath/"test.txt").write("\n= Title =")
17 | system bin/"txt2tags", "-t", "html", "--no-headers", "test.txt"
18 | assert_match %r{Title
}, File.read("test.html")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/pyenv-virtualenvwrapper.rb:
--------------------------------------------------------------------------------
1 | class PyenvVirtualenvwrapper < Formula
2 | desc "Alternative to pyenv for managing virtualenvs"
3 | homepage "https://github.com/pyenv/pyenv-virtualenvwrapper"
4 | url "https://github.com/pyenv/pyenv-virtualenvwrapper/archive/v20140609.tar.gz"
5 | sha256 "c1c812c4954394c58628952654ba745c4fb814d045adc076f7fb9e310bed03bf"
6 | head "https://github.com/pyenv/pyenv-virtualenvwrapper.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "pyenv"
11 |
12 | def install
13 | ENV["PREFIX"] = prefix
14 | system "./install.sh"
15 | end
16 |
17 | test do
18 | shell_output("eval \"$(pyenv init -)\" && pyenv virtualenvwrapper")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/ruby-build.rb:
--------------------------------------------------------------------------------
1 | class RubyBuild < Formula
2 | desc "Install various Ruby versions and implementations"
3 | homepage "https://github.com/rbenv/ruby-build"
4 | url "https://github.com/rbenv/ruby-build/archive/v20190615.tar.gz"
5 | sha256 "7bcb706f43fd2562a62df79f3f01d71c6a1509fac91c8f14ff9e174dc9d99361"
6 | head "https://github.com/rbenv/ruby-build.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "autoconf"
11 | depends_on "openssl"
12 | depends_on "pkg-config"
13 |
14 | def install
15 | ENV["PREFIX"] = prefix
16 | system "./install.sh"
17 | end
18 |
19 | test do
20 | assert_match "2.0.0", shell_output("#{bin}/ruby-build --definitions")
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | - [ ] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)?
2 | - [ ] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?
3 | - [ ] Have you built your formula locally with `brew install --build-from-source `, where `` is the name of the formula you're submitting?
4 | - [ ] Is your test running fine `brew test `, where `` is the name of the formula you're submitting?
5 | - [ ] Does your build pass `brew audit --strict ` (after doing `brew install `)?
6 |
7 | -----
8 |
--------------------------------------------------------------------------------
/Formula/cadubi.rb:
--------------------------------------------------------------------------------
1 | class Cadubi < Formula
2 | desc "Creative ASCII drawing utility"
3 | homepage "https://github.com/statico/cadubi/"
4 | url "https://github.com/statico/cadubi/archive/v1.3.4.tar.gz"
5 | sha256 "624f85bb16d8b0bc392d761d1121828d09cfc79b3ded5b1220e9b4262924a1a0"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | inreplace "cadubi", "$Bin/help.txt", "#{doc}/help.txt"
11 | bin.install "cadubi"
12 | doc.install "help.txt"
13 | man1.install "cadubi.1"
14 | end
15 |
16 | test do
17 | output = pipe_output("script -q /dev/null #{bin}/cadubi -v", "cat")
18 | assert_match "cadubi (Creative ASCII Drawing Utility By Ian) #{version}", output
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/dasht.rb:
--------------------------------------------------------------------------------
1 | class Dasht < Formula
2 | desc "Search API docs offline, in your terminal or browser"
3 | homepage "https://sunaku.github.io/dasht"
4 | url "https://github.com/sunaku/dasht/archive/v2.3.0.tar.gz"
5 | sha256 "44db949eb95653e59d88eafce2b2d1e4378db66776e0d39ee15453dabf010e09"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "socat"
10 | depends_on "sqlite"
11 | depends_on "w3m"
12 | depends_on "wget"
13 |
14 | def install
15 | bin.install Dir["bin/*"]
16 | man.install "man/man1"
17 | end
18 |
19 | test do
20 | system "#{bin}/dasht-docsets-install", "--force", "bash"
21 | assert_equal "Bash\n", shell_output("#{bin}/dasht-docsets")
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/nuget.rb:
--------------------------------------------------------------------------------
1 | class Nuget < Formula
2 | desc "Package manager for Microsoft development platform including .NET"
3 | homepage "https://www.nuget.org/"
4 | url "https://dist.nuget.org/win-x86-commandline/v4.7.0/NuGet.exe"
5 | sha256 "0eabcc242d51d11a0e7ba07b7f1bc746b0e28d49c6c0fc03edf715d252b03e13"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "mono"
10 |
11 | def install
12 | libexec.install "NuGet.exe" => "nuget.exe"
13 | (bin/"nuget").write <<~EOS
14 | #!/bin/bash
15 | mono #{libexec}/nuget.exe "$@"
16 | EOS
17 | end
18 |
19 | test do
20 | assert_match "NuGet.Protocol.Core.v3", shell_output("#{bin}/nuget list NuGet.Protocol.Core.v3")
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/skinny.rb:
--------------------------------------------------------------------------------
1 | class Skinny < Formula
2 | desc "Full-stack web app framework in Scala"
3 | homepage "http://skinny-framework.org/"
4 | url "https://github.com/skinny-framework/skinny-framework/releases/download/3.0.2/skinny-3.0.2.tar.gz"
5 | sha256 "077b626f9591e31e8cfe87b5e46ae85074c1fd50c518ad3eb8c3681ef738872b"
6 |
7 | bottle :unneeded
8 | depends_on :java => "1.8+"
9 |
10 | def install
11 | libexec.install Dir["*"]
12 | (bin/"skinny").write <<~EOS
13 | #!/bin/bash
14 | export PATH=#{bin}:$PATH
15 | PREFIX="#{libexec}" exec "#{libexec}/skinny" "$@"
16 | EOS
17 | end
18 |
19 | test do
20 | system bin/"skinny", "new", "myapp"
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/trace2html.rb:
--------------------------------------------------------------------------------
1 | class Trace2html < Formula
2 | desc "Utility from Google Trace Viewer to convert JSON traces to HTML"
3 | homepage "https://github.com/google/trace-viewer"
4 | url "https://github.com/google/trace-viewer/archive/2015-07-07.tar.gz"
5 | version "2015-07-07"
6 | sha256 "6125826d07869fbd634ef898a45df3cabf45e6bcf951f2c63e49f87ce6a0442a"
7 | revision 1
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | bin.install_symlink libexec/"tracing/trace2html"
14 | end
15 |
16 | test do
17 | touch "test.json"
18 | system "#{bin}/trace2html", "test.json"
19 | assert_predicate testpath/"test.html", :exist?
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/zsh-lovers.rb:
--------------------------------------------------------------------------------
1 | class ZshLovers < Formula
2 | desc "Tips, tricks, and examples for zsh"
3 | homepage "https://grml.org/zsh/#zshlovers"
4 | url "https://deb.grml.org/pool/main/z/zsh-lovers/zsh-lovers_0.9.1_all.deb"
5 | version "0.9.1"
6 | sha256 "011b7931a555c77e98aa9cdd16b3c4670c0e0e3b5355e5fd60188885a6678de8"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | system "tar", "xf", "zsh-lovers_#{version}_all.deb"
12 | system "tar", "xf", "data.tar.xz"
13 | system "gunzip", *Dir["usr/**/*.gz"]
14 | prefix.install_metafiles "usr/share/doc/zsh-lovers"
15 | prefix.install "usr/share"
16 | end
17 |
18 | test do
19 | system "man", "zsh-lovers"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/distribution.rb:
--------------------------------------------------------------------------------
1 | class Distribution < Formula
2 | desc "Create ASCII graphical histograms in the terminal"
3 | homepage "https://github.com/philovivero/distribution"
4 | url "https://github.com/philovivero/distribution/archive/1.3.tar.gz"
5 | sha256 "d7f2c9beeee15986d24d8068eb132c0a63c0bd9ace932e724cb38c1e6e54f95d"
6 | head "https://github.com/philovivero/distribution.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "distribution.py" => "distribution"
12 | doc.install "distributionrc", "screenshot.png"
13 | end
14 |
15 | test do
16 | (testpath/"test").write "a\nb\na\n"
17 | `#{bin}/distribution /dev/null`.include? "a|2"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/ktlint.rb:
--------------------------------------------------------------------------------
1 | class Ktlint < Formula
2 | desc "Anti-bikeshedding Kotlin linter with built-in formatter"
3 | homepage "https://ktlint.github.io/"
4 | url "https://github.com/pinterest/ktlint/releases/download/0.34.0/ktlint"
5 | sha256 "07e23adbd6ffa552e28e7a85458a508a7ca42f4ceecde5c5957455ac524a3ed7"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "ktlint"
11 | end
12 |
13 | test do
14 | (testpath/"In.kt").write <<~EOS
15 | fun main( )
16 | EOS
17 | (testpath/"Out.kt").write <<~EOS
18 | fun main()
19 | EOS
20 | system bin/"ktlint", "-F", "In.kt"
21 | assert_equal shell_output("cat In.kt"), shell_output("cat Out.kt")
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/nifi.rb:
--------------------------------------------------------------------------------
1 | class Nifi < Formula
2 | desc "Easy to use, powerful, and reliable system to process and distribute data"
3 | homepage "https://nifi.apache.org"
4 | url "https://www.apache.org/dyn/closer.cgi\?path\=/nifi/1.9.2/nifi-1.9.2-bin.tar.gz"
5 | sha256 "8d50bd1a0408878ab41a5fcd18d179e5a293e7d0280ddbe5098a4627aaacbff1"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | libexec.install Dir["*"]
13 |
14 | ENV["NIFI_HOME"] = libexec
15 |
16 | bin.install libexec/"bin/nifi.sh" => "nifi"
17 | bin.env_script_all_files libexec/"bin/", :NIFI_HOME => libexec
18 | end
19 |
20 | test do
21 | system bin/"nifi", "status"
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/pidcat.rb:
--------------------------------------------------------------------------------
1 | class Pidcat < Formula
2 | desc "Colored logcat script to show entries only for specified app"
3 | homepage "https://github.com/JakeWharton/pidcat"
4 | url "https://github.com/JakeWharton/pidcat/archive/2.1.0.tar.gz"
5 | sha256 "e6f999ee0f23f0e9c9aee5ad21c6647fb1a1572063bdccd16a72464c8b522cb1"
6 | head "https://github.com/JakeWharton/pidcat.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install "pidcat.py" => "pidcat"
12 | bash_completion.install "bash_completion.d/pidcat"
13 | zsh_completion.install "zsh-completion/_pidcat"
14 | end
15 |
16 | test do
17 | assert_match /^usage: pidcat/, shell_output("#{bin}/pidcat --help").strip
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/cimg.rb:
--------------------------------------------------------------------------------
1 | class Cimg < Formula
2 | desc "C++ toolkit for image processing"
3 | homepage "http://cimg.eu/"
4 | url "http://cimg.eu/files/CImg_2.6.7.zip"
5 | sha256 "d5c021982a88cf3b036c771cda653b3e49246ea85e9943d154f95e490df65aca"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | include.install "CImg.h"
11 | prefix.install "Licence_CeCILL-C_V1-en.txt", "Licence_CeCILL_V2-en.txt"
12 | pkgshare.install "examples", "plugins"
13 | end
14 |
15 | test do
16 | cp_r pkgshare/"examples", testpath
17 | cp_r pkgshare/"plugins", testpath
18 | cp include/"CImg.h", testpath
19 | system "make", "-C", "examples", "mmacosx"
20 | system "examples/image2ascii"
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/digdag.rb:
--------------------------------------------------------------------------------
1 | class Digdag < Formula
2 | desc "Workload Automation System"
3 | homepage "https://www.digdag.io/"
4 | url "https://dl.digdag.io/digdag-0.9.39.jar"
5 | sha256 "dbe3ab5e2d512e39111feaeb8e2859b980a33d7bb3b61456d9f19f4b155ad228"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | libexec.install "digdag-#{version}.jar" => "digdag.jar"
13 |
14 | # Create a wrapper script to support OS X 10.9.
15 | (bin/"digdag").write <<~EOS
16 | #!/bin/bash
17 | exec /bin/bash "#{libexec}/digdag.jar" "$@"
18 | EOS
19 | end
20 |
21 | test do
22 | assert_match version.to_s, shell_output("#{bin}/digdag --version")
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/narwhal.rb:
--------------------------------------------------------------------------------
1 | class Narwhal < Formula
2 | desc "General purpose JavaScript platform for building applications"
3 | homepage "https://github.com/280north/narwhal"
4 | url "https://github.com/280north/narwhal/archive/v0.3.2.tar.gz"
5 | sha256 "a26ac20097839a5c7b5de665678fb76699371eea433d6e3b820d4d8de2ad4937"
6 | head "https://github.com/280north/narwhal.git"
7 |
8 | bottle :unneeded
9 |
10 | conflicts_with "spidermonkey", :because => "both install a js binary"
11 | conflicts_with "elixir-build", :because => "both install `json` binaries"
12 |
13 | def install
14 | rm Dir["bin/*.cmd"]
15 | libexec.install Dir["*"]
16 | bin.install_symlink Dir["#{libexec}/bin/*"]
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/negfix8.rb:
--------------------------------------------------------------------------------
1 | class Negfix8 < Formula
2 | desc "Turn scanned negative images into positives"
3 | homepage "https://sites.google.com/site/negfix"
4 | url "https://sites.google.com/site/negfix/downloads/negfix8.3.tgz"
5 | sha256 "2f360b0dd16ca986fbaebf5873ee55044cae591546b573bb17797cbf569515bd"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "imagemagick"
10 |
11 | def install
12 | bin.install "negfix8"
13 | end
14 |
15 | test do
16 | (testpath/".negfix8/frameprofile").write "1 1 1 1 1 1 1"
17 | system "#{bin}/negfix8", "-u", "frameprofile", test_fixtures("test.tiff"),
18 | "#{testpath}/output.tiff"
19 | assert_predicate testpath/"output.tiff", :exist?
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/gradle.rb:
--------------------------------------------------------------------------------
1 | class Gradle < Formula
2 | desc "Open-source build automation tool based on the Groovy and Kotlin DSL"
3 | homepage "https://www.gradle.org/"
4 | url "https://services.gradle.org/distributions/gradle-5.5.1-all.zip"
5 | sha256 "6c4276f97c9059ef4dfb06cc7325c43ed9b933ab04f032e9d9372e8589cb6faf"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | rm_f Dir["bin/*.bat"]
13 | libexec.install %w[bin docs lib media samples src]
14 | (bin/"gradle").write_env_script libexec/"bin/gradle", Language::Java.overridable_java_home_env
15 | end
16 |
17 | test do
18 | assert_match version.to_s, shell_output("#{bin}/gradle --version")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/griffon.rb:
--------------------------------------------------------------------------------
1 | class Griffon < Formula
2 | desc "Application framework for desktop applications in the JVM"
3 | homepage "http://griffon-framework.org/"
4 | url "https://dl.bintray.com/content/aalmiray/Griffon/griffon-1.5.0-bin.tgz"
5 | sha256 "3f7868e8d86f10e4a5a9139661465a0b89f2646ef93a553b9bdfb625356ef876"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | rm_f Dir["bin/*.bat"]
11 | libexec.install Dir["*"]
12 | bin.install_symlink Dir["#{libexec}/bin/*"]
13 | end
14 |
15 | def caveats; <<~EOS
16 | You should set the environment variable GRIFFON_HOME to:
17 | #{libexec}
18 | EOS
19 | end
20 |
21 | test do
22 | system "#{bin}/griffon", "--version"
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/git-quick-stats.rb:
--------------------------------------------------------------------------------
1 | class GitQuickStats < Formula
2 | desc "Simple and efficient way to access statistics in git"
3 | homepage "https://github.com/arzzen/git-quick-stats"
4 | url "https://github.com/arzzen/git-quick-stats/archive/2.0.8.tar.gz"
5 | sha256 "8413ea322382d6158835be429ac8c49ede9e5c6e8df914b6657876a08a917b04"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "git-quick-stats"
11 | end
12 |
13 | test do
14 | system "git", "init"
15 | assert_match "All branches (sorted by most recent commit)",
16 | shell_output("#{bin}/git-quick-stats --branches-by-date")
17 | assert_match /^Invalid argument/, shell_output("#{bin}/git-quick-stats command", 1)
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/rbenv-bundler-ruby-version.rb:
--------------------------------------------------------------------------------
1 | class RbenvBundlerRubyVersion < Formula
2 | desc "Pick a ruby version from bundler's Gemfile"
3 | homepage "https://github.com/aripollak/rbenv-bundler-ruby-version"
4 | url "https://github.com/aripollak/rbenv-bundler-ruby-version/archive/v1.0.0.tar.gz"
5 | sha256 "96c6b7eb191d436142fef0bb8c28071d54aca3e1a10ca01a525d1066699b03f2"
6 | revision 1
7 | head "https://github.com/aripollak/rbenv-bundler-ruby-version.git"
8 |
9 | bottle :unneeded
10 |
11 | depends_on "rbenv"
12 |
13 | def install
14 | prefix.install Dir["*"]
15 | end
16 |
17 | test do
18 | (testpath/"Gemfile").write("ruby \"2.1.5\"")
19 | system "rbenv", "bundler-ruby-version"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/schema-evolution-manager.rb:
--------------------------------------------------------------------------------
1 | class SchemaEvolutionManager < Formula
2 | desc "Manage postgresql database schema migrations"
3 | homepage "https://github.com/mbryzek/schema-evolution-manager"
4 | url "https://github.com/mbryzek/schema-evolution-manager/archive/0.9.41.tar.gz"
5 | sha256 "d97b6f0f97bc77dd97aeecb36a77fbe4e7840c9b71bd7c8880d8df82ab1fdf16"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | system "./install.sh", prefix
11 | end
12 |
13 | test do
14 | (testpath/"new.sql").write <<~EOS
15 | CREATE TABLE IF NOT EXISTS test (id text);
16 | EOS
17 | system "git", "init", "."
18 | assert_match "File staged in git", shell_output("#{bin}/sem-add ./new.sql")
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/jboss-forge.rb:
--------------------------------------------------------------------------------
1 | class JbossForge < Formula
2 | desc "Tools to help set up and configure a project"
3 | homepage "https://forge.jboss.org/"
4 | url "https://downloads.jboss.org/forge/releases/3.9.4.Final/forge-distribution-3.9.4.Final-offline.zip"
5 | version "3.9.4.Final"
6 | sha256 "7b26f0d89fe62bd750be8016486cd31d8b43dce28d24ad8e1a07cbe66feb8537"
7 |
8 | bottle :unneeded
9 |
10 | depends_on :java => "1.8+"
11 |
12 | def install
13 | rm_f Dir["bin/*.bat"]
14 | libexec.install %w[addons bin lib logging.properties]
15 | bin.install_symlink libexec/"bin/forge"
16 | end
17 |
18 | test do
19 | assert_match "org.jboss.forge.addon:core", shell_output("#{bin}/forge --list")
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/pegtl.rb:
--------------------------------------------------------------------------------
1 | class Pegtl < Formula
2 | desc "Parsing Expression Grammar Template Library"
3 | homepage "https://github.com/taocpp/PEGTL"
4 | url "https://github.com/taocpp/PEGTL/archive/2.8.0.tar.gz"
5 | sha256 "655197f9ff543fb6319cec9b86bb34147dd54c42dde78b89ff93d15c762d5f73"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | prefix.install "include"
11 | rm "src/example/pegtl/CMakeLists.txt"
12 | (pkgshare/"examples").install (buildpath/"src/example/pegtl").children
13 | end
14 |
15 | test do
16 | system ENV.cxx, pkgshare/"examples/hello_world.cpp", "-std=c++11", "-o", "helloworld"
17 | assert_equal "Good bye, homebrew!\n", shell_output("./helloworld 'Hello, homebrew!'")
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/pyenv-ccache.rb:
--------------------------------------------------------------------------------
1 | class PyenvCcache < Formula
2 | desc "Make Python build faster, using the leverage of `ccache`"
3 | homepage "https://github.com/pyenv/pyenv-ccache"
4 | url "https://github.com/pyenv/pyenv-ccache/archive/v0.0.2.tar.gz"
5 | sha256 "ebfb8a5ed754df485b3f391078c5dc913f0587791a5e3815e61078f0db180b9e"
6 | head "https://github.com/pyenv/pyenv-ccache.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "ccache"
11 | depends_on "pyenv"
12 |
13 | def install
14 | ENV["PREFIX"] = prefix
15 | system "./install.sh"
16 | end
17 |
18 | test do
19 | output = shell_output("eval \"$(pyenv init -)\" && pyenv hooks install && ls")
20 | assert_match /ccache.bash/, output
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/rhino.rb:
--------------------------------------------------------------------------------
1 | class Rhino < Formula
2 | desc "JavaScript engine"
3 | homepage "https://www.mozilla.org/rhino/"
4 | url "https://github.com/mozilla/rhino/releases/download/Rhino1_7_11_Release/rhino-1.7.11.zip"
5 | sha256 "94c16e4de06fc08b5f7bf492284b8dc94c6357d3f96cc06fc06dcd6ae3f39547"
6 |
7 | bottle :unneeded
8 |
9 | conflicts_with "nut", :because => "both install `rhino` binaries"
10 |
11 | def install
12 | rhino_jar = "rhino-#{version}.jar"
13 | libexec.install "lib/#{rhino_jar}"
14 | bin.write_jar_script libexec/rhino_jar, "rhino"
15 | doc.install Dir["docs/*"]
16 | end
17 |
18 | test do
19 | assert_equal "42", shell_output("#{bin}/rhino -e \"print(6*7)\"").chomp
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/titan-server.rb:
--------------------------------------------------------------------------------
1 | class TitanServer < Formula
2 | desc "Distributed graph database"
3 | homepage "https://thinkaurelius.github.io/titan/"
4 | url "http://s3.thinkaurelius.com/downloads/titan/titan-1.0.0-hadoop1.zip"
5 | sha256 "67538e231db5be75821b40dd026bafd0cd7451cdd7e225a2dc31e124471bb8ef"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | libexec.install %w[bin conf data ext javadocs lib log scripts]
11 | bin.install_symlink libexec/"bin/titan.sh" => "titan"
12 | bin.install_symlink libexec/"bin/gremlin.sh" => "titan-gremlin"
13 | bin.install_symlink libexec/"bin/gremlin-server.sh" => "titan-gremlin-server"
14 | end
15 |
16 | test do
17 | system "#{bin}/titan", "stop"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/frege-repl.rb:
--------------------------------------------------------------------------------
1 | class FregeRepl < Formula
2 | desc "REPL (read-eval-print loop) for Frege"
3 | homepage "https://github.com/Frege/frege-repl"
4 | url "https://github.com/Frege/frege-repl/releases/download/1.4-SNAPSHOT/frege-repl-1.4-SNAPSHOT.zip"
5 | version "1.4-SNAPSHOT"
6 | sha256 "2ca5f13bc5efaf8515381e8cdf99b4d4017264a462a30366a873cb54cc4f4640"
7 | revision 1
8 |
9 | bottle :unneeded
10 |
11 | depends_on :java => "1.8+"
12 |
13 | def install
14 | rm_f Dir["bin/*.bat"]
15 | libexec.install "bin", "lib"
16 | bin.install_symlink "#{libexec}/bin/frege-repl"
17 | end
18 |
19 | test do
20 | assert_match "65536", pipe_output("#{bin}/frege-repl", "println $ 64*1024\n:quit\n")
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/jmxterm.rb:
--------------------------------------------------------------------------------
1 | class Jmxterm < Formula
2 | desc "Open source, command-line based interactive JMX client"
3 | homepage "https://docs.cyclopsgroup.org/jmxterm"
4 | url "https://github.com/jiaqi/jmxterm/releases/download/v1.0.1/jmxterm-1.0.1-uber.jar"
5 | sha256 "76e0dae56b410c77724b561897e9073f088bd0b6158d668147d466debac6e9b0"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8"
10 |
11 | def install
12 | libexec.install "jmxterm-#{version}-uber.jar"
13 | bin.write_jar_script libexec/"jmxterm-#{version}-uber.jar", "jmxterm", "", :java_version => "1.8"
14 | end
15 |
16 | test do
17 | assert_match(/\"software\.name\".=.\"jmxterm\";/, shell_output("echo about | #{bin}/jmxterm -n"))
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/micronaut.rb:
--------------------------------------------------------------------------------
1 | class Micronaut < Formula
2 | desc "Modern JVM-based framework for building modular microservices"
3 | homepage "https://micronaut.io/"
4 | url "https://github.com/micronaut-projects/micronaut-core/releases/download/v1.1.4/micronaut-1.1.4.zip"
5 | sha256 "838bce49768d7e77e39760c96c1e954179af3f33d1d6c34972c10cfa783ea157"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | rm_f Dir["bin/*.bat"]
13 | libexec.install %W[bin media cli-#{version}.jar]
14 | bin.install_symlink libexec/"bin/mn"
15 | end
16 |
17 | test do
18 | system "#{bin}/mn", "create-app", "hello-world"
19 | assert_predicate testpath/"hello-world", :directory?
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/sshrc.rb:
--------------------------------------------------------------------------------
1 | class Sshrc < Formula
2 | desc "Bring your .bashrc, .vimrc, etc. with you when you SSH"
3 | homepage "https://github.com/Russell91/sshrc"
4 | url "https://github.com/Russell91/sshrc/archive/0.6.2.tar.gz"
5 | sha256 "ecae095eb69dedc3ea1058c2d6f7028ec626956f5f498a192d66d135aa2fad3d"
6 | head "https://github.com/Russell91/sshrc.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bin.install %w[sshrc moshrc]
12 | end
13 |
14 | test do
15 | touch testpath/".sshrc"
16 | (testpath/"ssh").write <<~EOS
17 | #!/bin/sh
18 | true
19 | EOS
20 | chmod 0755, testpath/"ssh"
21 | ENV.prepend_path "PATH", testpath
22 | system "#{bin}/sshrc", "localhost"
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/ckan.rb:
--------------------------------------------------------------------------------
1 | class Ckan < Formula
2 | desc "The Comprehensive Kerbal Archive Network"
3 | homepage "https://github.com/KSP-CKAN/CKAN/"
4 | url "https://github.com/KSP-CKAN/CKAN/releases/download/v1.26.2/ckan.exe"
5 | sha256 "a0b4c43640d91ef5a0c3171906152636de75bf8497a1dc85d116a97c2c416185"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "mono"
10 |
11 | def install
12 | (libexec/"bin").install "ckan.exe"
13 | (bin/"ckan").write <<~EOS
14 | #!/bin/sh
15 | exec mono "#{libexec}/bin/ckan.exe" "$@"
16 | EOS
17 | end
18 |
19 | def caveats; <<~EOS
20 | To use the CKAN GUI, install the ckan-app cask.
21 | EOS
22 | end
23 |
24 | test do
25 | system bin/"ckan", "version"
26 | end
27 | end
28 |
--------------------------------------------------------------------------------
/Formula/kitchen-completion.rb:
--------------------------------------------------------------------------------
1 | class KitchenCompletion < Formula
2 | desc "Bash completion for Kitchen"
3 | homepage "https://github.com/MarkBorcherding/test-kitchen-bash-completion"
4 | url "https://github.com/MarkBorcherding/test-kitchen-bash-completion/archive/v1.0.0.tar.gz"
5 | sha256 "6a9789359dab220df0afad25385dd3959012cfa6433c8c96e4970010b8cfc483"
6 | head "https://github.com/MarkBorcherding/test-kitchen-bash-completion.git"
7 |
8 | bottle :unneeded
9 |
10 | def install
11 | bash_completion.install "kitchen-completion.bash" => "kitchen"
12 | end
13 |
14 | test do
15 | assert_match "-F __kitchen_options",
16 | shell_output("source #{bash_completion}/kitchen && complete -p kitchen")
17 | end
18 | end
19 |
--------------------------------------------------------------------------------
/Formula/ammonite-repl.rb:
--------------------------------------------------------------------------------
1 | class AmmoniteRepl < Formula
2 | desc "Ammonite is a cleanroom re-implementation of the Scala REPL"
3 | homepage "https://lihaoyi.github.io/Ammonite/#Ammonite-REPL"
4 | url "https://github.com/lihaoyi/Ammonite/releases/download/1.6.9/2.12-1.6.9"
5 | sha256 "a0b980d7c3a2508cdd7f4954c34c14d0261fb1e973a1264e070037cb269025ba"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | libexec.install Dir["*"].shift => "amm"
13 | chmod 0555, libexec/"amm"
14 | bin.install_symlink libexec/"amm"
15 | end
16 |
17 | test do
18 | output = shell_output("#{bin}/amm -c 'print(\"hello world!\")'")
19 | assert_equal "hello world!", output.lines.last
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/ansible-cmdb.rb:
--------------------------------------------------------------------------------
1 | class AnsibleCmdb < Formula
2 | desc "Generates static HTML overview page from Ansible facts"
3 | homepage "https://github.com/fboender/ansible-cmdb"
4 | url "https://github.com/fboender/ansible-cmdb/releases/download/1.30/ansible-cmdb-1.30.tar.gz"
5 | sha256 "a52c450abea8fa7d162445386e40e554db763e34695b50c64c43e98d594539f6"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "libyaml"
10 |
11 | def install
12 | prefix.install_metafiles
13 | man1.install "ansible-cmdb.man.1" => "ansible-cmdb.1"
14 | libexec.install Dir["*"] - ["Makefile"]
15 | bin.write_exec_script libexec/"ansible-cmdb"
16 | end
17 |
18 | test do
19 | system bin/"ansible-cmdb", "-dt", "html_fancy", "."
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/basex.rb:
--------------------------------------------------------------------------------
1 | class Basex < Formula
2 | desc "Light-weight XML database and XPath/XQuery processor"
3 | homepage "http://basex.org"
4 | url "http://files.basex.org/releases/9.2.2/BaseX922.zip"
5 | version "9.2.2"
6 | sha256 "9d36eb43fcf3d9d82f90afc16d8d5341062cfe38e2b17259a691792a8f5ef76c"
7 |
8 | bottle :unneeded
9 |
10 | depends_on :java => "1.8+"
11 |
12 | def install
13 | rm Dir["bin/*.bat"]
14 | rm_rf "repo"
15 | rm_rf "data"
16 | rm_rf "etc"
17 | prefix.install_metafiles
18 | libexec.install Dir["*"]
19 | bin.install_symlink Dir["#{libexec}/bin/*"]
20 | end
21 |
22 | test do
23 | assert_equal "1\n2\n3\n4\n5\n6\n7\n8\n9\n10", shell_output("#{bin}/basex '1 to 10'")
24 | end
25 | end
26 |
--------------------------------------------------------------------------------
/Formula/idnits.rb:
--------------------------------------------------------------------------------
1 | class Idnits < Formula
2 | desc "Looks for problems in internet draft formatting"
3 | homepage "https://tools.ietf.org/tools/idnits/"
4 | url "https://tools.ietf.org/tools/idnits/idnits-2.16.02.tgz"
5 | sha256 "e9a501fc1f3a4584dda854067398eaebba29f128fb09f80048a760e950c35c49"
6 |
7 | bottle :unneeded
8 |
9 | resource "test" do
10 | url "https://tools.ietf.org/id/draft-ietf-tcpm-undeployed-03.txt"
11 | sha256 "34e72c2c089409dc1935e18f75351025af3cfc253dee50db042d188b46733550"
12 | end
13 |
14 | def install
15 | bin.install "idnits"
16 | end
17 |
18 | test do
19 | resource("test").stage do
20 | system "#{bin}/idnits", "draft-ietf-tcpm-undeployed-03.txt"
21 | end
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/kumo.rb:
--------------------------------------------------------------------------------
1 | class Kumo < Formula
2 | desc "Word Clouds in Java"
3 | homepage "https://github.com/kennycason/kumo"
4 | url "https://search.maven.org/remotecontent?filepath=com/kennycason/kumo-cli/1.17/kumo-cli-1.17.jar"
5 | sha256 "17f84d6287eeccf361c9eabe6d7449983c13d777afd161105a324c00adcadd0e"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8+"
10 |
11 | def install
12 | libexec.install "kumo-cli-#{version}.jar"
13 | bin.write_jar_script libexec/"kumo-cli-#{version}.jar", "kumo"
14 | end
15 |
16 | test do
17 | system bin/"kumo", "-i", "https://wikipedia.org", "-o", testpath/"wikipedia.png"
18 | assert_predicate testpath/"wikipedia.png", :exist?, "Wordcloud was not generated!"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/naturaldocs.rb:
--------------------------------------------------------------------------------
1 | class Naturaldocs < Formula
2 | desc "Extensible, multi-language documentation generator"
3 | homepage "https://www.naturaldocs.org/"
4 | url "https://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/2.0.2/Natural_Docs_2.0.2.zip"
5 | sha256 "4a8be89d1c749fa40611193404556d408f414e03df8c397b970e045b57a54d4d"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "mono"
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | (bin/"naturaldocs").write <<~EOS
14 | #!/bin/bash
15 | mono #{libexec}/NaturalDocs.exe "$@"
16 | EOS
17 |
18 | libexec.install_symlink etc/"naturaldocs" => "config"
19 | end
20 |
21 | test do
22 | system "#{bin}/naturaldocs", "-h"
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/tmux-xpanes.rb:
--------------------------------------------------------------------------------
1 | class TmuxXpanes < Formula
2 | desc "Ultimate terminal divider powered by tmux"
3 | homepage "https://github.com/greymd/tmux-xpanes"
4 | url "https://github.com/greymd/tmux-xpanes/archive/v4.1.1.tar.gz"
5 | sha256 "c69ae17516071cbf38cb74aabfc7c55ce221ccf56ab73d23f2b7d2b0613f0c0b"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "tmux"
10 |
11 | def install
12 | system "./install.sh", prefix
13 | end
14 |
15 | test do
16 | # Check options with valid combination
17 | pipe_output("#{bin}/xpanes --dry-run -c echo", "hello", 0)
18 |
19 | # Check options with invalid combination (-n requires number)
20 | pipe_output("#{bin}/xpanes --dry-run -n foo -c echo 2>&1", "hello", 4)
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/fpp.rb:
--------------------------------------------------------------------------------
1 | class Fpp < Formula
2 | desc "CLI program that accepts piped input and presents files for selection"
3 | homepage "https://facebook.github.io/PathPicker/"
4 | url "https://github.com/facebook/PathPicker/releases/download/0.7.2/fpp.0.7.2.tar.gz"
5 | sha256 "bf49a971a3af710aafcd0adf1084df556dd94476d71bbe39eb058f5970ec4378"
6 | head "https://github.com/facebook/pathpicker.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "python@2"
11 |
12 | def install
13 | # we need to copy the bash file and source python files
14 | libexec.install Dir["*"]
15 | # and then symlink the bash file
16 | bin.install_symlink libexec/"fpp"
17 | end
18 |
19 | test do
20 | system bin/"fpp", "--help"
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/Formula/gradle-completion.rb:
--------------------------------------------------------------------------------
1 | class GradleCompletion < Formula
2 | desc "Bash and Zsh completion for Gradle"
3 | homepage "https://gradle.org/"
4 | url "https://github.com/gradle/gradle-completion/archive/v1.4.1.tar.gz"
5 | sha256 "5d77f0c739fe983cfa86078a615f43be9be0e3ce05a3a7b70cb813a1ebd1ceef"
6 | head "https://github.com/gradle/gradle-completion.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "bash-completion"
11 |
12 | def install
13 | bash_completion.install "gradle-completion.bash" => "gradle"
14 | zsh_completion.install "_gradle" => "_gradle"
15 | end
16 |
17 | test do
18 | assert_match "-F _gradle",
19 | shell_output("bash -c 'source #{bash_completion}/gradle && complete -p gradle'")
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/grails.rb:
--------------------------------------------------------------------------------
1 | class Grails < Formula
2 | desc "Web application framework for the Groovy language"
3 | homepage "https://grails.org"
4 | url "https://github.com/grails/grails-core/releases/download/v4.0.0/grails-4.0.0.zip"
5 | sha256 "5d17f4ebe6460186a6ddaf9327705e55930cb319f065a8c68adcddc6dec0c08f"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
11 | libexec.install Dir["*"]
12 | bin.install_symlink Dir["#{libexec}/bin/*"]
13 | end
14 |
15 | def caveats; <<~EOS
16 | The GRAILS_HOME directory is:
17 | #{opt_libexec}
18 | EOS
19 | end
20 |
21 | test do
22 | assert_match "Grails Version: #{version}", shell_output("#{bin}/grails -v")
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/jflex.rb:
--------------------------------------------------------------------------------
1 | class Jflex < Formula
2 | desc "Lexical analyzer generator for Java, written in Java"
3 | homepage "https://jflex.de/"
4 | url "https://jflex.de/release/jflex-1.7.0.zip"
5 | sha256 "833ea6371a4b5ee16023f328fbf7babd41a71e93155cf869c53f3ff670508107"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.7+"
10 |
11 | def install
12 | pkgshare.install "examples"
13 | libexec.install "lib/jflex-full-#{version}.jar" => "jflex-#{version}.jar"
14 | bin.write_jar_script libexec/"jflex-#{version}.jar", "jflex"
15 | end
16 |
17 | test do
18 | system bin/"jflex", "-d", testpath, pkgshare/"examples/java/java.flex"
19 | assert_match /public static void/, (testpath/"Scanner.java").read
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/.github/support.yml:
--------------------------------------------------------------------------------
1 | # Configuration for support-requests - https://github.com/dessant/support-requests
2 |
3 | # Label used to mark issues as support requests
4 | supportLabel: support-request
5 | # Comment to post on issues marked as support requests. Add a link
6 | # to a support page, or set to `false` to disable
7 | supportComment: >
8 | We use the issue tracker exclusively for bug reports.
9 | However, this issue appears to be a support request. Please use our
10 | [Discourse](https://discourse.brew.sh) or
11 | [IRC channel](irc://irc.freenode.net/#machomebrew) to get help with
12 | the project.
13 | # Whether to close issues marked as support requests
14 | close: true
15 | # Whether to lock issues marked as support requests
16 | lock: true
17 |
--------------------------------------------------------------------------------
/Formula/xmlsh.rb:
--------------------------------------------------------------------------------
1 | class Xmlsh < Formula
2 | desc "XML shell"
3 | homepage "http://www.xmlsh.org"
4 | url "https://downloads.sourceforge.net/project/xmlsh/xmlsh/1.2.5/xmlsh_1_2_5.zip"
5 | sha256 "489df45f19a6bb586fdb5abd1f8ba9397048597895cb25def747b0118b02b1c8"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | rm_rf %w[win32 cygwin]
11 | libexec.install Dir["*"]
12 | chmod 0755, "#{libexec}/unix/xmlsh"
13 | (bin/"xmlsh").write <<~EOS
14 | #!/bin/bash
15 | export XMLSH=#{libexec}
16 | exec #{libexec}/unix/xmlsh "$@"
17 | EOS
18 | end
19 |
20 | test do
21 | output = shell_output("#{bin}/xmlsh -c 'x=<[]> && echo <[$x/@bar]>'")
22 | assert_equal "baz\n", output
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/bats-core.rb:
--------------------------------------------------------------------------------
1 | class BatsCore < Formula
2 | desc "Bash Automated Testing System"
3 | homepage "https://github.com/bats-core/bats-core"
4 | url "https://github.com/bats-core/bats-core/archive/v1.1.0.tar.gz"
5 | sha256 "855d8b8bed466bc505e61123d12885500ef6fcdb317ace1b668087364717ea82"
6 |
7 | bottle :unneeded
8 |
9 | conflicts_with "bats", :because => "both install `bats` executables"
10 |
11 | def install
12 | system "./install.sh", prefix
13 | end
14 |
15 | test do
16 | (testpath/"test.sh").write <<~EOS
17 | @test "addition using bc" {
18 | result="$(echo 2+2 | bc)"
19 | [ "$result" -eq 4 ]
20 | }
21 | EOS
22 | assert_match "addition", shell_output("#{bin}/bats test.sh")
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/Formula/di.rb:
--------------------------------------------------------------------------------
1 | class Di < Formula
2 | desc "Advanced df-like disk information utility"
3 | homepage "https://gentoo.com/di/"
4 | url "https://gentoo.com/di/di-4.47.1.tar.gz"
5 | sha256 "eea8ad94197d9f11790afea0924d8bf29ec001c32eb6209e81c4e13766a2abad"
6 |
7 | bottle do
8 | cellar :any_skip_relocation
9 | sha256 "ac66afaf91adbe32a27b6f9f2642abe2f72f2be4e89cd135c0b24bf5d29363e5" => :mojave
10 | sha256 "d56258c488485a6d10789cd051687d94dd60974fce12d575af0766254588392d" => :high_sierra
11 | sha256 "4d351a2e919590ff239fad5871ce20001cf6246af03fac69a3f721bf89140a8d" => :sierra
12 | end
13 |
14 | def install
15 | system "make", "install", "prefix=#{prefix}"
16 | end
17 |
18 | test do
19 | system "#{bin}/di"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/galen.rb:
--------------------------------------------------------------------------------
1 | class Galen < Formula
2 | desc "Automated testing of look and feel for responsive websites"
3 | homepage "http://galenframework.com/"
4 | url "https://github.com/galenframework/galen/releases/download/galen-2.4.4/galen-bin-2.4.4.zip"
5 | sha256 "b89ed0ccef4e5ea310563ab3220965f72d5fc182e89e6faadf44780f1c43b88d"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.6+"
10 |
11 | def install
12 | libexec.install "galen.jar"
13 | (bin/"galen").write <<~EOS
14 | #!/bin/sh
15 | set -e
16 | java -cp "#{libexec}/galen.jar:lib/*:libs/*" com.galenframework.GalenMain "$@"
17 | EOS
18 | end
19 |
20 | test do
21 | assert_match "Version: #{version}", shell_output("#{bin}/galen -v")
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/gibo.rb:
--------------------------------------------------------------------------------
1 | class Gibo < Formula
2 | desc "Access GitHub's .gitignore boilerplates"
3 | homepage "https://github.com/simonwhitaker/gibo"
4 | url "https://github.com/simonwhitaker/gibo/archive/2.2.2.tar.gz"
5 | sha256 "1ce2497b0d8a5ad165d7428c4e87e40072581f3ba6ff56b3fceeb53c52630442"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "gibo"
11 | bash_completion.install "shell-completions/gibo-completion.bash"
12 | zsh_completion.install "shell-completions/gibo-completion.zsh" => "_gibo"
13 | fish_completion.install "shell-completions/gibo.fish"
14 | end
15 |
16 | test do
17 | system "#{bin}/gibo", "update"
18 | assert_includes shell_output("#{bin}/gibo dump Python"), "Python.gitignore"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/gmail-backup.rb:
--------------------------------------------------------------------------------
1 | class GmailBackup < Formula
2 | desc "Backup and restore the content of your Gmail account"
3 | homepage "https://code.google.com/archive/p/gmail-backup-com/"
4 | url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gmail-backup-com/gmail-backup-20110307.tar.gz"
5 | sha256 "caf7cb40ea580e506f90a6029a64fedaf1234093c729ca7e6e36efbd709deb93"
6 |
7 | bottle :unneeded
8 |
9 | def install
10 | bin.install "gmail-backup.py" => "gmail-backup"
11 | libexec.install Dir["*"]
12 |
13 | ENV.prepend_path "PYTHONPATH", libexec
14 | bin.env_script_all_files(libexec, :PYTHONPATH => ENV["PYTHONPATH"])
15 | end
16 |
17 | test do
18 | system bin/"gmail-backup", "--help"
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/Formula/brew-php-switcher.rb:
--------------------------------------------------------------------------------
1 | class BrewPhpSwitcher < Formula
2 | desc "Switch Apache / Valet / CLI configs between PHP versions"
3 | homepage "https://github.com/philcook/php-switcher"
4 | url "https://github.com/philcook/brew-php-switcher/archive/v2.1.1.tar.gz"
5 | sha256 "5a812761d1c0a89f243533a3bad31eb2c6f0b0c9ad93b3ae3307dbd99e890464"
6 | head "https://github.com/philcook/brew-php-switcher.git"
7 |
8 | bottle :unneeded
9 |
10 | depends_on "php" => :test
11 |
12 | def install
13 | bin.install "phpswitch.sh"
14 | bin.install_symlink "phpswitch.sh" => "brew-php-switcher"
15 | end
16 |
17 | test do
18 | assert_match "usage: brew-php-switcher version",
19 | shell_output("#{bin}/brew-php-switcher")
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/calabash.rb:
--------------------------------------------------------------------------------
1 | class Calabash < Formula
2 | desc "XProc (XML Pipeline Language) implementation"
3 | homepage "https://xmlcalabash.com/"
4 | url "https://github.com/ndw/xmlcalabash1/releases/download/1.1.24-98/xmlcalabash-1.1.24-98.zip"
5 | sha256 "e80bca50cf7e32bf4fd3ae4c2e426b781224fc726ecdb55f9251c2be0ee53a64"
6 |
7 | bottle :unneeded
8 |
9 | depends_on "saxon"
10 |
11 | def install
12 | libexec.install Dir["*"]
13 | bin.write_jar_script libexec/"xmlcalabash-#{version}.jar", "calabash", "-Xmx1024m"
14 | end
15 |
16 | test do
17 | # This small XML pipeline (*.xpl) that comes with Calabash
18 | # is basically its equivalent "Hello World" program.
19 | system "#{bin}/calabash", "#{libexec}/xpl/pipe.xpl"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/png++.rb:
--------------------------------------------------------------------------------
1 | class Pngxx < Formula
2 | desc "C++ wrapper for libpng library"
3 | homepage "https://www.nongnu.org/pngpp/"
4 | url "https://download.savannah.gnu.org/releases/pngpp/png++-0.2.9.tar.gz"
5 | sha256 "abbc6a0565122b6c402d61743451830b4faee6ece454601c5711e1c1b4238791"
6 |
7 | bottle do
8 | cellar :any_skip_relocation
9 | sha256 "fa03e888c8eff093815be8b459671194c292af6bfbc247210c42aed349b142f5" => :mojave
10 | sha256 "fa03e888c8eff093815be8b459671194c292af6bfbc247210c42aed349b142f5" => :high_sierra
11 | sha256 "bed85536ebfec14b98b056e874d116527f154eff2b77024aee52fc407d66791f" => :sierra
12 | end
13 |
14 | depends_on "libpng"
15 |
16 | def install
17 | system "make", "PREFIX=#{prefix}", "install"
18 | end
19 | end
20 |
--------------------------------------------------------------------------------
/Formula/walkmod.rb:
--------------------------------------------------------------------------------
1 | class Walkmod < Formula
2 | desc "Java-based open source tool to apply and share code conventions"
3 | homepage "http://www.walkmod.com"
4 | url "https://bitbucket.org/rpau/walkmod/downloads/walkmod-3.0.0-installer.zip"
5 | sha256 "7d83564b8b11ce02b5a0924e552a8f006524003a03749e5fe901c937cff3d544"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.7+"
10 |
11 | def install
12 | # Remove windows files
13 | rm_f Dir["bin/*.bat"]
14 | libexec.install Dir["*"]
15 | bin.install_symlink libexec+"bin/walkmod"
16 | end
17 |
18 | test do
19 | system "git", "clone", "--depth", "1", "https://github.com/walkmod/walkmod-core.git"
20 | cd "walkmod-core"
21 | system bin/"walkmod", "chains"
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/Formula/xmlsectool.rb:
--------------------------------------------------------------------------------
1 | class Xmlsectool < Formula
2 | desc "Check schema validity and signature of an XML document"
3 | homepage "https://wiki.shibboleth.net/confluence/display/XSTJ2/xmlsectool+V2+Home"
4 | url "https://shibboleth.net/downloads/tools/xmlsectool/latest/xmlsectool-2.0.0-bin.zip"
5 | sha256 "83ea1e977d947dd5f2f5600a3280bc5d372a4913f0dbce1ddf2c0ca1c869ca57"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.7+"
10 |
11 | def install
12 | prefix.install "doc/LICENSE.TXT"
13 | rm_rf "doc"
14 | libexec.install Dir["*"]
15 | (bin/"xmlsectool").write_env_script "#{libexec}/xmlsectool.sh", Language::Java.java_home_env
16 | end
17 |
18 | test do
19 | system "#{bin}/xmlsectool", "--listBlacklist"
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/Formula/serveit.rb:
--------------------------------------------------------------------------------
1 | class Serveit < Formula
2 | desc "Synchronous server and rebuilder of static content"
3 | homepage "https://github.com/garybernhardt/serveit"
4 | url "https://github.com/garybernhardt/serveit/archive/v0.0.3.tar.gz"
5 | sha256 "5bbefdca878aab4a8c8a0c874c02a0a033cf4321121c9e006cb333d9bd7b6d52"
6 | revision 1
7 | head "https://github.com/garybernhardt/serveit.git"
8 |
9 | bottle :unneeded
10 |
11 | def install
12 | bin.install "serveit"
13 | end
14 |
15 | test do
16 | begin
17 | pid = fork { exec bin/"serveit" }
18 | sleep 2
19 | assert_match(/Listing for/, shell_output("curl localhost:8000"))
20 | ensure
21 | Process.kill("SIGINT", pid)
22 | Process.wait(pid)
23 | end
24 | end
25 | end
26 |
--------------------------------------------------------------------------------
/Formula/amdatu-bootstrap.rb:
--------------------------------------------------------------------------------
1 | class AmdatuBootstrap < Formula
2 | desc "Bootstrapping OSGi development"
3 | homepage "https://www.amdatu.com/bootstrap/intro.html"
4 | url "https://bitbucket.org/amdatuadm/amdatu-bootstrap/downloads/bootstrap-bin-r9.zip"
5 | sha256 "937ef932a740665439ea0118ed417ff7bdc9680b816b8b3c81ecfd6d0fc4773b"
6 |
7 | bottle :unneeded
8 |
9 | depends_on :java => "1.8"
10 |
11 | def install
12 | libexec.install %w[amdatu-bootstrap bootstrap.jar conf]
13 | (bin/"amdatu-bootstrap").write_env_script libexec/"amdatu-bootstrap",
14 | Language::Java.java_home_env("1.8")
15 | end
16 |
17 | test do
18 | output = shell_output("#{bin}/amdatu-bootstrap --info")
19 | assert_match "Amdatu Bootstrap R9", output
20 | end
21 | end
22 |
--------------------------------------------------------------------------------