Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, fuse, libmtp, glib, libmad, libid3tag }: 2 3stdenv.mkDerivation rec { 4 pname = "mtpfs"; 5 version = "1.1"; 6 7 nativeBuildInputs = [ pkg-config ]; 8 buildInputs = [ fuse libmtp glib libid3tag libmad ]; 9 10 src = fetchurl { 11 url = "https://www.adebenham.com/files/mtp/mtpfs-${version}.tar.gz"; 12 sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv"; 13 }; 14 15 meta = with lib; { 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.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/mtpfs.x86_64-darwin 22 }; 23}