at 24.05-pre 790 B view raw
1{lib, stdenv, fetchurl}: 2 3stdenv.mkDerivation rec { 4 version = "6.7.0"; 5 pname = "commons-bcel"; 6 7 src = fetchurl { 8 url = "mirror://apache/commons/bcel/binaries/bcel-${version}-bin.tar.gz"; 9 hash = "sha256-0b7iXp2iTwqcgI3IE3/Px/5mLT06yV6u5HdYboux6i4="; 10 }; 11 12 installPhase = '' 13 tar xf ${src} 14 mkdir -p $out/share/java 15 cp bcel-${version}.jar $out/share/java/ 16 ''; 17 18 meta = { 19 homepage = "https://commons.apache.org/proper/commons-bcel/"; 20 description = "Gives users a convenient way to analyze, create, and manipulate (binary) Java class files"; 21 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 22 maintainers = with lib.maintainers; [ copumpkin ]; 23 license = lib.licenses.asl20; 24 platforms = with lib.platforms; unix; 25 }; 26}