nixpkgs-suyu/pkgs/applications/science/biology/spades/default.nix

28 lines
736 B
Nix
Raw Normal View History

2020-06-08 01:38:37 +02:00
{ stdenv, fetchurl, zlib, bzip2, cmake, python3 }:
2019-10-03 11:18:48 +02:00
stdenv.mkDerivation rec {
pname = "SPAdes";
2020-05-10 15:06:19 +02:00
version = "3.14.1";
2019-10-03 11:18:48 +02:00
src = fetchurl {
url = "http://cab.spbu.ru/files/release${version}/${pname}-${version}.tar.gz";
2020-05-10 15:06:19 +02:00
sha256 = "1ji3afn6yvx7ysg7p9j0d1g28zrnxg1b7x90mhs2bj3lgs7vfafn";
2019-10-03 11:18:48 +02:00
};
nativeBuildInputs = [ cmake ];
2020-06-08 01:38:37 +02:00
buildInputs = [ zlib bzip2 python3 ];
2019-10-03 11:18:48 +02:00
doCheck = true;
sourceRoot = "${pname}-${version}/src";
meta = with stdenv.lib; {
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 ];
};
}