From b3c1c37d743f55c716727a3efe9067654b9687f5 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Fri, 30 Apr 2021 14:02:11 +0000 Subject: gnu: Add aws-c-s3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/c.scm (aws-c-s3): New variable. * gnu/packages/patches/aws-c-s3-cmake-prefix.patch, gnu/packages/patches/aws-c-s3-disable-networking-tests.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. Signed-off-by: Ludovic Courtès --- gnu/packages/c.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/c.scm') diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index f2ea6ccda4..cd31c97285 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -803,3 +803,34 @@ currently limited to Huffman encoding and decoding.") authentication.") (home-page "https://github.com/awslabs/aws-c-auth") (license license:asl2.0))) + +(define-public aws-c-s3 + (package + (name "aws-c-s3") + (version "0.1.19") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://github.com/awslabs/" name)) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vkjd8dh99d8qsl7irnbkcdf9vjmcznx0jz186la0472z4h48wjj")) + (patches + (search-patches + "aws-c-s3-cmake-prefix.patch" + "aws-c-s3-disable-networking-tests.patch")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + '("-DBUILD_SHARED_LIBS=ON"))) + (propagated-inputs + `(("aws-c-auth" ,aws-c-auth) + ("aws-c-http" ,aws-c-http))) + (synopsis "Amazon Web Services client library for Amazon S3") + (description + "This library provides a C99 client implementation of the Simple Storage +Service (S3) protocol for object storage.") + (home-page "https://github.com/awslabs/aws-c-s3") + (license license:asl2.0))) -- cgit v1.2.3