e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
36 lines
880 B
Nix
36 lines
880 B
Nix
{ 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 ];
|
|
};
|
|
}
|