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
This commit is contained in:
Bob Rubbens 2020-08-24 23:00:00 +02:00
parent b89ac20dfe
commit 258fe5828d

View File

@ -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;