brakeman: migrate to by-name

brakeman: 6.1.2 -> 7.1.0

brakeman: fix changelog version with let binding
This commit is contained in:
Guy Chronister
2025-08-03 12:52:15 +00:00
parent 66f60a8979
commit 2ccf06c42e
5 changed files with 13 additions and 11 deletions
@@ -1,9 +1,9 @@
GEM
remote: https://rubygems.org/
specs:
brakeman (6.1.2)
brakeman (7.1.0)
racc
racc (1.7.3)
racc (1.8.1)
PLATFORMS
ruby
@@ -12,4 +12,4 @@ DEPENDENCIES
brakeman
BUNDLED WITH
2.5.5
2.6.9
@@ -5,19 +5,19 @@
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1lylig4vgnw9l1ybwgxdi9nw9q2bc5dcplklg8nsbi7j32f7c5kp";
sha256 = "1bs8bm3qj2wfy5h1bp8qi1d3vjw5zabhnq5rr288802kbakhiixv";
type = "gem";
};
version = "6.1.2";
version = "7.1.0";
};
racc = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp";
sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa";
type = "gem";
};
version = "1.7.3";
version = "1.8.1";
};
}
@@ -5,6 +5,10 @@
bundlerUpdateScript,
}:
let
gems = import ./gemset.nix;
version = gems.brakeman.version;
in
bundlerApp {
pname = "brakeman";
exes = [ "brakeman" ];
@@ -12,11 +16,11 @@ bundlerApp {
passthru.updateScript = bundlerUpdateScript "brakeman";
meta = with lib; {
meta = {
description = "Static analysis security scanner for Ruby on Rails";
homepage = "https://brakemanscanner.org/";
changelog = "https://github.com/presidentbeef/brakeman/blob/v${version}/CHANGES.md";
license = [ licenses.unfreeRedistributable ];
license = lib.licenses.unfreeRedistributable;
platforms = ruby.meta.platforms;
maintainers = [ ];
mainProgram = "brakeman";
-2
View File
@@ -1608,8 +1608,6 @@ with pkgs;
azure-cli-extensions = recurseIntoAttrs azure-cli.extensions;
brakeman = callPackage ../development/tools/analysis/brakeman { };
# Derivation's result is not used by nixpkgs. Useful for validation for
# regressions of bootstrapTools on hydra and on ofborg. Example:
# pkgsCross.aarch64-multiplatform.freshBootstrapTools.build