diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-06-18 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-06-18 04:20:00 +0000 |
commit | e30e177ff1dd68a38353edf1abc9c7064318c14d (patch) | |
tree | 35fb7a141d0ff5d9657be26ebafcd26727ef7678 /pkgs/development/tools | |
parent | 1a7a786dc1a5d0ed154c49cdd2017e2b6b7f0643 (diff) | |
download | nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.tar nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.tar.gz nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.tar.bz2 nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.tar.lz nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.tar.xz nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.tar.zst nixpkgs-e30e177ff1dd68a38353edf1abc9c7064318c14d.zip |
brakeman: 5.0.0 -> 5.0.4
Diffstat (limited to 'pkgs/development/tools')
4 files changed, 34 insertions, 7 deletions
diff --git a/pkgs/development/tools/analysis/brakeman/Gemfile b/pkgs/development/tools/analysis/brakeman/Gemfile new file mode 100644 index 00000000000..1ff5490b0a7 --- /dev/null +++ b/pkgs/development/tools/analysis/brakeman/Gemfile @@ -0,0 +1,2 @@ +source "https://rubygems.org" +gem "brakeman" diff --git a/pkgs/development/tools/analysis/brakeman/Gemfile.lock b/pkgs/development/tools/analysis/brakeman/Gemfile.lock new file mode 100644 index 00000000000..13425cf9ee7 --- /dev/null +++ b/pkgs/development/tools/analysis/brakeman/Gemfile.lock @@ -0,0 +1,13 @@ +GEM + remote: https://rubygems.org/ + specs: + brakeman (5.0.4) + +PLATFORMS + ruby + +DEPENDENCIES + brakeman + +BUNDLED WITH + 2.1.4 diff --git a/pkgs/development/tools/analysis/brakeman/default.nix b/pkgs/development/tools/analysis/brakeman/default.nix index 3ac6b34f948..72c4b1fbc3e 100644 --- a/pkgs/development/tools/analysis/brakeman/default.nix +++ b/pkgs/development/tools/analysis/brakeman/default.nix @@ -1,11 +1,11 @@ -{ lib, ruby, buildRubyGem }: +{ lib, ruby, bundlerApp, bundlerUpdateScript }: -buildRubyGem rec { - inherit ruby; - name = "${gemName}-${version}"; - gemName = "brakeman"; - version = "5.0.0"; - source.sha256 = "0k1ynqsr9b0vnxqb7d5hbdk4q1i98zjzdnx4y1ylikz4rmkizf91"; +bundlerApp rec { + pname = "brakeman"; + exes = [ "brakeman" ]; + gemdir = ./.; + + passthru.updateScript = bundlerUpdateScript "brakeman"; meta = with lib; { description = "Static analysis security scanner for Ruby on Rails"; diff --git a/pkgs/development/tools/analysis/brakeman/gemset.nix b/pkgs/development/tools/analysis/brakeman/gemset.nix new file mode 100644 index 00000000000..f37158353e0 --- /dev/null +++ b/pkgs/development/tools/analysis/brakeman/gemset.nix @@ -0,0 +1,12 @@ +{ + brakeman = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1czqmrqbli2cnw4vv4pzz8bk78c7lpcnnyba74cj632swv1za6jd"; + type = "gem"; + }; + version = "5.0.4"; + }; +} |