Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58541 from luispedro/add_megahit
megahit: init at 1.1.4
- Loading branch information
Showing
2 changed files
with
31 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,29 @@ | ||
{ stdenv, fetchFromGitHub, zlib }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "megahit"; | ||
version = "1.1.4"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "voutcn"; | ||
repo = "megahit"; | ||
rev = "v${version}"; | ||
sha256 = "011k0776w76l03zmy70kfd3y9zjmdnspfbs9fcxmnl3bdwd36kcw"; | ||
}; | ||
|
||
buildInputs = [ zlib ]; | ||
|
||
installPhase = '' | ||
for bin in megahit_sdbg_build megahit megahit_asm_core megahit_toolkit; do | ||
install -vD $bin $out/bin/$bin | ||
done | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "An ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph"; | ||
license = licenses.gpl3; | ||
homepage = https://github.com/voutcn/megahit; | ||
maintainers = with maintainers; [ luispedro ]; | ||
platforms = [ "x86_64-linux" ]; | ||
}; | ||
} |
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