Merge pull request #218240 from amesgen/tandem-aligner-fix-build-gcc-12

This commit is contained in:
Artturi 2023-02-25 15:35:12 +02:00 committed by GitHub
commit 8e027ec1d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];