2019-07-22 12:02:47 +00:00
|
|
|
{ bundlerEnv, ruby, lib, bundlerUpdateScript }:
|
2019-04-02 15:21:22 +00:00
|
|
|
|
|
|
|
bundlerEnv rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "bundler-audit";
|
|
|
|
version = (import ./gemset.nix).bundler-audit.version;
|
|
|
|
|
|
|
|
inherit ruby;
|
|
|
|
gemdir = ./.;
|
|
|
|
|
2019-07-22 12:02:47 +00:00
|
|
|
passthru.updateScript = bundlerUpdateScript "bundler-audit";
|
|
|
|
|
2019-04-02 15:21:22 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Patch-level verification for Bundler";
|
|
|
|
longDescription = ''
|
|
|
|
Features:
|
|
|
|
- Checks for vulnerable versions of gems in Gemfile.lock.
|
|
|
|
- Checks for insecure gem sources (http://).
|
|
|
|
- Allows ignoring certain advisories that have been manually worked around.
|
|
|
|
- Prints advisory information.
|
|
|
|
- Does not require a network connection.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/rubysec/bundler-audit";
|
2020-06-13 13:15:10 +00:00
|
|
|
changelog = "https://github.com/rubysec/bundler-audit/blob/v${version}/ChangeLog.md";
|
2019-04-02 15:21:22 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2019-07-22 12:02:47 +00:00
|
|
|
maintainers = with maintainers; [ primeos nicknovitski ];
|
2019-04-02 15:21:22 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|