2024-01-13 08:15:51 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, poetry-core
|
|
|
|
}:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qmk_dotty_dict";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.3.1";
|
|
|
|
pyproject = true;
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pawelzny";
|
|
|
|
repo = "dotty_dict";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-kY7o9wgfsV7oc5twOeuhG47C0Js6JzCt02S9Sd8dSGc=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/pawelzny/dotty_dict";
|
2021-12-06 16:07:01 +00:00
|
|
|
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.
|
|
|
|
'';
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ babariviere ];
|
|
|
|
};
|
|
|
|
}
|