nixpkgs/pkgs/development/python-modules/pymysql/default.nix
2020-04-10 17:54:53 +01:00

27 lines
542 B
Nix

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