core/pkgs/by-name/aw/aws-c-sdkutils/default.nix

41 lines
748 B
Nix
Raw Normal View History

2024-06-30 08:16:52 +00:00
{
lib,
stdenv,
fetchFromGitHub,
aws-c-common,
cmake,
nix,
2024-05-02 00:46:19 +00:00
}:
stdenv.mkDerivation rec {
pname = "aws-c-sdkutils";
version = "0.1.15";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-sdkutils";
rev = "v${version}";
hash = "sha256-RTRDbdv+QmRG0Sk/R9qhl45WYEVyl+M0EceLFsoONTI=";
};
2024-06-30 08:16:52 +00:00
nativeBuildInputs = [ cmake ];
2024-05-02 00:46:19 +00:00
2024-06-30 08:16:52 +00:00
buildInputs = [ aws-c-common ];
2024-05-02 00:46:19 +00:00
2024-06-30 08:16:52 +00:00
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
2024-05-02 00:46:19 +00:00
doCheck = true;
passthru.tests = {
inherit nix;
};
meta = with lib; {
description = "AWS SDK utility library";
homepage = "https://github.com/awslabs/aws-c-sdkutils";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}