Merge pull request #200610 from SuperSandro2000/aws-c-tests

aws-c-*: add nix as reverse dependency to passthru.tests
This commit is contained in:
Mario Rodas 2022-11-11 01:14:09 -05:00 committed by GitHub
commit 6bdd1c267c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 1 deletions

View File

@ -2,6 +2,7 @@
, fetchFromGitHub
, aws-c-common
, cmake
, nix
}:
stdenv.mkDerivation rec {
@ -27,6 +28,10 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON"
];
passthru.tests = {
inherit nix;
};
meta = with lib; {
description = "C99 implementation of huffman encoding/decoding";
homepage = "https://github.com/awslabs/aws-c-compression";

View File

@ -2,6 +2,7 @@
, fetchFromGitHub
, aws-c-common
, cmake
, nix
}:
stdenv.mkDerivation rec {
@ -29,6 +30,10 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests = {
inherit nix;
};
meta = with lib; {
description = "AWS SDK utility library";
homepage = "https://github.com/awslabs/aws-c-sdkutils";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common }:
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, nix }:
stdenv.mkDerivation rec {
pname = "aws-checksums";
@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON"
];
passthru.tests = {
inherit nix;
};
meta = with lib; {
description = "HW accelerated CRC32c and CRC32";
homepage = "https://github.com/awslabs/aws-checksums";

View File

@ -12,6 +12,7 @@
, aws-checksums
, cmake
, s2n-tls
, nix
}:
stdenv.mkDerivation rec {
@ -65,6 +66,10 @@ stdenv.mkDerivation rec {
moveToOutput lib/aws-crt-cpp/cmake "$dev"
'';
passthru.tests = {
inherit nix;
};
meta = with lib; {
description = "C++ wrapper around the aws-c-* libraries";
homepage = "https://github.com/awslabs/aws-crt-cpp";