depot/third_party/nixpkgs/pkgs/development/libraries/aws-c-sdkutils/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

44 lines
757 B
Nix

{ lib, stdenv
, fetchFromGitHub
, aws-c-common
, cmake
, nix
}:
stdenv.mkDerivation rec {
pname = "aws-c-sdkutils";
version = "0.1.16";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-sdkutils";
rev = "v${version}";
hash = "sha256-ih7U2uP5FrBx6or1Rp/k+HWDE6evEZyNM//wsPxH9Qo=";
};
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 ];
};
}