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

28 lines
772 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, zlib, bzip2, cmake, python3 }:
2019-10-03 11:18:48 +02:00
stdenv.mkDerivation rec {
pname = "SPAdes";
2022-02-18 00:55:34 +01:00
version = "3.15.4";
2019-10-03 11:18:48 +02:00
src = fetchurl {
url = "http://cab.spbu.ru/files/release${version}/${pname}-${version}.tar.gz";
2022-02-18 00:55:34 +01:00
sha256 = "sha256-OyQcUopCqL398j5b+PAISDR5BZDQhJHezqnw8AnYWJ8=";
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 lib; {
2019-10-03 11:18:48 +02:00
description = "St. Petersburg genome assembler: assembly toolkit containing various assembly pipelines";
license = licenses.gpl2Only;
2019-10-03 11:18:48 +02:00
homepage = "http://cab.spbu.ru/software/spades/";
platforms = with platforms; [ "x86_64-linux" "x86_64-darwin"];
2019-10-03 11:18:48 +02:00
maintainers = [ maintainers.bzizou ];
};
}