Skip to content
Permalink
Browse files

usbmuxd: clean-up

  • Loading branch information
peterhoeg committed Dec 28, 2017
1 parent ade98dc commit 47d3612d3ac9e9e5e8193cc5154ed523b94e2278
Showing with 13 additions and 8 deletions.
  1. +13 −8 pkgs/tools/misc/usbmuxd/default.nix
@@ -1,4 +1,6 @@
{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
{ stdenv, fetchurl, pkgconfig
, libplist, libusb1, libimobiledevice,
, systemd, udev }:

stdenv.mkDerivation rec {
name = "usbmuxd-${version}";
@@ -10,21 +12,24 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];

preConfigure = ''
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
'';
buildInputs = [
libusb1 libplist libimobiledevice
] ++ lib.optionals stdenv.isLinux [ udev systemd ];

meta = {
configureFlags = [
"--with-udevrulesdir=$out/lib/udev/rules.d"
"--with-systemdsystemunitdir=$out/lib/systemd/system"
];

meta = with stdenv.lib; {
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 = [ ];
platforms = platforms.unix;
};
}

0 comments on commit 47d3612

Please sign in to comment.
You can’t perform that action at this time.