3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/kallisto/default.nix

31 lines
830 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, cmake, hdf5, zlib }:
2018-01-23 13:01:13 +00:00
stdenv.mkDerivation rec {
pname = "kallisto";
2022-01-24 15:05:35 +00:00
version = "0.48.0";
2018-01-23 13:01:13 +00:00
src = fetchFromGitHub {
repo = "kallisto";
owner = "pachterlab";
rev = "v${version}";
2022-01-24 15:05:35 +00:00
sha256 = "sha256-r0cdR0jTRa1wu/LDKW6NdxI3XaKj6wcIVbIlct0fFvI=";
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 ];
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;
meta = with lib; {
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
};
}