{ lib , buildPythonPackage , pythonOlder , fetchPypi , setuptoolsBuildHook , attrs , cattrs , toml , pytestCheckHook , click }: buildPythonPackage rec { pname = "typed-settings"; version = "0.11.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; sha256 = "sha256-gcyOeUyRAwU5s+XoQO/yM0tx7QHjDsBeyoe5HRZHtIs="; }; nativeBuildInputs = [ setuptoolsBuildHook ]; propagatedBuildInputs = [ attrs cattrs toml ]; preCheck = '' pushd tests ''; checkInputs = [ click pytestCheckHook ]; disabledTests = [ # mismatches in click help output "test_help" ]; postCheck = '' popd ''; meta = { description = "Typed settings based on attrs classes"; homepage = "https://gitlab.com/sscherfke/typed-settings"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fridh ]; }; }