depot/third_party/nixpkgs/pkgs/development/libraries/aws-c-sdkutils/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

44 lines
759 B
Nix

{ lib, stdenv
, fetchFromGitHub
, aws-c-common
, cmake
, nix
}:
stdenv.mkDerivation rec {
pname = "aws-c-sdkutils";
version = "0.1.11";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-sdkutils";
rev = "v${version}";
sha256 = "sha256-xwPMuaaKzypxJK9mTKD4tJZjzl19pu60seGtS2QFjgI=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-common
];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
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 ];
};
}