Files
2026-04-28 23:29:29 +02:00

40 lines
830 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyheck,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "dotwiz";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "rnag";
repo = "dotwiz";
tag = "v${version}";
hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A=";
};
build-system = [ setuptools ];
dependencies = [ pyheck ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dotwiz" ];
disabledTestPaths = [ "benchmarks" ];
meta = {
description = "Dict subclass that supports dot access notation";
homepage = "https://github.com/rnag/dotwiz";
changelog = "https://github.com/rnag/dotwiz/blob/${src.tag}/HISTORY.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}