diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-11-29 20:33:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 20:33:45 +0100 |
commit | ebdd276b68505a011502546fd9510167bd2d2bdc (patch) | |
tree | 69586b42091f8eaf53386e73d48340c962cf6b11 /pkgs/applications/science | |
parent | 8ecf2d613aa3cf56821604df894dc2b90f4b128b (diff) | |
parent | 8147fb683c111f40da54d245c965517bd2885b43 (diff) |
Merge pull request #147499 from trofi/fix-samtools-for-ncurses-6.3
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/biology/samtools/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/science/biology/samtools/default.nix b/pkgs/applications/science/biology/samtools/default.nix index 99210092a154b..98b0394c35f1f 100644 --- a/pkgs/applications/science/biology/samtools/default.nix +++ b/pkgs/applications/science/biology/samtools/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, zlib, htslib, perl, ncurses ? null }: +{ lib, stdenv, fetchurl, fetchpatch, zlib, htslib, perl, ncurses ? null }: stdenv.mkDerivation rec { pname = "samtools"; @@ -9,6 +9,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-YWyi4FHMgAmh6cAc/Yx8r4twkW3f9m87dpFAeUZfjGA="; }; + patches = [ + # Pull upstream patch for ncurses-6.3 support + (fetchpatch { + name = "ncurses-6.3.patch"; + url = "https://github.com/samtools/samtools/commit/396ef20eb0854d6b223c3223b60bb7efe42301f7.patch"; + sha256 = "sha256-p0l9ymXK9nqL2w8EytbW+qeaI7dD86IQgIVxacBj838="; + }) + ]; + nativeBuildInputs = [ perl ]; buildInputs = [ zlib ncurses htslib ]; |