1{ lib, buildPythonPackage, fetchFromGitHub, python, robotframework }: 2 3buildPythonPackage rec { 4 version = "3.0.1"; 5 pname = "robotstatuschecker"; 6 7 # no tests included in PyPI tarball 8 src = fetchFromGitHub { 9 owner = "robotframework"; 10 repo = "statuschecker"; 11 rev = "refs/tags/v${version}"; 12 hash = "sha256-yW6353gDwo/IzoWOB8oelaS6IUbvTtwwDT05yD7w6UA="; 13 }; 14 15 propagatedBuildInputs = [ robotframework ]; 16 17 checkPhase = '' 18 ${python.interpreter} test/run.py 19 ''; 20 21 meta = with lib; { 22 description = "A tool for checking that Robot Framework test cases have expected statuses and log messages"; 23 homepage = "https://github.com/robotframework/statuschecker"; 24 license = licenses.asl20; 25 maintainers = [ maintainers.marsam ]; 26 }; 27}