blob: 30881b90f3fdb8a280ccc04976a9f1fa0475b1a0 (
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
48
49
50
51
|
{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
attrs,
pluggy,
six,
allure-python-commons-test,
setuptools-scm,
python,
}:
buildPythonPackage rec {
pname = "allure-python-commons";
version = "2.13.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ojLnlVgR+Yjkmkwd1sFszn6bgdDqBCKx5WVNMlTiyvM=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
attrs
pluggy
six
allure-python-commons-test
];
checkPhase = ''
${python.interpreter} -m doctest ./src/utils.py
${python.interpreter} -m doctest ./src/mapping.py
'';
pythonImportsCheck = [
"allure"
"allure_commons"
];
meta = with lib; {
description = "Common engine for all modules. It is useful for make integration with your homemade frameworks";
homepage = "https://github.com/allure-framework/allure-python";
license = licenses.asl20;
maintainers = with maintainers; [ evanjs ];
};
}
|