2016-07-10 00:49:22 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, libplist }:
|
2015-04-29 23:45:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libusbmuxd-1.0.10";
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
|
2015-04-29 23:45:57 +01:00
|
|
|
sha256 = "1wn9zq2224786mdr12c5hxad643d29wg4z6b7jn888jx4s8i78hs";
|
|
|
|
};
|
|
|
|
|
2016-07-10 00:49:22 +01:00
|
|
|
patches = [
|
2018-04-22 10:42:49 +01:00
|
|
|
(fetchpatch {
|
|
|
|
name = "CVE-2016-5104.patch";
|
2016-07-10 00:49:22 +01:00
|
|
|
url = "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196.patch";
|
|
|
|
sha256 = "0cl3vys7bkwbdzf64d0rz3zlqpfc30w4l7j49ljv01agh42ywhgk";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2015-04-29 23:45:57 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libplist ];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.libimobiledevice.org;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-04-29 23:45:57 +01:00
|
|
|
};
|
|
|
|
}
|