octopus-caller: backport patch to fix build

This commit is contained in:
Justin Bedo 2022-10-25 09:52:28 +11:00
parent df27066c5c
commit 5f5bb45093
No known key found for this signature in database
GPG key ID: 2C18202C56C182BD

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, xz, pkg-config}:
{lib, stdenv, fetchurl, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, xz, pkg-config}:
stdenv.mkDerivation rec {
pname = "octopus";
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ boost gmp htslib zlib xz ];
patches = [ (fetchurl {
url = "https://github.com/luntergroup/octopus/commit/17a597d192bcd5192689bf38c5836a98b824867a.patch";
sha256 = "sha256-VaUr63v7mzhh4VBghH7a7qrqOYwl6vucmmKzTi9yAjY=";
}) ];
postInstall = ''
mkdir $out/bin
mv $out/octopus $out/bin