{ buildPythonPackage, fetchPypi, poetry-core, sqlparse, }: buildPythonPackage rec { pname = "sql-metadata"; version = "2.11.0"; src = fetchPypi { pname = "sql_metadata"; inherit version; sha256 = "sha256-8jtwjOVYIh8so3YOtKuFa0+AVAtc9RczrZeRO8VGhis="; }; format = "pyproject"; propagatedBuildInputs = [ poetry-core sqlparse ]; }