{ lib, buildPythonPackage, fetchPypi, # build-system poetry-core, # tests pytestCheckHook, pyyaml, }: buildPythonPackage rec { pname = "tomlkit"; version = "0.14.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-zwDvykFdvVdXW++x9mNMT0LS2H27o3YSittCwSG4cGQ="; }; build-system = [ poetry-core ]; nativeCheckInputs = [ pyyaml pytestCheckHook ]; pythonImportsCheck = [ "tomlkit" ]; meta = { homepage = "https://github.com/sdispater/tomlkit"; changelog = "https://github.com/sdispater/tomlkit/blob/${version}/CHANGELOG.md"; description = "Style-preserving TOML library for Python"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jakewaksbaum ]; }; }