Files
ccpkgs/pkgs/sambamba.nix
2019-05-07 14:41:30 -04:00

39 lines
958 B
Nix

{ stdenv, fetchFromGitHub, ldc
, python3, glibc, which, zlib }:
stdenv.mkDerivation rec {
version = "0.6.9";
name = "sambamba-${version}";
src = fetchFromGitHub {
owner = "biod";
repo = "sambamba";
# Two commits on top of 0.6.9 release to remove undeaD submodule
rev = "d67cf50280f7c752d815fdb50fc38fb7bb61f2c9";
sha256 = "1skv12nx84dsxh71ixw605k6pasbjlbwiij2s9382gsw2ya6nhv7";
fetchSubmodules = true;
};
installFlags = [ "prefix=$(out)" ];
preInstall = ''
mkdir -p "$out"/bin
'';
buildInputs = [
python3
glibc
ldc
which
zlib
];
meta = with stdenv.lib; {
homepage = https://github.com/lomereiter/sambamba/wiki;
description = "Sambamba is a set of command-line tools for working with SAM/BAM file formats which are used for storing next generation sequencing (NGS) datasets.";
platforms = platforms.all;
license = licenses.gpl2;
};
enableParallelBuilding = true;
}