From f52cb0a6b40d8991863a53e3733ec8f94b57e1ae Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 8 Dec 2018 12:55:49 -0500 Subject: [PATCH] pythonPackages.robotstatuschecker: init at 1.3 --- .../robotstatuschecker/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/robotstatuschecker/default.nix diff --git a/pkgs/development/python-modules/robotstatuschecker/default.nix b/pkgs/development/python-modules/robotstatuschecker/default.nix new file mode 100644 index 000000000000..1a2ef201c50d --- /dev/null +++ b/pkgs/development/python-modules/robotstatuschecker/default.nix @@ -0,0 +1,27 @@ +{ stdenv, buildPythonPackage, fetchFromGitHub, python, robotframework }: + +buildPythonPackage rec { + version = "1.3"; + pname = "robotstatuschecker"; + + # no tests included in PyPI tarball + src = fetchFromGitHub { + owner = "robotframework"; + repo = "statuschecker"; + rev = version; + sha256 = "0rppwwpp4djn5c43x7icwslnxbzcfnnn3c6awpg1k97j69d2nmln"; + }; + + propagatedBuildInputs = [ robotframework ]; + + checkPhase = '' + ${python.interpreter} test/run.py + ''; + + meta = with stdenv.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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f00e2b4cb0fa..c8ac1a62be92 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3810,6 +3810,8 @@ in { robotframework-tools = callPackage ../development/python-modules/robotframework-tools { }; + robotstatuschecker = callPackage ../development/python-modules/robotstatuschecker { }; + robotsuite = callPackage ../development/python-modules/robotsuite { }; serpent = callPackage ../development/python-modules/serpent { };