[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: Add libcyaml.
From: |
guix-commits |
Subject: |
03/07: gnu: Add libcyaml. |
Date: |
Wed, 12 Feb 2020 18:54:48 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit eb642f3d247ee0c74122017354c57bdce028eb57
Author: Alexandros Theodotou <address@hidden>
AuthorDate: Wed Feb 12 12:51:37 2020 +0000
gnu: Add libcyaml.
* gnu/packages/web.scm (libcyaml): New variable.
Signed-off-by: Tobias Geerinckx-Rice <address@hidden>
---
gnu/packages/web.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0f20cf2..638624e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -37,6 +37,7 @@
;;; Copyright © 2019 Jakob L. Kreuze <address@hidden>
;;; Copyright © 2019 Florian Pelz <address@hidden>
;;; Copyright © 2020 Timotej Lazar <address@hidden>
+;;; Copyright © 2020 Alexandros Theodotou <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4829,6 +4830,46 @@ developed as part of the Netsurf project.")
written in C. It is developed as part of the NetSurf project.")
(license license:expat)))
+(define-public libcyaml
+ (package
+ (name "libcyaml")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tlsa/libcyaml.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0h5ydyqdl8kzh526np3jsi0pm7ks16nh1hjkdsjcd6pacw7y6i6z"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ (string-append "CC=gcc"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (replace 'check
+ (lambda _
+ (setenv "CC" "gcc")
+ (invoke "make" "test"))))))
+ (inputs
+ `(("libyaml" ,libyaml)))
+ (native-inputs
+ `(("git", git)
+ ("pkg-config", pkg-config)))
+ (synopsis "C library for reading and writing YAML")
+ (description
+ "LibCYAML is a C library written in ISO C11 for reading and writing
+structured YAML documents. The fundamental idea behind CYAML is to allow
+applications to construct schemas which describe both the permissible
+structure of the YAML documents to read/write, and the C data structure(s)
+in which the loaded data is arranged in memory.")
+ (home-page "https://github.com/tlsa/libcyaml")
+ (license license:isc)))
+
(define-public libdom
(package
(name "libdom")
- branch master updated (8b660be -> d81fb2a), guix-commits, 2020/02/12
- 01/07: gnu: r-bayesplot: Use HTTPS home page., guix-commits, 2020/02/12
- 05/07: gnu: s-tui: Update to 1.0.0., guix-commits, 2020/02/12
- 06/07: gnu: brdf-explorer: Use HTTPS home page., guix-commits, 2020/02/12
- 04/07: gnu: choqok: Fix typo in description., guix-commits, 2020/02/12
- 03/07: gnu: Add libcyaml.,
guix-commits <=
- 02/07: gnu: foo2zjs: Update to 20200207., guix-commits, 2020/02/12
- 07/07: gnu: python-tox: Update home page., guix-commits, 2020/02/12