summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorVincent Haupert <mail@vincent-haupert.de>2021-12-02 18:49:19 +0100
committerVincent Haupert <mail@vincent-haupert.de>2021-12-02 21:45:58 +0100
commit89369e069d456a4fc4b3799967d00719433a5e24 (patch)
tree5b0ae3ef8206d0bf81ce2fb20f4a86c7070c1bf2 /pkgs/tools
parentfa06cf556e84ed7991ba78d92a4093a8dc0d5056 (diff)
jadx: 1.2.0 -> 1.3.0
Diffstat (limited to 'pkgs/tools')
-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;