diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 9f576d9df9d5..fdd7825291e2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13509,6 +13509,12 @@ githubId = 322214; name = "Mathnerd314"; }; + mathstlouis = { + email = "matfino+gh@gmail.com"; + github = "mathstlouis"; + githubId = 35696151; + name = "mathstlouis"; + }; matklad = { email = "aleksey.kladov@gmail.com"; github = "matklad"; diff --git a/pkgs/by-name/cf/cfn-nag/Gemfile b/pkgs/by-name/cf/cfn-nag/Gemfile index 7f4f5e950d15..233f201bc4f0 100644 --- a/pkgs/by-name/cf/cfn-nag/Gemfile +++ b/pkgs/by-name/cf/cfn-nag/Gemfile @@ -1,5 +1,5 @@ -# frozen_string_literal: true - source 'https://rubygems.org' - -gemspec +gem 'cfn-nag' +gem 'logger' +gem 'ostruct' +gem 'syslog' diff --git a/pkgs/by-name/cf/cfn-nag/Gemfile.lock b/pkgs/by-name/cf/cfn-nag/Gemfile.lock index 7892e62b052c..7c00936be206 100644 --- a/pkgs/by-name/cf/cfn-nag/Gemfile.lock +++ b/pkgs/by-name/cf/cfn-nag/Gemfile.lock @@ -1,6 +1,25 @@ -PATH - remote: . +GEM + remote: https://rubygems.org/ specs: + aws-eventstream (1.3.0) + aws-partitions (1.1001.0) + aws-sdk-core (3.211.0) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.992.0) + aws-sigv4 (~> 1.9) + jmespath (~> 1, >= 1.6.1) + aws-sdk-kms (1.95.0) + aws-sdk-core (~> 3, >= 3.210.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.169.0) + aws-sdk-core (~> 3, >= 3.210.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.10.1) + aws-eventstream (~> 1, >= 1.0.2) + cfn-model (0.6.6) + kwalify (= 0.7.2) + psych (~> 3) cfn-nag (0.8.10) aws-sdk-s3 (~> 1.76) cfn-model (= 0.6.6) @@ -9,98 +28,30 @@ PATH netaddr (~> 2.0.4) optimist (~> 3.0.0) rexml - -GEM - remote: https://rubygems.org/ - specs: - ast (2.4.2) - aws-eventstream (1.3.0) - aws-partitions (1.982.0) - aws-sdk-core (3.209.1) - aws-eventstream (~> 1, >= 1.3.0) - aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.9) - jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.94.0) - aws-sdk-core (~> 3, >= 3.207.0) - aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.166.0) - aws-sdk-core (~> 3, >= 3.207.0) - aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.5) - aws-sigv4 (1.10.0) - aws-eventstream (~> 1, >= 1.0.2) - cfn-model (0.6.6) - kwalify (= 0.7.2) - psych (~> 3) - diff-lcs (1.5.1) - docile (1.4.1) jmespath (1.6.2) - json (2.7.2) kwalify (0.7.2) - language_server-protocol (3.17.0.3) lightly (0.3.3) little-plugger (1.1.4) + logger (1.6.1) logging (2.2.2) little-plugger (~> 1.1) multi_json (~> 1.10) multi_json (1.15.0) netaddr (2.0.6) optimist (3.0.1) - parallel (1.26.3) - parser (3.3.5.0) - ast (~> 2.4.1) - racc + ostruct (0.6.0) psych (3.3.4) - racc (1.8.1) - rainbow (3.1.1) - rake (13.2.1) - regexp_parser (2.9.2) - rexml (3.3.8) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.3) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - rubocop (1.66.1) - json (~> 2.3) - language_server-protocol (>= 3.17.0) - parallel (~> 1.10) - parser (>= 3.3.0.2) - rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 2.4, < 3.0) - rubocop-ast (>= 1.32.2, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.3) - parser (>= 3.3.1.0) - ruby-progressbar (1.13.0) - simplecov (0.22.0) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov_json_formatter (~> 0.1) - simplecov-html (0.13.1) - simplecov_json_formatter (0.1.4) - unicode-display_width (2.6.0) + rexml (3.3.9) + syslog (0.1.2) PLATFORMS - arm64-darwin-23 ruby DEPENDENCIES - cfn-nag! - rake - rspec (~> 3.4) - rubocop - simplecov (~> 0.21) + cfn-nag + logger + ostruct + syslog BUNDLED WITH - 2.5.11 + 2.3.27 diff --git a/pkgs/by-name/cf/cfn-nag/gemset.nix b/pkgs/by-name/cf/cfn-nag/gemset.nix index c8d2cd75d6cf..621a733e5555 100644 --- a/pkgs/by-name/cf/cfn-nag/gemset.nix +++ b/pkgs/by-name/cf/cfn-nag/gemset.nix @@ -1,17 +1,4 @@ { - ast = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "04nc8x27hlzlrr5c2gn7mar4vdr0apw5xg22wp6m8dx3wqr04a0y"; - type = "gem"; - }; - version = "2.4.2"; - }; aws-eventstream = { groups = [ "default" ]; platforms = [ ]; @@ -27,10 +14,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "075y2zwfqwg7qb7w34bfvp8dkjcmiz6hx5a3rbhpqglnlkav7ir4"; + sha256 = "01w3b84d129q9b6bg2cm8p4cn8pl74l343sxsc47ax9sglqz6y99"; type = "gem"; }; - version = "1.982.0"; + version = "1.1001.0"; }; aws-sdk-core = { dependencies = [ @@ -43,10 +30,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "06mrp7g24ndg55w85ndyrvxfx2v6hnkh5fj32w9s6w3xsc8v5kqq"; + sha256 = "16mvscjhxdyhlvk2rpbxdzqmyikcf64xavb35grk4dkh0pg390rk"; type = "gem"; }; - version = "3.209.1"; + version = "3.211.0"; }; aws-sdk-kms = { dependencies = [ @@ -57,10 +44,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "1acx3bhqkhni3kbl7xnjdgy8raq5y7p0zyniq61bsihzkwcj7imh"; + sha256 = "0ppxhw2qyj69achpmksp1sh2y6k0x44928ln2am9pifx8b30ir9a"; type = "gem"; }; - version = "1.94.0"; + version = "1.95.0"; }; aws-sdk-s3 = { dependencies = [ @@ -72,10 +59,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "0zpww3lxpjg8smmznz2nbx5hrpnkzflbasllxjwprkqr56rrrjap"; + sha256 = "1jnf9k9d91ki3yvy12q4kph5wvd8l3ziwwh0qsmar5xhyb7zbwrz"; type = "gem"; }; - version = "1.166.0"; + version = "1.169.0"; }; aws-sigv4 = { dependencies = [ "aws-eventstream" ]; @@ -83,10 +70,10 @@ platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "176zh13m1vhwgys0drlqiw79ljmmx84vva036shsb7rzr4yi36qm"; + sha256 = "1fq3lbvkgm1vk5wa8l7vdnq3vjnlmsnyf4bbd0jq3qadyd9hf54a"; type = "gem"; }; - version = "1.10.0"; + version = "1.10.1"; }; cfn-model = { dependencies = [ @@ -115,37 +102,12 @@ groups = [ "default" ]; platforms = [ ]; source = { - path = ./.; - type = "path"; + remotes = [ "https://rubygems.org" ]; + sha256 = "0cyk4pimz1g5lqf4vw2p9kf8ji3v53zfi8jix8sgz4ndy81ylah5"; + type = "gem"; }; version = "0.8.10"; }; - diff-lcs = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1znxccz83m4xgpd239nyqxlifdb7m8rlfayk6s259186nkgj6ci7"; - type = "gem"; - }; - version = "1.5.1"; - }; - docile = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "07pj4z3h8wk4fgdn6s62vw1lwvhj0ac0x10vfbdkr9xzk7krn5cn"; - type = "gem"; - }; - version = "1.4.1"; - }; jmespath = { groups = [ "default" ]; platforms = [ ]; @@ -156,19 +118,6 @@ }; version = "1.6.2"; }; - json = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0b4qsi8gay7ncmigr0pnbxyb17y3h8kavdyhsh7nrlqwr35vb60q"; - type = "gem"; - }; - version = "2.7.2"; - }; kwalify = { groups = [ "default" ]; platforms = [ ]; @@ -179,19 +128,6 @@ }; version = "0.7.2"; }; - language_server-protocol = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0gvb1j8xsqxms9mww01rmdl78zkd72zgxaap56bhv8j45z05hp1x"; - type = "gem"; - }; - version = "3.17.0.3"; - }; lightly = { groups = [ "default" ]; platforms = [ ]; @@ -212,6 +148,16 @@ }; version = "1.1.4"; }; + logger = { + groups = [ "default" ]; + platforms = [ ]; + source = { + remotes = [ "https://rubygems.org" ]; + sha256 = "0lwncq2rf8gm79g2rcnnyzs26ma1f4wnfjm6gs4zf2wlsdz5in9s"; + type = "gem"; + }; + version = "1.6.1"; + }; logging = { dependencies = [ "little-plugger" @@ -256,35 +202,15 @@ }; version = "3.0.1"; }; - parallel = { - groups = [ - "default" - "development" - ]; + ostruct = { + groups = [ "default" ]; platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "1vy7sjs2pgz4i96v5yk9b7aafbffnvq7nn419fgvw55qlavsnsyq"; + sha256 = "11dsv71gfbhy92yzj3xkckjzdai2bsz5a4fydgimv62dkz4kc5rv"; type = "gem"; }; - version = "1.26.3"; - }; - parser = { - dependencies = [ - "ast" - "racc" - ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1cqs31cyg2zp8yx2zzm3zkih0j93q870wasbviy2w343nxqvn3pk"; - type = "gem"; - }; - version = "3.3.5.0"; + version = "0.6.0"; }; psych = { groups = [ "default" ]; @@ -296,241 +222,24 @@ }; version = "3.3.4"; }; - racc = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa"; - type = "gem"; - }; - version = "1.8.1"; - }; - rainbow = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0smwg4mii0fm38pyb5fddbmrdpifwv22zv3d3px2xx497am93503"; - type = "gem"; - }; - version = "3.1.1"; - }; - rake = { - groups = [ "development" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "17850wcwkgi30p7yqh60960ypn7yibacjjha0av78zaxwvd3ijs6"; - type = "gem"; - }; - version = "13.2.1"; - }; - regexp_parser = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0ik40vcv7mqigsfpqpca36hpmnx0536xa825ai5qlkv3mmkyf9ss"; - type = "gem"; - }; - version = "2.9.2"; - }; rexml = { groups = [ "default" ]; platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "0rr145mvjgc4n28lfy0gw87aw3ab680h83bdi5i102ik8mixk3zn"; + sha256 = "1j9p66pmfgxnzp76ksssyfyqqrg7281dyi3xyknl3wwraaw7a66p"; type = "gem"; }; - version = "3.3.8"; + version = "3.3.9"; }; - rspec = { - dependencies = [ - "rspec-core" - "rspec-expectations" - "rspec-mocks" - ]; - groups = [ "development" ]; + syslog = { + groups = [ "default" ]; platforms = [ ]; source = { remotes = [ "https://rubygems.org" ]; - sha256 = "14xrp8vq6i9zx37vh0yp4h9m0anx9paw200l1r5ad9fmq559346l"; + sha256 = "12xqgjrnjpc1c7shajyz2h96bw2nlgb4lkaypj58dp6rch7s36sr"; type = "gem"; }; - version = "3.13.0"; - }; - rspec-core = { - dependencies = [ "rspec-support" ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0s688wfw77fjldzayvczg8bgwcgh6bh552dw7qcj1rhjk3r4zalx"; - type = "gem"; - }; - version = "3.13.1"; - }; - rspec-expectations = { - dependencies = [ - "diff-lcs" - "rspec-support" - ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0n3cyrhsa75x5wwvskrrqk56jbjgdi2q1zx0irllf0chkgsmlsqf"; - type = "gem"; - }; - version = "3.13.3"; - }; - rspec-mocks = { - dependencies = [ - "diff-lcs" - "rspec-support" - ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0f3vgp43hajw716vmgjv6f4ar6f97zf50snny6y3fy9kkj4qjw88"; - type = "gem"; - }; - version = "3.13.1"; - }; - rspec-support = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "03z7gpqz5xkw9rf53835pa8a9vgj4lic54rnix9vfwmp2m7pv1s8"; - type = "gem"; - }; - version = "3.13.1"; - }; - rubocop = { - dependencies = [ - "json" - "language_server-protocol" - "parallel" - "parser" - "rainbow" - "regexp_parser" - "rubocop-ast" - "ruby-progressbar" - "unicode-display_width" - ]; - groups = [ "development" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "1rsyxrl647bz49gpa4flh8igg6wy7qxyh2jrp01x0kqnn5iw4y86"; - type = "gem"; - }; - version = "1.66.1"; - }; - rubocop-ast = { - dependencies = [ "parser" ]; - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "03zywfpm4540q6hw8srhi8pzp0gg51w65ir8jkaw58vk3j31w820"; - type = "gem"; - }; - version = "1.32.3"; - }; - ruby-progressbar = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0cwvyb7j47m7wihpfaq7rc47zwwx9k4v7iqd9s1xch5nm53rrz40"; - type = "gem"; - }; - version = "1.13.0"; - }; - simplecov = { - dependencies = [ - "docile" - "simplecov-html" - "simplecov_json_formatter" - ]; - groups = [ "development" ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "198kcbrjxhhzca19yrdcd6jjj9sb51aaic3b0sc3pwjghg3j49py"; - type = "gem"; - }; - version = "0.22.0"; - }; - simplecov-html = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "02zi3rwihp7rlnp9x18c9idnkx7x68w6jmxdhyc0xrhjwrz0pasx"; - type = "gem"; - }; - version = "0.13.1"; - }; - simplecov_json_formatter = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0a5l0733hj7sk51j81ykfmlk2vd5vaijlq9d5fn165yyx3xii52j"; - type = "gem"; - }; - version = "0.1.4"; - }; - unicode-display_width = { - groups = [ - "default" - "development" - ]; - platforms = [ ]; - source = { - remotes = [ "https://rubygems.org" ]; - sha256 = "0nkz7fadlrdbkf37m0x7sw8bnz8r355q3vwcfb9f9md6pds9h9qj"; - type = "gem"; - }; - version = "2.6.0"; + version = "0.1.2"; }; } diff --git a/pkgs/by-name/cf/cfn-nag/package.nix b/pkgs/by-name/cf/cfn-nag/package.nix index 4ec8f7848cbc..71c198c9a9b7 100644 --- a/pkgs/by-name/cf/cfn-nag/package.nix +++ b/pkgs/by-name/cf/cfn-nag/package.nix @@ -17,8 +17,12 @@ bundlerEnv { meta = { description = "Linting tool for CloudFormation templates"; homepage = "https://github.com/stelligent/cfn_nag"; + mainProgram = "cfn_nag"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ momeemt ]; + maintainers = with lib.maintainers; [ + momeemt + mathstlouis + ]; platforms = lib.platforms.unix; }; }