s2n-tls: 1.0.17 -> 1.3.0

This commit is contained in:
Ryan Burns 2021-11-20 16:31:45 -08:00
parent 2eb081deb2
commit 5929241023

View file

@ -1,29 +1,20 @@
{ lib, stdenv { lib, stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, openssl , openssl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "s2n-tls"; pname = "s2n-tls";
version = "1.0.17"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws"; owner = "aws";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-6XqBpNURU8fzGkTt4jsijgMiOkzMebmLmPAq8yQsTg4="; sha256 = "sha256-gd91thIcJO6Bhn1ENkW0k2iDzu1CvSYwWVv0VEM9umU=";
}; };
patches = [
# Fix FindLibCrypto paths (https://github.com/aws/s2n-tls/pull/3067)
(fetchpatch {
url = "https://github.com/aws/s2n-tls/commit/bda649524402be4018c44bff07f6c64502a351ec.patch";
sha256 = "02jmxsrd506vhjzlrgh1p2z1f1sn4v8klks25zisiykyqkyaczkv";
})
];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
outputs = [ "out" "dev"]; outputs = [ "out" "dev"];