From 09f82c434c900fc60f7f6fcac110c08e501faa09 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Sat, 15 Jul 2023 14:41:40 -0700 Subject: [PATCH] +crates.io/fnm --- projects/crates.io/fnm/package.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/crates.io/fnm/package.yml diff --git a/projects/crates.io/fnm/package.yml b/projects/crates.io/fnm/package.yml new file mode 100644 index 00000000..c5b83199 --- /dev/null +++ b/projects/crates.io/fnm/package.yml @@ -0,0 +1,23 @@ +distributable: + url: https://github.com/Schniz/fnm/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +versions: + github: Schniz/fnm + +dependencies: + darwin: + zlib.net: ^1 + +build: + dependencies: + rust-lang.org: ">=1.60" + rust-lang.org/cargo: "*" + script: | + cargo install --locked --path . --root {{prefix}} + +provides: + - bin/fnm + +test: + script: test "$(fnm --version)" = "fnm {{version}}"