From ae500994d54aaaad63ac3d9c45446c7faa49f750 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sun, 28 Jan 2024 20:44:38 +0200 Subject: [PATCH] new file: projects/nixpacks.com/package.yml --- projects/nixpacks.com/package.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/nixpacks.com/package.yml diff --git a/projects/nixpacks.com/package.yml b/projects/nixpacks.com/package.yml new file mode 100644 index 00000000..f13a7bbc --- /dev/null +++ b/projects/nixpacks.com/package.yml @@ -0,0 +1,25 @@ +distributable: + url: git+https://github.com/railwayapp/nixpacks.git + ref: ${{version.tag}} + +versions: + github: railwayapp/nixpacks + +build: + dependencies: + rust-lang.org: ^1.65 + rust-lang.org/cargo: '*' + script: + - cargo install $ARGS + env: + ARGS: + - --root={{prefix}} + - --path=. + +provides: + - bin/nixpacks + +test: + - nixpacks build $PWD --name test > out.log || true + - cat out.log | grep 'Nixpacks was unable to generate a build plan for this app' + - nixpacks -V | grep {{version}} \ No newline at end of file