1 { lib, stdenv, fetchurl, pkg-config, fuse, libmtp, glib, libmad, libid3tag }:
3 stdenv.mkDerivation rec {
7 nativeBuildInputs = [ pkg-config ];
8 buildInputs = [ fuse libmtp glib libid3tag libmad ];
11 url = "https://www.adebenham.com/files/mtp/mtpfs-${version}.tar.gz";
12 sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv";
16 homepage = "https://github.com/cjd/mtpfs";
17 description = "FUSE Filesystem providing access to MTP devices";
18 platforms = platforms.all;
19 license = licenses.gpl3;
20 maintainers = [ maintainers.qknight ];
21 broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/mtpfs.x86_64-darwin
22 mainProgram = "mtpfs";