git.iko.soy/typeable/nixpkgs
on master help sign in
usbmuxd: 1.1.0 -> 2018-07-22
commitddc73a67b5423711c1ab3bd9af776364533b22b1 authorworldofpeace <worldofpeace@users.noreply.github.com> dateMon 13 Aug 2018, 00:48 (8 years ago) parent8842e43
1 file changed+26−16
pkgs/tools/misc/usbmuxd/default.nix+26−16
pkgs/tools/misc/usbmuxd/default.nix+26−16
@@ -1,30 +1,40 @@
1−{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1, libimobiledevice }:
22
33stdenv.mkDerivation rec {
4− name = "usbmuxd-${version}";
5− version = "1.1.0";
4+ pname = "usbmuxd";
5+ version = "2018-07-22";
66
7− src = fetchurl {
8− url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
9− sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
7+ name = "${pname}-${version}";
8+
9+ src = fetchFromGitHub {
10+ owner = "libimobiledevice";
11+ repo = pname;
12+ rev = "ee85938c21043ef5f7cd4dfbc7677f385814d4d8";
13+ sha256 = "1qsnxvcagxa92rz0w78m0n2drgaghi0pqpbjdk2080sczzi1g76y";
1014 };
1115
12− nativeBuildInputs = [ pkgconfig ];
13− propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
16+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
17+ propagatedBuildInputs = [ libimobiledevice libusb1 ];
1418
1519 preConfigure = ''
1620 configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
1721 configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
1822 '';
1923
20− meta = {
21− homepage = http://marcansoft.com/blog/iphonelinux/usbmuxd/;
22− description = "USB Multiplex Daemon (for talking to iPhone or iPod)";
24+ meta = with stdenv.lib; {
25+ homepage = https://github.com/libimobiledevice/usbmuxd;
26+ description = "A socket daemon to multiplex connections from and to iOS devices";
2327 longDescription = ''
24− usbmuxd: USB Multiplex Daemon. This bit of software is in charge of
25− talking to your iPhone or iPod Touch over USB and coordinating access to
26− its services by other applications.'';
27− platforms = stdenv.lib.platforms.linux;
28− maintainers = [ ];
28+ usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
29+ multiplexing connections over USB to an iOS device. To users, it means
30+ you can sync your music, contacts, photos, etc. over USB. To developers, it
31+ means you can connect to any listening localhost socket on the device. usbmuxd
32+ is not used for tethering data transfer which uses a dedicated USB interface as
33+ a virtual network device. Multiple connections to different TCP ports can happen
34+ in parallel. The higher-level layers are handled by libimobiledevice.
35+ '';
36+ license = licenses.gpl2Plus;
37+ platforms = platforms.linux;
38+ maintainers = with maintainers; [ ];
2939 };
3040}