diff options
author | Luis Pedro Coelho <luis@luispedro.org> | 2019-03-29 15:03:16 +0100 |
---|---|---|
committer | Luis Pedro Coelho <luis@luispedro.org> | 2019-03-31 05:56:14 +0200 |
commit | bf484519590560623b44825f4b68914b913a9081 (patch) | |
tree | 7468a89baec47dfd553a911a90a090b7197d9d79 /pkgs/applications/science | |
parent | bad5d145c28db9005d2fa8056ff41a146c0c6bf1 (diff) | |
download | nixpkgs-bf484519590560623b44825f4b68914b913a9081.tar nixpkgs-bf484519590560623b44825f4b68914b913a9081.tar.gz nixpkgs-bf484519590560623b44825f4b68914b913a9081.tar.bz2 nixpkgs-bf484519590560623b44825f4b68914b913a9081.tar.lz nixpkgs-bf484519590560623b44825f4b68914b913a9081.tar.xz nixpkgs-bf484519590560623b44825f4b68914b913a9081.tar.zst nixpkgs-bf484519590560623b44825f4b68914b913a9081.zip |
megahit: init at 1.1.4
This is widely used in bioinformatics for assembling genomes & metagenomes
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/biology/megahit/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/science/biology/megahit/default.nix b/pkgs/applications/science/biology/megahit/default.nix new file mode 100644 index 00000000000..56bb35b64df --- /dev/null +++ b/pkgs/applications/science/biology/megahit/default.nix @@ -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" ]; + }; +} |