Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.mysql-connector: init at 8.0.6
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
pkgs/development/python-modules/mysql-connector/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
primeos
Author
Member
|
||
|
||
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@primeos Next time, please add a comment with the reason, e.g. "requires a MySQL server to be set up".