mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
28 lines
540 B
Nix
28 lines
540 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, cryptography
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "PyMySQL";
|
||
|
version = "0.9.2";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "0gvi63f1zq1bbd30x28kqyx351hal1yc323ckp0mihainb5n1iwy";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|