Merge pull request #298990 from NickCao/298365-followup
robotframework-tidy: move from python3Packages.robotframework-tidy
This commit is contained in:
commit
1c0f361bd6
2 changed files with 10 additions and 16 deletions
|
@ -1,18 +1,10 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
python3,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
setuptools,
|
|
||||||
robotframework,
|
|
||||||
click,
|
|
||||||
colorama,
|
|
||||||
pathspec,
|
|
||||||
tomli,
|
|
||||||
rich-click,
|
|
||||||
jinja2,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "robotframework-tidy";
|
pname = "robotframework-tidy";
|
||||||
version = "4.11.0";
|
version = "4.11.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
@ -20,13 +12,13 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MarketSquare";
|
owner = "MarketSquare";
|
||||||
repo = "robotframework-tidy";
|
repo = "robotframework-tidy";
|
||||||
rev = "${version}";
|
rev = version;
|
||||||
hash = "sha256-pWW7Ex184WgnPfqHg5qQjfE+9UPvCmE5pwkY8jrp9bI=";
|
hash = "sha256-pWW7Ex184WgnPfqHg5qQjfE+9UPvCmE5pwkY8jrp9bI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = with python3.pkgs; [ setuptools ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = with python3.pkgs; [
|
||||||
robotframework
|
robotframework
|
||||||
click
|
click
|
||||||
colorama
|
colorama
|
||||||
|
@ -34,13 +26,17 @@ buildPythonPackage rec {
|
||||||
tomli
|
tomli
|
||||||
rich-click
|
rich-click
|
||||||
jinja2
|
jinja2
|
||||||
|
tomli-w
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/MarketSquare/robotframework-tidy/blob/main/docs/releasenotes/${version}.rst";
|
|
||||||
description = "Code autoformatter for Robot Framework";
|
description = "Code autoformatter for Robot Framework";
|
||||||
homepage = "https://robotidy.readthedocs.io";
|
homepage = "https://robotidy.readthedocs.io";
|
||||||
|
changelog = "https://github.com/MarketSquare/robotframework-tidy/blob/main/docs/releasenotes/${version}.rst";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ otavio ];
|
maintainers = with maintainers; [ otavio ];
|
||||||
|
mainProgram = "robotidy";
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -13099,8 +13099,6 @@ self: super: with self; {
|
||||||
|
|
||||||
robotframework-sshlibrary = callPackage ../development/python-modules/robotframework-sshlibrary { };
|
robotframework-sshlibrary = callPackage ../development/python-modules/robotframework-sshlibrary { };
|
||||||
|
|
||||||
robotframework-tidy = callPackage ../development/python-modules/robotframework-tidy { };
|
|
||||||
|
|
||||||
robotframework-tools = callPackage ../development/python-modules/robotframework-tools { };
|
robotframework-tools = callPackage ../development/python-modules/robotframework-tools { };
|
||||||
|
|
||||||
robotstatuschecker = callPackage ../development/python-modules/robotstatuschecker { };
|
robotstatuschecker = callPackage ../development/python-modules/robotstatuschecker { };
|
||||||
|
|
Loading…
Reference in a new issue