summary refs log tree commit diff
path: root/pkgs/development/python-modules/pymysql/default.nix
blob: b440df309977c90935b745d2f930bf359800dc11 (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
26
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 ];
  };
}