17 buildPythonPackage rec {
20 format = "setuptools";
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-5aORpuh0ezA3mUEpAPANDkdeN8ujNRfCUCV5qamMk68=";
36 optional-dependencies = {
42 yaml = [ ruamel-yaml ];
43 ruamel-yaml = [ ruamel-yaml ];
45 tomli = [ tomli-w ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
47 msgpack = [ msgpack ];
50 nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.all;
52 pythonImportsCheck = [ "box" ];
55 description = "Python dictionaries with advanced dot notation access";
56 homepage = "https://github.com/cdgriffith/Box";
57 changelog = "https://github.com/cdgriffith/Box/blob/${version}/CHANGES.rst";
58 license = with licenses; [ mit ];
59 maintainers = with maintainers; [ fab ];