diff options
author | David Elsing <david.elsing@posteo.net> | 2024-03-23 22:04:49 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-06-18 11:37:25 +0200 |
commit | c880c50019e39604a1444bbc5114e4652dbcaff1 (patch) | |
tree | 22a3c0d4ae684d7575a50da6cbabdfed97f1bbd9 /gnu | |
parent | 67b412f2b01516aaa859e3af601446c34da51d06 (diff) | |
download | guix-c880c50019e39604a1444bbc5114e4652dbcaff1.tar.gz guix-c880c50019e39604a1444bbc5114e4652dbcaff1.zip |
gnu: Add libnop.
* gnu/packages/serialization.scm (libnop): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/serialization.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index ab0b9f0681..7c00303fbf 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2024 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu> +;;; Copyright © 2024 David Elsing <david.elsing@posteo.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -960,6 +961,44 @@ format for Python.") 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)))) + (define-public valijson (package (name "valijson") |