depot/third_party/nixpkgs/pkgs/development/python-modules/robotstatuschecker/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

28 lines
793 B
Nix

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