20 lines
427 B
Nix
20 lines
427 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|