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

31 lines
831 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, cmake, hdf5, zlib }:
2018-01-23 14:01:13 +01:00
stdenv.mkDerivation rec {
pname = "kallisto";
version = "0.46.2";
2018-01-23 14:01:13 +01:00
src = fetchFromGitHub {
repo = "kallisto";
owner = "pachterlab";
rev = "v${version}";
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 ];
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;
meta = with lib; {
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
};
}