about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pymysql/default.nix
blob: 1b5a00c27ac13f4277ad939d475f46a4ae583af4 (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
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, cryptography
}:

buildPythonPackage rec {
  pname = "pymysql";
  version = "1.1.0";
  pyproject = true;

  src = fetchPypi {
    pname = "PyMySQL";
    inherit version;
    hash = "sha256-TxOn34vzalHoHdnzYF/t5FpIeP4C+SNjSf2Co/BhL5Y=";
  };

  build-system = [
    setuptools
  ];

  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 ];
  };
}