depot/third_party/nixpkgs/pkgs/development/python-modules/pymysql/default.nix

28 lines
554 B
Nix
Raw Normal View History

{ 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 ];
};
}