2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, jre}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-25 04:45:31 +00:00
|
|
|
pname = "aspectj";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "1.9.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = let
|
|
|
|
versionSnakeCase = builtins.replaceStrings ["."] ["_"] version;
|
|
|
|
in fetchurl {
|
|
|
|
url = "https://github.com/eclipse/org.aspectj/releases/download/V${versionSnakeCase}/aspectj-${version}.jar";
|
2023-02-09 11:40:11 +00:00
|
|
|
sha256 = "sha256-Oujyg05yvtcyfLmqonc++GX9AyFKwfIzITOHDz0px0M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit jre;
|
|
|
|
buildInputs = [jre];
|
|
|
|
|
|
|
|
meta = {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://www.eclipse.org/aspectj/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A seamless aspect-oriented extension to the Java programming language";
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.epl10;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|