diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-09-26 19:39:35 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-09-26 19:39:35 +0000 |
commit | 74abd6e9ade83db542aff302975380ab77f51c0d (patch) | |
tree | c40dfc1ebbc98ef4bbb3cb7df4a71bac059a863f /pkgs/tools/misc/usbmuxd | |
parent | 1eda454543b202dd7e18029fa4b48ea7a3c4b011 (diff) |
Add usbmuxd
svn path=/nixpkgs/trunk/; revision=23948
Diffstat (limited to 'pkgs/tools/misc/usbmuxd')
-rw-r--r-- | pkgs/tools/misc/usbmuxd/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/usbmuxd/default.nix b/pkgs/tools/misc/usbmuxd/default.nix new file mode 100644 index 0000000000000..1b7c78369213a --- /dev/null +++ b/pkgs/tools/misc/usbmuxd/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, cmake, libplist, libusb1, pkgconfig }: + +stdenv.mkDerivation rec { + name = "usbmuxd-1.0.5"; + + src = fetchurl { + url = "http://marcansoft.com/uploads/usbmuxd/${name}.tar.bz2"; + sha256 = "130h5hk2qhki5xflcindx0prrgm5h7aqhbygrpasvr6030k6bkiv"; + }; + + buildInputs = [ cmake pkgconfig ]; + propagatedBuildInputs = [ libusb1 libplist ]; + + patchPhase = "sed -e 's,/lib/udev,lib/udev,' -i udev/CMakeLists.txt"; + + cmakeFlags = ''-DLIB_SUFFIX=''; + 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.''; + inherit (libusb1.meta) platforms; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} |