about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/qmk-dotty-dict/default.nix
blob: 39b7fe21b88c7b32b6bac99e625e8eae8b13ceb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ buildPythonPackage
, fetchFromGitHub
, lib
, poetry-core
}:

buildPythonPackage rec {
  pname = "qmk_dotty_dict";
  version = "1.3.1";
  pyproject = true;

  src = fetchFromGitHub  {
    owner = "pawelzny";
    repo = "dotty_dict";
    rev = "refs/tags/v${version}";
    hash = "sha256-kY7o9wgfsV7oc5twOeuhG47C0Js6JzCt02S9Sd8dSGc=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/pawelzny/dotty_dict";
    description = "Dictionary wrapper for quick access to deeply nested keys";
    longDescription = ''
      This is a version of dotty-dict by QMK (https://qmk.fm) since the original
      dotty-dict published to pypi has non-ASCII characters that breaks with
      some non-UTF8 locale settings.
    '';
    license = licenses.mit;
    maintainers = with maintainers; [ babariviere ];
  };
}