Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
596 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
libmysqlclient,
pkg-config,
}:
buildPythonPackage rec {
pname = "mysqlclient";
version = "2.2.7";
format = "setuptools";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libmysqlclient ];
# Tests need a MySQL database
doCheck = false;
src = fetchPypi {
inherit pname version;
hash = "sha256-JK4itZQW1fzOfpnJ03VINQtFZbqsgvleFJysbOQWOEU=";
};
meta = with lib; {
description = "Python interface to MySQL";
homepage = "https://github.com/PyMySQL/mysqlclient-python";
license = licenses.gpl2Only;
};
}