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}: 2 3 stdenv.mkDerivation rec { 4 pname = "strelka"; ··· 11 sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 - buildInputs = [ zlib python2 ]; 16 17 env.NIX_CFLAGS_COMPILE = toString [ 18 "-Wno-error=maybe-uninitialized" ··· 37 license = licenses.gpl3; 38 homepage = "https://github.com/Illumina/strelka"; 39 maintainers = with maintainers; [ jbedo ]; 40 - platforms = [ "x86_64-linux" ]; 41 }; 42 43 }
··· 1 + {lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, zlib, python2}: 2 3 stdenv.mkDerivation rec { 4 pname = "strelka"; ··· 11 sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf"; 12 }; 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 + 30 nativeBuildInputs = [ cmake ]; 31 + buildInputs = [ boost zlib python2 ]; 32 + 33 + cmakeFlags = [ 34 + "-DCMAKE_CXX_STANDARD=14" 35 + ]; 36 37 env.NIX_CFLAGS_COMPILE = toString [ 38 "-Wno-error=maybe-uninitialized" ··· 57 license = licenses.gpl3; 58 homepage = "https://github.com/Illumina/strelka"; 59 maintainers = with maintainers; [ jbedo ]; 60 + platforms = platforms.linux; 61 }; 62 63 }
+1 -1
pkgs/top-level/all-packages.nix
··· 39116 39117 star = callPackage ../applications/science/biology/star { }; 39118 39119 - strelka = callPackage ../applications/science/biology/strelka { stdenv = gcc10StdenvCompat; }; 39120 39121 inherit (callPackages ../applications/science/biology/sumatools {}) 39122 sumalibs
··· 39116 39117 star = callPackage ../applications/science/biology/star { }; 39118 39119 + strelka = callPackage ../applications/science/biology/strelka { }; 39120 39121 inherit (callPackages ../applications/science/biology/sumatools {}) 39122 sumalibs