brakeman: migrate to by-name

brakeman: 6.1.2 -> 7.1.0

brakeman: fix changelog version with let binding

+13 -11
pkgs/development/tools/analysis/brakeman/Gemfile pkgs/by-name/br/brakeman/Gemfile
+3 -3
pkgs/development/tools/analysis/brakeman/Gemfile.lock pkgs/by-name/br/brakeman/Gemfile.lock
··· 1 GEM 2 remote: https://rubygems.org/ 3 specs: 4 - brakeman (6.1.2) 5 racc 6 - racc (1.7.3) 7 8 PLATFORMS 9 ruby ··· 12 brakeman 13 14 BUNDLED WITH 15 - 2.5.5
··· 1 GEM 2 remote: https://rubygems.org/ 3 specs: 4 + brakeman (7.1.0) 5 racc 6 + racc (1.8.1) 7 8 PLATFORMS 9 ruby ··· 12 brakeman 13 14 BUNDLED WITH 15 + 2.6.9
+6 -2
pkgs/development/tools/analysis/brakeman/default.nix pkgs/by-name/br/brakeman/package.nix
··· 5 bundlerUpdateScript, 6 }: 7 8 bundlerApp { 9 pname = "brakeman"; 10 exes = [ "brakeman" ]; ··· 12 13 passthru.updateScript = bundlerUpdateScript "brakeman"; 14 15 - meta = with lib; { 16 description = "Static analysis security scanner for Ruby on Rails"; 17 homepage = "https://brakemanscanner.org/"; 18 changelog = "https://github.com/presidentbeef/brakeman/blob/v${version}/CHANGES.md"; 19 - license = [ licenses.unfreeRedistributable ]; 20 platforms = ruby.meta.platforms; 21 maintainers = [ ]; 22 mainProgram = "brakeman";
··· 5 bundlerUpdateScript, 6 }: 7 8 + let 9 + gems = import ./gemset.nix; 10 + version = gems.brakeman.version; 11 + in 12 bundlerApp { 13 pname = "brakeman"; 14 exes = [ "brakeman" ]; ··· 16 17 passthru.updateScript = bundlerUpdateScript "brakeman"; 18 19 + meta = { 20 description = "Static analysis security scanner for Ruby on Rails"; 21 homepage = "https://brakemanscanner.org/"; 22 changelog = "https://github.com/presidentbeef/brakeman/blob/v${version}/CHANGES.md"; 23 + license = lib.licenses.unfreeRedistributable; 24 platforms = ruby.meta.platforms; 25 maintainers = [ ]; 26 mainProgram = "brakeman";
+4 -4
pkgs/development/tools/analysis/brakeman/gemset.nix pkgs/by-name/br/brakeman/gemset.nix
··· 5 platforms = [ ]; 6 source = { 7 remotes = [ "https://rubygems.org" ]; 8 - sha256 = "1lylig4vgnw9l1ybwgxdi9nw9q2bc5dcplklg8nsbi7j32f7c5kp"; 9 type = "gem"; 10 }; 11 - version = "6.1.2"; 12 }; 13 racc = { 14 groups = [ "default" ]; 15 platforms = [ ]; 16 source = { 17 remotes = [ "https://rubygems.org" ]; 18 - sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp"; 19 type = "gem"; 20 }; 21 - version = "1.7.3"; 22 }; 23 }
··· 5 platforms = [ ]; 6 source = { 7 remotes = [ "https://rubygems.org" ]; 8 + sha256 = "1bs8bm3qj2wfy5h1bp8qi1d3vjw5zabhnq5rr288802kbakhiixv"; 9 type = "gem"; 10 }; 11 + version = "7.1.0"; 12 }; 13 racc = { 14 groups = [ "default" ]; 15 platforms = [ ]; 16 source = { 17 remotes = [ "https://rubygems.org" ]; 18 + sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa"; 19 type = "gem"; 20 }; 21 + version = "1.8.1"; 22 }; 23 }
-2
pkgs/top-level/all-packages.nix
··· 1608 1609 azure-cli-extensions = recurseIntoAttrs azure-cli.extensions; 1610 1611 - brakeman = callPackage ../development/tools/analysis/brakeman { }; 1612 - 1613 # Derivation's result is not used by nixpkgs. Useful for validation for 1614 # regressions of bootstrapTools on hydra and on ofborg. Example: 1615 # pkgsCross.aarch64-multiplatform.freshBootstrapTools.build
··· 1608 1609 azure-cli-extensions = recurseIntoAttrs azure-cli.extensions; 1610 1611 # Derivation's result is not used by nixpkgs. Useful for validation for 1612 # regressions of bootstrapTools on hydra and on ofborg. Example: 1613 # pkgsCross.aarch64-multiplatform.freshBootstrapTools.build