Subject: bug#27466: closed (Re: [bug#27466] [PATCH] gnu: Add jmtpfs.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 25 Jun 2017 22:49:02 +0000

Your bug report

#27466: [PATCH] gnu: Add jmtpfs.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27466: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27466
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#27466] [PATCH] gnu: Add jmtpfs.
From: Leo Famulari <[email-masked]>
To: Arun Isaac <[email-masked]>
Cc: [email-masked]
Date: Sun, 25 Jun 2017 18:48:52 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun, Jun 25, 2017 at 10:10:23PM +0530, Arun Isaac wrote:
> 
> > +(define-public jmtpfs
> > +  (package
> > +    (name "jmtpfs")
> > +    (version "0.5")
> > +    (source
> > +      (origin
> > +        (method git-fetch)
> > +        (uri (git-reference
> > +               (url "https://github.com/JasonFerrara/jmtpfs.git")
> > +               (commit (string-append "v" version))))
> > +        (file-name (string-append name "-" version "-checkout"))
> 
> There is a release tarball on the github page of this project. Why not
> use that?
> 
> https://github.com/JasonFerrara/jmtpfs/archive/v0.5.tar.gz

I missed it — thanks for catching this!

Pushed as afc9d8ec2b724b67f85b05011725bb636f209a1a.

Subject: [PATCH] gnu: Add jmtpfs.
From: Leo Famulari <[email-masked]>
To: [email-masked]
Date: Fri, 23 Jun 2017 18:48:58 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/linux.scm (jmtpfs): New variable.
---
 gnu/packages/linux.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9ba35a0a1..0fa04986a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -63,6 +63,7 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
@@ -102,6 +103,7 @@
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -4097,3 +4099,30 @@ from the CPUID instruction, and also determines the exact model of CPU(s).  It
 supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix, UMC,
 NexGen, Rise, and SiS CPUs.")
     (license license:gpl2+)))
+
+(define-public jmtpfs
+  (package
+    (name "jmtpfs")
+    (version "0.5")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/JasonFerrara/jmtpfs.git")
+               (commit (string-append "v" version))))
+        (file-name (string-append name "-" version "-checkout"))
+        (sha256
+         (base32
+          "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("file" ,file)
+       ("fuse" ,fuse)
+       ("libmtp" ,libmtp)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/JasonFerrara/jmtpfs")
+    (synopsis "Use a FUSE filesystem to access data over MTP")
+    (description "jmtpfs uses FUSE (filesystem in userspace) to provide access
+to data over the Media Transfer Protocol (MTP).")
+    (license license:gpl3)))
-- 
2.13.1