From patchwork Thu May 22 14:40:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junker X-Patchwork-Id: 42867 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 4911A27BC4A; Thu, 22 May 2025 15:41:22 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 D81FA27BC49 for ; Thu, 22 May 2025 15:41:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uI76W-0007qB-6a; Thu, 22 May 2025 10:41:04 -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 1uI76V-0007od-4m for guix-patches@gnu.org; Thu, 22 May 2025 10:41:03 -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 1uI76U-0002MQ-Rq for guix-patches@gnu.org; Thu, 22 May 2025 10:41:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=ykBSqHcmmUd5fJTXjdkQrYLN1hU9pK0aY/JZe55t6Y8=; b=Dz/AK0+hiITIj6VhWKZG3WAo/PjsRWVhDZ+KEpQwLhJv7lQxhiGwPl/1CSxr/0qshgx82ijL04MNG6OahdwHyN4iO3XWMjXndSks4FqeZlTu3D+uXXp5jrb3kmvtQUXK7kHLN7+XIluZYcx98tlurxHZubJPTOFfGNtdR/A3Pvxn+ry6oi2WVSdvlv1lOctZ1rypkWq7t6KTlfJYW4ug+ZzLkas3WbGyQ/HA32s4TpuP4/wAeUBVRT1x9XIPDjFpffKSAyQzE6WzJpeE+qtBMUbi5V2pk2tGDXEvIYSBKsp/VY9xpPveWuFb5FHWD6DQGg+vaWa0F9B2emlx+f/rew==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uI76U-0007K3-Cu for guix-patches@gnu.org; Thu, 22 May 2025 10:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78550] [PATCH 2/2] gnu: Add go-mtpfs. Resent-From: Junker Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 May 2025 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78550 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78550@debbugs.gnu.org Received: via spool by 78550-submit@debbugs.gnu.org id=B78550.174792485528112 (code B ref 78550); Thu, 22 May 2025 14:41:02 +0000 Received: (at 78550) by debbugs.gnu.org; 22 May 2025 14:40:55 +0000 Received: from localhost ([127.0.0.1]:35711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uI76M-0007JL-MV for submit@debbugs.gnu.org; Thu, 22 May 2025 10:40:55 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:60536) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uI76I-0007Ie-Cn for 78550@debbugs.gnu.org; Thu, 22 May 2025 10:40:51 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4b39vF4qs1z9t8k for <78550@debbugs.gnu.org>; Thu, 22 May 2025 16:40:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1747924841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ykBSqHcmmUd5fJTXjdkQrYLN1hU9pK0aY/JZe55t6Y8=; b=RmQxM1hlvKFzw/t2wE1Dgi29IF/+uUZDz6Bx039EHqsCYLSyW/jdCq0cLaiTeXAi7OFDPS Pj/3eTu+xjv1NYUTQdWSTL8oH7kgtpwXDg2R1EmF5+KuBz7TyMA81UQHGP1TqHKTDI11sm +hUsaRbV400z3seQWQXBkksmlQ8Mr0alD/WVb5uX77ihTf1OZWy/a+K6G8SSALkt88dN8V W7rRrNstFNDrasbhnDLpQgdctRQB/mryCZpxnEHYcYDfGN/pCJwhR68J2SEH6qc9YU4Z/s s67Nb7oQeFHByt/KjXZcPGLsDUFZ87Itft3/mo6TYMnWjJlzJ4o8SU7KXThB3A== Date: Thu, 22 May 2025 21:40:32 +0700 From: Junker Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4b39vF4qs1z9t8k 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/libusb.scm (go-mtpfs): New variable. Change-Id: I08e5fa08eb1844efa3294be5d2006118c25eb186 --- gnu/packages/libusb.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index ebb3d8a92a..9d1b5066e8 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -52,6 +52,7 @@ (define-module (gnu packages libusb) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages gtk) #:use-module (gnu packages java) #:use-module (gnu packages linux) @@ -237,6 +238,36 @@ (define-public go-github-com-hanwen-usb (description "These are CGO bindings for libusb") (license license:bsd-3)))) +(define-public go-mtpfs + (package + (name "go-mtpfs") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hanwen/go-mtpfs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1k77zglpgb5424hpnc270yj27x1rb2wp4b8y5xchd6h8ygrw2mqx")))) + (build-system go-build-system) + (arguments + (list + #:tests? #f ;no tests + #:import-path "github.com/hanwen/go-mtpfs")) + (inputs (list libusb)) + (native-inputs (list pkg-config)) + (propagated-inputs (list go-github-com-hanwen-usb + go-github-com-hanwen-go-fuse-v2 + go-github-com-hanwen-go-fuse)) + (home-page "https://github.com/hanwen/go-mtpfs") + (synopsis "Mount MTP devices as a filesystem") + (description + "Go-mtpfs is a simple FUSE filesystem for mounting Android devices as a MTP +device.") + (license license:bsd-3))) + (define-public java-usb4java (package (name "java-usb4java")