5aa4b19946
Refs: e6754980264fe927320d5ff2dbd24ca4fac9a160 1e9cc5b9844ef603fe160e9f671178f96200774f 793a2fe1e8bb886ca2096c5904e1193dc3268b6d c19cf65261639f749012454932a532aa7c681e4b f6544d618f30fae0bc4798c4387a8c7c9c047a7c
40 lines
975 B
Nix
40 lines
975 B
Nix
{stdenv, fetchFromGitHub, cmake, zlib, python2}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "strelka";
|
|
version = "2.9.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Illumina";
|
|
repo = "strelka";
|
|
rev = "v${version}";
|
|
sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ zlib python2 ];
|
|
|
|
preConfigure = ''
|
|
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
|
|
patchShebangs .
|
|
'';
|
|
|
|
postFixup = ''
|
|
pushd $out/lib/python/pyflow
|
|
sed -i 's|/bin/bash|${stdenv.shell}|' pyflowTaskWrapper.py
|
|
rm pyflowTaskWrapper.pyc
|
|
echo "import pyflowTaskWrapper" | python2
|
|
popd
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Germline and small variant caller";
|
|
license = licenses.gpl3;
|
|
homepage = https://github.com/Illumina/strelka;
|
|
maintainers = with maintainers; [ jbedo ];
|
|
platforms = [ "x86_64-linux" ];
|
|
broken = true;
|
|
};
|
|
|
|
}
|