2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
poetry-core,
|
2024-01-13 08:15:51 +00:00
|
|
|
}:
|
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-06-05 15:53:02 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-01-13 08:15:51 +00:00
|
|
|
owner = "pawelzny";
|
|
|
|
repo = "dotty_dict";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-kY7o9wgfsV7oc5twOeuhG47C0Js6JzCt02S9Sd8dSGc=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +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;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|