aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-06-23 18:46:02 -0400
committerLeo Famulari <leo@famulari.name>2017-06-25 18:48:15 -0400
commitafc9d8ec2b724b67f85b05011725bb636f209a1a (patch)
tree03aafef668d16cb9b9679bb4c0c3a00a6f6db28a /gnu/packages
parent2da63064271b5b7af24d619ba147c7dabaea15ef (diff)
downloadguix-afc9d8ec2b724b67f85b05011725bb636f209a1a.tar
guix-afc9d8ec2b724b67f85b05011725bb636f209a1a.tar.gz
gnu: Add jmtpfs.
* gnu/packages/linux.scm (jmtpfs): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/linux.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e826520c5c..ec950d2272 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)
@@ -4152,3 +4153,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 url-fetch)
+ (uri (string-append "https://github.com/JasonFerrara/jmtpfs/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "10v8d7mmx8b8123x5f9y9zaaa428ms6wkngwn2ra71n5a53wrjn0"))))
+ (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). Unprivileged users can mount
+the MTP device as a filesystem.")
+ (license license:gpl3)))