@@ -7,13 +7,14 @@ let
77
88in stdenv.mkDerivation rec {
99 pname = "lumpy";
10− version = "0.3.0";
10+ version = "0.3.1";
1111
1212 src = fetchFromGitHub {
1313 owner = "arq5x";
1414 repo = "lumpy-sv";
15− rev = version;
16− sha256 = "0azhzvmh9az9jcq0xprlzdz6w16azgszv4kshb903bwbnqirmk18";
15+ rev = "v${version}";
16+ sha256 = "0r71sg7qch8r6p6dw995znrqdj6q49hjdylhzbib2qmv8nvglhs9";
17+ fetchSubmodules = true;
1718 };
1819
1920 nativeBuildInputs = [ which ];
@@ -26,6 +27,8 @@ in stdenv.mkDerivation rec {
2627 # Use Nix htslib over bundled version
2728 sed -i 's/lumpy_filter: htslib/lumpy_filter:/' Makefile
2829 sed -i 's|../../lib/htslib/libhts.a|-lhts|' src/filter/Makefile
30+ # Also make sure we use the includes from Nix's htslib
31+ sed -i 's|../../lib/htslib/|${htslib}|' src/filter/Makefile
2932 '';
3033
3134 # Upstream's makefile doesn't have an install target