2015-05-27 01:56:39 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, file, fuse, libmtp }:
|
2014-05-11 20:35:28 +01:00
|
|
|
|
2015-05-27 01:56:39 +01:00
|
|
|
let version = "0.5"; in
|
|
|
|
stdenv.mkDerivation {
|
2014-05-11 20:35:28 +01:00
|
|
|
name = "jmtpfs-${version}";
|
|
|
|
|
2015-05-27 01:56:39 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "jmtpfs";
|
|
|
|
owner = "JasonFerrara";
|
2014-05-11 20:35:28 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ file fuse libmtp ];
|
2014-05-11 20:35:28 +01:00
|
|
|
|
2015-05-27 01:56:39 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A FUSE filesystem for MTP devices like Android phones";
|
2014-05-11 20:35:28 +01:00
|
|
|
homepage = https://github.com/JasonFerrara/jmtpfs;
|
2015-05-27 01:56:39 +01:00
|
|
|
license = licenses.gpl3;
|
2015-06-16 10:30:20 +01:00
|
|
|
platforms = platforms.linux;
|
2015-05-27 01:56:39 +01:00
|
|
|
maintainers = [ maintainers.coconnor ];
|
2014-05-11 20:35:28 +01:00
|
|
|
};
|
|
|
|
}
|