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.3.2";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "robotframework";
20 repo = "robotframework";
21 tag = "v${version}";
22 hash = "sha256-JxZI0i9Aj/TX4BkIi+jeBdTy0ckv5Fdy5tHRI9vQ8Ss=";
23 };
24
25 build-system = [ setuptools ];
26
27 nativeCheckInputs = [ jsonschema ];
28
29 checkPhase = ''
30 ${python.interpreter} utest/run.py
31 '';
32
33 meta = {
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 = lib.licenses.asl20;
38 maintainers = with lib.maintainers; [ bjornfor ];
39 };
40}