pythonPackages.pymysql: 0.6.6 -> 0.9.2; move to python-modules

This commit is contained in:
Wael M. Nasreddine
2018-08-06 23:40:13 -07:00
parent 1faec393f1
commit 16cfc2a602
2 changed files with 29 additions and 19 deletions

View File

@@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
}:
buildPythonPackage rec {
pname = "PyMySQL";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "0gvi63f1zq1bbd30x28kqyx351hal1yc323ckp0mihainb5n1iwy";
};
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 ];
};
}