usbmuxd: 1.1.0 -> 2018-07-22
This commit is contained in:
parent
8842e43477
commit
ddc73a67b5
|
@ -1,30 +1,40 @@
|
||||||
{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1, libimobiledevice }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "usbmuxd-${version}";
|
pname = "usbmuxd";
|
||||||
version = "1.1.0";
|
version = "2018-07-22";
|
||||||
|
|
||||||
src = fetchurl {
|
name = "${pname}-${version}";
|
||||||
url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
|
|
||||||
sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
|
src = fetchFromGitHub {
|
||||||
|
owner = "libimobiledevice";
|
||||||
|
repo = pname;
|
||||||
|
rev = "ee85938c21043ef5f7cd4dfbc7677f385814d4d8";
|
||||||
|
sha256 = "1qsnxvcagxa92rz0w78m0n2drgaghi0pqpbjdk2080sczzi1g76y";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
|
propagatedBuildInputs = [ libimobiledevice libusb1 ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
|
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
|
||||||
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
|
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://marcansoft.com/blog/iphonelinux/usbmuxd/;
|
homepage = https://github.com/libimobiledevice/usbmuxd;
|
||||||
description = "USB Multiplex Daemon (for talking to iPhone or iPod)";
|
description = "A socket daemon to multiplex connections from and to iOS devices";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
usbmuxd: USB Multiplex Daemon. This bit of software is in charge of
|
usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
|
||||||
talking to your iPhone or iPod Touch over USB and coordinating access to
|
multiplexing connections over USB to an iOS device. To users, it means
|
||||||
its services by other applications.'';
|
you can sync your music, contacts, photos, etc. over USB. To developers, it
|
||||||
platforms = stdenv.lib.platforms.linux;
|
means you can connect to any listening localhost socket on the device. usbmuxd
|
||||||
maintainers = [ ];
|
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; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue