Files
nixpkgs/pkgs/development/python-modules/dotty-dict/default.nix
T
2025-01-10 17:12:00 +09:00

35 lines
780 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dotty-dict";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pawelzny";
repo = "dotty_dict";
tag = "v${version}";
hash = "sha256-kY7o9wgfsV7oc5twOeuhG47C0Js6JzCt02S9Sd8dSGc=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "dotty_dict" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Dictionary wrapper for quick access to deeply nested keys";
homepage = "https://dotty-dict.readthedocs.io";
changelog = "https://github.com/pawelzny/dotty_dict/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}