nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 25 lines 745 B view raw
1{lib, stdenv, fetchurl, jre}: 2 3stdenv.mkDerivation rec { 4 pname = "aspectj"; 5 version = "1.9.19"; 6 builder = ./builder.sh; 7 8 src = let 9 versionSnakeCase = builtins.replaceStrings ["."] ["_"] version; 10 in fetchurl { 11 url = "https://github.com/eclipse/org.aspectj/releases/download/V${versionSnakeCase}/aspectj-${version}.jar"; 12 sha256 = "sha256-Oujyg05yvtcyfLmqonc++GX9AyFKwfIzITOHDz0px0M="; 13 }; 14 15 inherit jre; 16 buildInputs = [jre]; 17 18 meta = { 19 homepage = "https://www.eclipse.org/aspectj/"; 20 description = "A seamless aspect-oriented extension to the Java programming language"; 21 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 22 platforms = lib.platforms.unix; 23 license = lib.licenses.epl10; 24 }; 25}