blob: de4e08428d5a1fc79dc62cf1b0fbec3f3e2a6464 (
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
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-emoji";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "hackebrot";
repo = "pytest-emoji";
tag = version;
hash = "sha256-GuKBbIIODDnMi9YMX3zR4Jc3cbK+Zibj1ZeWvYkUY24=";
};
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_emoji" ];
disabledTests = [
# Test scompare CLI output
"test_emoji_disabled_by_default_verbose"
"test_emoji_enabled_verbose"
"test_emoji_enabled_custom_verbose"
];
meta = {
description = "Pytest plugin that adds emojis to test result report";
homepage = "https://github.com/hackebrot/pytest-emoji";
changelog = "https://github.com/hackebrot/pytest-emoji/releases/tag/0.2.0";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|