Merge pull request #96209 from bobismijnnaam/aspectj-upgrade-2

aspectj: 1.5.2 -> 1.9.6
This commit is contained in:
Daniël de Kok 2020-08-25 10:51:33 +02:00 committed by GitHub
commit b9ba82ef8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;