nixpkgs/pkgs/applications/science/biology/kallisto/default.nix
R. RyanTM 4c6c40d96a kallisto: 0.46.1 -> 0.46.2
Co-authored-by: Daniel Schaefer <git@danielschaefer.me>
2020-02-15 22:39:58 +01:00

30 lines
847 B
Nix

{ stdenv, fetchFromGitHub, autoconf, cmake, hdf5, zlib }:
stdenv.mkDerivation rec {
pname = "kallisto";
version = "0.46.2";
src = fetchFromGitHub {
repo = "kallisto";
owner = "pachterlab";
rev = "v${version}";
sha256 = "0m0r2820ca3rch99md1zzbgkilmlfkhdkpys2lfnb87qxmf1jnmb";
};
nativeBuildInputs = [ autoconf cmake ];
buildInputs = [ hdf5 zlib ];
cmakeFlags = [ "-DUSE_HDF5=ON" ];
# Parallel build fails in some cases: https://github.com/pachterlab/kallisto/issues/160
enableParallelBuilding = false;
meta = with stdenv.lib; {
description = "Kallisto is a program for quantifying abundances of transcripts from RNA-Seq data";
homepage = "https://pachterlab.github.io/kallisto";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ arcadio ];
};
}