1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 poetry-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "dotty-dict";
11 version = "1.3.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "pawelzny";
16 repo = "dotty_dict";
17 tag = "v${version}";
18 hash = "sha256-kY7o9wgfsV7oc5twOeuhG47C0Js6JzCt02S9Sd8dSGc=";
19 };
20
21 build-system = [ poetry-core ];
22
23 pythonImportsCheck = [ "dotty_dict" ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 meta = {
28 description = "Dictionary wrapper for quick access to deeply nested keys";
29 homepage = "https://dotty-dict.readthedocs.io";
30 changelog = "https://github.com/pawelzny/dotty_dict/releases/tag/${src.tag}";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ ];
33 };
34}