Skip to content

Commit

Permalink
Merge pull request #115004 from dougch/s2n_version_bump
Browse files Browse the repository at this point in the history
s2n: 0.10.23->1.0.0, rename package to s2n-tls
  • Loading branch information
SuperSandro2000 committed Mar 4, 2021
2 parents c2bdb9a + fc97021 commit 4b9404c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/aws-c-event-stream/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, aws-c-io, aws-checksums, s2n, libexecinfo }:
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, aws-c-io, aws-checksums, s2n-tls, libexecinfo }:

stdenv.mkDerivation rec {
pname = "aws-c-event-stream";
Expand All @@ -13,7 +13,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

buildInputs = [ aws-c-cal aws-c-common aws-c-io aws-checksums s2n ]
buildInputs = [ aws-c-cal aws-c-common aws-c-io aws-checksums s2n-tls ]
++ lib.optional stdenv.hostPlatform.isMusl libexecinfo;

cmakeFlags = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/aws-c-io/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, s2n, Security }:
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, s2n-tls, Security }:

stdenv.mkDerivation rec {
pname = "aws-c-io";
Expand All @@ -13,7 +13,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];

buildInputs = [ aws-c-cal aws-c-common s2n] ++ lib.optionals stdenv.isDarwin [ Security ];
buildInputs = [ aws-c-cal aws-c-common s2n-tls] ++ lib.optionals stdenv.isDarwin [ Security ];

cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/aws-sdk-cpp/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, s2n, zlib
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, s2n-tls, zlib
, aws-c-cal, aws-c-common, aws-c-event-stream, aws-c-io, aws-checksums
, CoreAudio, AudioToolbox
, # Allow building a limited set of APIs, e.g. ["s3" "ec2"].
Expand All @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake curl ];

buildInputs = [
curl openssl s2n zlib
curl openssl s2n-tls zlib
aws-c-cal aws-c-common aws-c-event-stream aws-c-io aws-checksums
] ++ lib.optionals (stdenv.isDarwin &&
((builtins.elem "text-to-speech" apis) ||
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:

stdenv.mkDerivation rec {
pname = "s2n";
version = "0.10.23";
pname = "s2n-tls";
version = "1.0.0";

src = fetchFromGitHub {
owner = "awslabs";
owner = "aws";
repo = pname;
rev = "v${version}";
sha256 = "063wqpszhfcbxm7a7s6d6kinqd6b6dxij85lk9jjkrslg5fgqbki";
sha256 = "1q6kmgwb8jxmc4ijzk9pkqzz8lsbfsv9hyzqvy944w7306zx1r5h";
};

nativeBuildInputs = [ cmake ];
Expand All @@ -21,7 +21,7 @@ stdenv.mkDerivation rec {

meta = with lib; {
description = "C99 implementation of the TLS/SSL protocols";
homepage = "https://github.com/awslabs/s2n";
homepage = "https://github.com/aws/s2n-tls";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ orivej ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ mapAliases ({
urxvt_theme_switch = rxvt-unicode-plugins.theme-switch; # added 2020-02-02
urxvt_vtwheel = rxvt-unicode-plugins.vtwheel; # added 2020-02-02
urxvt_bidi = rxvt-unicode-plugins.bidi; # added 2020-02-02
s2n = s2n-tls; # added 2021-03-03
s6Dns = s6-dns; # added 2018-07-23
s6Networking = s6-networking; # added 2018-07-23
s6LinuxUtils = s6-linux-utils; # added 2018-07-23
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16822,7 +16822,7 @@ in

graphite2 = callPackage ../development/libraries/silgraphite/graphite2.nix {};

s2n = callPackage ../development/libraries/s2n { };
s2n-tls = callPackage ../development/libraries/s2n-tls { };

simavr = callPackage ../development/tools/simavr {
avrgcc = pkgsCross.avr.buildPackages.gcc;
Expand Down

0 comments on commit 4b9404c

Please sign in to comment.