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