new ssh packages

This commit is contained in:
Yann Dupont 2021-11-23 22:43:53 +01:00
parent 2fb272b6d6
commit d2471f225c

View file

@ -121,9 +121,9 @@
(use-modules ((guix licenses) #:prefix license:)) (use-modules ((guix licenses) #:prefix license:))
(define-public glicid-libcbor (define-public libcbor-0.8.0
(package (package
(name "glicid-libcbor") (name "libcbor")
(version "0.8.0") (version "0.8.0")
(source (source
(origin (origin
@ -152,6 +152,23 @@
)) ))
(define-public libcbor-0.9.0
(package
(inherit libcbor-0.8.0)
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (string-append "http://github.com/PJK/libcbor/archive/refs/tags/v" version ".tar.gz"))
(sha256 (base32 "12vw46ahhsc3ydnivkv5lvk1cn4sjjmcr639cjcl99d4dqb9g031"))
)
)
)
)
(define-public libcbor-latest libcbor-0.9.0)
(define-public libfido2-1.8.0 (define-public libfido2-1.8.0
(package (package
@ -176,7 +193,7 @@
(inputs `( (inputs `(
("glicid-libcbor",glicid-libcbor) ("libcbor",libcbor-latest)
("openssl",openssl) ("openssl",openssl)
("zlib", zlib) ("zlib", zlib)
("pkg-config", pkg-config) ; or cmake won't find zlib ! ("pkg-config", pkg-config) ; or cmake won't find zlib !
@ -210,10 +227,10 @@
(define libfido2-latest libfido2-1.9.0) (define libfido2-latest libfido2-1.9.0)
(define-public glicid-specific-openssh (define-public openssh-with-fido2
(package (package
(inherit openssh) (inherit openssh)
(name "glicid-specific-openssh") (name "openssh-with-fido2")
(arguments (arguments
`(#:test-target "tests" `(#:test-target "tests"
@ -291,7 +308,7 @@
) )
(inputs `(("libfido2", libfido2-latest) (inputs `(("libfido2", libfido2-latest)
("glicid-libcbor", glicid-libcbor) ("libcbor", libcbor-latest)
,@(package-inputs openssh))) ,@(package-inputs openssh)))