GNU bug report logs - #78550
[PATCH 0/2] gnu: Add go-mtpfs.

Previous Next

Package: guix-patches;

Reported by: Junker <dk <at> junkeria.club>

Date: Thu, 22 May 2025 14:34:01 UTC

Severity: normal

Tags: patch

Full log


Message #11 received at 78550 <at> debbugs.gnu.org (full text, mbox):

From: Junker <dk <at> junkeria.club>
To: 78550 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add go-mtpfs.
Date: Thu, 22 May 2025 21:40:32 +0700
* 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")
-- 
2.49.0





This bug report was last modified 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.