60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
43 lines
894 B
Nix
43 lines
894 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, jsonschema
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "robotframework";
|
|
version = "7.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "robotframework";
|
|
repo = "robotframework";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-IyOm2MTHj2rOew/IkyGIfI4XZSFU88+Tx8KHKIRT2G4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|