From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OMWrKUYau2SA/AAASxT56A (envelope-from ) for ; Sat, 22 Jul 2023 01:52:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EELBKEYau2RrrAAAG6o9tA (envelope-from ) for ; Sat, 22 Jul 2023 01:52:38 +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 78A9B35F2A for ; Sat, 22 Jul 2023 01:52:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hallsby.com header.s=google header.b=Fc6HLyK6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689983558; 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-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:dkim-signature; bh=gt4hIb/BCuUSECGZYfieCzvpExYqhcpYzz0OZhdU9Vo=; b=bquuv4SVAGYcjvAl71gSy3IYKdVGAl/F7hEdZn2Kn6rkNl/MeevQqoWopz8AWd/Wm6TSPq cfcB8ecN9FRS4LXPoE+zBI+UbvgjRke03dZuw/ldXG0fMO2LQD0vmrqr7/PhMvL6HzqqlK Ckfg08cYDz3E1nAx5aJXYuH6COBkoj48qX81TcPnwREfXqbs3Kt22jTm2uTd2S4EgOds1j 2k5hSG7KxDpmHDO7LWxojuvIvYA0KWUzKf+o+jpjpCavW2DX6h2McSAnUTexQvdr8GyYdu xEUCYQckD6UL6+bBTJBO6MiFcuSfrjc7mMEHpZGrNWMbKzsa49HiqUqVcVA1Qg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689983558; a=rsa-sha256; cv=none; b=FyvqulwWC8dh4NIKLg2ewudvO0FlCgESUxxJ6o4sbjTkMNRu0sKKF03octPoGVfzLydH9R FuhQCy9yhz5ecB3CKQW6ZnzFV/tsFIsWTmMcWnOpjUR9rx8l8np/+ZS0lKvzFnewQ0D73G 4FJQsDfAS8jY8Q61omdIuFsXBI3fGNWOQcB/U9rnqo8tXuhOBpnO1ERQHDyrA9QhLf/XwX /oXnzNosaVrYG3luKpEUE/alhMg5gI4a1uu4lFfMWchHJMVqpd95zs7LiJoSwY12f1z8jV WumrazCNymHM7LmQPb2hZirwcMiS4qolLHI8VjAobwJmUQwerrQuuLFxXCIRGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hallsby.com header.s=google header.b=Fc6HLyK6; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMzun-0002Zu-BZ; Fri, 21 Jul 2023 19:52:05 -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 1qMzum-0002ZE-0L for guix-patches@gnu.org; Fri, 21 Jul 2023 19:52:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMzuj-0000po-PS for guix-patches@gnu.org; Fri, 21 Jul 2023 19:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMzuj-0001hi-LK for guix-patches@gnu.org; Fri, 21 Jul 2023 19:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64778] [PATCH 1/5] gnu: Add go-github-com-google-gousb Resent-From: Karl Hallsby Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 23:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64778 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64778@debbugs.gnu.org Cc: Karl Hallsby Received: via spool by 64778-submit@debbugs.gnu.org id=B64778.16899834766448 (code B ref 64778); Fri, 21 Jul 2023 23:52:01 +0000 Received: (at 64778) by debbugs.gnu.org; 21 Jul 2023 23:51:16 +0000 Received: from localhost ([127.0.0.1]:35021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMzu0-0001fw-Ew for submit@debbugs.gnu.org; Fri, 21 Jul 2023 19:51:16 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:48561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMzty-0001fd-Eg for 64778@debbugs.gnu.org; Fri, 21 Jul 2023 19:51:14 -0400 Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-7659c6cae2cso199469785a.1 for <64778@debbugs.gnu.org>; Fri, 21 Jul 2023 16:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hallsby.com; s=google; t=1689983468; x=1690588268; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gt4hIb/BCuUSECGZYfieCzvpExYqhcpYzz0OZhdU9Vo=; b=Fc6HLyK6H5Xtwr0A7/xiotRPTJZp141nfessJEuUAoXZg9D+P6Ng2dJS7NFHWG7t/B eQLHNwHuvILBu2KqMLlD6+qFvgHj8WlL+9aKysG3gxrboq0J49Tr7RX8abzuei33DSTh WRRc52FMc+MykO9APYY8NwxOJf8w4MgJQMq10MAAJuYIbAHTcaDRE1BOQxb2Fe1808ny dGv42YRU6yk75qKbPigvX2gld4cLEh1zxgAshe77/MT5qnkLnoo4TyDqx92/+lwyIh70 edCrIB/zs3d7BOEZ4aq8VQER2zOfBfx6972qwYfjFxmDQOCyblyNQ2IvngoqH8YoFHvu paEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689983468; x=1690588268; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gt4hIb/BCuUSECGZYfieCzvpExYqhcpYzz0OZhdU9Vo=; b=OxZOBTd3IZLKxTThIp9OKGcZoCjOiAINEu3HA0yzTzF0JG8KYLix5Iulc8WFq7qBXA EtfN925nQ6CoJ5GDrDRvpnwU1sSOHZ112f9LhK5JV3O4FO4xawyXQwQgMEO+LzvePWEC SUiw2HJpn7+sL0wuc6OAL5ryeG/TxBJpvgU/iML0WsqCCc0bmn+PBi95NHoKuipYG19J 7hQpbCnPnuoJknM6/XTT2AQFeYHuyz3rRFqv3joFiqZkvaC+2c7rPjbapliDhksCzcGi h71bY09sR41/CabQliieyExoo+MUWlsToQyn2wXwWqpF6OrEW6oU5BgYMjNBIDT1iBat ktUg== X-Gm-Message-State: ABy/qLaTkJbTKffV+nNW0nLdI4ddlAlBYCmI3AMgw0hwCBTxobl2dr6G Qi19n9DaKtYTmrhHjGWVohJcY6H8Iskr8mqrzIw= X-Google-Smtp-Source: APBJJlEc0shOxjUPha0HGtQmyeTc/L0qqKuYoVm/ImtziA8qaSwAEjbdl1qseBP/sMAkqfg2XgbQXw== X-Received: by 2002:a05:620a:404b:b0:765:aa35:f03f with SMTP id i11-20020a05620a404b00b00765aa35f03fmr1584050qko.37.1689983468429; Fri, 21 Jul 2023 16:51:08 -0700 (PDT) Received: from Karl-Desktop.raven (1459483-v115.1145-static.batvilaa.metronetinc.net. [192.69.181.148]) by smtp.gmail.com with ESMTPSA id z27-20020a05620a101b00b0075b168fcde9sm1472469qkj.77.2023.07.21.16.51.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 16:51:08 -0700 (PDT) Date: Fri, 21 Jul 2023 18:50:55 -0500 Message-Id: <0ba36e2694f1f6194ac52503e64eae5c182a9980.1689982943.git.karl@hallsby.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Karl Hallsby X-ACL-Warn: , Karl Hallsby via Guix-patches From: Karl Hallsby via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.14 X-Spam-Score: -6.14 X-Migadu-Queue-Id: 78A9B35F2A X-TUID: lD5060/qhMm3 * gnu/packages/golang.scm (go-github-com-google-gousb): New variable. Init at 2.1.0. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea6aadbe80..f1a8b098ba 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -78,6 +78,7 @@ (define-module (gnu packages golang) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages lua) + #:use-module (gnu packages libusb) #:use-module (gnu packages mail) #:use-module (gnu packages mp3) #:use-module (gnu packages password-utils) @@ -8186,6 +8187,32 @@ (define-public go-github-com-google-goterm and from termios translations, readCh, reading passwords, etc.") (license license:bsd-3)))) +(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") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1aki6hk009sicrf7gxy5nkjmj4j7lsy0by4kjgd9bwq8ragfyv5x")))) + (native-inputs (list pkg-config libusb)) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/google/gousb" + #:phases (modify-phases %standard-phases + ;; Delete the check phase because libusbContext and + ;; libusbDevHandle cannot be allocated in Go. + (delete 'check)))) + (home-page "https://github.com/google/gousb") + (synopsis "Go-like bindings around the libusb library") + (description "Go-like bindings around the libusb library") + (license license:asl2.0))) + (define-public go-github-com-google-go-querystring (let ((commit "992e8021cf787c100d55520d5c906e01536c0a19") ;fix format in tests (revision "1")) -- 2.40.1