blob: 4ddb31f54c58163b4d84a17d56e314f6926fec7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pytest-logdog";
version = "0.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "ods";
repo = "pytest-logdog";
rev = version;
hash = "sha256-Tmoq+KAGzn0MMj29rukDfAc4LSIwC8DoMTuBAppV32I=";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ pytest ];
propagatedBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_logdog" ];
meta = {
description = "Pytest plugin to test logging";
homepage = "https://github.com/ods/pytest-logdog";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|