c283f32d29
Auto-fixed by nixf-diagnose.
35 lines
758 B
Nix
35 lines
758 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 = [ ];
|
|
};
|
|
}
|