blob: 5a4f5049d9cc98c3b5279ee30ec6458fc83cd7fd (
plain) (
blame)
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
42
43
44
45
46
47
|
{
lib,
fetchPypi,
buildPythonPackage,
attrs,
pluggy,
six,
pyhamcrest,
setuptools-scm,
python,
}:
buildPythonPackage rec {
pname = "allure-python-commons-test";
version = "2.13.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-pWkLVfBrLEhdhuTE95K3aqrhEY2wEyo5uRzuJC3ngjE=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
attrs
pluggy
six
pyhamcrest
];
checkPhase = ''
${python.interpreter} -m doctest ./src/container.py
${python.interpreter} -m doctest ./src/report.py
${python.interpreter} -m doctest ./src/label.py
${python.interpreter} -m doctest ./src/result.py
'';
pythonImportsCheck = [ "allure_commons_test" ];
meta = with lib; {
description = "Just pack of hamcrest matchers for validation result in allure2 json format";
homepage = "https://github.com/allure-framework/allure-python";
license = licenses.asl20;
maintainers = with maintainers; [ evanjs ];
};
}
|