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