nixpkgs/pkgs/development/compilers/aspectj/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
745 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, jre}:
2017-01-24 16:41:21 +00:00
stdenv.mkDerivation rec {
pname = "aspectj";
2023-02-04 02:30:58 +00:00
version = "1.9.19";
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";
2023-02-04 02:30:58 +00:00
sha256 = "sha256-Oujyg05yvtcyfLmqonc++GX9AyFKwfIzITOHDz0px0M=";
};
inherit jre;
buildInputs = [jre];
meta = {
homepage = "https://www.eclipse.org/aspectj/";
description = "A seamless aspect-oriented extension to the Java programming language";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
platforms = lib.platforms.unix;
license = lib.licenses.epl10;
};
}