me
/
guix
Archived
1
0
Fork 0

gnu: Add cppcodec.

* gnu/packages/crates-io.scm (cppcodec): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Petr Hodina 2022-02-05 23:26:36 +01:00 committed by Ludovic Courtès
parent aff2ba67e2
commit 26d0f1ec3b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 24 additions and 0 deletions

View File

@ -748,6 +748,30 @@ an unprivileged user.")
(description "This packate provides communication library for Nitrokey.")
(license license:lgpl3+)))
(define-public cppcodec
(package
(name "cppcodec")
(version "0.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tplgy/cppcodec")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0z39f8w0zvra874az0f67ck1al9kbpaidpilggbl8jnfs05010ck"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags (list "-DBUILD_TESTING=on")))
(native-inputs (list pkg-config qttools))
(inputs (list catch-framework2))
(home-page "https://github.com/tplgy/cppcodec")
(synopsis "Header library to encode/decode base64, base64url, etc.")
(description "This package provides library to encode/decode base64,
base64url, base32, base32hex and hex.")
(license license:expat)))
(define-public nitrocli
(package
(name "nitrocli")