1{ lib, buildPythonPackage, fetchPypi, libmysqlclient }:
2
3buildPythonPackage rec {
4 pname = "mysqlclient";
5 version = "2.0.3";
6
7 nativeBuildInputs = [
8 libmysqlclient
9 ];
10
11 buildInputs = [
12 libmysqlclient
13 ];
14
15 # Tests need a MySQL database
16 doCheck = false;
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432";
21 };
22
23 meta = with lib; {
24 description = "Python interface to MySQL";
25 homepage = "https://github.com/PyMySQL/mysqlclient-python";
26 license = licenses.gpl1;
27 maintainers = with maintainers; [ y0no ];
28 };
29}