1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 robotframework,
7 python,
8}:
9
10buildPythonPackage rec {
11 pname = "robotstatuschecker";
12 version = "4.1.1";
13 pyproject = true;
14
15 # no tests included in PyPI tarball
16 src = fetchFromGitHub {
17 owner = "robotframework";
18 repo = "statuschecker";
19 tag = "v${version}";
20 hash = "sha256-YyiGd3XSIe+4PEL2l9LYDGH3lt1iRAAJflcBGYXaBzY=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [ robotframework ];
26
27 checkPhase = ''
28 runHook preCheck
29
30 ${python.interpreter} test/run.py
31
32 runHook postCheck
33 '';
34
35 meta = with lib; {
36 description = "Tool for checking that Robot Framework test cases have expected statuses and log messages";
37 homepage = "https://github.com/robotframework/statuschecker";
38 license = licenses.asl20;
39 maintainers = [ ];
40 };
41}