Files
nixpkgs/pkgs/development/python-modules/fluent-logger/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

47 lines
824 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
msgpack,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fluent-logger";
version = "0.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fluent";
repo = "fluent-logger-python";
rev = "refs/tags/v${version}";
hash = "sha256-PfyjJZT5K/IMsyyWNZdh/CZf+uZHeJGfhyAPuu0IhJk=";
};
build-system = [ hatchling ];
dependencies = [ msgpack ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"fluent"
"fluent.event"
"fluent.handler"
"fluent.sender"
];
meta = with lib; {
description = "Structured logger for Fluentd (Python)";
homepage = "https://github.com/fluent/fluent-logger-python";
license = licenses.asl20;
};
}