aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/robotstatuschecker
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/robotstatuschecker')
-rw-r--r--pkgs/development/python-modules/robotstatuschecker/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/robotstatuschecker/default.nix b/pkgs/development/python-modules/robotstatuschecker/default.nix
new file mode 100644
index 00000000000..1a2ef201c50
--- /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 ];
+ };
+}