diff options
author | Bob Rubbens <bobrubbens@gmail.com> | 2020-08-24 23:00:00 +0200 |
---|---|---|
committer | Bob Rubbens <bobrubbens@gmail.com> | 2020-08-25 09:58:37 +0200 |
commit | 258fe5828d88383992824058ebeb011f6ecb26c6 (patch) | |
tree | 4071c49ce55790ba041d6950a2e9b98a501fa47b /pkgs/development/compilers/aspectj | |
parent | b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3 (diff) |
aspectj: 1.5.2 -> 1.9.6
As discussed on the mailing list, the url is now pointed at the github project release because the previous eclipse archive link was not kept up-to-date anymore. Relevant links: - https://www.eclipse.org/lists/aspectj-dev/msg03311.html
Diffstat (limited to 'pkgs/development/compilers/aspectj')
-rw-r--r-- | pkgs/development/compilers/aspectj/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/compilers/aspectj/default.nix b/pkgs/development/compilers/aspectj/default.nix index 94dc813d78a27..8fd47e937c80d 100644 --- a/pkgs/development/compilers/aspectj/default.nix +++ b/pkgs/development/compilers/aspectj/default.nix @@ -1,12 +1,15 @@ {stdenv, fetchurl, jre}: stdenv.mkDerivation rec { - name = "aspectj-1.5.2"; + pname = "aspectj"; + version = "1.9.6"; builder = ./builder.sh; - src = fetchurl { - url = "http://archive.eclipse.org/tools/aspectj/${name}.jar"; - sha256 = "1b3mx248dc1xka1vgsl0jj4sm0nfjsqdcj9r9036mvixj1zj3nmh"; + src = let + versionSnakeCase = builtins.replaceStrings ["."] ["_"] version; + in fetchurl { + url = "https://github.com/eclipse/org.aspectj/releases/download/V${versionSnakeCase}/aspectj-${version}.jar"; + sha256 = "02jh66l3vw57k9a4dxlga3qh3487r36gyi6k2z2mmqxbpqajslja"; }; inherit jre; |