1 { lib, stdenv, fetchurl, htslib, zlib, bzip2, xz, curl, perl, python3, bash }:
3 stdenv.mkDerivation rec {
8 url = "https://github.com/samtools/bcftools/releases/download/${version}/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-UopMwdNVU2jbdacAsio8ldqJP9GCf20wRxbf1F6k4oI=";
17 buildInputs = [ htslib zlib bzip2 xz curl ];
24 "CC=${stdenv.cc.targetPrefix}cc"
30 sed -ie 's|/bin/bash|${bash}/bin/bash|' test/test.pl
33 enableParallelBuilding = true;
38 description = "Tools for manipulating BCF2/VCF/gVCF format, SNP and short indel sequence variants";
39 license = licenses.mit;
40 homepage = "http://www.htslib.org/";
41 platforms = platforms.unix;
42 maintainers = [ maintainers.mimame ];