mysql_jdbc: 5.1.59 -> 8.0.31
Fixes CVE-2019-2692. https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-whats-new.html https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/
This commit is contained in:
parent
351823b3bd
commit
19396e31aa
|
@ -2,16 +2,16 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mysql-connector-java";
|
||||
version = "5.1.49";
|
||||
version = "8.0.31";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-${version}.zip";
|
||||
sha256 = "1bm4mm4xka4pq2rwxx3k8xlcpa1vjcglr3pf4ls2i4hamww047yk";
|
||||
url = "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-${version}.zip";
|
||||
sha256 = "sha256-Wo86n/4mono7YAagI/5Efm/X+2jjpOPaFSCMNAB6btI=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/java
|
||||
cp mysql-connector-java-*-bin.jar $out/share/java/mysql-connector-java.jar
|
||||
cp mysql-connector-j-*.jar $out/share/java/mysql-connector-j.jar
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
|
Loading…
Reference in a new issue