1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 poetry-core,
6}:
7
8buildPythonPackage rec {
9 pname = "qmk_dotty_dict";
10 version = "1.3.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "pawelzny";
15 repo = "dotty_dict";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-kY7o9wgfsV7oc5twOeuhG47C0Js6JzCt02S9Sd8dSGc=";
18 };
19
20 nativeBuildInputs = [ poetry-core ];
21
22 doCheck = false;
23
24 meta = with lib; {
25 homepage = "https://github.com/pawelzny/dotty_dict";
26 description = "Dictionary wrapper for quick access to deeply nested keys";
27 longDescription = ''
28 This is a version of dotty-dict by QMK (https://qmk.fm) since the original
29 dotty-dict published to pypi has non-ASCII characters that breaks with
30 some non-UTF8 locale settings.
31 '';
32 license = licenses.mit;
33 maintainers = [ ];
34 };
35}