Skip to content

Commit

Permalink
add gfabase recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
aryarm committed Nov 15, 2024
1 parent fe8989c commit 812c9a3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes/gfabase/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -eu

if [ "$(uname)" == "Darwin" ]; then
export HOME=`mktemp -d`
fi

cargo build --release

mv target/release/gfabase "${PREFIX}/bin"
40 changes: 40 additions & 0 deletions recipes/gfabase/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{% set name = "gfabase" %}
{% set version = "0.6.0" %}
{% set sha256 = "d17ef77d2f57ace316a7b35d910c5cd73be2a0d70ec7fcd31f2d0e3afbe1273c" %}

package:
name: {{ name }}
version: {{ version }}

source:
url: https://github.com/mlin/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
run_exports:
- {{ pin_subpackage('gfabase', max_pin="x.x") }}

requirements:
build:
- git
- rust

test:
commands:
- gfabase -h

about:
home: https://github.com/mlin/gfabase
license: Apache License 2.0
summary: GFA insert into GenomicSQLite
description: >
gfabase is a command-line tool for indexed storage of Graphical Fragment Assembly (GFA1) data
extra:
additional-platforms:
- linux-aarch64
recipe-maintainers:
- aryarm
skip-lints:
- should_be_noarch_generic # Rust's `cargo build` command makes this not a noarch recipe.

0 comments on commit 812c9a3

Please sign in to comment.