nixpkgs-suyu/pkgs/development/compilers/aspectj/default.nix
Bob Rubbens 258fe5828d 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
2020-08-25 09:58:37 +02:00

24 lines
688 B
Nix

{stdenv, fetchurl, jre}:
stdenv.mkDerivation rec {
pname = "aspectj";
version = "1.9.6";
builder = ./builder.sh;
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;
buildInputs = [jre];
meta = {
homepage = "http://www.eclipse.org/aspectj/";
description = "A seamless aspect-oriented extension to the Java programming language";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.epl10;
};
}