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://search.maven.org/remotecontent?filepath=com/netflix/denominator/denominator-cli/4.7.1/denominator-cli-4.7.1-fat.jar"
5 sha256 "f2d09aaebb63ccb348dcba3a5cc3e94a42b0eae49e90ac0ec2b0a14adfbe5254"
9 url "https://search.maven.org/remotecontent?filepath=com/netflix/denominator/denominator-cli/maven-metadata.xml"
10 regex(%r{<version>v?(\d+(?:\.\d+)+)</version>}i)
15 sha256 cellar: :any_skip_relocation, all: "3da7d5704460e94f75bd1241c7d285971b2c22f23633c2cea058cccefc6a65e5"
21 (libexec/"bin").install "denominator-cli-#{version}-fat.jar"
22 bin.write_jar_script libexec/"bin/denominator-cli-#{version}-fat.jar", "denominator"
26 system bin/"denominator", "providers"