{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, }: buildPythonPackage rec { pname = "ttp-templates"; version = "0.3.7"; pyproject = true; src = fetchFromGitHub { owner = "dmulyalin"; repo = "ttp_templates"; tag = version; hash = "sha256-Pntm/wUv/K0ci8U/+nBUVszuX8KT95gyp+i2N6NshKo="; }; nativeBuildInputs = [ poetry-core ]; postPatch = '' # Drop circular dependency on ttp sed -i '/ttp =/d' pyproject.toml ''; # Circular dependency on ttp doCheck = false; meta = { description = "Template Text Parser Templates collections"; homepage = "https://github.com/dmulyalin/ttp_templates"; changelog = "https://github.com/dmulyalin/ttp_templates/releases/tag/${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; }