Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libusbmuxd / default.nix
blob5fa18444d0f4d58b2f1d85de4f0f47a4a67f2c1e
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , autoreconfHook
5 , pkg-config
6 , libplist
7 , libimobiledevice-glue
8 }:
10 stdenv.mkDerivation rec {
11   pname = "libusbmuxd";
12   version = "2.0.2+date=2023-04-30";
14   src = fetchFromGitHub {
15     owner = "libimobiledevice";
16     repo = pname;
17     rev = "f47c36f5bd2a653a3bd7fb1cf1d2c50b0e6193fb";
18     hash = "sha256-ojFnFD0lcdJLP27oFukwzkG5THx1QE+tRBsaMj4ZCc4=";
19   };
21   nativeBuildInputs = [
22     autoreconfHook
23     pkg-config
24   ];
26   buildInputs = [
27     libplist
28     libimobiledevice-glue
29   ];
31   preAutoreconf = ''
32     export RELEASE_VERSION=${version}
33   '';
35   meta = with lib; {
36     description = "A client library to multiplex connections from and to iOS devices";
37     homepage = "https://github.com/libimobiledevice/libusbmuxd";
38     license = licenses.lgpl21Plus;
39     platforms = platforms.unix;
40     maintainers = with maintainers; [ infinisil ];
41   };