5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
34 lines
629 B
Nix
34 lines
629 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, cryptography
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymysql";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "PyMySQL";
|
|
inherit version;
|
|
hash = "sha256-TxOn34vzalHoHdnzYF/t5FpIeP4C+SNjSf2Co/BhL5Y=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|