[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30570] [PATCH 01/16] gnu: Add flatbuffers.
From: |
Leo Famulari |
Subject: |
[bug#30570] [PATCH 01/16] gnu: Add flatbuffers. |
Date: |
Wed, 21 Feb 2018 14:35:05 -0500 |
* gnu/packages/serialization.scm (flatbuffers): New variable.
---
gnu/packages/serialization.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 8df4841ea..ce389ca4a 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Joshua Sierles, Nextjournal <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -409,3 +410,28 @@ JSON's ability, but serializes to a binary format which is
smaller and faster
to generate and parse. The two primary functions are @code{cbor.loads} and
@code{cbor.dumps}.")
(license license:asl2.0)))
+
+(define-public flatbuffers
+ (package
+ (name "flatbuffers")
+ (version "1.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/google/flatbuffers/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0blc978wc5h91662vai24xj92c3bx56y6hzid90qva7il302jl64"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags
+ (list (string-append "-DCMAKE_INSTALL_LIBDIR="
+ (assoc-ref %outputs "out") "/lib")
+ "-DCMAKE_BUILD_TYPE=Release")))
+ (home-page "https://google.github.io/flatbuffers/")
+ (synopsis "Memory-efficient serialization library")
+ (description "FlatBuffers is a cross platform serialization library for
C++,
+C#, C, Go, Java, JavaScript, PHP, and Python. It was originally created for
+game development and other performance-critical applications.")
+ (license license:asl2.0)))
--
2.16.1
- [bug#30570] Patches submitted on behalf of Nextjournal, Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 01/16] gnu: Add flatbuffers.,
Leo Famulari <=
- [bug#30570] [PATCH 02/16] gnu: Add python-plotly., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 06/16] gnu: Add r-geosphere., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 16/16] gnu: Add python-feather-format., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 15/16] gnu: Add python-pyarrow., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 03/16] gnu: Add r-maps., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 11/16] gnu: Add r-ggmap., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 08/16] gnu: Add r-desolve., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 10/16] gnu: Add r-jpeg., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 13/16] gnu: Add google-brotli., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 04/16] gnu: Add r-mapproj., Leo Famulari, 2018/02/21