Merge pull request #226890 from dylanmtaylor/serverspec-app

serverspec: init at 2.42.2

authored by

Sandro and committed by
GitHub
f1e52c60 f7c3ee39

+219
+3
pkgs/tools/misc/serverspec/Gemfile
··· 1 + source 'https://rubygems.org' do 2 + gem 'serverspec' 3 + end
+45
pkgs/tools/misc/serverspec/Gemfile.lock
··· 1 + GEM 2 + remote: https://rubygems.org/ 3 + specs: 4 + diff-lcs (1.5.0) 5 + multi_json (1.15.0) 6 + net-scp (4.0.0) 7 + net-ssh (>= 2.6.5, < 8.0.0) 8 + net-ssh (7.1.0) 9 + net-telnet (0.1.1) 10 + rspec (3.12.0) 11 + rspec-core (~> 3.12.0) 12 + rspec-expectations (~> 3.12.0) 13 + rspec-mocks (~> 3.12.0) 14 + rspec-core (3.12.1) 15 + rspec-support (~> 3.12.0) 16 + rspec-expectations (3.12.2) 17 + diff-lcs (>= 1.2.0, < 2.0) 18 + rspec-support (~> 3.12.0) 19 + rspec-its (1.3.0) 20 + rspec-core (>= 3.0.0) 21 + rspec-expectations (>= 3.0.0) 22 + rspec-mocks (3.12.5) 23 + diff-lcs (>= 1.2.0, < 2.0) 24 + rspec-support (~> 3.12.0) 25 + rspec-support (3.12.0) 26 + serverspec (2.42.2) 27 + multi_json 28 + rspec (~> 3.0) 29 + rspec-its 30 + specinfra (~> 2.72) 31 + sfl (2.3) 32 + specinfra (2.85.0) 33 + net-scp 34 + net-ssh (>= 2.7) 35 + net-telnet (= 0.1.1) 36 + sfl 37 + 38 + PLATFORMS 39 + ruby 40 + 41 + DEPENDENCIES 42 + serverspec! 43 + 44 + BUNDLED WITH 45 + 2.1.4
+19
pkgs/tools/misc/serverspec/default.nix
··· 1 + { lib, ruby, bundlerApp, bundlerUpdateScript }: 2 + 3 + bundlerApp { 4 + pname = "serverspec"; 5 + gemdir = ./.; 6 + 7 + inherit ruby; 8 + 9 + exes = ["serverspec-init"]; 10 + 11 + passthru.updateScript = bundlerUpdateScript "serverspec"; 12 + 13 + meta = with lib; { 14 + description = "RSpec tests for your servers configured by CFEngine, Puppet, Ansible, Itamae or anything else"; 15 + homepage = "https://serverspec.org/"; 16 + license = licenses.mit; 17 + maintainers = with maintainers; [ dylanmtaylor ]; 18 + }; 19 + }
+150
pkgs/tools/misc/serverspec/gemset.nix
··· 1 + { 2 + diff-lcs = { 3 + groups = ["default"]; 4 + platforms = []; 5 + source = { 6 + remotes = ["https://rubygems.org"]; 7 + sha256 = "0rwvjahnp7cpmracd8x732rjgnilqv2sx7d1gfrysslc3h039fa9"; 8 + type = "gem"; 9 + }; 10 + version = "1.5.0"; 11 + }; 12 + multi_json = { 13 + groups = ["default"]; 14 + platforms = []; 15 + source = { 16 + remotes = ["https://rubygems.org"]; 17 + sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z"; 18 + type = "gem"; 19 + }; 20 + version = "1.15.0"; 21 + }; 22 + net-scp = { 23 + dependencies = ["net-ssh"]; 24 + groups = ["default"]; 25 + platforms = []; 26 + source = { 27 + remotes = ["https://rubygems.org"]; 28 + sha256 = "1si2nq9l6jy5n2zw1q59a5gaji7v9vhy8qx08h4fg368906ysbdk"; 29 + type = "gem"; 30 + }; 31 + version = "4.0.0"; 32 + }; 33 + net-ssh = { 34 + groups = ["default"]; 35 + platforms = []; 36 + source = { 37 + remotes = ["https://rubygems.org"]; 38 + sha256 = "0yx0pb5fmziz92bw8qzbh8vf20lr56nd3s6q8h0gsgr307lki687"; 39 + type = "gem"; 40 + }; 41 + version = "7.1.0"; 42 + }; 43 + net-telnet = { 44 + groups = ["default"]; 45 + platforms = []; 46 + source = { 47 + remotes = ["https://rubygems.org"]; 48 + sha256 = "13qxznpwmc3hs51b76wqx2w29r158gzzh8719kv2gpi56844c8fx"; 49 + type = "gem"; 50 + }; 51 + version = "0.1.1"; 52 + }; 53 + rspec = { 54 + dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"]; 55 + groups = ["default"]; 56 + platforms = []; 57 + source = { 58 + remotes = ["https://rubygems.org"]; 59 + sha256 = "171rc90vcgjl8p1bdrqa92ymrj8a87qf6w20x05xq29mljcigi6c"; 60 + type = "gem"; 61 + }; 62 + version = "3.12.0"; 63 + }; 64 + rspec-core = { 65 + dependencies = ["rspec-support"]; 66 + groups = ["default"]; 67 + platforms = []; 68 + source = { 69 + remotes = ["https://rubygems.org"]; 70 + sha256 = "0da45cvllbv39sdbsl65vp5djb2xf5m10mxc9jm7rsqyyxjw4h1f"; 71 + type = "gem"; 72 + }; 73 + version = "3.12.1"; 74 + }; 75 + rspec-expectations = { 76 + dependencies = ["diff-lcs" "rspec-support"]; 77 + groups = ["default"]; 78 + platforms = []; 79 + source = { 80 + remotes = ["https://rubygems.org"]; 81 + sha256 = "03ba3lfdsj9zl00v1yvwgcx87lbadf87livlfa5kgqssn9qdnll6"; 82 + type = "gem"; 83 + }; 84 + version = "3.12.2"; 85 + }; 86 + rspec-its = { 87 + dependencies = ["rspec-core" "rspec-expectations"]; 88 + groups = ["default"]; 89 + platforms = []; 90 + source = { 91 + remotes = ["https://rubygems.org"]; 92 + sha256 = "15zafd70gxly5i0s00nky14sj2n92dnj3xpj83ysl3c2wx0119ad"; 93 + type = "gem"; 94 + }; 95 + version = "1.3.0"; 96 + }; 97 + rspec-mocks = { 98 + dependencies = ["diff-lcs" "rspec-support"]; 99 + groups = ["default"]; 100 + platforms = []; 101 + source = { 102 + remotes = ["https://rubygems.org"]; 103 + sha256 = "1hfm17xakfvwya236graj6c2arr4sb9zasp35q5fykhyz8mhs0w2"; 104 + type = "gem"; 105 + }; 106 + version = "3.12.5"; 107 + }; 108 + rspec-support = { 109 + groups = ["default"]; 110 + platforms = []; 111 + source = { 112 + remotes = ["https://rubygems.org"]; 113 + sha256 = "12y52zwwb3xr7h91dy9k3ndmyyhr3mjcayk0nnarnrzz8yr48kfx"; 114 + type = "gem"; 115 + }; 116 + version = "3.12.0"; 117 + }; 118 + serverspec = { 119 + dependencies = ["multi_json" "rspec" "rspec-its" "specinfra"]; 120 + groups = ["default"]; 121 + platforms = []; 122 + source = { 123 + remotes = ["https://rubygems.org"]; 124 + sha256 = "0kqx84yspy75z517wf32mz2hr4bqmq33y46zik57rn7bq2pj39xx"; 125 + type = "gem"; 126 + }; 127 + version = "2.42.2"; 128 + }; 129 + sfl = { 130 + groups = ["default"]; 131 + platforms = []; 132 + source = { 133 + remotes = ["https://rubygems.org"]; 134 + sha256 = "1qm4hvhq9pszi9zs1cl9qgwx1n4wxq0af0hq9sbf6qihqd8rwwwr"; 135 + type = "gem"; 136 + }; 137 + version = "2.3"; 138 + }; 139 + specinfra = { 140 + dependencies = ["net-scp" "net-ssh" "net-telnet" "sfl"]; 141 + groups = ["default"]; 142 + platforms = []; 143 + source = { 144 + remotes = ["https://rubygems.org"]; 145 + sha256 = "19kkryvxnci7qd7rq5m3nl3xazy452bcg35a709kfggpfm4c6r38"; 146 + type = "gem"; 147 + }; 148 + version = "2.85.0"; 149 + }; 150 + }
+2
pkgs/top-level/all-packages.nix
··· 1109 1109 1110 1110 closureInfo = callPackage ../build-support/closure-info.nix { }; 1111 1111 1112 + serverspec = callPackage ../tools/misc/serverspec { }; 1113 + 1112 1114 setupSystemdUnits = callPackage ../build-support/setup-systemd-units.nix { }; 1113 1115 1114 1116 shortenPerlShebang = makeSetupHook {