nixpkgs/pkgs/tools/misc/usbmuxd/default.nix

31 lines
1.0 KiB
Nix
Raw Normal View History

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