tandem-aligner: fix build with GCC 12

This commit is contained in:
amesgen 2023-02-25 13:40:11 +01:00
parent 1462c1a1a2
commit a85b73c514
No known key found for this signature in database
GPG Key ID: 1A89EC203635A13D

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, zlib
}:
@ -16,6 +17,15 @@ stdenv.mkDerivation {
hash = "sha256-iMDj1HZ8LzmZckuAM3lbG3eSJSd/5JGVA6SBs7+AgX8=";
};
patches = [
(fetchpatch {
# https://github.com/seryrzu/tandem_aligner/pull/4
url = "https://github.com/seryrzu/tandem_aligner/commit/8b516c94f90aaa9cb84278aa811285d4204b03a9.patch";
hash = "sha256-kD46SykXklG/avK0+sc61YKFw9Bes8ZgFAjVXmcpN8k=";
stripLen = 1;
})
];
sourceRoot = "source/tandem_aligner";
nativeBuildInputs = [ cmake ];