mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge pull request #232212 from abustany/master
ios-webkit-debug-proxy: init at 1.9.0
This commit is contained in:
commit
f614105d5d
@ -309,6 +309,12 @@
|
||||
githubId = 2321000;
|
||||
name = "Ruslan Babayev";
|
||||
};
|
||||
abustany = {
|
||||
email = "adrien@bustany.org";
|
||||
github = "abustany";
|
||||
githubId = 2526296;
|
||||
name = "Adrien Bustany";
|
||||
};
|
||||
acairncross = {
|
||||
email = "acairncross@gmail.com";
|
||||
github = "acairncross";
|
||||
|
@ -0,0 +1,23 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 52dc7a8..407c056 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -2,4 +2,4 @@
|
||||
# Copyright 2012 Google Inc. wrightt@google.com
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
-SUBDIRS = src include examples
|
||||
+SUBDIRS = src include
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ac2a278..a4104b7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -82,7 +82,7 @@ fi
|
||||
|
||||
AC_CHECK_FUNCS([memmove memset regcomp select socket strcasecmp strncasecmp strchr strdup strndup strrchr strstr strtol strcasestr getline])
|
||||
|
||||
-AC_CONFIG_FILES([Makefile src/Makefile include/Makefile examples/Makefile])
|
||||
+AC_CONFIG_FILES([Makefile src/Makefile include/Makefile])
|
||||
|
||||
CFLAGS="${CFLAGS} -Wall -Werror"
|
||||
|
57
pkgs/development/mobile/ios-webkit-debug-proxy/default.nix
Normal file
57
pkgs/development/mobile/ios-webkit-debug-proxy/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ stdenv
|
||||
, autoconf
|
||||
, automake
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, lib
|
||||
, libimobiledevice
|
||||
, libusb1
|
||||
, libplist
|
||||
, libtool
|
||||
, openssl
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ios-webkit-debug-proxy";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cZ/p/aWET/BXKDrD+qgR+rfTISd+4jPNQFuV8klSLUo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# OpenSSL 3.0 compatibility
|
||||
(fetchpatch {
|
||||
url = "https://github.com/google/ios-webkit-debug-proxy/commit/5ba30a2a67f39d25025cadf37c0eafb2e2d2d0a8.patch";
|
||||
sha256 = "sha256-2b9BjG9wkqO+ZfoBYYJvD2Db5Kr0F/MxKMTRsI0ea3s=";
|
||||
})
|
||||
# Examples compilation breaks with --disable-static, see https://github.com/google/ios-webkit-debug-proxy/issues/399
|
||||
./0001-Don-t-compile-examples.patch
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
||||
buildInputs = [ libimobiledevice libusb1 libplist openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A DevTools proxy (Chrome Remote Debugging Protocol) for iOS devices (Safari Remote Web Inspector).";
|
||||
longDescription = ''
|
||||
The ios_webkit_debug_proxy (aka iwdp) proxies requests from usbmuxd
|
||||
daemon over a websocket connection, allowing developers to send commands
|
||||
to MobileSafari and UIWebViews on real and simulated iOS devices.
|
||||
'';
|
||||
homepage = "https://github.com/google/ios-webkit-debug-proxy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.abustany ];
|
||||
};
|
||||
}
|
@ -3754,6 +3754,8 @@ with pkgs;
|
||||
|
||||
xc = callPackage ../development/tools/xc { };
|
||||
|
||||
ios-webkit-debug-proxy = callPackage ../development/mobile/ios-webkit-debug-proxy { };
|
||||
|
||||
xcodeenv = callPackage ../development/mobile/xcodeenv { };
|
||||
|
||||
gomobile = callPackage ../development/mobile/gomobile { };
|
||||
|
Loading…
Reference in New Issue
Block a user