From 756c29072dfd0d8c5aea099f525230ae34c58f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 12 Mar 2025 11:46:24 -0700 Subject: [PATCH] python313Packages.structlog: 25.1.0 -> 25.2.0 Diff: https://github.com/hynek/structlog/compare/refs/tags/25.1.0...25.2.0 Changelog: https://github.com/hynek/structlog/blob/25.2.0/CHANGELOG.md --- .../python-modules/structlog/default.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/structlog/default.nix b/pkgs/development/python-modules/structlog/default.nix index fcb9186cd4ed..daa590535044 100644 --- a/pkgs/development/python-modules/structlog/default.nix +++ b/pkgs/development/python-modules/structlog/default.nix @@ -1,30 +1,31 @@ { lib, + better-exceptions, buildPythonPackage, fetchFromGitHub, freezegun, + greenlet, hatch-fancy-pypi-readme, hatch-vcs, hatchling, pretend, pytest-asyncio, pytestCheckHook, - pythonOlder, + rich, simplejson, + twisted, }: buildPythonPackage rec { pname = "structlog"; - version = "25.1.0"; + version = "25.2.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "hynek"; repo = "structlog"; tag = version; - hash = "sha256-zhIiDy+Wnt03WDc4BwQpSfiZorDf8BHiORCw8TotgJU="; + hash = "sha256-sDJZMAXOfcBx+PgKt48nsATEiR5QvAfyrCP+qWiTzrc="; }; build-system = [ @@ -34,20 +35,24 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + better-exceptions freezegun + greenlet pretend pytest-asyncio pytestCheckHook + rich simplejson + twisted ]; pythonImportsCheck = [ "structlog" ]; - meta = with lib; { + meta = { description = "Painless structural logging"; homepage = "https://github.com/hynek/structlog"; changelog = "https://github.com/hynek/structlog/blob/${src.tag}/CHANGELOG.md"; - license = licenses.asl20; - maintainers = with maintainers; [ dotlambda ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dotlambda ]; }; }