python3Packages.mysql-connector: 8.0.18 -> 8.0.19

This commit is contained in:
Michael Weiss 2020-01-14 21:14:49 +01:00
parent da05d714a7
commit f67b539c07
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -1,19 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub
, protobuf
, python3, protobuf3_6
}:
buildPythonPackage rec {
let
python = python3.override {
packageOverrides = self: super: {
protobuf = super.protobuf.override {
protobuf = protobuf3_6;
};
};
};
in buildPythonPackage rec {
pname = "mysql-connector";
version = "8.0.18";
version = "8.0.19";
src = fetchFromGitHub {
owner = "mysql";
repo = "mysql-connector-python";
rev = version;
sha256 = "0pf91vbjigjv621dar47r741yvmdmapxh60wp20nzvlx0xchbmcm";
sha256 = "1jscmc5s7mwx43gvxjlqc30ylp5jjpmkqx7s3b9nllbh926p3ixg";
};
propagatedBuildInputs = [ protobuf ];
propagatedBuildInputs = with python.pkgs; [ protobuf dnspython ];
# Tests are failing (TODO: unknown reason)
# TypeError: __init__() missing 1 required positional argument: 'string'