2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, zlib, bzip2, cmake, python3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "SPAdes";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "3.14.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cab.spbu.ru/files/release${version}/${pname}-${version}.tar.gz";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "1ji3afn6yvx7ysg7p9j0d1g28zrnxg1b7x90mhs2bj3lgs7vfafn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [ zlib bzip2 python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
sourceRoot = "${pname}-${version}/src";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "St. Petersburg genome assembler: assembly toolkit containing various assembly pipelines";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
homepage = "http://cab.spbu.ru/software/spades/";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
};
|
|
|
|
}
|