nixpkgs-suyu/pkgs/development/python-modules/pymysql/default.nix
2021-04-03 17:49:09 +02:00

27 lines
554 B
Nix

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