mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

Diff: https://github.com/hynek/structlog/compare/refs/tags/25.3.0...refs/tags/25.4.0 Changelog: https://github.com/hynek/structlog/blob/25.4.0/CHANGELOG.md
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{
|
|
lib,
|
|
better-exceptions,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
freezegun,
|
|
greenlet,
|
|
hatch-fancy-pypi-readme,
|
|
hatch-vcs,
|
|
hatchling,
|
|
pretend,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
rich,
|
|
simplejson,
|
|
twisted,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "structlog";
|
|
version = "25.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hynek";
|
|
repo = "structlog";
|
|
tag = version;
|
|
hash = "sha256-iNnUogcICQJvHBZO2J8uk4NleQY/ra3ZzxQgnSRKr30=";
|
|
};
|
|
|
|
build-system = [
|
|
hatch-fancy-pypi-readme
|
|
hatch-vcs
|
|
hatchling
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
better-exceptions
|
|
freezegun
|
|
greenlet
|
|
pretend
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
rich
|
|
simplejson
|
|
twisted
|
|
];
|
|
|
|
pythonImportsCheck = [ "structlog" ];
|
|
|
|
meta = {
|
|
description = "Painless structural logging";
|
|
homepage = "https://github.com/hynek/structlog";
|
|
changelog = "https://github.com/hynek/structlog/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|