[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69591] [PATCH 10/31] gnu: Add libnop.
From: |
David Elsing |
Subject: |
[bug#69591] [PATCH 10/31] gnu: Add libnop. |
Date: |
Wed, 6 Mar 2024 19:40:16 +0000 |
* gnu/packages/serialization.scm (libnop): New variable.
---
gnu/packages/serialization.scm | 38 ++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 331fae80cf..93d12e714b 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -936,3 +936,41 @@ (define-public python-feather-format
(description "This package provides a Python wrapper library to the
Apache Arrow-based Feather binary columnar serialization data frame format.")
(license license:asl2.0)))
+
+(define-public libnop
+ (let ((commit "35e800d81f28c632956c5a592e3cbe8085ecd430")
+ (revision "0"))
+ (package
+ (name "libnop")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/libnop")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qqbaljq54qiq0dky9nj47igfcs065ry526jg9a0aafbfl9krpy2"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:test-target "test"
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "out/test"))))
+ (replace 'install
+ (lambda _
+ (copy-recursively
+ "include" (string-append #$output "/include")))))))
+ (native-inputs (list googletest))
+ (home-page "https://github.com/google/libnop")
+ (synopsis "C++ Native Object Protocols")
+ (description "@code{libnop} is a header-only library for serializing and
+deserializing C++ data types without external code generators or runtime
+support libraries.")
+ (license license:asl2.0))))
--
2.41.0
- [bug#69591] [PATCH 00/31] Unbundle and update python-pytorch, David Elsing, 2024/03/06
- [bug#69591] [PATCH 01/31] gnu: asmjit: Update to commit 3ca5c18., David Elsing, 2024/03/06
- [bug#69591] [PATCH 03/31] gnu: Add python-optree., David Elsing, 2024/03/06
- [bug#69591] [PATCH 02/31] gnu: Add python-typing-extensions-4.10., David Elsing, 2024/03/06
- [bug#69591] [PATCH 05/31] gnu: Add python-pytest-shard., David Elsing, 2024/03/06
- [bug#69591] [PATCH 04/31] gnu: Add python-pytest-flakefinder., David Elsing, 2024/03/06
- [bug#69591] [PATCH 07/31] gnu: Add python-pytest-rerunfailures-13., David Elsing, 2024/03/06
- [bug#69591] [PATCH 09/31] gnu: Add miniz-for-pytorch., David Elsing, 2024/03/06
- [bug#69591] [PATCH 10/31] gnu: Add libnop.,
David Elsing <=
- [bug#69591] [PATCH 06/31] gnu: Add python-expecttest., David Elsing, 2024/03/06
- [bug#69591] [PATCH 08/31] gnu: Add miniz., David Elsing, 2024/03/06
- [bug#69591] [PATCH 11/31] gnu: Remove flatbuffers-next-shared., David Elsing, 2024/03/06
- [bug#69591] [PATCH 16/31] gnu: nnpack: Update to commit 70a77f4., David Elsing, 2024/03/06
- [bug#69591] [PATCH 14/31] gnu: cpuinfo: Update to commit aa4b216., David Elsing, 2024/03/06
- [bug#69591] [PATCH 12/31] gnu: python-flatbuffers-next: Update to 23.5.26., David Elsing, 2024/03/06
- [bug#69591] [PATCH 22/31] gnu: Add ideep-pytorch., David Elsing, 2024/03/06
- [bug#69591] [PATCH 13/31] gnu: pthreadpool: Update to commit 178e3e0., David Elsing, 2024/03/06
- [bug#69591] [PATCH 23/31] gnu: xnnpack: Update to commit 51a9875., David Elsing, 2024/03/06
- [bug#69591] [PATCH 15/31] gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag., David Elsing, 2024/03/06