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