python3Packages.pytest-logdog: init at 0.1.0

This commit is contained in:
Fabian Affolter
2022-01-14 14:38:16 +01:00
parent 2b7f7b4b66
commit 5eb7d1ed25
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "pytest-logdog";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ods";
repo = pname;
rev = version;
hash = "sha256-Tmoq+KAGzn0MMj29rukDfAc4LSIwC8DoMTuBAppV32I=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
buildInputs = [
pytest
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pytest_logdog"
];
meta = with lib; {
description = "Pytest plugin to test logging";
homepage = "https://github.com/ods/pytest-logdog";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -7678,6 +7678,8 @@ in {
pytest-localserver = callPackage ../development/python-modules/pytest-localserver { };
pytest-logdog = callPackage ../development/python-modules/pytest-logdog{ };
pytest-metadata = callPackage ../development/python-modules/pytest-metadata { };
pytest-mock = callPackage ../development/python-modules/pytest-mock { };