1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/tools/rubocop/default.nix
Lee Machin 3e86a0b496 Add rubocop linter for Ruby (#21934)
Use gemdir and pname as suggested by @zimbatm

Fix silly typo
2017-01-17 09:55:23 +00:00

18 lines
379 B
Nix

{ stdenv, lib, bundlerEnv, ruby, makeWrapper }:
bundlerEnv rec {
pname = "rubocop";
inherit ruby;
gemdir = ./.;
meta = with lib; {
description = "Automatic Ruby code style checking tool";
homepage = http://rubocop.readthedocs.io/en/latest/;
license = licenses.mit;
maintainers = with maintainers; [ leemachin ];
platforms = platforms.unix;
};
}