2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, zlib, bzip2, cmake, python3 }:
|
2019-10-03 10:18:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "SPAdes";
|
2021-08-15 09:12:42 +01:00
|
|
|
version = "3.15.3";
|
2019-10-03 10:18:48 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cab.spbu.ru/files/release${version}/${pname}-${version}.tar.gz";
|
2021-08-15 09:12:42 +01:00
|
|
|
sha256 = "sha256-suWp/XplruWriGIi1q9Pe3vH91XaegOUFXH6vWueFJk=";
|
2019-10-03 10:18:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-06-08 00:38:37 +01:00
|
|
|
buildInputs = [ zlib bzip2 python3 ];
|
2019-10-03 10:18:48 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
sourceRoot = "${pname}-${version}/src";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-03 10:18:48 +01:00
|
|
|
description = "St. Petersburg genome assembler: assembly toolkit containing various assembly pipelines";
|
2021-03-23 09:51:01 +00:00
|
|
|
license = licenses.gpl2Only;
|
2019-10-03 10:18:48 +01:00
|
|
|
homepage = "http://cab.spbu.ru/software/spades/";
|
2021-03-23 09:51:01 +00:00
|
|
|
platforms = with platforms; [ "x86_64-linux" "x86_64-darwin"];
|
2019-10-03 10:18:48 +01:00
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
};
|
|
|
|
}
|