depot/pkgs/applications/science/biology/kallisto/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
860 B
Nix

{ lib, stdenv, fetchFromGitHub, autoconf, cmake, hdf5, zlib }:
stdenv.mkDerivation rec {
pname = "kallisto";
version = "0.51.1";
src = fetchFromGitHub {
repo = "kallisto";
owner = "pachterlab";
rev = "v${version}";
sha256 = "sha256-hfdeztEyHvuOnLS71oSv8sPqFe2UCX5KlANqrT/Gfx8=";
};
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 lib; {
description = "Program for quantifying abundances of transcripts from RNA-Seq data";
mainProgram = "kallisto";
homepage = "https://pachterlab.github.io/kallisto";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ arcadio ];
};
}