Merge pull request #273382 from wegank/strelka-aarch64

strelka: add aarch64-linux support

authored by Weijia Wang and committed by GitHub 9a67c36f f4a98e5a

+24 -4
+23 -3
pkgs/applications/science/biology/strelka/default.nix
··· 1 - {lib, stdenv, fetchFromGitHub, cmake, zlib, python2}: 1 + {lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, zlib, python2}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "strelka"; ··· 11 11 sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf"; 12 12 }; 13 13 14 + patches = [ 15 + # Pull pending fix for gcc-12: 16 + # https://github.com/Illumina/strelka/pull/204 17 + (fetchpatch { 18 + name = "limits.patch"; 19 + url = "https://github.com/Illumina/strelka/commit/98272cd345c6e4c672e6a5b7721204fcac0502d6.patch"; 20 + hash = "sha256-psBiuN32nvwZ+QX51JQjIdRhEE3k7PfwbkD10ckqvZk="; 21 + }) 22 + ]; 23 + 24 + postPatch = '' 25 + substituteInPlace src/cmake/boost.cmake \ 26 + --replace "1.58.0" "${boost.version}" \ 27 + --replace "Boost_USE_STATIC_LIBS ON" "Boost_USE_STATIC_LIBS OFF" 28 + ''; 29 + 14 30 nativeBuildInputs = [ cmake ]; 15 - buildInputs = [ zlib python2 ]; 31 + buildInputs = [ boost zlib python2 ]; 32 + 33 + cmakeFlags = [ 34 + "-DCMAKE_CXX_STANDARD=14" 35 + ]; 16 36 17 37 env.NIX_CFLAGS_COMPILE = toString [ 18 38 "-Wno-error=maybe-uninitialized" ··· 37 57 license = licenses.gpl3; 38 58 homepage = "https://github.com/Illumina/strelka"; 39 59 maintainers = with maintainers; [ jbedo ]; 40 - platforms = [ "x86_64-linux" ]; 60 + platforms = platforms.linux; 41 61 }; 42 62 43 63 }
+1 -1
pkgs/top-level/all-packages.nix
··· 39116 39116 39117 39117 star = callPackage ../applications/science/biology/star { }; 39118 39118 39119 - strelka = callPackage ../applications/science/biology/strelka { stdenv = gcc10StdenvCompat; }; 39119 + strelka = callPackage ../applications/science/biology/strelka { }; 39120 39120 39121 39121 inherit (callPackages ../applications/science/biology/sumatools {}) 39122 39122 sumalibs