23 lines
422 B
Nix
23 lines
422 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
cryptography,
|
|
setuptools
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pymysql";
|
|
version = "1.0.3";
|
|
format = "pyproject";
|
|
src = fetchPypi {
|
|
pname = "PyMySQL";
|
|
inherit version;
|
|
sha256 = "sha256-PdqUPvNpQGinXWnQcXVdvsrO4a35ofxbIGgw0rZ9Jeg=";
|
|
};
|
|
buildInputs = [setuptools];
|
|
propagatedBuildInputs = [cryptography];
|
|
|
|
# Wants to connect to MySQL
|
|
doCheck = false;
|
|
}
|