Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BarcodEX-rs to Bioconda. #35816

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions recipes/barcodex-rs/build.sh
@@ -0,0 +1,10 @@
#!/bin/bash -euo
export CFLAGS="${CFLAGS} -fcommon"
export CXXFLAGS="${CFLAGS} -fcommon"

# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details.
# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct.
export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$(pwd)/.cargo"

# build statically linked binary with Rust
RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path .
37 changes: 37 additions & 0 deletions recipes/barcodex-rs/meta.yaml
@@ -0,0 +1,37 @@
{% set version = "0.1.3" %}
{% set sha256 = "6271a95289c6d987d652983db071b36d41d49ab14ad9afe7a2f0a52a9f55191d" %}

package:
name: barcodex-rs
version: {{ version }}

source:
url: https://github.com/MatthiasZepper/barcodex-rs/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0

requirements:
build:
- rust >=1.40
- cmake
- make
- autoconf
- {{ compiler('cxx') }}
- pkg-config
- zlib
host:
- zlib
run:


test:
commands:
- barcodex-rs --help

about:
home: https://github.com/oicr-gsi/barcodex-rs
license: MIT
license_family: MIT
summary: Extract Unique Molecular Identifiers (UMIs) from single or paired-end read sequences.