From 5f998a5cdbbb3034c3948b3e73cc90b656ef8431 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Sat, 10 Oct 2020 17:03:28 +0000 Subject: gnu: Add aws-c-common. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/c.scm (aws-c-common): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/c.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/c.scm') diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 7a7408b4d7..628e8c0dad 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Katherine Cox-Buday ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2020 Greg Hogan ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,6 +33,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (gnu packages bootstrap) @@ -536,3 +538,24 @@ avoiding distractions when studying code that uses @code{#ifdef} heavily for portability.") (license (list license:bsd-2 ;all files except... license:bsd-3)))) ;...the unidef.1 manual page + +(define-public aws-c-common + (package + (name "aws-c-common") + (version "0.4.63") + (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 + "16bc6fn1gq3nqcrzgpi2kjphq7xkkr73aljakrg89ysm6hyzyim9")))) + (build-system cmake-build-system) + (synopsis "Amazon Web Services core C library") + (description + "This library provides common C99 primitives, configuration, data + structures, and error handling for the @acronym{AWS,Amazon Web Services} SDK.") + (home-page "https://github.com/awslabs/aws-c-common") + (license license:asl2.0))) -- cgit v1.2.3