2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, cmake, hdf5, zlib }:
|
2018-01-23 14:01:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "kallisto";
|
2020-02-14 17:42:21 +01:00
|
|
|
version = "0.46.2";
|
2018-01-23 14:01:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "kallisto";
|
|
|
|
owner = "pachterlab";
|
|
|
|
rev = "v${version}";
|
2020-02-14 17:42:21 +01:00
|
|
|
sha256 = "0m0r2820ca3rch99md1zzbgkilmlfkhdkpys2lfnb87qxmf1jnmb";
|
2018-01-23 14:01:13 +01:00
|
|
|
};
|
|
|
|
|
2019-07-04 10:53:50 +02:00
|
|
|
nativeBuildInputs = [ autoconf cmake ];
|
|
|
|
|
2018-01-23 14:01:13 +01:00
|
|
|
buildInputs = [ hdf5 zlib ];
|
|
|
|
|
2020-02-14 17:42:21 +01:00
|
|
|
cmakeFlags = [ "-DUSE_HDF5=ON" ];
|
|
|
|
|
2019-07-04 10:53:50 +02:00
|
|
|
# Parallel build fails in some cases: https://github.com/pachterlab/kallisto/issues/160
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-26 05:08:40 +01:00
|
|
|
description = "Program for quantifying abundances of transcripts from RNA-Seq data";
|
2019-07-04 10:53:50 +02:00
|
|
|
homepage = "https://pachterlab.github.io/kallisto";
|
2018-01-23 14:01:13 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
2019-07-04 10:53:50 +02:00
|
|
|
maintainers = with maintainers; [ arcadio ];
|
2018-01-23 14:01:13 +01:00
|
|
|
};
|
|
|
|
}
|