2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, python, robotframework }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "2.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "robotstatuschecker";
|
|
|
|
|
|
|
|
# no tests included in PyPI tarball
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "robotframework";
|
|
|
|
repo = "statuschecker";
|
2022-04-15 01:41:22 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "0hy1390j3l4kkfna9x9xax4y5mqaa3hdndv3fiyg9wr5f7sx3wnz";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ robotframework ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} test/run.py
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A tool for checking that Robot Framework test cases have expected statuses and log messages";
|
|
|
|
homepage = "https://github.com/robotframework/statuschecker";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|