summary refs log tree commit diff
path: root/pkgs/development/libraries/libusbmuxd/default.nix
blob: 7bba6e8b404082881a61887ba88e907b74b7d47b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libplist }:

stdenv.mkDerivation rec {
  pname = "libusbmuxd";
  version = "unstable-2021-02-06";

  src = fetchFromGitHub {
    owner = "libimobiledevice";
    repo = pname;
    rev = "3eb50a07bad4c2222e76df93b23a0161922150d1";
    sha256 = "sha256-pBPBgE6s8JYKJYEV8CcumNki+6jD5r7HzQ0nZ8yQLdM=";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [ libplist ];

  meta = with lib; {
    description = "A client library to multiplex connections from and to iOS devices";
    homepage    = "https://github.com/libimobiledevice/libusbmuxd";
    license     = licenses.lgpl21Plus;
    platforms   = platforms.linux ++ platforms.darwin;
    maintainers = with maintainers; [ infinisil ];
  };
}