Unverified Commit ae37b7fe authored by Jon Seager's avatar Jon Seager
Browse files

python3Packages.logassert: init at 8.2

parent c292ac95
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  flake8,
  structlog,
}:

buildPythonPackage rec {
  pname = "logassert";
  version = "8.2";

  pyproject = true;

  src = fetchFromGitHub {
    owner = "facundobatista";
    repo = "logassert";
    tag = version;
    hash = "sha256-wtSX1jAHanHCF58cSNluChWY3lrrsgludnnW+xVJuOo=";
  };

  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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7748,6 +7748,8 @@ self: super: with self; {
  log-symbols = callPackage ../development/python-modules/log-symbols { };
  logassert = callPackage ../development/python-modules/logassert { };
  logbook = callPackage ../development/python-modules/logbook { };
  logfury = callPackage ../development/python-modules/logfury { };