sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / us / usbmuxd / package.nix
blobbf0ac9051ef27489fc8a79e13824b0f448dca757
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   pkg-config,
7   libimobiledevice,
8   libusb1,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "usbmuxd";
13   version = "1.1.1+date=2023-05-05";
15   src = fetchFromGitHub {
16     owner = "libimobiledevice";
17     repo = pname;
18     rev = "01c94c77f59404924f1c46d99c4e5e0c7817281b";
19     hash = "sha256-WqbobkzlJ9g5fb9S2QPi3qdpCLx3pxtNlT7qDI63Zp4=";
20   };
22   nativeBuildInputs = [
23     autoreconfHook
24     pkg-config
25   ];
27   propagatedBuildInputs = [
28     libimobiledevice
29     libusb1
30   ];
32   preAutoreconf = ''
33     export RELEASE_VERSION=${version}
34   '';
36   configureFlags = [
37     "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d"
38     "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
39   ];
41   meta = with lib; {
42     homepage = "https://github.com/libimobiledevice/usbmuxd";
43     description = "Socket daemon to multiplex connections from and to iOS devices";
44     longDescription = ''
45       usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
46       multiplexing connections over USB to an iOS device. To users, it means
47       you can sync your music, contacts, photos, etc. over USB. To developers, it
48       means you can connect to any listening localhost socket on the device. usbmuxd
49       is not used for tethering data transfer which uses a dedicated USB interface as
50       a virtual network device. Multiple connections to different TCP ports can happen
51       in parallel. The higher-level layers are handled by libimobiledevice.
52     '';
53     license = licenses.gpl2Plus;
54     platforms = platforms.unix;
55     maintainers = [ ];
56     mainProgram = "usbmuxd";
57   };