Message ID | nXtj4DXcwJB4Dkbq96hfhz4kNRmdwMlmKFEK6umdxgD6IrTTdPtC-ZaPbr-T9GjZTPkxbjC0X11p6PY49TtJPxMQ68YHQL1hlHgCuXj1gdc=@protonmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#53815,v2,1/3] gnu: Add libnitrokey | expand |
Hi, phodina <phodina@protonmail.com> skribis: > From 5f01b5d21f688d9725532f35067e92c49ab423b4 Mon Sep 17 00:00:00 2001 > From: Petr Hodina <phodina@protonmail.com> > Date: Sat, 5 Feb 2022 23:25:44 +0100 > Subject: [PATCH v2 1/3] gnu: Add libnitrokey. > > * gnu/packages/security-token.scm (libnitrokey): New variable. [...] > From e340d972a40667e693302ddc63354d1ed8b36e6e Mon Sep 17 00:00:00 2001 > From: Petr Hodina <phodina@protonmail.com> > Date: Sat, 5 Feb 2022 23:27:06 +0100 > Subject: [PATCH v2 3/3] gnu: Add nitrokey-app. > > * gnu/packages/crates-io.scm (nitrokey-app): New variable. [...] > From d44b13f8c44491a521bfaa73a414586f6f59ca37 Mon Sep 17 00:00:00 2001 > From: Petr Hodina <phodina@protonmail.com> > Date: Sat, 5 Feb 2022 23:26:36 +0100 > Subject: [PATCH v2 2/3] gnu: Add cppcodec. > > * gnu/packages/crates-io.scm (cppcodec): New variable. I believe this section addresses Maxime’s comments; I applied all three patches. Thank you, and thanks Maxime for reviewing! Ludo’.
From d44b13f8c44491a521bfaa73a414586f6f59ca37 Mon Sep 17 00:00:00 2001 From: Petr Hodina <phodina@protonmail.com> Date: Sat, 5 Feb 2022 23:26:36 +0100 Subject: [PATCH v2 2/3] gnu: Add cppcodec. * gnu/packages/crates-io.scm (cppcodec): New variable. diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 7ea19b13a2..998b9ae36e 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -748,6 +748,30 @@ (define-public libnitrokey (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") -- 2.34.0