blob: 9edc0a332f8c0efa5f7bb12e73663a72a33c2e79 (
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,
setuptools,
robotframework,
python,
}:
buildPythonPackage rec {
pname = "robotstatuschecker";
version = "4.1.1";
pyproject = true;
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "robotframework";
repo = "statuschecker";
tag = "v${version}";
hash = "sha256-YyiGd3XSIe+4PEL2l9LYDGH3lt1iRAAJflcBGYXaBzY=";
};
build-system = [ setuptools ];
dependencies = [ robotframework ];
checkPhase = ''
runHook preCheck
${python.interpreter} test/run.py
runHook postCheck
'';
meta = {
description = "Tool for checking that Robot Framework test cases have expected statuses and log messages";
homepage = "https://github.com/robotframework/statuschecker";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|