depot/third_party/nixpkgs/pkgs/development/python-modules/robotstatuschecker/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

27 lines
770 B
Nix

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