Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 19cb4832c2ec
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0162890ce064
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 28, 2020

  1. Copy the full SHA
    0162890 View commit details
Showing with 5 additions and 10 deletions.
  1. +5 −10 pkgs/development/python-modules/mysql-connector/default.nix
15 changes: 5 additions & 10 deletions pkgs/development/python-modules/mysql-connector/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
{ lib, buildPythonPackage, fetchFromGitHub, python, protobuf3_6 }:
{ lib, buildPythonPackage, fetchFromGitHub, python }:

let
py = python.override {
packageOverrides = self: super: {
protobuf = super.protobuf.override {
protobuf = protobuf3_6;
};
};
};
py = python;
in buildPythonPackage rec {
pname = "mysql-connector";
version = "8.0.19";
version = "8.0.20";

src = fetchFromGitHub {
owner = "mysql";
repo = "mysql-connector-python";
rev = version;
sha256 = "1jscmc5s7mwx43gvxjlqc30ylp5jjpmkqx7s3b9nllbh926p3ixg";
sha256 = "1pm98mjbkhwawhni98cjhp0gg3mim75i0sdby77vzrlcrxajxkbw";
};

propagatedBuildInputs = with py.pkgs; [ protobuf dnspython ];
@@ -33,6 +27,7 @@ in buildPythonPackage rec {
implements the DB API v2.0 specification.
'';
homepage = "https://github.com/mysql/mysql-connector-python";
changelog = "https://raw.githubusercontent.com/mysql/mysql-connector-python/${version}/CHANGES.txt";
license = [ lib.licenses.gpl2 ];
maintainers = with lib.maintainers; [ primeos ];
};