Skip to content

Commit

Permalink
fnm 1.35.0
Browse files Browse the repository at this point in the history
fnm: add build patch for completion generation

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
Porkepix authored and chenrui333 committed Jul 17, 2023
1 parent e47383e commit d0701a6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Formula/fnm.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Fnm < Formula
desc "Fast and simple Node.js version manager"
homepage "https://github.com/Schniz/fnm"
url "https://github.com/Schniz/fnm/archive/v1.34.0.tar.gz"
sha256 "6ee954538e0af38b53004ea8834e8fec6b36d22711b67132888d1cbdbb06a09d"
url "https://github.com/Schniz/fnm/archive/v1.35.0.tar.gz"
sha256 "31b29e4534f17240ae576c9b726498bf551f1c14b3a0fb3ecc9f4aa95843d27a"
license "GPL-3.0-only"
head "https://github.com/Schniz/fnm.git", branch: "master"

Expand All @@ -25,6 +25,13 @@ class Fnm < Formula

uses_from_macos "zlib"

# Patch the completion generation per clap v4 upgrade
# upstream PR ref, https://github.com/Schniz/fnm/pull/1010
patch do
url "https://github.com/Schniz/fnm/commit/85625e64d596c6fc5d1ff20d4af54d43c2561b4b.patch?full_index=1"
sha256 "30c30985ea14f6c7124e7035cb193b4280a9537a7627ea45f3efd2b0baf327b2"
end

def install
system "cargo", "install", *std_cargo_args

Expand Down

0 comments on commit d0701a6

Please sign in to comment.