1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest7CheckHook, 6 pythonOlder, 7 six, 8}: 9 10buildPythonPackage rec { 11 pname = "nocaselist"; 12 version = "2.0.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-MnCLcAoaUxM+a7XMUzMsl3Wwx8lZpflyV5MXH9L0yKU="; 20 }; 21 22 propagatedBuildInputs = [ six ]; 23 24 nativeCheckInputs = [ pytest7CheckHook ]; 25 26 pythonImportsCheck = [ "nocaselist" ]; 27 28 meta = with lib; { 29 description = "A case-insensitive list for Python"; 30 homepage = "https://github.com/pywbem/nocaselist"; 31 changelog = "https://github.com/pywbem/nocaselist/blob/${version}/docs/changes.rst"; 32 license = licenses.lgpl21Plus; 33 maintainers = with maintainers; [ freezeboy ]; 34 }; 35}