about summary refs log tree commit diff
path: root/pkgs/development/python-modules/robotframework-tidy/default.nix
blob: f89e7c88c78ad5265be2e54a619ba5e1f7a2d2a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 ];
  };
}