2018-08-07 07:40:13 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyMySQL";
|
2020-10-03 23:53:13 +01:00
|
|
|
version = "0.10.1";
|
2018-08-07 07:40:13 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-03 23:53:13 +01:00
|
|
|
sha256 = "263040d2779a3b84930f7ac9da5132be0fefcd6f453a885756656103f8ee1fdd";
|
2018-08-07 07:40:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cryptography ];
|
|
|
|
|
|
|
|
# Wants to connect to MySQL
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure Python MySQL Client";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/PyMySQL/PyMySQL";
|
2018-08-07 07:40:13 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.kalbasit ];
|
|
|
|
};
|
|
|
|
}
|