From f9b08aa13477cadfa26097c25fcacfc59b7d712d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 22 Oct 2023 16:54:26 +0200 Subject: gnu: Add python-flatbuffers. * gnu/packages/serialization.scm (python-flatbuffers): New variable. --- gnu/packages/serialization.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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 +;;; Copyright © 2015, 2017, 2019, 2020, 2021, 2023 Ricardo Wurmus ;;; Copyright © 2016 Lukas Gradl ;;; Copyright © 2016 David Craven ;;; Copyright © 2016, 2019, 2020, 2022 Marius Bakke @@ -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") -- cgit v1.2.3