60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, robotframework
|
|
, robotframework-pythonlibcore
|
|
, selenium
|
|
, approvaltests
|
|
, pytest-mockito
|
|
, pytestCheckHook
|
|
, robotstatuschecker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "robotframework-seleniumlibrary";
|
|
version = "6.2.0";
|
|
pyproject = true;
|
|
|
|
# no tests included in PyPI tarball
|
|
src = fetchFromGitHub {
|
|
owner = "robotframework";
|
|
repo = "SeleniumLibrary";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-lvtu6z/PD2Ckj70SgDF69BwrhaoA36SDrAvj0XJsmCc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
robotframework
|
|
robotframework-pythonlibcore
|
|
selenium
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
approvaltests
|
|
pytest-mockito
|
|
pytestCheckHook
|
|
robotstatuschecker
|
|
];
|
|
|
|
preCheck = ''
|
|
mkdir utest/output_dir
|
|
'';
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/robotframework/SeleniumLibrary/blob/${src.rev}/docs/SeleniumLibrary-${version}.rst";
|
|
description = "Web testing library for Robot Framework";
|
|
homepage = "https://github.com/robotframework/SeleniumLibrary";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|