summary refs log tree commit diff
path: root/pkgs/development/tools/rubocop/default.nix
blob: 9a6393977d7fbee1b373f7a096931ac863dac519 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, bundlerEnv, ruby, bundlerUpdateScript }:

bundlerEnv {
  pname = "rubocop";

  inherit ruby;

  gemdir = ./.;

  passthru.updateScript = bundlerUpdateScript "rubocop";

  meta = with lib; {
    description = "Automatic Ruby code style checking tool";
    homepage = "https://docs.rubocop.org/";
    license = licenses.mit;
    maintainers = with maintainers; [ marsam leemachin ];
    platforms = platforms.unix;
  };
}