{ lib, buildPythonPackage, fetchPypi, marshmallow, packaging, pytestCheckHook, setuptools, validators, }: buildPythonPackage rec { pname = "faraday-agent-parameters-types"; version = "1.8.1"; pyproject = true; src = fetchPypi { pname = "faraday_agent_parameters_types"; inherit version; hash = "sha256-o4N1op+beeoM0GGtcQGWNfFt6SMDohiNnOyD8lWzuk0="; }; pythonRelaxDeps = [ "validators" ]; postPatch = '' substituteInPlace setup.py \ --replace-warn '"pytest-runner",' "" ''; build-system = [ setuptools ]; dependencies = [ marshmallow packaging validators ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "faraday_agent_parameters_types" "faraday_agent_parameters_types.utils" ]; disabledTests = [ # assert 'Version requested not valid' in "Invalid version: 'hola'" "test_incorrect_version_requested" ]; meta = { description = "Collection of Faraday agent parameters types"; homepage = "https://github.com/infobyte/faraday_agent_parameters_types"; changelog = "https://github.com/infobyte/faraday_agent_parameters_types/blob/${version}/CHANGELOG.md"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; }