@@ -1,16 +1,28 @@
1−{lib, stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, lzma, pkg-config}:
1+{lib, stdenv, fetchpatch, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, lzma, pkg-config}:
22
33stdenv.mkDerivation rec {
44 pname = "octopus";
5− version = "0.7.0";
5+ version = "0.7.1";
66
77 src = fetchFromGitHub {
88 owner = "luntergroup";
99 repo = "octopus";
1010 rev = "v${version}";
11− sha256 = "0y3g0xc3x3adbcmds6hh60023pfv1qrz6ak7jd88fg9vxi9bdrfb";
11+ sha256 = "sha256-TZ57uKTZ87FWpLNGPY8kbML1EDM8fnEFbXR+Z3dmiao=";
1212 };
1313
14+ patches = [
15+ # Backport TZ patchs (https://github.com/luntergroup/octopus/issues/149)
16+ (fetchpatch {
17+ url = "https://github.com/luntergroup/octopus/commit/3dbd8cc33616129ad356e99a4dae82e4f6702250.patch";
18+ sha256 = "sha256-UCufVU9x+L1zCEhkr/48KFYRvh8w26w8Jr+O+wULKK8=";
19+ })
20+ (fetchpatch {
21+ url = "https://github.com/luntergroup/octopus/commit/af5a66a2792bd098fb53eb79fb4822625f09305e.patch";
22+ sha256 = "sha256-r8jv6EZHfTWVLYUBau3F+ilOd9IeH8rmatorEY5LXP4=";
23+ })
24+ ];
25+
1426 nativeBuildInputs = [ cmake pkg-config ];
1527 buildInputs = [ boost gmp htslib zlib lzma ];
1628