pythonPackages.pymysql: 0.6.6 -> 0.9.2; move to python-modules
This commit is contained in:
parent
1faec393f1
commit
16cfc2a602
27
pkgs/development/python-modules/pymysql/default.nix
Normal file
27
pkgs/development/python-modules/pymysql/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -352,6 +352,8 @@ in {
|
|||||||
|
|
||||||
plantuml = callPackage ../tools/misc/plantuml { };
|
plantuml = callPackage ../tools/misc/plantuml { };
|
||||||
|
|
||||||
|
pymysql = callPackage ../development/python-modules/pymysql { };
|
||||||
|
|
||||||
Pmw = callPackage ../development/python-modules/Pmw { };
|
Pmw = callPackage ../development/python-modules/Pmw { };
|
||||||
|
|
||||||
py_stringmatching = callPackage ../development/python-modules/py_stringmatching { };
|
py_stringmatching = callPackage ../development/python-modules/py_stringmatching { };
|
||||||
@ -8097,25 +8099,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pymysql = buildPythonPackage rec {
|
|
||||||
name = "pymysql-${version}";
|
|
||||||
version = "0.6.6";
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = https://github.com/PyMySQL/PyMySQL.git;
|
|
||||||
rev = "refs/tags/pymysql-${version}";
|
|
||||||
sha256 = "0kpw11rxpyyhs9b139hxhbnx9n5kzjjw10wgwvhnf9m3mv7j4n71";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ unittest2 ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
${python.interpreter} runtests.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Wants to connect to MySQL
|
|
||||||
doCheck = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
pymysqlsa = self.buildPythonPackage rec {
|
pymysqlsa = self.buildPythonPackage rec {
|
||||||
name = "pymysqlsa-${version}";
|
name = "pymysqlsa-${version}";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user