nixpkgs/pkgs/applications/science/biology/megahit/default.nix

27 lines
718 B
Nix
Raw Normal View History

2019-11-02 14:53:57 +00:00
{ stdenv, fetchFromGitHub, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "megahit";
2019-11-02 14:53:57 +00:00
version = "1.2.9";
src = fetchFromGitHub {
owner = "voutcn";
repo = "megahit";
rev = "v${version}";
2019-11-02 14:53:57 +00:00
sha256 = "1r5d9nkdmgjsbrpj43q9hy3s8jwsabaz3ji561v18hy47v58923c";
};
2019-11-02 14:53:57 +00:00
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
2019-11-02 14:53:57 +00:00
enableParallelBuilding = true;
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" ];
};
}