diff options
Diffstat (limited to 'pkgs/development/python-modules/robotframework-tidy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/robotframework-tidy/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/robotframework-tidy/default.nix b/pkgs/development/python-modules/robotframework-tidy/default.nix new file mode 100644 index 0000000000000..f89e7c88c78ad --- /dev/null +++ b/pkgs/development/python-modules/robotframework-tidy/default.nix @@ -0,0 +1,46 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + robotframework, + click, + colorama, + pathspec, + tomli, + rich-click, + jinja2, +}: + +buildPythonPackage rec { + pname = "robotframework-tidy"; + version = "4.11.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "MarketSquare"; + repo = "robotframework-tidy"; + rev = "${version}"; + hash = "sha256-pWW7Ex184WgnPfqHg5qQjfE+9UPvCmE5pwkY8jrp9bI="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + robotframework + click + colorama + pathspec + tomli + rich-click + jinja2 + ]; + + meta = with lib; { + changelog = "https://github.com/MarketSquare/robotframework-tidy/blob/main/docs/releasenotes/${version}.rst"; + description = "Code autoformatter for Robot Framework"; + homepage = "https://robotidy.readthedocs.io"; + license = licenses.asl20; + maintainers = with maintainers; [ otavio ]; + }; +} |