Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 543 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, cryptography 5}: 6 7buildPythonPackage rec { 8 pname = "PyMySQL"; 9 version = "0.10.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0dwqw556qmjl5359wsylnh5kmw3ns8qkw1pn1gwf0l70hjy70h71"; 14 }; 15 16 propagatedBuildInputs = [ cryptography ]; 17 18 # Wants to connect to MySQL 19 doCheck = false; 20 21 meta = with lib; { 22 description = "Pure Python MySQL Client"; 23 homepage = "https://github.com/PyMySQL/PyMySQL"; 24 license = licenses.mit; 25 maintainers = [ maintainers.kalbasit ]; 26 }; 27}