mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
Merge pull request #280422 from r-ryantm/auto-update/python311Packages.robotframework
python311Packages.robotframework: 6.1.1 -> 7.0
This commit is contained in:
commit
630cc6b1ca
@ -1,24 +1,40 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, jsonschema }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, jsonschema
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "robotframework";
|
||||
version = "6.1.1";
|
||||
format = "setuptools";
|
||||
version = "7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "robotframework";
|
||||
repo = "robotframework";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vtP0TVkCMrm0CRXlpZvVTBf7yd8+3p+nRArMWyQUn4k=";
|
||||
hash = "sha256-IyOm2MTHj2rOew/IkyGIfI4XZSFU88+Tx8KHKIRT2G4=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ jsonschema ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jsonschema
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
python3 utest/run.py
|
||||
${python.interpreter} utest/run.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/robotframework/robotframework/blob/master/doc/releasenotes/rf-${version}.rst";
|
||||
description = "Generic test automation framework";
|
||||
homepage = "https://robotframework.org/";
|
||||
license = licenses.asl20;
|
||||
|
@ -1,9 +1,15 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, python, robotframework }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, robotframework
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.0.1";
|
||||
format = "setuptools";
|
||||
pname = "robotstatuschecker";
|
||||
version = "3.0.1";
|
||||
pyproject = true;
|
||||
|
||||
# no tests included in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
@ -13,10 +19,24 @@ buildPythonPackage rec {
|
||||
hash = "sha256-yW6353gDwo/IzoWOB8oelaS6IUbvTtwwDT05yD7w6UA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/robotframework/statuschecker/issues/46
|
||||
substituteInPlace test/tests.robot \
|
||||
--replace-fail BuiltIn.Log Log
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ robotframework ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
${python.interpreter} test/run.py
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user