mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
3e86a0b496
Use gemdir and pname as suggested by @zimbatm Fix silly typo
18 lines
379 B
Nix
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;
|
|
};
|
|
}
|