commonsBcel: 5.2 -> 6.6.1

Fixes CVE-2022-42920.
https://www.apache.org/dist/commons/bcel/RELEASE-NOTES.txt
This commit is contained in:
Thomas Gerbet 2022-11-27 17:54:37 +01:00
parent 3586ad34ff
commit fa7fb1afe9

View file

@ -1,18 +1,18 @@
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "5.2";
version = "6.6.1";
pname = "commons-bcel";
src = fetchurl {
url = "mirror://apache/commons/bcel/binaries/bcel-${version}.tar.gz";
sha256 = "13ppnd6afljdjq21jpn4ik2h1yxq8k2kg21ghi0lyb1yap1rd7k6";
url = "mirror://apache/commons/bcel/binaries/bcel-${version}-bin.tar.gz";
sha256 = "sha256-bwbERZqnmXD2LzGilDZYsr7BPQoTeZDwDU/8/AjAdP4=";
};
installPhase = ''
tar xf ${src}
mkdir -p $out/share/java
cp bcel-5.2.jar $out/share/java/
cp bcel-${version}.jar $out/share/java/
'';
meta = {