From 25bb04bbdd3fd1f29054f7cc184819f189e06115 Mon Sep 17 00:00:00 2001 From: Pablo Date: Mon, 17 Jul 2023 14:16:14 +0200 Subject: [PATCH] add fq [ci build] Signed-off-by: Pablo --- recipes/fq/build.sh | 12 ++++++++++++ recipes/fq/meta.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 recipes/fq/build.sh create mode 100644 recipes/fq/meta.yaml diff --git a/recipes/fq/build.sh b/recipes/fq/build.sh new file mode 100644 index 0000000..e27ec6f --- /dev/null +++ b/recipes/fq/build.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -eu + +if [ "$(uname)" == "Darwin" ]; then + export HOME=`mktemp -d` +fi + +cargo build --release + +mv target/release/fq "${PREFIX}/bin" + diff --git a/recipes/fq/meta.yaml b/recipes/fq/meta.yaml new file mode 100644 index 0000000..6f9f2a3 --- /dev/null +++ b/recipes/fq/meta.yaml @@ -0,0 +1,40 @@ +{% set name = "fq" %} +{% set version = "0.9.1" %} +{% set sha256 = "d29b7f43253b649ca4c1bb7f7d9104ba92b225903ce6cb44a44c9ff9a86ae22b" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/stjude-rust-labs/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 0 + +requirements: + build: + - git + - rust + +test: + commands: + - fq -h + +about: + home: https://github.com/stjude-rust-labs/fq + license: MIT + summary: fq is a library to generate and validate FASTQ file pairs. + description: > + fq provides subcommands for filtering, generating, subsampling, and + validating FASTQ files. + +extra: + recipe-maintainers: + - claymcleod + - Midnighter + - zaeleus + skip-lints: + - should_be_noarch_generic # Rust's `cargo build` command makes this not a noarch recipe. +