pythonPackages.mysql-connector: init at 8.0.6
This commit is contained in:
parent
ec2e601871
commit
09ee3770dd
30
pkgs/development/python-modules/mysql-connector/default.nix
Normal file
30
pkgs/development/python-modules/mysql-connector/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchFromGitHub
|
||||||
|
, protobuf
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mysql-connector";
|
||||||
|
version = "8.0.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mysql";
|
||||||
|
repo = "mysql-connector-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1ygr7va56da12yp3gr7kzss9zgbs28q2lmdkw16rpxj108id4rkp";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ protobuf ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A MySQL driver";
|
||||||
|
longDescription = ''
|
||||||
|
A MySQL driver that does not depend on MySQL C client libraries and
|
||||||
|
implements the DB API v2.0 specification.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/mysql/mysql-connector-python;
|
||||||
|
license = [ lib.licenses.gpl2 ];
|
||||||
|
maintainers = with lib.maintainers; [ primeos ];
|
||||||
|
};
|
||||||
|
}
|
@ -10869,6 +10869,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mysql-connector = callPackage ../development/python-modules/mysql-connector { };
|
||||||
|
|
||||||
mysql_connector_repackaged = buildPythonPackage rec {
|
mysql_connector_repackaged = buildPythonPackage rec {
|
||||||
name = "mysql-connector-repackaged-0.3.1";
|
name = "mysql-connector-repackaged-0.3.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user