1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "dotmap"; 10 version = "1.3.30"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-WCGnkz8HX7R1Y0F8DpLgt8AxFYtMmmp+VhY0ebZYs2g="; 18 }; 19 20 nativeCheckInputs = [ 21 pytestCheckHook 22 ]; 23 24 pytestFlagsArray = [ 25 "dotmap/test.py" 26 ]; 27 28 pythonImportsCheck = [ 29 "dotmap" 30 ]; 31 32 meta = with lib; { 33 description = "Python for dot-access dictionaries"; 34 homepage = "https://github.com/drgrib/dotmap"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}