Jon Seager 9ed7bc4de3
python3Packages.logassert: 8.2 -> 8.4
Signed-off-by: Jon Seager <jon@sgrs.uk>
2025-06-03 12:58:15 +01:00

43 lines
890 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
flake8,
structlog,
}:
buildPythonPackage rec {
pname = "logassert";
version = "8.4";
pyproject = true;
src = fetchFromGitHub {
owner = "facundobatista";
repo = "logassert";
tag = version;
hash = "sha256-GKGNvOZde8Q6X5h+QC5936qTDWpcXYHuLXpsGuxw1Mw=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "logassert" ];
nativeCheckInputs = [
flake8
pytestCheckHook
structlog
];
meta = {
description = "A simple Log Assertion mechanism for Python unittests";
homepage = "https://github.com/facundobatista/logassert";
changelog = "https://github.com/facundobatista/logassert/releases/tag/${version}";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ jnsgruk ];
platforms = lib.platforms.linux;
};
}