From patchwork Sun Jan 24 17:55:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Becze X-Patchwork-Id: 26606 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 7F40027BC1D; Sun, 24 Jan 2021 17:57:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7736427BC1B for ; Sun, 24 Jan 2021 17:57:28 +0000 (GMT) Received: from localhost ([::1]:55372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3jdf-0000cM-KI for patchwork@mira.cbaines.net; Sun, 24 Jan 2021 12:57:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3jdI-0000aY-RS for guix-patches@gnu.org; Sun, 24 Jan 2021 12:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3jdI-0007AL-Io for guix-patches@gnu.org; Sun, 24 Jan 2021 12:57:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3jdI-0000KB-Ib for guix-patches@gnu.org; Sun, 24 Jan 2021 12:57:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46079] [PATCH 5/6] gnu: Added go-github-com-google-gousb. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Jan 2021 17:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46079 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46079@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16115109901138 (code B ref -1); Sun, 24 Jan 2021 17:57:04 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2021 17:56:30 +0000 Received: from localhost ([127.0.0.1]:37154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3jck-0000ID-8b for submit@debbugs.gnu.org; Sun, 24 Jan 2021 12:56:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:49450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3jch-0000Hr-Tf for submit@debbugs.gnu.org; Sun, 24 Jan 2021 12:56:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3jch-0000TC-L8 for guix-patches@gnu.org; Sun, 24 Jan 2021 12:56:27 -0500 Received: from mx1.riseup.net ([198.252.153.129]:55704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3jcf-0006u8-Vg for guix-patches@gnu.org; Sun, 24 Jan 2021 12:56:27 -0500 Received: from fews2.riseup.net (unknown [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DP0zr5KpFzFdqC for ; Sun, 24 Jan 2021 09:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1611510984; bh=bvS9ZzkyGMADCsImHSVuaJnXFIeqElzssLurKB3MvGk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dBCiFlgs9x8s9ld2rpD/Wk6es9UVVYl+6DUjAuhgDNYYlWUsIUfPDdm0DgVl6+BHi OwNAkBRCqkxzpnRyXmwTRyjp82cfHCsrdnQI1u6t5Lfp6eHisDbYILCt43UKxU0deY RuWdJ+NudtN58kIzlAxBZ6b4qP6JADy2gnJlLSAU= X-Riseup-User-ID: 8842C941650E8D82BD8154C9A2583E402E5C7A070D880CE6786173942C594E4F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4DP0zq5qNXz1y5p; Sun, 24 Jan 2021 09:56:23 -0800 (PST) From: Martin Becze Date: Sun, 24 Jan 2021 11:55:31 -0600 Message-Id: <20210124175532.9501-5-mjbecze@riseup.net> In-Reply-To: <20210124175532.9501-1-mjbecze@riseup.net> References: <20210124175532.9501-1-mjbecze@riseup.net> MIME-Version: 1.0 Received-SPF: pass client-ip=198.252.153.129; envelope-from=mjbecze@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-google-gousb): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index da23ec7848..0600f07b48 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -57,6 +57,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages pcre) #:use-module (gnu packages lua) + #:use-module (gnu packages libusb) #:use-module (gnu packages mp3) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) @@ -4655,6 +4656,32 @@ GitHub API v3.") create or replace a file or symbolic link.") (license license:asl2.0))) +(define-public go-github-com-google-gousb + (package + (name "go-github-com-google-gousb") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/gousb.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1aki6hk009sicrf7gxy5nkjmj4j7lsy0by4kjgd9bwq8ragfyv5x")) + (file-name (git-file-name name version)))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/google/gousb")) + (propagated-inputs + `(("pkg-config" ,pkg-config) + ("libusb" ,libusb))) + (home-page "https://github.com/google/gousb") + (synopsis "Wrapping for libusb") + (description "The gousb package is an attempt at wrapping the libusb +library into a Go-like binding.") + (license license:asl2.0))) + (define-public go-golang.org-x-sync-errgroup (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb") (revision "0"))