nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, libmysqlclient }:
2
3buildPythonPackage rec {
4 pname = "mysqlclient";
5 version = "2.1.0";
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 = "973235686f1b720536d417bf0a0d39b4ab3d5086b2b6ad5e6752393428c02b12";
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}