* gnu/packages/pep.scm (libpepadapter): New variable.
gnu/packages/pep.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Toggle diff (51 lines)
diff --git a/gnu/packages/pep.scm b/gnu/packages/pep.scm
index d69e1a3929..c101ab4fb4 100644
--- a/gnu/packages/pep.scm
+++ b/gnu/packages/pep.scm
@@ -152,3 +152,44 @@ OPENPGP=SEQUOIA
(license ;; code: GPL 3, docs: CC-BY-SA
(list license:gpl3 license:cc-by-sa3.0))))
+(define-public libpepadapter
+ (url "https://pep.foundation/dev/repos/libpEpAdapter")
+ (changeset "e8fe371c870a"))) ;; r168
+ (file-name (string-append name "-" version "-checkout"))
+ (base32 "1mlpavjbnmslvmr5jxcvpjgb2x40nhmxjb10hza3kn4qzj0k1pjz"))))
+ (build-system gnu-build-system)
+ #:tests? #f ;; building the tests fails
+ (modify-phases %standard-phases
+ ;; libpEpAdapter does not use autotools and configure,
+ ;; but a local.conf. We need to tweak the values there.
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (engine (assoc-ref inputs "pep-engine")))
+ (with-output-to-file "local.conf"
+ENGINE_INC_PATH=~a/include
+ `(("pep-engine" ,pep-engine)))
+ (home-page "https://pep.foundation/")
+ (synopsis "Library for building p≡p adapters")
+ (description "This C++ library provides common structures used in p≡p
+ (license license:bsd-3)))