mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
s2n: init at 0.10.23
This commit is contained in:
parent
b95a9663a0
commit
09fdc4553b
29
pkgs/development/libraries/s2n/default.nix
Normal file
29
pkgs/development/libraries/s2n/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "s2n";
|
||||
version = "0.10.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "awslabs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "063wqpszhfcbxm7a7s6d6kinqd6b6dxij85lk9jjkrslg5fgqbki";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "C99 implementation of the TLS/SSL protocols";
|
||||
homepage = "https://github.com/awslabs/s2n";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
};
|
||||
}
|
@ -16150,6 +16150,8 @@ in
|
||||
|
||||
graphite2 = callPackage ../development/libraries/silgraphite/graphite2.nix {};
|
||||
|
||||
s2n = callPackage ../development/libraries/s2n { };
|
||||
|
||||
simavr = callPackage ../development/tools/simavr {
|
||||
avrgcc = pkgsCross.avr.buildPackages.gcc;
|
||||
avrlibc = pkgsCross.avr.libcCross;
|
||||
|
Loading…
Reference in New Issue
Block a user