depot/third_party/nixpkgs/pkgs/development/python-modules/qmk-dotty-dict/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

35 lines
849 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 = [ ];
};
}