mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
bcftools: 1.5.0 -> 1.6.0
This commit is contained in:
parent
ee2c76693e
commit
bebccf176e
@ -1,17 +1,22 @@
|
|||||||
{ stdenv, fetchurl, htslib, zlib, bzip2, lzma, perl }:
|
{ stdenv, fetchurl, htslib, zlib, bzip2, lzma, perl, bash }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "bcftools";
|
pname = "bcftools";
|
||||||
major = "1.5";
|
major = "1.6";
|
||||||
version = "${major}.0";
|
version = "${major}.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/samtools/bcftools/releases/download/${major}/bcftools-${major}.tar.bz2";
|
url = "https://github.com/samtools/bcftools/releases/download/${major}/bcftools-${major}.tar.bz2";
|
||||||
sha256 = "0093hkkvxmbwfaa7905s6185jymynvg42kq6sxv7fili11l5mxwz";
|
sha256 = "10prgmf09a13mk18840938ijqgfc9y92hfc7sa2gcv07ddri0c19";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib bzip2 lzma perl ];
|
|
||||||
|
nativeBuildInputs = [ bash ];
|
||||||
|
|
||||||
|
buildInputs = [ zlib bzip2 lzma ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ htslib ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"HSTDIR=${htslib}"
|
"HSTDIR=${htslib}"
|
||||||
@ -19,6 +24,15 @@ stdenv.mkDerivation rec {
|
|||||||
"CC=cc"
|
"CC=cc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
sed -ie 's|/usr/bin/\(env[[:space:]]\)\{0,1\}perl|${perl}/bin/perl|' test/test.pl test/csq/{sort-csq,make-csq-test} misc/plot-vcfstats
|
||||||
|
sed -ie 's|/bin/bash|${bash}/bin/bash|' test/test.pl
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Tools for manipulating BCF2/VCF/gVCF format, SNP and short indel sequence variants";
|
description = "Tools for manipulating BCF2/VCF/gVCF format, SNP and short indel sequence variants";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
Loading…
Reference in New Issue
Block a user