Unverified Commit 56e2046d authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python313Packages.structlog: 25.1.0 -> 25.2.0 (#389314)

parents 06c01cba 756c2907
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
{
  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 ];
  };
}