2018-08-07 07:40:13 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cryptography
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyMySQL";
|
2019-01-02 19:48:01 +00:00
|
|
|
version = "0.9.3";
|
2018-08-07 07:40:13 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-02 19:48:01 +00:00
|
|
|
sha256 = "1ry8lxgdc1p3k7gbw20r405jqi5lvhi5wk83kxdbiv8xv3f5kh6q";
|
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";
|
|
|
|
homepage = https://github.com/PyMySQL/PyMySQL;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.kalbasit ];
|
|
|
|
};
|
|
|
|
}
|