mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
1ca04aa9f1
This is now the new default and thus doesn't need to be set manually anymore.
53 lines
941 B
Nix
53 lines
941 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, aws-c-auth
|
|
, aws-c-cal
|
|
, aws-c-common
|
|
, aws-c-compression
|
|
, aws-c-http
|
|
, aws-c-io
|
|
, aws-checksums
|
|
, cmake
|
|
, s2n-tls
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aws-c-s3";
|
|
version = "0.1.39";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "awslabs";
|
|
repo = "aws-c-s3";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-UbYh3awI7Y3mJnVQrltU+rZ1TI1TDaMF5TOcvxbzNa8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
aws-c-auth
|
|
aws-c-cal
|
|
aws-c-common
|
|
aws-c-compression
|
|
aws-c-http
|
|
aws-c-io
|
|
aws-checksums
|
|
s2n-tls
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "C99 library implementation for communicating with the S3 service";
|
|
homepage = "https://github.com/awslabs/aws-c-s3";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ r-burns ];
|
|
mainProgram = "s3";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|