depot/third_party/nixpkgs/pkgs/development/python-modules/mysqlclient/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

29 lines
612 B
Nix

{ lib, buildPythonPackage, fetchPypi, libmysqlclient }:
buildPythonPackage rec {
pname = "mysqlclient";
version = "2.1.1";
nativeBuildInputs = [
libmysqlclient
];
buildInputs = [
libmysqlclient
];
# Tests need a MySQL database
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-godX5Bn7Ed1sXtJXbsksPvqpOg98OeJjWG0e53nD14I=";
};
meta = with lib; {
description = "Python interface to MySQL";
homepage = "https://github.com/PyMySQL/mysqlclient-python";
license = licenses.gpl2Only;
maintainers = with maintainers; [ y0no ];
};
}