{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "nocasedict"; version = "2.0.4"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; hash = "sha256-TKk09l31exDQ/KtfDDnp3MuTV3/58ivvmCZd2/EvivE="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "nocasedict" ]; meta = with lib; { description = "Case-insensitive ordered dictionary for Python"; homepage = "https://github.com/pywbem/nocasedict"; changelog = "https://github.com/pywbem/nocasedict/blob/${version}/docs/changes.rst"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ freezeboy ]; }; }