Merge pull request #58814 from primeos/bundler-audit
bundler-audit: init at 0.6.1
This commit is contained in:
commit
ef5fd41a11
2
pkgs/tools/security/bundler-audit/Gemfile
Normal file
2
pkgs/tools/security/bundler-audit/Gemfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
source 'https://rubygems.org'
|
||||||
|
gem 'bundler-audit'
|
16
pkgs/tools/security/bundler-audit/Gemfile.lock
Normal file
16
pkgs/tools/security/bundler-audit/Gemfile.lock
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
bundler-audit (0.6.1)
|
||||||
|
bundler (>= 1.2.0, < 3)
|
||||||
|
thor (~> 0.18)
|
||||||
|
thor (0.20.3)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
bundler-audit
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
1.14.6
|
26
pkgs/tools/security/bundler-audit/default.nix
Normal file
26
pkgs/tools/security/bundler-audit/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ bundlerEnv, ruby, lib }:
|
||||||
|
|
||||||
|
bundlerEnv rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "bundler-audit";
|
||||||
|
version = (import ./gemset.nix).bundler-audit.version;
|
||||||
|
|
||||||
|
inherit ruby;
|
||||||
|
gemdir = ./.;
|
||||||
|
|
||||||
|
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.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/rubysec/bundler-audit;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ primeos ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
19
pkgs/tools/security/bundler-audit/gemset.nix
Normal file
19
pkgs/tools/security/bundler-audit/gemset.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
bundler-audit = {
|
||||||
|
dependencies = ["thor"];
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "0pm22xpn3xyymsainixnrk8v3l3xi9bzwkjkspx00cfzp84xvxbq";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "0.6.1";
|
||||||
|
};
|
||||||
|
thor = {
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "1yhrnp9x8qcy5vc7g438amd5j9sw83ih7c30dr6g6slgw9zj3g29";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "0.20.3";
|
||||||
|
};
|
||||||
|
}
|
@ -8285,6 +8285,8 @@ in
|
|||||||
bundlerEnv = callPackage ../development/ruby-modules/bundler-env { };
|
bundlerEnv = callPackage ../development/ruby-modules/bundler-env { };
|
||||||
bundlerApp = callPackage ../development/ruby-modules/bundler-app { };
|
bundlerApp = callPackage ../development/ruby-modules/bundler-app { };
|
||||||
|
|
||||||
|
bundler-audit = callPackage ../tools/security/bundler-audit { };
|
||||||
|
|
||||||
solargraph = callPackage ../development/ruby-modules/solargraph { };
|
solargraph = callPackage ../development/ruby-modules/solargraph { };
|
||||||
|
|
||||||
inherit (callPackage ../development/interpreters/ruby {
|
inherit (callPackage ../development/interpreters/ruby {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user