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