1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 setuptools, 7 robotframework, 8 approvaltests, 9 pytest-mockito, 10 pytestCheckHook, 11 typing-extensions, 12}: 13 14buildPythonPackage rec { 15 pname = "robotframework-pythonlibcore"; 16 version = "4.4.1"; 17 18 disabled = pythonOlder "3.8"; 19 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "robotframework"; 24 repo = "PythonLibCore"; 25 tag = "v${version}"; 26 hash = "sha256-5RUi65+DljCqWoB8vZxc0hyIefEFOWuKluplXrD0SkI="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ robotframework ]; 32 33 nativeCheckInputs = [ 34 approvaltests 35 pytest-mockito 36 pytestCheckHook 37 typing-extensions 38 ]; 39 40 pythonImportsCheck = [ "robotlibcore" ]; 41 42 meta = { 43 changelog = "https://github.com/robotframework/PythonLibCore/blob/${src.rev}/docs/PythonLibCore-${version}.rst"; 44 description = "Tools to ease creating larger test libraries for Robot Framework using Python"; 45 homepage = "https://github.com/robotframework/PythonLibCore"; 46 license = lib.licenses.asl20; 47 maintainers = with lib.maintainers; [ dotlambda ]; 48 }; 49}