From patchwork Sun Oct 23 09:03:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 43944 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 69AEA27BBEA; Mon, 24 Oct 2022 04:17:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9CA3227BBE9 for ; Mon, 24 Oct 2022 04:17:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omlCE-0008Fp-Je for patchwork@mira.cbaines.net; Sun, 23 Oct 2022 20:20:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omWtm-0007Au-BX for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omWtm-0001Mu-0S for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omWtl-0001Ri-SF for guix-patches@gnu.org; Sun, 23 Oct 2022 05:04: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: Sun, 23 Oct 2022 09:04: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: moreinfo To: 58381@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 58381-submit@debbugs.gnu.org id=B58381.16665158265517 (code B ref 58381); Sun, 23 Oct 2022 09:04:01 +0000 Received: (at 58381) by debbugs.gnu.org; 23 Oct 2022 09:03:46 +0000 Received: from localhost ([127.0.0.1]:42837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtV-0001Qq-Ok for submit@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:46 -0400 Received: from 8.mo581.mail-out.ovh.net ([46.105.77.114]:41261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWtS-0001Qd-9E for 58381@debbugs.gnu.org; Sun, 23 Oct 2022 05:03:45 -0400 Received: from player770.ha.ovh.net (unknown [10.109.143.3]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 26B9821A9D for <58381@debbugs.gnu.org>; Sun, 23 Oct 2022 09:03:38 +0000 (UTC) Received: from ngraves.fr (unknown [80.215.87.216]) (Authenticated sender: ngraves@ngraves.fr) by player770.ha.ovh.net (Postfix) with ESMTPSA id 4F5BF300A45F8; Sun, 23 Oct 2022 09:03:37 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-103G0059553aa10-c901-4880-8a69-82d04ac60199, 0CD24D3AC26E8C41D5695D95FFCA27897E3E9F1F) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.87.216 Date: Sun, 23 Oct 2022 11:03:31 +0200 Message-Id: <20221023090333.29383-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 246009132632105698 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtvddgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeuieehfedtgeevfeegudeiheeileetkeevgeejjedutdefteehleegvdehledtudenucffohhmrghinhepphgrnhhnvghtrhgrthdrtghomhdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrkeejrddvudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuth 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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..a286f7a631 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)) + (inputs (list pcsc-lite)) + (native-inputs (list pkg-config)) + (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)))