9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
27 lines
768 B
Nix
27 lines
768 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, python, robotframework }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.0.1";
|
|
pname = "robotstatuschecker";
|
|
|
|
# no tests included in PyPI tarball
|
|
src = fetchFromGitHub {
|
|
owner = "robotframework";
|
|
repo = "statuschecker";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-yW6353gDwo/IzoWOB8oelaS6IUbvTtwwDT05yD7w6UA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ robotframework ];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} test/run.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|