aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-10-22 16:54:26 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-10-22 17:27:42 +0200
commitf9b08aa13477cadfa26097c25fcacfc59b7d712d (patch)
treec7efaafb6cdef6db6b0bdb3d876d5aa52296860c
parent742554f9b973610a54ada9dee2971939cc36ddd7 (diff)
downloadguix-f9b08aa13477cadfa26097c25fcacfc59b7d712d.tar.gz
guix-f9b08aa13477cadfa26097c25fcacfc59b7d712d.zip
gnu: Add python-flatbuffers.
* gnu/packages/serialization.scm (python-flatbuffers): New variable.
-rw-r--r--gnu/packages/serialization.scm19
1 files changed, 18 insertions, 1 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index d0b4bd2735..e836b4f8b3 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2017, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2017, 2019, 2020, 2021, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
@@ -819,6 +819,23 @@ game development and other performance-critical applications.")
;; Compile with -fPIC, needed for shared lib.
#~(cons "-DFLATBUFFERS_CXX_FLAGS=-fPIC" #$flags))))))
+(define-public python-flatbuffers
+ (package
+ (name "python-flatbuffers")
+ (version "23.1.21")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flatbuffers" version))
+ (sha256
+ (base32 "11gzc7mhl984248q6abz5rrsph76j0y99mwk24xc90sxpcxr2j59"))))
+ (build-system pyproject-build-system)
+ (home-page "https://google.github.io/flatbuffers/")
+ (synopsis "FlatBuffers serialization for Python")
+ (description "This package provides the @code{FlatBuffers} serialization
+format for Python.")
+ (license license:asl2.0)))
+
(define-public python-feather-format
(package
(name "python-feather-format")