From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yN6tD+ynQWOvGQEAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 18:40:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wD3VDuynQWOdbQEAG6o9tA (envelope-from ) for ; Sat, 08 Oct 2022 18:40:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37CA141E97 for ; Sat, 8 Oct 2022 18:40:11 +0200 (CEST) Received: from localhost ([::1]:52508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohCry-0001zj-Fn for larch@yhetil.org; Sat, 08 Oct 2022 12:40:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohCrq-0001zL-7v for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohCrp-0004QL-Uy for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohCrp-0008Qn-Q0 for guix-patches@gnu.org; Sat, 08 Oct 2022 12:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58381] [PATCH 1/3] gnu: Add go-github-com-go-piv-piv-go. References: <87r0zil1bh.fsf@ngraves.fr> In-Reply-To: <87r0zil1bh.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Oct 2022 16:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58381 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.166524718732357 (code B ref 58381); Sat, 08 Oct 2022 16:40:01 +0000 Received: (at 58381) by debbugs.gnu.org; 8 Oct 2022 16:39:47 +0000 Received: from localhost ([127.0.0.1]:41330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCra-0008Pk-D7 for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:47 -0400 Received: from 13.mo561.mail-out.ovh.net ([188.165.33.202]:43923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCrV-0008PX-SP for 58381@debbugs.gnu.org; Sat, 08 Oct 2022 12:39:44 -0400 Received: from player761.ha.ovh.net (unknown [10.110.171.54]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 23DBD24087 for <58381@debbugs.gnu.org>; Sat, 8 Oct 2022 16:39:39 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player761.ha.ovh.net (Postfix) with ESMTPSA id 143B22F7D76B5; Sat, 8 Oct 2022 16:39:37 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Sat, 8 Oct 2022 18:39:30 +0200 Message-Id: <20221008163932.15808-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 12090757626111451874 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiledguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueeiheeftdegveefgeduieehieelteekveegjeejuddtfeetheelgedvheeltddunecuffhomhgrihhnpehprghnnhgvthhrrghtrdgtohhmpdhgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeeiuddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665247211; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=2xlITEwG8J29DrhstNkJT3Cc39cTpl5ffr9JPtajgso=; b=lnEhszVfzLcUXEdaCJJGMyynNjI8UOO79ekYfOEc3WXJIXrDd1C0y8yPUXO2zkXPYSUIpt +OoRRdXlj6plKBxZDYM/vpL88E5zHB3kY3Rjbo/WaPu7MYe7pSZKNi+FX4KXCKmEKX/XHb aG+b8xug+bJLQ4rujdMvdL8CiwyvPzjIxyach+Th25JkjJZXRpx4/kjedqeDs8sy6XQEHz txRcLExK1Edct7RS5jvT3FhtpBrUW3j3ZMQqFopO8NtsX/ZA2sNSanXXtHY9t7GcJ7qDSf px3tk6iied6BYTzWXajO96+CShCVK7QtpQjQKfPRzJLV0qHvxb+zLqxJ7Bvvjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665247211; a=rsa-sha256; cv=none; b=WKo3VzL5QloKGNlXww/3A8x037VsgDux3dByl3zytQbpE14HBZL8axYapyjITW2PpnQ/MO a3mON/GVBtSjmV/vllrDtiFiVI1LTRL3mWhpJ042W6tNqIVQ25wV7qdcrlGt40fX0wApRU +G4rhGnTMeLST0jpYXONAjhrN7vR6KhRj+CMrBEQAgcRbXRiyHhw+tQVTSFlRqkkxb/LCS 4oyE1pn7BxpgT3F+7db3/Eglh37MMb+UieJ4/jsCwmZEs2Zpg4fgpsxzqzCjdAR/aF3gMz nMOzRu+5fRrwRgQWSrkGC3E0e2nNhiBNKNU3TIUamq2TFH10vKK7gXYlsZ5j1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.38 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 37CA141E97 X-Spam-Score: -3.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: YUORP0X5oXU8 * 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(+) 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 ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2022 Nicolas Graves ;;; ;;; 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)) + (home-page "https://github.com/go-piv/piv-go") + (synopsis "A Go YubiKey PIV implementation") + (description "YubiKeys implement the PIV specification for managing smart +card certificates. This package provides a simpler alternative to GPG for +managing asymmetric keys on a YubiKey.") + (license license:asl2.0))) -- 2.38.0