@@ -39,7 +39,7 @@ (define-module (gnu packages authentication)
(define-public libcotp
(package
(name "libcotp")
- (version "2.0.1")
+ (version "3.1.0")
(source
(origin
(method git-fetch)
@@ -48,8 +48,14 @@ (define-public libcotp
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "12ps2msclcbv53gjf936cny10an8sc70b9frp6xxjirfn5jg2h63"))))
+ (base32 "1lw15blzzds3qq4ydhi6fsk189p1rbvzy5fzz4r3fv6wlmcyyprs"))))
(build-system cmake-build-system)
+ (arguments `(#:tests? #f))
+ ;; TODO: tests:
+ ;; Tests can be built with -DBUILD_TESTS=on.
+ ;; Tests don't have a general `check` target so they have to be run manually.
+ ;; Tests require `criterion`, which is not included in guix and has several
+ ;; bundled dependencies.
(inputs (list libgcrypt))
(native-inputs (list pkg-config))
(home-page "https://github.com/paolostivanin/libcotp")
@@ -328,7 +328,7 @@ (define-public pwsafe-cli
(define-public otpclient
(package
(name "otpclient")
- (version "3.1.9")
+ (version "4.0.2")
(source
(origin
(method git-fetch)
@@ -337,7 +337,7 @@ (define-public otpclient
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0n5h76zwchdp3nbiczcfcg9sr0hbfs1npwq26x78rz8jf6md898m"))))
+ (base32 "061idzh9sz556nm7ahjrvcbnbmgvgfwmph1lfiy7bcvj1g3rf8cm"))))
(build-system cmake-build-system)
(arguments
(list