2025-06-04 19:29:26 +00:00

44 lines
816 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
libplist,
libimobiledevice-glue,
}:
stdenv.mkDerivation rec {
pname = "libusbmuxd";
version = "2.1.1";
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = "libusbmuxd";
rev = version;
hash = "sha256-o1EFY/cv+pQrGexvPOwMs5mz9KRcffnloXCQXMzbmDY=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libplist
libimobiledevice-glue
];
preAutoreconf = ''
export RELEASE_VERSION=${version}
'';
meta = {
description = "Client library to multiplex connections from and to iOS devices";
homepage = "https://github.com/libimobiledevice/libusbmuxd";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.unix;
maintainers = [ ];
};
}