mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
45 lines
758 B
Nix
45 lines
758 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, aws-c-common
|
|
, cmake
|
|
, nix
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aws-c-sdkutils";
|
|
version = "0.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "awslabs";
|
|
repo = "aws-c-sdkutils";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-qu/+xYorB+QXP5Ixj5ZFP9ZenVYV6hcmxHnH14DEgrU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|