GNU bug report logs -
#58381
yubikey-agent
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/security-token.scm (go-github-com-go-piv-piv-go): New variable.
> ---
> gnu/packages/security-token.scm | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
Hi Nicolas,
These patches look pretty good to me, just some things to check with
propagated-inputs though.
> diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
> index 447a7a582d..3dc619ed4f 100644
> --- a/gnu/packages/security-token.scm
> +++ b/gnu/packages/security-token.scm
> @@ -17,6 +17,7 @@
> ;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
> ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
> ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
> +;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -44,6 +45,7 @@ (define-module (gnu packages security-token)
> #:use-module (guix build-system cargo)
> #:use-module (guix build-system cmake)
> #:use-module (guix build-system gnu)
> + #:use-module (guix build-system go)
> #:use-module (guix build-system glib-or-gtk)
> #:use-module (guix build-system python)
> #:use-module (gnu packages autotools)
> @@ -967,3 +969,30 @@ (define-public cardpeek
> It also has limited support for Mifare Classic compatible cards (Thalys card)")
> (license license:gpl3+)
> (home-page "http://pannetrat.com/Cardpeek")))
> +
> +(define-public go-github-com-go-piv-piv-go
> + (package
> + (name "go-github-com-go-piv-piv-go")
> + (version "1.10.0")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/go-piv/piv-go")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1j2szvvwgd0ysbap42rap4f60pj4smmmrxjlx0y131l3ki6v6gdm"))))
> + (build-system go-build-system)
> + (arguments
> + '(#:import-path "github.com/go-piv/piv-go/piv"
> + #:unpack-path "github.com/go-piv/piv-go"
> + #:tests? #f))
> + (native-inputs (list pkg-config))
> + (propagated-inputs (list pcsc-lite))
What relation does pcsc-lite have to this package, and why does it need
to be propagated?
If this can be avoid, that would be good. Otherwise it would be good to
mention why the propagation is needed in a comment.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.