gnu: Add biblesync.

* gnu/packages/cpp.scm (biblesync): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I48ae683824214a2609b83e1b0af2880b4ac46d44
This commit is contained in:
Peepo Froggings 2024-08-21 10:47:29 +02:00 committed by Nicolas Goaziou
parent 2db3b5d6b8
commit 127592bc0f
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -40,7 +40,8 @@
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com> ;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
;;; Copyright © 2023 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2023 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2024 dan <i@dan.games> ;;; Copyright © 2024 dan <i@dan.games>
;;; ;;; Copyright © 2024 Peepo Froggings <peepofroggings@tutanota.de>
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; GNU Guix is free software; you can redistribute it and/or modify it
@ -188,36 +189,69 @@ allocator that makes it easy to generate complex code without a significant
development effort.") development effort.")
(license license:zlib)))) (license license:zlib))))
(define-public castxml (define-public biblesync
(package (package
(name "castxml") (name "biblesync")
(version "0.6.4") (version "2.1.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (uri
(git-reference (git-reference
(url "https://github.com/CastXML/CastXML") (url "https://github.com/karlkleinpaste/biblesync")
(commit (string-append "v" version)))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0l5ys9zmllfgwhjrm897akbsf38iswfcarhxg27xfhiy0bmzcwsg")))) (base32
"0prmd12jq2cjdhsph5v89y38j7hhd51dr3r1hivgkhczr3m5hf4s"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
#:tests? #f ;FIXME: Not sure how to run tests, if any
#:configure-flags #:configure-flags
#~(list #~(list (string-append "-DBUILD_SHARED_LIBS=TRUE"))))
(string-append "-DCLANG_RESOURCE_DIR=" (inputs (list `(,util-linux "lib")))
#$(this-package-native-input "clang") "/lib/clang/" (synopsis "C++ library implementing the BibleSync protocol")
#$(version-major (description
(package-version (this-package-native-input "clang"))))))) "BibleSync is a multicast protocol to support Bible software shared
(inputs (list libffi)) co-navigation. The premise is that there is a local network over which to
(native-inputs (list clang-17 llvm-17)) multicast Bible navigation, and someone, possibly several someones, will
(home-page "https://github.com/CastXML/CastXML") transmit, and others will receive. The library implementing the protocol is
(synopsis "C-family abstract syntax tree XML output") a single C++ class providing a complete yet minimal public interface to
(description "CastXML is a C-family abstract syntax tree XML output tool. support mode setting, setup for packet reception, transmit on local
navigation, and handling of incoming packets.")
(home-page "https://github.com/karlkleinpaste/biblesync")
(license license:public-domain)))
(define-public castxml
(package
(name "castxml")
(version "0.6.4")
(source (origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/CastXML/CastXML")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0l5ys9zmllfgwhjrm897akbsf38iswfcarhxg27xfhiy0bmzcwsg"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list
(string-append "-DCLANG_RESOURCE_DIR="
#$(this-package-native-input "clang") "/lib/clang/"
#$(version-major
(package-version (this-package-native-input "clang")))))))
(inputs (list libffi))
(native-inputs (list clang-17 llvm-17))
(home-page "https://github.com/CastXML/CastXML")
(synopsis "C-family abstract syntax tree XML output")
(description "CastXML is a C-family abstract syntax tree XML output tool.
This project is maintained by Kitware in support of ITK, the Insight This project is maintained by Kitware in support of ITK, the Insight
Segmentation and Registration Toolkit.") Segmentation and Registration Toolkit.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public range-v3 (define-public range-v3
(package (package