From 74abd6e9ade83db542aff302975380ab77f51c0d Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 26 Sep 2010 19:39:35 +0000 Subject: [PATCH] Add usbmuxd svn path=/nixpkgs/trunk/; revision=23948 --- pkgs/tools/misc/usbmuxd/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/misc/usbmuxd/default.nix diff --git a/pkgs/tools/misc/usbmuxd/default.nix b/pkgs/tools/misc/usbmuxd/default.nix new file mode 100644 index 000000000000..1b7c78369213 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85513fd46c15..d202eb465d87 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1206,6 +1206,8 @@ let upx = callPackage ../tools/compression/upx { }; + usbmuxd = callPackage ../tools/misc/usbmuxd {}; + vacuum = callPackage ../applications/networking/instant-messengers/vacuum {}; vbetool = builderDefsPackage ../tools/system/vbetool {