{ lib, buildPythonPackage, pytestCheckHook, fetchFromGitHub, setuptools, }: buildPythonPackage (finalAttrs: { pname = "crossplane"; version = "0.5.8"; pyproject = true; __structuredAttrs = true; src = fetchFromGitHub { owner = "nginxinc"; repo = "crossplane"; tag = "v${finalAttrs.version}"; hash = "sha256-DfIF+JvjIREi7zd5ZQ7Co/CIKC5iUeOgR/VLDPmrtTQ="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "crossplane" ]; meta = { description = "NGINX configuration file parser and builder"; mainProgram = "crossplane"; homepage = "https://github.com/nginxinc/crossplane"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ kaction ]; }; })