Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchFromGitHub, python, robotframework }: 2 3buildPythonPackage rec { 4 version = "3.0.0"; 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-7xHPqlR7IFZp3Z120mg25ZSg9eI878kE8RF1y3F5O70="; 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}