1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "red-black-tree-mod"; 12 version = "1.22"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-OONlKQOiv5Y3nCfCCCygt7kFFYZi3X7wyX9P2TqaqQg="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 # Module has no test 25 doCheck = false; 26 27 pythonImportsCheck = [ "red_black_dict_mod" ]; 28 29 meta = with lib; { 30 description = "Flexible python implementation of red black trees"; 31 homepage = "https://stromberg.dnsalias.org/~strombrg/red-black-tree-mod/"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}