depot/third_party/nixpkgs/pkgs/development/python-modules/pymysql/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

27 lines
555 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cryptography
}:
buildPythonPackage rec {
pname = "PyMySQL";
version = "0.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "263040d2779a3b84930f7ac9da5132be0fefcd6f453a885756656103f8ee1fdd";
};
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 ];
};
}