uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
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.9.0.1)
|
||||
bundler (>= 1.2.0, < 3)
|
||||
thor (~> 1.0)
|
||||
thor (1.1.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bundler-audit
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.20
|
||||
29
pkgs/tools/security/bundler-audit/default.nix
Normal file
29
pkgs/tools/security/bundler-audit/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ bundlerEnv, ruby, lib, bundlerUpdateScript }:
|
||||
|
||||
bundlerEnv rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "bundler-audit";
|
||||
version = (import ./gemset.nix).bundler-audit.version;
|
||||
|
||||
inherit ruby;
|
||||
gemdir = ./.;
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "bundler-audit";
|
||||
|
||||
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";
|
||||
changelog = "https://github.com/rubysec/bundler-audit/blob/v${version}/ChangeLog.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ primeos nicknovitski ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
23
pkgs/tools/security/bundler-audit/gemset.nix
Normal file
23
pkgs/tools/security/bundler-audit/gemset.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
bundler-audit = {
|
||||
dependencies = ["thor"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "05k19l5388248rd74cn2lm2ksci7fzmga74n835v7k31m4kbzw8v";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.9.0.1";
|
||||
};
|
||||
thor = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "18yhlvmfya23cs3pvhr1qy38y41b6mhr5q9vwv5lrgk16wmf3jna";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.0";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue