nixpkgs/pkgs/development/libraries/libusbmuxd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
882 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libplist
, libimobiledevice-glue
}:
2015-04-29 22:45:57 +00:00
stdenv.mkDerivation rec {
2018-08-13 04:46:35 +00:00
pname = "libusbmuxd";
version = "2.0.2+date=2022-05-04";
2018-08-13 04:46:35 +00:00
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
rev = "36ffb7ab6e2a7e33bd1b56398a88895b7b8c615a";
hash = "sha256-41N5cSLAiPJ9FjdnCQnMvPu9/qhI3Je/M1VmKY+yII4=";
2018-08-13 04:46:35 +00:00
};
postPatch = ''
echo '${version}' > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libplist
libimobiledevice-glue
];
2015-04-29 22:45:57 +00:00
meta = with lib; {
2018-08-13 04:46:35 +00:00
description = "A client library to multiplex connections from and to iOS devices";
homepage = "https://github.com/libimobiledevice/libusbmuxd";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
2019-04-16 11:46:41 +00:00
maintainers = with maintainers; [ infinisil ];
2015-04-29 22:45:57 +00:00
};
}