nixpkgs/pkgs/development/python-modules/robotframework-pythonlibcore/default.nix
2026-02-01 17:38:49 +01:00

46 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
robotframework,
approvaltests,
pytest-mockito,
pytestCheckHook,
typing-extensions,
}:
buildPythonPackage rec {
pname = "robotframework-pythonlibcore";
version = "4.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "robotframework";
repo = "PythonLibCore";
tag = "v${version}";
hash = "sha256-tkPESNRO34q5yH5Y2iHMQe/z18QiAvvzhjhMafxxUWI=";
};
build-system = [ setuptools ];
dependencies = [ robotframework ];
nativeCheckInputs = [
approvaltests
pytest-mockito
pytestCheckHook
typing-extensions
];
pythonImportsCheck = [ "robotlibcore" ];
meta = {
changelog = "https://github.com/robotframework/PythonLibCore/blob/${src.tag}/docs/PythonLibCore-${src.tag}.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 ];
};
}