forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add distle * add maintainers * fix * Apply suggestions from code review * Add license_family * The license_file is not included in the sources tarball * add license file --------- Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash -e | ||
|
||
# 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 C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib cargo install --verbose --root $PREFIX --path . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% set version = "0.1.1" %} | ||
{% set sha256 = "fd637102b8d305a50e76c3b2e8a88ffaa417a861ec23704c39902e5423a2e20e" %} | ||
|
||
package: | ||
name: distle | ||
version: {{ version }} | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage('distle', max_pin="x.x") }} | ||
|
||
source: | ||
url: https://github.com/KHajji/distle/archive/v{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
requirements: | ||
build: | ||
- {{ compiler("rust") }} | ||
- {{ compiler('c') }} | ||
|
||
test: | ||
commands: | ||
- distle --help | ||
- distle --version | ||
|
||
about: | ||
home: https://github.com/KHajji/distle | ||
license: GPL-3.0-only | ||
license_file: LICENSE | ||
license_family: GPL3 | ||
summary: "Fast distance matrix calculations on fasta and cgmlst files" | ||
|
||
extra: | ||
recipe-maintainers: | ||
- khajji | ||
- boasvdp | ||
- ids-bioinformatics |