summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorVincent Haupert <mail@vincent-haupert.de>2021-12-02 18:49:19 +0100
committerThomas Gerbet <thomas@gerbet.me>2022-01-29 15:21:05 +0100
commit82a0cb02b048d5d5c41aae4605787d8e3d9b0275 (patch)
treee02fdd0913dceee47d2431c339b8206527cb4ede /pkgs/tools/security
parent03098169624f487eef37186b3214c40e6b6e919d (diff)
jadx: 1.2.0 -> 1.3.0
(cherry picked from commit 89369e069d456a4fc4b3799967d00719433a5e24)
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/jadx/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/tools/security/jadx/default.nix b/pkgs/tools/security/jadx/default.nix
index 02533f7f6f5f..9749f93282ef 100644
--- a/pkgs/tools/security/jadx/default.nix
+++ b/pkgs/tools/security/jadx/default.nix
@@ -2,13 +2,13 @@
let
pname = "jadx";
- version = "1.2.0";
+ version = "1.3.0";
src = fetchFromGitHub {
owner = "skylot";
repo = pname;
rev = "v${version}";
- sha256 = "1w1wc81mkjcsgjbrihbsphxkcmwnfnf555pmlsd2vs2a04nki01y";
+ hash = "sha256-dEtmn6d7B+0p3SOmnpJigBCDjfnyY1qazXdmwtvoWwE=";
};
deps = stdenv.mkDerivation {
@@ -21,6 +21,14 @@ let
export GRADLE_USER_HOME=$(mktemp -d)
export JADX_VERSION=${version}
gradle --no-daemon jar
+
+ # Apparently, Gradle won't cache the `compileOnlyApi` dependency
+ # `org.jetbrains:annotations:22.0.0` which is defined in
+ # `io.github.skylot:raung-common`. To make it available in the
+ # output, we patch `build.gradle` and run Gradle again.
+ substituteInPlace build.gradle \
+ --replace 'org.jetbrains:annotations:23.0.0' 'org.jetbrains:annotations:22.0.0'
+ gradle --no-daemon jar
'';
# Mavenize dependency paths
@@ -31,9 +39,8 @@ let
| sh
'';
- outputHashAlgo = "sha256";
outputHashMode = "recursive";
- outputHash = "05fsycpd90dbak2vgdpd9cz08liq5j78ag9ry9y1s62ld776g0hz";
+ outputHash = "sha256-t2kfih5JbIZvJMSHcCsTteDJ9MWJK/wUiqmHU5odMdY=";
};
in stdenv.mkDerivation {
inherit pname version src;