python310Packages.robotframework-pythonlibcore: init at 4.0.0
This commit is contained in:
parent
16647a4379
commit
bcdde34a89
2 changed files with 55 additions and 0 deletions
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytest-mockito
|
||||
, pytestCheckHook
|
||||
, robotframework
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "robotframework-pythonlibcore";
|
||||
version = "4.0.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robotframework";
|
||||
repo = "PythonLibCore";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-86o5Lh9zWo4vUF2186dN7e8tTUu5PIxM/ZukPwNl0S8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-finding-version.patch";
|
||||
url = "https://github.com/robotframework/PythonLibCore/commit/84c73979e309f59de057ae6a77725ab0f468b71f.patch";
|
||||
hash = "sha256-zrjsNvXpJDLpXql200NV+QGWFLtnRVZTeAjT52dRn2s=";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-mockito
|
||||
pytestCheckHook
|
||||
robotframework
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export PYTHONPATH="atest:utest/helpers:$PYTHONPATH"
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -9816,6 +9816,8 @@ self: super: with self; {
|
|||
|
||||
robotframework-databaselibrary = callPackage ../development/python-modules/robotframework-databaselibrary { };
|
||||
|
||||
robotframework-pythonlibcore = callPackage ../development/python-modules/robotframework-pythonlibcore { };
|
||||
|
||||
robotframework-requests = callPackage ../development/python-modules/robotframework-requests { };
|
||||
|
||||
robotframework-selenium2library = callPackage ../development/python-modules/robotframework-selenium2library { };
|
||||
|
|
Loading…
Reference in a new issue