diff mbox series

[bug#43913,1/4] gnu: Add aws-c-common.

Message ID CA+3U0ZnWM=R0hcQZYZQKj5+q9+U7p_d8kr-v7YVdBmCKGfEgAA@mail.gmail.com
State New
Headers show
Series gnu: Add aws-sdk-cpp. | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/applying patch fail View Laminar job
cbaines/applying patch fail View Laminar job
cbaines/applying patch fail View Laminar job

Commit Message

Greg Hogan Oct. 10, 2020, 6:16 p.m. UTC
From 87e3b9f4503d8e986b2b3fa2a1fd4a55034c212d Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Sat, 10 Oct 2020 17:03:28 +0000
Subject: [PATCH 1/4] gnu: Add aws-c-common.

* gnu/packages/c.scm (aws-c-common): New variable.
---
 gnu/packages/c.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

+    (home-page "https://github.com/awslabs/aws-c-common")
+    (license license:asl2.0)))
diff mbox series

Patch

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index c1ae98ddd3..a86af02258 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -31,6 +31,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)
@@ -473,3 +474,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.59")
+    (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
+                "0wfr9iby97yqiii6df4vb1m9vk5y9navgri92j698z90m73silpp"))))
+    (build-system cmake-build-system)
+    (synopsis "Core package for AWS SDK for C")
+    (description
+     "Provides C99 primitives, configuration, data structures, and error
+handling for the AWS SDK for C.")