diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-06-28 00:56:16 -0700 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-06-28 00:56:16 -0700 |
commit | 1928cd3026192b2d5bd86e8cc3802c2ba5e92764 (patch) | |
tree | 898a6ef2b689503822ff39c907a63633cacfb155 /pkgs/tools/misc | |
parent | 03f8a481b4cbdabc5d17a943e8663fa7c0c1797d (diff) |
usbmuxd2: libplist 2.3.0 compatibility
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/usbmuxd2/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/tools/misc/usbmuxd2/default.nix b/pkgs/tools/misc/usbmuxd2/default.nix index f4ac629d073c7..18014b60371fd 100644 --- a/pkgs/tools/misc/usbmuxd2/default.nix +++ b/pkgs/tools/misc/usbmuxd2/default.nix @@ -1,6 +1,7 @@ { lib , clangStdenv , fetchFromGitHub +, fetchpatch , autoreconfHook , pkg-config , libimobiledevice @@ -16,7 +17,7 @@ owner = "tihmstar"; repo = pname; rev = "017d71edb0a12ff4fa01a39d12cd297d8b3d8d34"; - sha256 = "sha256-NrSl/BeKe3wahiYTHGRVSq3PLgQfu76kHCC5ziY7cgQ="; + hash = "sha256-NrSl/BeKe3wahiYTHGRVSq3PLgQfu76kHCC5ziY7cgQ="; }; postPatch = '' # Set package version so we don't require git @@ -46,6 +47,14 @@ clangStdenv.mkDerivation rec { hash = "sha256-T9bt3KOJwFpdPeFuXfBhkBZNaNzix3Q3D47vASR+fVg="; }; + patches = [ + (fetchpatch { + name = "libplist-2.3.0-compatibility.patch"; + url = "https://github.com/tihmstar/usbmuxd2/commit/e527bce2360afc22c95542f1252f94c994f45c72.patch"; + hash = "sha256-ig4j4z2HH8gitXxZYW9fm74Ix9XmJeX2Lz9HBCuDsuk="; + }) + ]; + postPatch = '' # Set package version so we don't require git sed -i '/AC_INIT/s/m4_esyscmd.*/${version})/' configure.ac |