-
Notifications
You must be signed in to change notification settings - Fork 10
[NEW] cannot install twofa due to bad formula #9
Copy link
Copy link
Open
Description
10009 $ brew tap sqreen/speakeasy
==> Tapping sqreen/speakeasy
Cloning into '/opt/homebrew/Library/Taps/sqreen/homebrew-speakeasy'...
remote: Enumerating objects: 8, done.
remote: Total 8 (delta 0), reused 0 (delta 0), pack-reused 8 (from 1)
Receiving objects: 100% (8/8), done.
Tapped 2 formulae (14 files, 9KB).
10018 $ brew install !$
brew install twofa
Error: sqreen/speakeasy/twofa: undefined method `cellar' for an instance of BottleSpecification
problem identified below:
10013 $ brew cat twofa
class Twofa < Formula
desc "TouchID-aware 2-factor authentication for macOS"
homepage "https://github.com/sqreen/twofa"
url "https://dl.bintray.com/sqreen/bottles-sqreen/twofa-0.0.1.tar.gz"
sha256 "310a399d1dbb5e047edd72f0fb5e1430d0f4a6cf6c6746ecd5df7c90c369ccab"
bottle do
root_url "https://dl.bintray.com/sqreen/bottles-sqreen"
cellar :any_skip_relocation # <<<< HERE
sha256 "402cd887480da35c0f54558517ff263178688fede04bed14f0eee08a2ea980da" => :mojave
end
def install
bin.install ".build/x86_64-apple-macosx10.10/release/TwoFa"
end
test do
system "#{bin}/TwoFa", "version"
end
endalso, you should be able to switch to releasing binaries on github itself via their "releases" feature. Here's an example:
# for macOS version is or newer than ventura
sha256 '0caf0dd36115a2b648abc94ce715ca844071ced0ff6bac6dbed5c1d2fa66df24'
url 'https://github.com/railwaycat/homebrew-emacsmacport/releases/download/emacs-29.1-mac-10.0/emacs-29.1-mac-10.0-arm64-13.4.zip', verified: "github.com/railwaycat/homebrew-emacsmacport"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels