Merge pull request #44966 from worldofpeace/imobile-updates

libimobiledevice updates
This commit is contained in:
Silvan Mosberger
2018-08-15 17:05:10 +02:00
committed by GitHub
6 changed files with 135 additions and 91 deletions

View File

@@ -1,25 +1,31 @@
{ stdenv, fetchurl, pkgconfig, usbmuxd, fuse, gnutls, libgcrypt,
libplist, libimobiledevice }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, usbmuxd, fuse, libimobiledevice }:
stdenv.mkDerivation rec {
name = "ifuse-1.1.3";
pname = "ifuse";
version = "1.1.3";
nativeBuildInputs = [ pkgconfig fuse libplist usbmuxd gnutls libgcrypt libimobiledevice ];
name = "${pname}-${version}";
src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.bz2";
sha256 = "1p9a4n36jb194cnp6v57cz2bggwbywaz8pbpb95ch83pzdkdx257";
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
rev = version;
sha256 = "0p01rds3vc5864v48swgqw5dv0h937nqnxggryixg9pkvzhc6cx5";
};
meta = {
homepage = http://www.libimobiledevice.org;
license = stdenv.lib.licenses.lgpl21Plus;
nativeBuildInputs = [ autoreconfHook pkgconfig fuse usbmuxd libimobiledevice ];
meta = with stdenv.lib; {
homepage = https://github.com/libimobiledevice/ifuse;
description = "A fuse filesystem implementation to access the contents of iOS devices";
longDescription = ''
Mount directories of an iOS device locally using fuse. By default the media
directory is mounted, options allow to also mount the sandbox container of an
app, an app's documents folder or even the root filesystem on jailbroken
devices.'';
inherit (usbmuxd.meta) platforms maintainers;
Mount directories of an iOS device locally using fuse. By default the media
directory is mounted, options allow to also mount the sandbox container of an
app, an app's documents folder or even the root filesystem on jailbroken
devices.
'';
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}

View File

@@ -1,30 +1,40 @@
{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1, libimobiledevice }:
stdenv.mkDerivation rec {
name = "usbmuxd-${version}";
version = "1.1.0";
pname = "usbmuxd";
version = "2018-07-22";
src = fetchurl {
url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
rev = "ee85938c21043ef5f7cd4dfbc7677f385814d4d8";
sha256 = "1qsnxvcagxa92rz0w78m0n2drgaghi0pqpbjdk2080sczzi1g76y";
};
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
propagatedBuildInputs = [ libimobiledevice libusb1 ];
preConfigure = ''
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
'';
meta = {
homepage = http://marcansoft.com/blog/iphonelinux/usbmuxd/;
description = "USB Multiplex Daemon (for talking to iPhone or iPod)";
meta = with stdenv.lib; {
homepage = https://github.com/libimobiledevice/usbmuxd;
description = "A socket daemon to multiplex connections from and to iOS devices";
longDescription = ''
usbmuxd: USB Multiplex Daemon. This bit of software is in charge of
talking to your iPhone or iPod Touch over USB and coordinating access to
its services by other applications.'';
platforms = stdenv.lib.platforms.linux;
maintainers = [ ];
usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
multiplexing connections over USB to an iOS device. To users, it means
you can sync your music, contacts, photos, etc. over USB. To developers, it
means you can connect to any listening localhost socket on the device. usbmuxd
is not used for tethering data transfer which uses a dedicated USB interface as
a virtual network device. Multiple connections to different TCP ports can happen
in parallel. The higher-level layers are handled by libimobiledevice.
'';
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}