Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4d4b67b65e83
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c637aeff19b5
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 31, 2019

  1. megahit: init at 1.1.4

    This is widely used in bioinformatics for assembling genomes &
    metagenomes
    luispedro committed Mar 31, 2019
    Copy the full SHA
    bf48451 View commit details
  2. Merge pull request #58541 from luispedro/add_megahit

    megahit: init at 1.1.4
    markuskowa authored Mar 31, 2019
    Copy the full SHA
    c637aef View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/applications/science/biology/megahit/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
29 changes: 29 additions & 0 deletions pkgs/applications/science/biology/megahit/default.nix
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" ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -21757,6 +21757,8 @@ in

mrbayes = callPackage ../applications/science/biology/mrbayes { };

megahit = callPackage ../applications/science/biology/megahit { };

messer-slim = callPackage ../applications/science/biology/messer-slim { };

minc_tools = callPackage ../applications/science/biology/minc-tools { };