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