about summary refs log tree commit diff
path: root/pkgs/by-name/ro
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-03-25 14:59:38 -0400
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-03-26 09:20:51 +0000
commit3a63585e611af58c0dfbe3171dcac2a130fba85e (patch)
treedf0bb0dd7311b85e995a76a3b14c1b735496c3b8 /pkgs/by-name/ro
parent2280ed68b57697a35ca1f32698c55fb99e643cd8 (diff)
robotframework-tidy: move from python3Packages.robotframework-tidy
(cherry picked from commit 82754c4dee7828280f84dd2cd052d0ba65e1e477)
Diffstat (limited to 'pkgs/by-name/ro')
-rw-r--r--pkgs/by-name/ro/robotframework-tidy/package.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/ro/robotframework-tidy/package.nix b/pkgs/by-name/ro/robotframework-tidy/package.nix
new file mode 100644
index 0000000000000..7acac862a50f7
--- /dev/null
+++ b/pkgs/by-name/ro/robotframework-tidy/package.nix
@@ -0,0 +1,42 @@
+{
+  lib,
+  python3,
+  fetchFromGitHub,
+}:
+
+python3.pkgs.buildPythonApplication 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 = with python3.pkgs; [ setuptools ];
+
+  dependencies = with python3.pkgs; [
+    robotframework
+    click
+    colorama
+    pathspec
+    tomli
+    rich-click
+    jinja2
+    tomli-w
+  ];
+
+  nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
+
+  meta = with lib; {
+    description = "Code autoformatter for Robot Framework";
+    homepage = "https://robotidy.readthedocs.io";
+    changelog = "https://github.com/MarketSquare/robotframework-tidy/blob/main/docs/releasenotes/${version}.rst";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ otavio ];
+    mainProgram = "robotidy";
+  };
+}