depot/third_party/nixpkgs/pkgs/development/python-modules/robotstatuschecker/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

27 lines
771 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, python, robotframework }:
buildPythonPackage rec {
version = "2.1.0";
pname = "robotstatuschecker";
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "robotframework";
repo = "statuschecker";
rev = "refs/tags/v${version}";
sha256 = "0hy1390j3l4kkfna9x9xax4y5mqaa3hdndv3fiyg9wr5f7sx3wnz";
};
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 ];
};
}