1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 setuptools, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "nocasedict"; 12 version = "2.1.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-tWPVhRy7DgsQ+7YYm6h+BhLSLlpvOgBKRXOrWziqqn0="; 18 }; 19 20 build-system = [ 21 setuptools 22 setuptools-scm 23 ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 pythonImportsCheck = [ "nocasedict" ]; 28 29 meta = with lib; { 30 description = "Case-insensitive ordered dictionary for Python"; 31 homepage = "https://github.com/pywbem/nocasedict"; 32 changelog = "https://github.com/pywbem/nocasedict/blob/${version}/docs/changes.rst"; 33 license = licenses.lgpl21Plus; 34 maintainers = with maintainers; [ freezeboy ]; 35 }; 36}