dependencies: replaced deprecated mysql-python for mysqlclient which is a maintained lib
This commit is contained in:
parent
971b015bdf
commit
720c82426c
3 changed files with 7 additions and 7 deletions
|
|
@ -110,7 +110,7 @@ self: super: {
|
|||
];
|
||||
});
|
||||
|
||||
"mysql-python" = super."mysql-python".override (attrs: {
|
||||
"mysqlclient" = super."mysqlclient".override (attrs: {
|
||||
buildInputs = [
|
||||
pkgs.openssl
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1061,12 +1061,12 @@ self: super: {
|
|||
license = [ pkgs.lib.licenses.asl20 ];
|
||||
};
|
||||
};
|
||||
"mysql-python" = super.buildPythonPackage {
|
||||
name = "mysql-python-1.2.5";
|
||||
"mysqlclient" = super.buildPythonPackage {
|
||||
name = "mysqlclient-1.4.6";
|
||||
doCheck = false;
|
||||
src = fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip";
|
||||
sha256 = "0x0c2jg0bb3pp84njaqiic050qkyd7ymwhfvhipnimg58yv40441";
|
||||
url = "https://files.pythonhosted.org/packages/d0/97/7326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a/mysqlclient-1.4.6.tar.gz";
|
||||
sha256 = "f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16";
|
||||
};
|
||||
meta = {
|
||||
license = [ pkgs.lib.licenses.gpl1 ];
|
||||
|
|
@ -1969,7 +1969,7 @@ self: super: {
|
|||
self."zope.deprecation"
|
||||
self."zope.event"
|
||||
self."zope.interface"
|
||||
self."mysql-python"
|
||||
self."mysqlclient"
|
||||
self."pymysql"
|
||||
self."pysqlite"
|
||||
self."psycopg2"
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ zope.event==4.4.0
|
|||
zope.interface==4.6.0
|
||||
|
||||
# DB drivers
|
||||
mysql-python==1.2.5
|
||||
mysqlclient==1.4.6
|
||||
pymysql==0.8.1
|
||||
pysqlite==2.8.3
|
||||
psycopg2==2.8.4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue