1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchFromGitHub,
6 setuptools,
7 jsonschema,
8 python,
9}:
10
11buildPythonPackage rec {
12 pname = "robotframework";
13 version = "7.0";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "robotframework";
20 repo = "robotframework";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-IyOm2MTHj2rOew/IkyGIfI4XZSFU88+Tx8KHKIRT2G4=";
23 };
24
25 nativeBuildInputs = [ setuptools ];
26
27 nativeCheckInputs = [ jsonschema ];
28
29 checkPhase = ''
30 ${python.interpreter} utest/run.py
31 '';
32
33 meta = with lib; {
34 changelog = "https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-${version}.rst";
35 description = "Generic test automation framework";
36 homepage = "https://robotframework.org/";
37 license = licenses.asl20;
38 maintainers = with maintainers; [ bjornfor ];
39 };
40}