Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 628 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 cryptography, 7}: 8 9buildPythonPackage rec { 10 pname = "pymysql"; 11 version = "1.1.2"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "pymysql"; 16 inherit version; 17 hash = "sha256-SWHT4WVhSuZQFONhgRpyTiBErT6jc53pkDrnwh9TnwM="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 propagatedBuildInputs = [ cryptography ]; 23 24 # Wants to connect to MySQL 25 doCheck = false; 26 27 meta = { 28 description = "Pure Python MySQL Client"; 29 homepage = "https://github.com/PyMySQL/PyMySQL"; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.kalbasit ]; 32 }; 33}