summary refs log tree commit diff
path: root/pkgs/development/python-modules/mysqlclient/default.nix
blob: 0be0f892d731b0d6afca93260c1a842f33c33d99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchPypi, libmysql }:

buildPythonPackage rec {
  pname = "mysqlclient";
  version = "1.3.12";

  buildInputs = [
    libmysql
  ];

  # Tests need a MySQL database
  doCheck = false;

  src = fetchPypi {
    inherit pname version;
    sha256 = "2d9ec33de39f4d9c64ad7322ede0521d85829ce36a76f9dd3d6ab76a9c8648e5";
  };

  meta = with stdenv.lib; {
    description = "Python interface to MySQL";
    homepage = "https://github.com/PyMySQL/mysqlclient-python";
    license = licenses.gpl1;
    maintainers = with maintainers; [ y0no ];
  };
}