{ lib , buildPythonPackage , fetchPypi , marshmallow , packaging , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "faraday-agent-parameters-types"; version = "1.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { pname = "faraday_agent_parameters_types"; inherit version; hash = "sha256-jQgE/eR8Gd9nMGijH9unhHCrLUn7DbWFkTauoz3O/sM="; }; propagatedBuildInputs = [ marshmallow packaging ]; nativeCheckInputs = [ pytestCheckHook ]; postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner",' "" ''; pythonImportsCheck = [ "faraday_agent_parameters_types" "faraday_agent_parameters_types.utils" ]; meta = with lib; { 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 = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; }; }