159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
40 lines
891 B
Nix
40 lines
891 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
jsonschema,
|
|
python,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "robotframework";
|
|
version = "7.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "robotframework";
|
|
repo = "robotframework";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-nzkgJdSWbFcAnAqRTq4+Wy1lqdz+Xxf2i4RKnj/A5SA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ jsonschema ];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} utest/run.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-${version}.rst";
|
|
description = "Generic test automation framework";
|
|
homepage = "https://robotframework.org/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
};
|
|
}
|