aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libusbmuxd
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-08-13 00:46:35 -0400
committerworldofpeace <worldofpeace@users.noreply.github.com>2018-08-13 00:46:35 -0400
commitd4d5068557ada12e3e726857e6d915f0dc1b3a31 (patch)
tree9ae079b4f18fcbafa65d082467f2347121e103ad /pkgs/development/libraries/libusbmuxd
parent02353e4a10598202226d4eac6a5174d5cdb282e4 (diff)
libusbmuxd: 1.0.10 -> 2018-07-23
Diffstat (limited to 'pkgs/development/libraries/libusbmuxd')
-rw-r--r--pkgs/development/libraries/libusbmuxd/default.nix35
1 files changed, 18 insertions, 17 deletions
diff --git a/pkgs/development/libraries/libusbmuxd/default.nix b/pkgs/development/libraries/libusbmuxd/default.nix
index ae53178e88d9..08aeba1254e5 100644
--- a/pkgs/development/libraries/libusbmuxd/default.nix
+++ b/pkgs/development/libraries/libusbmuxd/default.nix
@@ -1,25 +1,26 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, libplist }:
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libplist }:
stdenv.mkDerivation rec {
- name = "libusbmuxd-1.0.10";
- src = fetchurl {
- url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
- sha256 = "1wn9zq2224786mdr12c5hxad643d29wg4z6b7jn888jx4s8i78hs";
- };
+ pname = "libusbmuxd";
+ version = "2018-07-23";
+
+ name = "${pname}-${version}";
- patches = [
- (fetchpatch {
- name = "CVE-2016-5104.patch";
- url = "https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196.patch";
- sha256 = "0cl3vys7bkwbdzf64d0rz3zlqpfc30w4l7j49ljv01agh42ywhgk";
- })
- ];
+ src = fetchFromGitHub {
+ owner = "libimobiledevice";
+ repo = pname;
+ rev = "78df9be5fc8222ed53846cb553de9b5d24c85c6c";
+ sha256 = "05hbn0mbmv5ln9hfsvnf7i1mnp6ncbyfnl5w331kg4fi12wjshc5";
+ };
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libplist ];
- meta = {
- homepage = http://www.libimobiledevice.org;
- platforms = stdenv.lib.platforms.unix;
+ meta = with stdenv.lib; {
+ description = "A client library to multiplex connections from and to iOS devices";
+ homepage = https://github.com/libimobiledevice/libusbmuxd;
+ license = licenses.lgpl21Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ ];
};
}