2022-11-20 14:47:13 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchFromGitHub,
|
2023-11-27 11:28:11 -08:00
|
|
|
setuptools,
|
2024-03-24 16:10:11 -07:00
|
|
|
robotframework,
|
|
|
|
approvaltests,
|
2022-11-20 14:47:13 -08:00
|
|
|
pytest-mockito,
|
|
|
|
pytestCheckHook,
|
2023-11-27 11:28:11 -08:00
|
|
|
typing-extensions,
|
2022-11-20 14:47:13 -08:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "robotframework-pythonlibcore";
|
2024-07-08 03:29:59 -07:00
|
|
|
version = "4.4.1";
|
2022-11-20 14:47:13 -08:00
|
|
|
|
2023-11-27 11:28:11 -08:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-11-20 14:47:13 -08:00
|
|
|
|
2023-11-27 11:28:11 -08:00
|
|
|
pyproject = true;
|
2022-11-20 14:47:13 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "robotframework";
|
|
|
|
repo = "PythonLibCore";
|
2023-07-22 12:42:58 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-08 03:29:59 -07:00
|
|
|
hash = "sha256-5RUi65+DljCqWoB8vZxc0hyIefEFOWuKluplXrD0SkI=";
|
2022-11-20 14:47:13 -08:00
|
|
|
};
|
|
|
|
|
2024-03-24 16:10:11 -07:00
|
|
|
build-system = [ setuptools ];
|
2023-11-27 11:28:11 -08:00
|
|
|
|
2024-03-24 16:10:11 -07:00
|
|
|
dependencies = [ robotframework ];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2024-03-24 16:10:11 -07:00
|
|
|
approvaltests
|
2022-11-20 14:47:13 -08:00
|
|
|
pytest-mockito
|
|
|
|
pytestCheckHook
|
2023-11-27 11:28:11 -08:00
|
|
|
typing-extensions
|
2022-11-20 14:47:13 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "robotlibcore" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/robotframework/PythonLibCore/blob/${src.rev}/docs/PythonLibCore-${version}.rst";
|
|
|
|
description = "Tools to ease creating larger test libraries for Robot Framework using Python";
|
|
|
|
homepage = "https://github.com/robotframework/PythonLibCore";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|