3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/usbmuxd/default.nix

31 lines
1 KiB
Nix
Raw Normal View History

2015-04-29 23:46:14 +01:00
{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
stdenv.mkDerivation rec {
2015-04-29 23:46:14 +01:00
name = "usbmuxd-${version}";
version = "1.1.0";
src = fetchurl {
url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
2015-04-29 23:46:14 +01:00
sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
};
2015-04-29 23:46:14 +01:00
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
2015-04-29 23:46:14 +01:00
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)";
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 = [ ];
};
}