Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 27 lines 540 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, cryptography 5}: 6 7buildPythonPackage rec { 8 pname = "PyMySQL"; 9 version = "0.9.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1ry8lxgdc1p3k7gbw20r405jqi5lvhi5wk83kxdbiv8xv3f5kh6q"; 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}