bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
42 lines
853 B
Nix
42 lines
853 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, libplist
|
|
, libimobiledevice-glue
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libusbmuxd";
|
|
version = "2.0.2+date=2023-04-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libimobiledevice";
|
|
repo = pname;
|
|
rev = "f47c36f5bd2a653a3bd7fb1cf1d2c50b0e6193fb";
|
|
hash = "sha256-ojFnFD0lcdJLP27oFukwzkG5THx1QE+tRBsaMj4ZCc4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libplist
|
|
libimobiledevice-glue
|
|
];
|
|
|
|
preAutoreconf = ''
|
|
export RELEASE_VERSION=${version}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Client library to multiplex connections from and to iOS devices";
|
|
homepage = "https://github.com/libimobiledevice/libusbmuxd";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|