all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27466] [PATCH] gnu: Add jmtpfs.
@ 2017-06-23 22:48 Leo Famulari
  2017-06-25 16:40 ` Arun Isaac
       [not found] ` <7a0af566.AEUAL3JEvWoAAAAAAAAAAAO8ccgAAAACwQwAAAAAAAW9WABZT-eH@mailjet.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Leo Famulari @ 2017-06-23 22:48 UTC (permalink / raw)
  To: 27466

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#27466] [PATCH] gnu: Add jmtpfs.
  2017-06-23 22:48 [bug#27466] [PATCH] gnu: Add jmtpfs Leo Famulari
@ 2017-06-25 16:40 ` Arun Isaac
       [not found] ` <7a0af566.AEUAL3JEvWoAAAAAAAAAAAO8ccgAAAACwQwAAAAAAAW9WABZT-eH@mailjet.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2017-06-25 16:40 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 27466


> +(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

LGTM, otherwise!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27466: [PATCH] gnu: Add jmtpfs.
       [not found] ` <7a0af566.AEUAL3JEvWoAAAAAAAAAAAO8ccgAAAACwQwAAAAAAAW9WABZT-eH@mailjet.com>
@ 2017-06-25 22:48   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-06-25 22:48 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 27466-done

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-25 22:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23 22:48 [bug#27466] [PATCH] gnu: Add jmtpfs Leo Famulari
2017-06-25 16:40 ` Arun Isaac
     [not found] ` <7a0af566.AEUAL3JEvWoAAAAAAAAAAAO8ccgAAAACwQwAAAAAAAW9WABZT-eH@mailjet.com>
2017-06-25 22:48   ` bug#27466: " Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.