diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/mbedtls/3.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/mbedtls/3.nix | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/libraries/mbedtls/3.nix b/nixpkgs/pkgs/development/libraries/mbedtls/3.nix index 267349ac5d7b..d672e218f577 100644 --- a/nixpkgs/pkgs/development/libraries/mbedtls/3.nix +++ b/nixpkgs/pkgs/development/libraries/mbedtls/3.nix @@ -1,6 +1,18 @@ -{ callPackage }: +{ callPackage +, fetchpatch +}: callPackage ./generic.nix { - version = "3.5.2"; - hash = "sha256-lVGmnSYccNmRS6vfF/fDiny5cYRPc/wJBpgciFLPUvM="; + version = "3.6.0"; + hash = "sha256-tCwAKoTvY8VCjcTPNwS3DeitflhpKHLr6ygHZDbR6wQ="; + + patches = [ + # https://github.com/Mbed-TLS/mbedtls/pull/9000 + # Remove at next version update + (fetchpatch { + name = "fix-darwin-memcpy-error.patch"; + url = "https://github.com/Mbed-TLS/mbedtls/commit/b32d7ae0fee2f906be59780b42a0cd4468a39bd1.patch"; + hash = "sha256-BTkJs9NEkCl+/Q8EwB/LW9uwF95jQOKWmoCK4B/7/sU="; + }) + ]; } |