Merge pull request #39991 from xeji/remove-fleet

fleet, panamax: remove

authored by Jaka Hudoklin and committed by GitHub 3ec4528d 30caa09e

+3 -2399
+3 -3
nixos/modules/misc/ids.nix
··· 190 cadvisor = 167; 191 nylon = 168; 192 apache-kafka = 169; 193 - panamax = 170; 194 exim = 172; 195 #fleet = 173; # unused 196 #input = 174; # unused ··· 474 #chronos = 164; # unused 475 gitlab = 165; 476 nylon = 168; 477 - panamax = 170; 478 exim = 172; 479 - fleet = 173; 480 input = 174; 481 sddm = 175; 482 tss = 176;
··· 190 cadvisor = 167; 191 nylon = 168; 192 apache-kafka = 169; 193 + #panamax = 170; # unused 194 exim = 172; 195 #fleet = 173; # unused 196 #input = 174; # unused ··· 474 #chronos = 164; # unused 475 gitlab = 165; 476 nylon = 168; 477 + #panamax = 170; # unused 478 exim = 172; 479 + #fleet = 173; # unused 480 input = 174; 481 sddm = 175; 482 tss = 176;
-2
nixos/modules/module-list.nix
··· 171 ./services/backup/rsnapshot.nix 172 ./services/backup/tarsnap.nix 173 ./services/backup/znapzend.nix 174 - ./services/cluster/fleet.nix 175 ./services/cluster/kubernetes/default.nix 176 ./services/cluster/kubernetes/dns.nix 177 ./services/cluster/kubernetes/dashboard.nix 178 - ./services/cluster/panamax.nix 179 ./services/computing/boinc/client.nix 180 ./services/computing/torque/server.nix 181 ./services/computing/torque/mom.nix
··· 171 ./services/backup/rsnapshot.nix 172 ./services/backup/tarsnap.nix 173 ./services/backup/znapzend.nix 174 ./services/cluster/kubernetes/default.nix 175 ./services/cluster/kubernetes/dns.nix 176 ./services/cluster/kubernetes/dashboard.nix 177 ./services/computing/boinc/client.nix 178 ./services/computing/torque/server.nix 179 ./services/computing/torque/mom.nix
-150
nixos/modules/services/cluster/fleet.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - let 6 - cfg = config.services.fleet; 7 - 8 - in { 9 - 10 - ##### Interface 11 - options.services.fleet = { 12 - enable = mkOption { 13 - type = types.bool; 14 - default = false; 15 - description = '' 16 - Whether to enable fleet service. 17 - ''; 18 - }; 19 - 20 - listen = mkOption { 21 - type = types.listOf types.str; 22 - default = [ "/var/run/fleet.sock" ]; 23 - example = [ "/var/run/fleet.sock" "127.0.0.1:49153" ]; 24 - description = '' 25 - Fleet listening addresses. 26 - ''; 27 - }; 28 - 29 - etcdServers = mkOption { 30 - type = types.listOf types.str; 31 - default = [ "http://127.0.0.1:2379" ]; 32 - description = '' 33 - Fleet list of etcd endpoints to use. 34 - ''; 35 - }; 36 - 37 - publicIp = mkOption { 38 - type = types.nullOr types.str; 39 - default = ""; 40 - description = '' 41 - Fleet IP address that should be published with the local Machine's 42 - state and any socket information. If not set, fleetd will attempt 43 - to detect the IP it should publish based on the machine's IP 44 - routing information. 45 - ''; 46 - }; 47 - 48 - etcdCafile = mkOption { 49 - type = types.nullOr types.path; 50 - default = null; 51 - description = '' 52 - Fleet TLS ca file when SSL certificate authentication is enabled 53 - in etcd endpoints. 54 - ''; 55 - }; 56 - 57 - etcdKeyfile = mkOption { 58 - type = types.nullOr types.path; 59 - default = null; 60 - description = '' 61 - Fleet TLS key file when SSL certificate authentication is enabled 62 - in etcd endpoints. 63 - ''; 64 - }; 65 - 66 - etcdCertfile = mkOption { 67 - type = types.nullOr types.path; 68 - default = null; 69 - description = '' 70 - Fleet TLS cert file when SSL certificate authentication is enabled 71 - in etcd endpoints. 72 - ''; 73 - }; 74 - 75 - metadata = mkOption { 76 - type = types.attrsOf types.str; 77 - default = {}; 78 - apply = attrs: concatMapStringsSep "," (n: "${n}=${attrs."${n}"}") (attrNames attrs); 79 - example = literalExample '' 80 - { 81 - region = "us-west"; 82 - az = "us-west-1"; 83 - } 84 - ''; 85 - description = '' 86 - Key/value pairs that are published with the local to the fleet registry. 87 - This data can be used directly by a client of fleet to make scheduling decisions. 88 - ''; 89 - }; 90 - 91 - extraConfig = mkOption { 92 - type = types.attrsOf types.str; 93 - apply = mapAttrs' (n: v: nameValuePair ("FLEET_" + n) v); 94 - default = {}; 95 - example = literalExample '' 96 - { 97 - VERBOSITY = 1; 98 - ETCD_REQUEST_TIMEOUT = "2.0"; 99 - AGENT_TTL = "40s"; 100 - } 101 - ''; 102 - description = '' 103 - Fleet extra config. See 104 - <link xlink:href="https://github.com/coreos/fleet/blob/master/Documentation/deployment-and-configuration.md"/> 105 - for configuration options. 106 - ''; 107 - }; 108 - 109 - }; 110 - 111 - ##### Implementation 112 - config = mkIf cfg.enable { 113 - systemd.services.fleet = { 114 - description = "Fleet Init System Daemon"; 115 - wantedBy = [ "multi-user.target" ]; 116 - after = [ "network.target" "fleet.socket" "etcd.service" "docker.service" ]; 117 - requires = [ "fleet.socket" ]; 118 - environment = { 119 - FLEET_ETCD_SERVERS = concatStringsSep "," cfg.etcdServers; 120 - FLEET_PUBLIC_IP = cfg.publicIp; 121 - FLEET_ETCD_CAFILE = cfg.etcdCafile; 122 - FLEET_ETCD_KEYFILE = cfg.etcdKeyfile; 123 - FLEET_ETCD_CERTFILE = cfg.etcdCertfile; 124 - FLEET_METADATA = cfg.metadata; 125 - } // cfg.extraConfig; 126 - serviceConfig = { 127 - ExecStart = "${pkgs.fleet}/bin/fleetd"; 128 - Group = "fleet"; 129 - }; 130 - }; 131 - 132 - systemd.sockets.fleet = { 133 - description = "Fleet Socket for the API"; 134 - wantedBy = [ "sockets.target" ]; 135 - listenStreams = cfg.listen; 136 - socketConfig = { 137 - ListenStream = "/var/run/fleet.sock"; 138 - SocketMode = "0660"; 139 - SocketUser = "root"; 140 - SocketGroup = "fleet"; 141 - }; 142 - }; 143 - 144 - services.etcd.enable = mkDefault true; 145 - virtualisation.docker.enable = mkDefault true; 146 - 147 - environment.systemPackages = [ pkgs.fleet ]; 148 - users.extraGroups.fleet.gid = config.ids.gids.fleet; 149 - }; 150 - }
···
-156
nixos/modules/services/cluster/panamax.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - let 6 - cfg = config.services.panamax; 7 - 8 - panamax_api = pkgs.panamax_api.override { dataDir = cfg.dataDir + "/api"; }; 9 - panamax_ui = pkgs.panamax_ui.override { dataDir = cfg.dataDir + "/ui"; }; 10 - 11 - in { 12 - 13 - ##### Interface 14 - options.services.panamax = { 15 - enable = mkOption { 16 - type = types.bool; 17 - default = false; 18 - description = '' 19 - Whether to enable Panamax service. 20 - ''; 21 - }; 22 - 23 - UIPort = mkOption { 24 - type = types.int; 25 - default = 8888; 26 - description = '' 27 - Panamax UI listening port. 28 - ''; 29 - }; 30 - 31 - APIPort = mkOption { 32 - type = types.int; 33 - default = 3000; 34 - description = '' 35 - Panamax UI listening port. 36 - ''; 37 - }; 38 - 39 - dataDir = mkOption { 40 - type = types.str; 41 - default = "/var/lib/panamax"; 42 - description = '' 43 - Data dir for Panamax. 44 - ''; 45 - }; 46 - 47 - fleetctlEndpoint = mkOption { 48 - type = types.str; 49 - default = "http://127.0.0.1:2379"; 50 - description = '' 51 - Panamax fleetctl endpoint. 52 - ''; 53 - }; 54 - 55 - journalEndpoint = mkOption { 56 - type = types.str; 57 - default = "http://127.0.0.1:19531"; 58 - description = '' 59 - Panamax journal endpoint. 60 - ''; 61 - }; 62 - 63 - secretKey = mkOption { 64 - type = types.str; 65 - default = "SomethingVeryLong."; 66 - description = '' 67 - Panamax secret key (do change this). 68 - ''; 69 - }; 70 - 71 - }; 72 - 73 - ##### Implementation 74 - config = mkIf cfg.enable { 75 - systemd.services.panamax-api = { 76 - description = "Panamax API"; 77 - 78 - wantedBy = [ "multi-user.target" ]; 79 - after = [ "network.target" "fleet.service" "etcd.service" "docker.service" ]; 80 - 81 - path = [ panamax_api ]; 82 - environment = { 83 - RAILS_ENV = "production"; 84 - JOURNAL_ENDPOINT = cfg.journalEndpoint; 85 - FLEETCTL_ENDPOINT = cfg.fleetctlEndpoint; 86 - PANAMAX_DATABASE_PATH = "${cfg.dataDir}/api/db/mnt/db.sqlite3"; 87 - }; 88 - 89 - preStart = '' 90 - rm -rf ${cfg.dataDir}/state/tmp 91 - mkdir -p ${cfg.dataDir}/api/{db/mnt,state/log,state/tmp} 92 - ln -sf ${panamax_api}/share/panamax-api/_db/{schema.rb,seeds.rb,migrate} ${cfg.dataDir}/api/db/ 93 - 94 - if [ ! -f ${cfg.dataDir}/.created ]; then 95 - bundle exec rake db:setup 96 - bundle exec rake db:seed 97 - bundle exec rake panamax:templates:load || true 98 - touch ${cfg.dataDir}/.created 99 - else 100 - bundle exec rake db:migrate 101 - fi 102 - ''; 103 - 104 - serviceConfig = { 105 - ExecStart = "${panamax_api}/bin/bundle exec rails server --binding 127.0.0.1 --port ${toString cfg.APIPort}"; 106 - User = "panamax"; 107 - Group = "panamax"; 108 - }; 109 - }; 110 - 111 - systemd.services.panamax-ui = { 112 - description = "Panamax UI"; 113 - 114 - wantedBy = [ "multi-user.target" ]; 115 - after = [ "network.target" "panamax_api.service" ]; 116 - 117 - path = [ panamax_ui ]; 118 - environment = { 119 - RAILS_ENV = "production"; 120 - JOURNAL_ENDPOINT = cfg.journalEndpoint; 121 - PMX_API_PORT_3000_TCP_ADDR = "localhost"; 122 - PMX_API_PORT_3000_TCP_PORT = toString cfg.APIPort; 123 - SECRET_KEY_BASE = cfg.secretKey; 124 - }; 125 - 126 - preStart = '' 127 - mkdir -p ${cfg.dataDir}/ui/state/{log,tmp} 128 - chown -R panamax:panamax ${cfg.dataDir} 129 - ''; 130 - 131 - serviceConfig = { 132 - ExecStart = "${panamax_ui}/bin/bundle exec rails server --binding 127.0.0.1 --port ${toString cfg.UIPort}"; 133 - User = "panamax"; 134 - Group = "panamax"; 135 - PermissionsStartOnly = true; 136 - }; 137 - }; 138 - 139 - users.extraUsers.panamax = 140 - { uid = config.ids.uids.panamax; 141 - description = "Panamax user"; 142 - createHome = true; 143 - home = cfg.dataDir; 144 - extraGroups = [ "docker" ]; 145 - }; 146 - 147 - services.journald.enableHttpGateway = mkDefault true; 148 - services.fleet.enable = mkDefault true; 149 - services.cadvisor.enable = mkDefault true; 150 - services.cadvisor.port = mkDefault 3002; 151 - virtualisation.docker.enable = mkDefault true; 152 - 153 - environment.systemPackages = [ panamax_api panamax_ui ]; 154 - users.extraGroups.panamax.gid = config.ids.gids.panamax; 155 - }; 156 - }
···
-2
nixos/release.nix
··· 284 tests.ferm = callTest tests/ferm.nix {}; 285 tests.firefox = callTest tests/firefox.nix {}; 286 tests.firewall = callTest tests/firewall.nix {}; 287 - tests.fleet = callTestOnMatchingSystems ["x86_64-linux"] tests/fleet.nix {}; 288 tests.fwupd = callTest tests/fwupd.nix {}; 289 #tests.gitlab = callTest tests/gitlab.nix {}; 290 tests.gitolite = callTest tests/gitolite.nix {}; ··· 360 tests.openldap = callTest tests/openldap.nix {}; 361 tests.owncloud = callTest tests/owncloud.nix {}; 362 tests.pam-oath-login = callTest tests/pam-oath-login.nix {}; 363 - #tests.panamax = callTestOnMatchingSystems ["x86_64-linux"] tests/panamax.nix {}; 364 tests.peerflix = callTest tests/peerflix.nix {}; 365 tests.php-pcre = callTest tests/php-pcre.nix {}; 366 tests.postgresql = callSubTests tests/postgresql.nix {};
··· 284 tests.ferm = callTest tests/ferm.nix {}; 285 tests.firefox = callTest tests/firefox.nix {}; 286 tests.firewall = callTest tests/firewall.nix {}; 287 tests.fwupd = callTest tests/fwupd.nix {}; 288 #tests.gitlab = callTest tests/gitlab.nix {}; 289 tests.gitolite = callTest tests/gitolite.nix {}; ··· 359 tests.openldap = callTest tests/openldap.nix {}; 360 tests.owncloud = callTest tests/owncloud.nix {}; 361 tests.pam-oath-login = callTest tests/pam-oath-login.nix {}; 362 tests.peerflix = callTest tests/peerflix.nix {}; 363 tests.php-pcre = callTest tests/php-pcre.nix {}; 364 tests.postgresql = callSubTests tests/postgresql.nix {};
-76
nixos/tests/fleet.nix
··· 1 - import ./make-test.nix ({ pkgs, ...} : rec { 2 - name = "simple"; 3 - meta = with pkgs.stdenv.lib.maintainers; { 4 - maintainers = [ offline ]; 5 - }; 6 - 7 - nodes = { 8 - node1 = 9 - { config, pkgs, ... }: 10 - { 11 - services = { 12 - etcd = { 13 - enable = true; 14 - listenPeerUrls = ["http://0.0.0.0:7001"]; 15 - initialAdvertisePeerUrls = ["http://node1:7001"]; 16 - initialCluster = ["node1=http://node1:7001" "node2=http://node2:7001"]; 17 - }; 18 - }; 19 - 20 - services.fleet = { 21 - enable = true; 22 - metadata.name = "node1"; 23 - }; 24 - 25 - networking.firewall.allowedTCPPorts = [ 7001 ]; 26 - }; 27 - 28 - node2 = 29 - { config, pkgs, ... }: 30 - { 31 - services = { 32 - etcd = { 33 - enable = true; 34 - listenPeerUrls = ["http://0.0.0.0:7001"]; 35 - initialAdvertisePeerUrls = ["http://node2:7001"]; 36 - initialCluster = ["node1=http://node1:7001" "node2=http://node2:7001"]; 37 - }; 38 - }; 39 - 40 - services.fleet = { 41 - enable = true; 42 - metadata.name = "node2"; 43 - }; 44 - 45 - networking.firewall.allowedTCPPorts = [ 7001 ]; 46 - }; 47 - }; 48 - 49 - service = builtins.toFile "hello.service" '' 50 - [Unit] 51 - Description=Hello World 52 - 53 - [Service] 54 - ExecStart=/bin/sh -c "while true; do echo \"Hello, world\"; /var/run/current-system/sw/bin/sleep 1; done" 55 - 56 - [X-Fleet] 57 - MachineMetadata=name=node2 58 - ''; 59 - 60 - testScript = 61 - '' 62 - startAll; 63 - $node1->waitForUnit("fleet.service"); 64 - $node2->waitForUnit("fleet.service"); 65 - 66 - $node2->waitUntilSucceeds("fleetctl list-machines | grep node1"); 67 - $node1->waitUntilSucceeds("fleetctl list-machines | grep node2"); 68 - 69 - $node1->succeed("cp ${service} hello.service && fleetctl submit hello.service"); 70 - $node1->succeed("fleetctl list-unit-files | grep hello"); 71 - $node1->succeed("fleetctl start hello.service"); 72 - $node1->waitUntilSucceeds("fleetctl list-units | grep running"); 73 - $node1->succeed("fleetctl stop hello.service"); 74 - $node1->succeed("fleetctl destroy hello.service"); 75 - ''; 76 - })
···
-21
nixos/tests/panamax.nix
··· 1 - import ./make-test.nix ({ pkgs, ...} : { 2 - name = "panamax"; 3 - meta = with pkgs.stdenv.lib.maintainers; { 4 - maintainers = [ offline ]; 5 - }; 6 - 7 - machine = { config, pkgs, ... }: { 8 - services.panamax.enable = true; 9 - }; 10 - 11 - testScript = 12 - '' 13 - startAll; 14 - $machine->waitForUnit("panamax-api.service"); 15 - $machine->waitForUnit("panamax-ui.service"); 16 - $machine->waitForOpenPort(3000); 17 - $machine->waitForOpenPort(8888); 18 - $machine->succeed("curl --fail http://localhost:8888/ > /dev/null"); 19 - $machine->shutdown; 20 - ''; 21 - })
···
-23
pkgs/applications/networking/cluster/panamax/api/Gemfile
··· 1 - source 'https://rubygems.org' 2 - 3 - gem 'rails', '4.1.7' 4 - gem 'puma', '2.8.2' 5 - gem 'sqlite3', '1.3.9' 6 - gem 'faraday_middleware', '0.9.0' 7 - gem 'docker-api', '1.13.0', require: 'docker' 8 - gem 'fleet-api', '0.6.0', require: 'fleet' 9 - gem 'active_model_serializers', '0.9.0' 10 - gem 'octokit', '3.2.0' 11 - gem 'kmts', '2.0.1' 12 - 13 - group :test, :development do 14 - gem 'rspec-rails' 15 - gem 'its' 16 - end 17 - 18 - group :test do 19 - gem 'coveralls', '0.7.0' 20 - gem 'shoulda-matchers', '2.6.1' 21 - gem 'database_cleaner', '1.3.0' 22 - gem 'webmock', '1.20.0' 23 - end
···
-164
pkgs/applications/networking/cluster/panamax/api/Gemfile.lock
··· 1 - GEM 2 - remote: https://rubygems.org/ 3 - specs: 4 - actionmailer (4.1.7) 5 - actionpack (= 4.1.7) 6 - actionview (= 4.1.7) 7 - mail (~> 2.5, >= 2.5.4) 8 - actionpack (4.1.7) 9 - actionview (= 4.1.7) 10 - activesupport (= 4.1.7) 11 - rack (~> 1.5.2) 12 - rack-test (~> 0.6.2) 13 - actionview (4.1.7) 14 - activesupport (= 4.1.7) 15 - builder (~> 3.1) 16 - erubis (~> 2.7.0) 17 - active_model_serializers (0.9.0) 18 - activemodel (>= 3.2) 19 - activemodel (4.1.7) 20 - activesupport (= 4.1.7) 21 - builder (~> 3.1) 22 - activerecord (4.1.7) 23 - activemodel (= 4.1.7) 24 - activesupport (= 4.1.7) 25 - arel (~> 5.0.0) 26 - activesupport (4.1.7) 27 - i18n (~> 0.6, >= 0.6.9) 28 - json (~> 1.7, >= 1.7.7) 29 - minitest (~> 5.1) 30 - thread_safe (~> 0.1) 31 - tzinfo (~> 1.1) 32 - addressable (2.3.6) 33 - archive-tar-minitar (0.5.2) 34 - arel (5.0.1.20140414130214) 35 - builder (3.2.2) 36 - coveralls (0.7.0) 37 - multi_json (~> 1.3) 38 - rest-client 39 - simplecov (>= 0.7) 40 - term-ansicolor 41 - thor 42 - crack (0.4.2) 43 - safe_yaml (~> 1.0.0) 44 - database_cleaner (1.3.0) 45 - diff-lcs (1.2.5) 46 - docile (1.1.5) 47 - docker-api (1.13.0) 48 - archive-tar-minitar 49 - excon (>= 0.37.0) 50 - json 51 - erubis (2.7.0) 52 - excon (0.37.0) 53 - faraday (0.8.9) 54 - multipart-post (~> 1.2.0) 55 - faraday_middleware (0.9.0) 56 - faraday (>= 0.7.4, < 0.9) 57 - fleet-api (0.6.0) 58 - faraday (= 0.8.9) 59 - faraday_middleware (= 0.9.0) 60 - hike (1.2.3) 61 - i18n (0.7.0) 62 - its (0.2.0) 63 - rspec-core 64 - json (1.8.1) 65 - kmts (2.0.1) 66 - mail (2.6.3) 67 - mime-types (>= 1.16, < 3) 68 - mime-types (2.4.3) 69 - minitest (5.5.1) 70 - multi_json (1.10.1) 71 - multipart-post (1.2.0) 72 - octokit (3.2.0) 73 - sawyer (~> 0.5.3) 74 - puma (2.8.2) 75 - rack (>= 1.1, < 2.0) 76 - rack (1.5.2) 77 - rack-test (0.6.3) 78 - rack (>= 1.0) 79 - rails (4.1.7) 80 - actionmailer (= 4.1.7) 81 - actionpack (= 4.1.7) 82 - actionview (= 4.1.7) 83 - activemodel (= 4.1.7) 84 - activerecord (= 4.1.7) 85 - activesupport (= 4.1.7) 86 - bundler (>= 1.3.0, < 2.0) 87 - railties (= 4.1.7) 88 - sprockets-rails (~> 2.0) 89 - railties (4.1.7) 90 - actionpack (= 4.1.7) 91 - activesupport (= 4.1.7) 92 - rake (>= 0.8.7) 93 - thor (>= 0.18.1, < 2.0) 94 - rake (10.4.0) 95 - rest-client (1.6.7) 96 - mime-types (>= 1.16) 97 - rspec-core (3.1.7) 98 - rspec-support (~> 3.1.0) 99 - rspec-expectations (3.1.2) 100 - diff-lcs (>= 1.2.0, < 2.0) 101 - rspec-support (~> 3.1.0) 102 - rspec-mocks (3.1.3) 103 - rspec-support (~> 3.1.0) 104 - rspec-rails (3.1.0) 105 - actionpack (>= 3.0) 106 - activesupport (>= 3.0) 107 - railties (>= 3.0) 108 - rspec-core (~> 3.1.0) 109 - rspec-expectations (~> 3.1.0) 110 - rspec-mocks (~> 3.1.0) 111 - rspec-support (~> 3.1.0) 112 - rspec-support (3.1.2) 113 - safe_yaml (1.0.4) 114 - sawyer (0.5.4) 115 - addressable (~> 2.3.5) 116 - faraday (~> 0.8, < 0.10) 117 - shoulda-matchers (2.6.1) 118 - activesupport (>= 3.0.0) 119 - simplecov (0.9.1) 120 - docile (~> 1.1.0) 121 - multi_json (~> 1.0) 122 - simplecov-html (~> 0.8.0) 123 - simplecov-html (0.8.0) 124 - sprockets (2.12.3) 125 - hike (~> 1.2) 126 - multi_json (~> 1.0) 127 - rack (~> 1.0) 128 - tilt (~> 1.1, != 1.3.0) 129 - sprockets-rails (2.2.4) 130 - actionpack (>= 3.0) 131 - activesupport (>= 3.0) 132 - sprockets (>= 2.8, < 4.0) 133 - sqlite3 (1.3.9) 134 - term-ansicolor (1.3.0) 135 - tins (~> 1.0) 136 - thor (0.19.1) 137 - thread_safe (0.3.4) 138 - tilt (1.4.1) 139 - tins (1.3.0) 140 - tzinfo (1.2.2) 141 - thread_safe (~> 0.1) 142 - webmock (1.20.0) 143 - addressable (>= 2.3.6) 144 - crack (>= 0.3.2) 145 - 146 - PLATFORMS 147 - ruby 148 - 149 - DEPENDENCIES 150 - active_model_serializers (= 0.9.0) 151 - coveralls (= 0.7.0) 152 - database_cleaner (= 1.3.0) 153 - docker-api (= 1.13.0) 154 - faraday_middleware (= 0.9.0) 155 - fleet-api (= 0.6.0) 156 - its 157 - kmts (= 2.0.1) 158 - octokit (= 3.2.0) 159 - puma (= 2.8.2) 160 - rails (= 4.1.7) 161 - rspec-rails 162 - shoulda-matchers (= 2.6.1) 163 - sqlite3 (= 1.3.9) 164 - webmock (= 1.20.0)
···
-74
pkgs/applications/networking/cluster/panamax/api/default.nix
··· 1 - { stdenv, fetchgit, fetchurl, makeWrapper, bundlerEnv, bundler 2 - , ruby, libxslt, libxml2, sqlite, openssl, docker 3 - , dataDir ? "/var/lib/panamax-api" }@args: 4 - 5 - with stdenv.lib; 6 - 7 - stdenv.mkDerivation rec { 8 - name = "panamax-api-${version}"; 9 - version = "0.2.16"; 10 - 11 - env = bundlerEnv { 12 - name = "panamax-api-gems-${version}"; 13 - inherit ruby; 14 - gemdir = ./.; 15 - }; 16 - 17 - bundler = args.bundler.override { inherit ruby; }; 18 - 19 - database_yml = builtins.toFile "database.yml" '' 20 - production: 21 - adapter: sqlite3 22 - database: <%= ENV["PANAMAX_DATABASE_PATH"] || "${dataDir}/db/mnt/db.sqlite3" %> 23 - timeout: 5000 24 - ''; 25 - 26 - src = fetchgit { 27 - rev = "refs/tags/v${version}"; 28 - url = "git://github.com/CenturyLinkLabs/panamax-api"; 29 - sha256 = "0dqg0fbmy5cgjh0ql8yqlybhjyyrslgghjrc24wjhd1rghjn2qi6"; 30 - }; 31 - 32 - buildInputs = [ makeWrapper sqlite openssl env.ruby bundler ]; 33 - 34 - setSourceRoot = '' 35 - mkdir -p $out/share 36 - cp -R panamax-api $out/share/panamax-api 37 - export sourceRoot="$out/share/panamax-api" 38 - ''; 39 - 40 - postPatch = '' 41 - find . -type f -exec sed -e 's|/usr/bin/docker|${docker}/bin/docker|g' -i "{}" \; 42 - ''; 43 - 44 - configurePhase = '' 45 - export HOME=$PWD 46 - export GEM_HOME=${env}/${env.ruby.gemPath} 47 - export RAILS_ENV=production 48 - 49 - ln -sf ${database_yml} config/database.yml 50 - ''; 51 - 52 - installPhase = '' 53 - rm -rf log tmp 54 - mv ./db ./_db 55 - ln -sf ${dataDir}/{db,state/log,state/tmp} . 56 - 57 - mkdir -p $out/bin 58 - makeWrapper bin/bundle "$out/bin/bundle" \ 59 - --run "cd $out/share/panamax-api" \ 60 - --prefix "PATH" : "$out/share/panamax-api/bin:${env.ruby}/bin:$PATH" \ 61 - --prefix "HOME" : "$out/share/panamax-api" \ 62 - --prefix "GEM_HOME" : "${env}/${env.ruby.gemPath}" \ 63 - --prefix "GEM_PATH" : "$out/share/panamax-api:${bundler}/${env.ruby.gemPath}" 64 - ''; 65 - 66 - meta = with stdenv.lib; { 67 - broken = true; # needs ruby 2.1 68 - homepage = https://github.com/CenturyLinkLabs/panamax-api; 69 - description = "The API behind The Panamax UI"; 70 - license = licenses.asl20; 71 - maintainers = with maintainers; [ matejc offline ]; 72 - platforms = platforms.linux; 73 - }; 74 - }
···
-568
pkgs/applications/networking/cluster/panamax/api/gemset.nix
··· 1 - { 2 - "actionmailer" = { 3 - version = "4.1.7"; 4 - source = { 5 - type = "gem"; 6 - sha256 = "0qjv5akjbpgd4cx518k522mssvc3y3nki65hi6fj5nbzi7a6rwq5"; 7 - }; 8 - dependencies = [ 9 - "actionpack" 10 - "actionview" 11 - "mail" 12 - ]; 13 - }; 14 - "actionpack" = { 15 - version = "4.1.7"; 16 - source = { 17 - type = "gem"; 18 - sha256 = "07y1ny00h69xklq260smyl5md052f617gqrzkyw5sxafs5z25zax"; 19 - }; 20 - dependencies = [ 21 - "actionview" 22 - "activesupport" 23 - "rack" 24 - "rack-test" 25 - ]; 26 - }; 27 - "actionview" = { 28 - version = "4.1.7"; 29 - source = { 30 - type = "gem"; 31 - sha256 = "06sp37gfpn2jn7j6vlpp1y6vfi5kig60vyvixrjhyz0g4vgm13ax"; 32 - }; 33 - dependencies = [ 34 - "activesupport" 35 - "builder" 36 - "erubis" 37 - ]; 38 - }; 39 - "active_model_serializers" = { 40 - version = "0.9.0"; 41 - source = { 42 - type = "gem"; 43 - sha256 = "1ws3gx3wwlm17w7k0agwzmcmww6627lvqaqm828lzm3g1xqilkkl"; 44 - }; 45 - dependencies = [ 46 - "activemodel" 47 - ]; 48 - }; 49 - "activemodel" = { 50 - version = "4.1.7"; 51 - source = { 52 - type = "gem"; 53 - sha256 = "0rlqzz25l7vsphgkilg80kmk20d9h357awi27ax6zzb9klkqh0jr"; 54 - }; 55 - dependencies = [ 56 - "activesupport" 57 - "builder" 58 - ]; 59 - }; 60 - "activerecord" = { 61 - version = "4.1.7"; 62 - source = { 63 - type = "gem"; 64 - sha256 = "0j4r0m32mjbwmz9gs8brln35jzr1cn7h585ggj0w0f1ai4hjsby5"; 65 - }; 66 - dependencies = [ 67 - "activemodel" 68 - "activesupport" 69 - "arel" 70 - ]; 71 - }; 72 - "activesupport" = { 73 - version = "4.1.7"; 74 - source = { 75 - type = "gem"; 76 - sha256 = "13i3mz66d5kp5y39gjwmcfqv0wb6mxm5k1nnz40wvd38dsf7n3bs"; 77 - }; 78 - dependencies = [ 79 - "i18n" 80 - "json" 81 - "minitest" 82 - "thread_safe" 83 - "tzinfo" 84 - ]; 85 - }; 86 - "addressable" = { 87 - version = "2.3.6"; 88 - source = { 89 - type = "gem"; 90 - sha256 = "137fj0whmn1kvaq8wjalp8x4qbblwzvg3g4bfx8d8lfi6f0w48p8"; 91 - }; 92 - }; 93 - "archive-tar-minitar" = { 94 - version = "0.5.2"; 95 - source = { 96 - type = "gem"; 97 - sha256 = "1j666713r3cc3wb0042x0wcmq2v11vwwy5pcaayy5f0lnd26iqig"; 98 - }; 99 - }; 100 - "arel" = { 101 - version = "5.0.1.20140414130214"; 102 - source = { 103 - type = "gem"; 104 - sha256 = "0dhnc20h1v8ml3nmkxq92rr7qxxpk6ixhwvwhgl2dbw9mmxz0hf9"; 105 - }; 106 - }; 107 - "builder" = { 108 - version = "3.2.2"; 109 - source = { 110 - type = "gem"; 111 - sha256 = "14fii7ab8qszrvsvhz6z2z3i4dw0h41a62fjr2h1j8m41vbrmyv2"; 112 - }; 113 - }; 114 - "coveralls" = { 115 - version = "0.7.0"; 116 - source = { 117 - type = "gem"; 118 - sha256 = "0sz30d7b83qqsj3i0fr691w05d62wj7x3afh0ryjkqkis3fq94j4"; 119 - }; 120 - dependencies = [ 121 - "multi_json" 122 - "rest-client" 123 - "simplecov" 124 - "term-ansicolor" 125 - "thor" 126 - ]; 127 - }; 128 - "crack" = { 129 - version = "0.4.2"; 130 - source = { 131 - type = "gem"; 132 - sha256 = "1il94m92sz32nw5i6hdq14f1a2c3s9hza9zn6l95fvqhabq38k7a"; 133 - }; 134 - dependencies = [ 135 - "safe_yaml" 136 - ]; 137 - }; 138 - "database_cleaner" = { 139 - version = "1.3.0"; 140 - source = { 141 - type = "gem"; 142 - sha256 = "19w25yda684pg29bggq26wy4lpyjvzscwg2hx3hmmmpysiwfnxgn"; 143 - }; 144 - }; 145 - "diff-lcs" = { 146 - version = "1.2.5"; 147 - source = { 148 - type = "gem"; 149 - sha256 = "1vf9civd41bnqi6brr5d9jifdw73j9khc6fkhfl1f8r9cpkdvlx1"; 150 - }; 151 - }; 152 - "docile" = { 153 - version = "1.1.5"; 154 - source = { 155 - type = "gem"; 156 - sha256 = "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx"; 157 - }; 158 - }; 159 - "docker-api" = { 160 - version = "1.13.0"; 161 - source = { 162 - type = "gem"; 163 - sha256 = "1rara27gn7lxaf12dqkx8s1clssg10jndfcy4wz2fv6ms1i1lnp6"; 164 - }; 165 - dependencies = [ 166 - "archive-tar-minitar" 167 - "excon" 168 - "json" 169 - ]; 170 - }; 171 - "erubis" = { 172 - version = "2.7.0"; 173 - source = { 174 - type = "gem"; 175 - sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3"; 176 - }; 177 - }; 178 - "excon" = { 179 - version = "0.37.0"; 180 - source = { 181 - type = "gem"; 182 - sha256 = "05x7asmsq5m419n1lhzk9bic02gwng4cqmrcqsfnd6kmkwm8csv2"; 183 - }; 184 - }; 185 - "faraday" = { 186 - version = "0.8.9"; 187 - source = { 188 - type = "gem"; 189 - sha256 = "17d79fsgx0xwh0mfxyz5pbr435qlw79phlfvifc546w2axdkp718"; 190 - }; 191 - dependencies = [ 192 - "multipart-post" 193 - ]; 194 - }; 195 - "faraday_middleware" = { 196 - version = "0.9.0"; 197 - source = { 198 - type = "gem"; 199 - sha256 = "1kwvi2sdxd6j764a7q5iir73dw2v6816zx3l8cgfv0wr2m47icq2"; 200 - }; 201 - dependencies = [ 202 - "faraday" 203 - ]; 204 - }; 205 - "fleet-api" = { 206 - version = "0.6.0"; 207 - source = { 208 - type = "gem"; 209 - sha256 = "0136mzc0fxp6mzh38n6xbg87cw9g9vq1nrlr3ylazbflvmlxgan6"; 210 - }; 211 - dependencies = [ 212 - "faraday" 213 - "faraday_middleware" 214 - ]; 215 - }; 216 - "hike" = { 217 - version = "1.2.3"; 218 - source = { 219 - type = "gem"; 220 - sha256 = "0i6c9hrszzg3gn2j41v3ijnwcm8cc2931fnjiv6mnpl4jcjjykhm"; 221 - }; 222 - }; 223 - "i18n" = { 224 - version = "0.7.0"; 225 - source = { 226 - type = "gem"; 227 - sha256 = "1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758"; 228 - }; 229 - }; 230 - "its" = { 231 - version = "0.2.0"; 232 - source = { 233 - type = "gem"; 234 - sha256 = "0rxwds9ipqp48mzqcaxzmfcqhawazg0zlhc1avv3i2cmm3np1z8g"; 235 - }; 236 - dependencies = [ 237 - "rspec-core" 238 - ]; 239 - }; 240 - "json" = { 241 - version = "1.8.1"; 242 - source = { 243 - type = "gem"; 244 - sha256 = "0002bsycvizvkmk1jyv8px1hskk6wrjfk4f7x5byi8gxm6zzn6wn"; 245 - }; 246 - }; 247 - "kmts" = { 248 - version = "2.0.1"; 249 - source = { 250 - type = "gem"; 251 - sha256 = "1wk680q443lg35a25am6i8xawf16iqg5xnq1m8xd2gib4dsy1d8v"; 252 - }; 253 - }; 254 - "mail" = { 255 - version = "2.6.3"; 256 - source = { 257 - type = "gem"; 258 - sha256 = "1nbg60h3cpnys45h7zydxwrl200p7ksvmrbxnwwbpaaf9vnf3znp"; 259 - }; 260 - dependencies = [ 261 - "mime-types" 262 - ]; 263 - }; 264 - "mime-types" = { 265 - version = "2.4.3"; 266 - source = { 267 - type = "gem"; 268 - sha256 = "16nissnb31wj7kpcaynx4gr67i7pbkzccfg8k7xmplbkla4rmwiq"; 269 - }; 270 - }; 271 - "minitest" = { 272 - version = "5.5.1"; 273 - source = { 274 - type = "gem"; 275 - sha256 = "1h8jn0rgmwy37jnhfcg55iilw0n370vgp8xnh0g5laa8rhv32fyn"; 276 - }; 277 - }; 278 - "multi_json" = { 279 - version = "1.10.1"; 280 - source = { 281 - type = "gem"; 282 - sha256 = "1ll21dz01jjiplr846n1c8yzb45kj5hcixgb72rz0zg8fyc9g61c"; 283 - }; 284 - }; 285 - "multipart-post" = { 286 - version = "1.2.0"; 287 - source = { 288 - type = "gem"; 289 - sha256 = "12p7lnmc52di1r4h73h6xrpppplzyyhani9p7wm8l4kgf1hnmwnc"; 290 - }; 291 - }; 292 - "octokit" = { 293 - version = "3.2.0"; 294 - source = { 295 - type = "gem"; 296 - sha256 = "07ll3x1hv72zssb4hkdw56xg3xk6x4fch4yf38zljvbh388r11ng"; 297 - }; 298 - dependencies = [ 299 - "sawyer" 300 - ]; 301 - }; 302 - "puma" = { 303 - version = "2.8.2"; 304 - source = { 305 - type = "gem"; 306 - sha256 = "1l57fmf8vyxfjv7ab5znq0k339cym5ghnm5xxfvd1simjp73db0k"; 307 - }; 308 - dependencies = [ 309 - "rack" 310 - ]; 311 - }; 312 - "rack" = { 313 - version = "1.5.2"; 314 - source = { 315 - type = "gem"; 316 - sha256 = "19szfw76cscrzjldvw30jp3461zl00w4xvw1x9lsmyp86h1g0jp6"; 317 - }; 318 - }; 319 - "rack-test" = { 320 - version = "0.6.3"; 321 - source = { 322 - type = "gem"; 323 - sha256 = "0h6x5jq24makgv2fq5qqgjlrk74dxfy62jif9blk43llw8ib2q7z"; 324 - }; 325 - dependencies = [ 326 - "rack" 327 - ]; 328 - }; 329 - "rails" = { 330 - version = "4.1.7"; 331 - source = { 332 - type = "gem"; 333 - sha256 = "059mpljplmhfz8rr4hk40q67fllcpsy809m4mwwbkm8qwif2z5r0"; 334 - }; 335 - dependencies = [ 336 - "actionmailer" 337 - "actionpack" 338 - "actionview" 339 - "activemodel" 340 - "activerecord" 341 - "activesupport" 342 - "railties" 343 - "sprockets-rails" 344 - ]; 345 - }; 346 - "railties" = { 347 - version = "4.1.7"; 348 - source = { 349 - type = "gem"; 350 - sha256 = "1n08h0rgj0aq5lvslnih6lvqz9wadpz6nnb25i4qhp37fhhyz9yz"; 351 - }; 352 - dependencies = [ 353 - "actionpack" 354 - "activesupport" 355 - "rake" 356 - "thor" 357 - ]; 358 - }; 359 - "rake" = { 360 - version = "10.4.0"; 361 - source = { 362 - type = "gem"; 363 - sha256 = "0a10xzqc1lh6gjkajkslr0n40wjrniyiyzxkp9m5fc8wf7b74zw8"; 364 - }; 365 - }; 366 - "rest-client" = { 367 - version = "1.6.7"; 368 - source = { 369 - type = "gem"; 370 - sha256 = "0nn7zalgidz2yj0iqh3xvzh626krm2al79dfiij19jdhp0rk8853"; 371 - }; 372 - dependencies = [ 373 - "mime-types" 374 - ]; 375 - }; 376 - "rspec-core" = { 377 - version = "3.1.7"; 378 - source = { 379 - type = "gem"; 380 - sha256 = "01bawvln663gffljwzpq3mrpa061cghjbvfbq15jvhmip3csxqc9"; 381 - }; 382 - dependencies = [ 383 - "rspec-support" 384 - ]; 385 - }; 386 - "rspec-expectations" = { 387 - version = "3.1.2"; 388 - source = { 389 - type = "gem"; 390 - sha256 = "0m8d36wng1lpbcs54zhg1rxh63rgj345k3p0h0c06lgknz339nzh"; 391 - }; 392 - dependencies = [ 393 - "diff-lcs" 394 - "rspec-support" 395 - ]; 396 - }; 397 - "rspec-mocks" = { 398 - version = "3.1.3"; 399 - source = { 400 - type = "gem"; 401 - sha256 = "0gxk5w3klia4zsnp0svxck43xxwwfdqvhr3srv6p30f3m5q6rmzr"; 402 - }; 403 - dependencies = [ 404 - "rspec-support" 405 - ]; 406 - }; 407 - "rspec-rails" = { 408 - version = "3.1.0"; 409 - source = { 410 - type = "gem"; 411 - sha256 = "1b1in3n1dc1bpf9wb3p3b2ynq05iacmr48jxzc73lj4g44ksh3wq"; 412 - }; 413 - dependencies = [ 414 - "actionpack" 415 - "activesupport" 416 - "railties" 417 - "rspec-core" 418 - "rspec-expectations" 419 - "rspec-mocks" 420 - "rspec-support" 421 - ]; 422 - }; 423 - "rspec-support" = { 424 - version = "3.1.2"; 425 - source = { 426 - type = "gem"; 427 - sha256 = "14y6v9r9lrh91ry9r79h85v0f3y9ja25w42nv5z9n0bipfcwhprb"; 428 - }; 429 - }; 430 - "safe_yaml" = { 431 - version = "1.0.4"; 432 - source = { 433 - type = "gem"; 434 - sha256 = "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094"; 435 - }; 436 - }; 437 - "sawyer" = { 438 - version = "0.5.4"; 439 - source = { 440 - type = "gem"; 441 - sha256 = "01kl4zpf0gaacnkra5nikrzfpwj8f10hsvgyzm7z2s1mz4iipx2v"; 442 - }; 443 - dependencies = [ 444 - "addressable" 445 - "faraday" 446 - ]; 447 - }; 448 - "shoulda-matchers" = { 449 - version = "2.6.1"; 450 - source = { 451 - type = "gem"; 452 - sha256 = "1p3jhvd4dsj6d7nbmvnqhqhpmb8pnr05pi7jv9ajwqcys8140mc1"; 453 - }; 454 - dependencies = [ 455 - "activesupport" 456 - ]; 457 - }; 458 - "simplecov" = { 459 - version = "0.9.1"; 460 - source = { 461 - type = "gem"; 462 - sha256 = "06hylxlalaxxldpbaqa54gc52wxdff0fixdvjyzr6i4ygxwzr7yf"; 463 - }; 464 - dependencies = [ 465 - "docile" 466 - "multi_json" 467 - "simplecov-html" 468 - ]; 469 - }; 470 - "simplecov-html" = { 471 - version = "0.8.0"; 472 - source = { 473 - type = "gem"; 474 - sha256 = "0jhn3jql73x7hsr00wwv984iyrcg0xhf64s90zaqv2f26blkqfb9"; 475 - }; 476 - }; 477 - "sprockets" = { 478 - version = "2.12.3"; 479 - source = { 480 - type = "gem"; 481 - sha256 = "1bn2drr8bc2af359dkfraq0nm0p1pib634kvhwn5lvj3r4vllnn2"; 482 - }; 483 - dependencies = [ 484 - "hike" 485 - "multi_json" 486 - "rack" 487 - "tilt" 488 - ]; 489 - }; 490 - "sprockets-rails" = { 491 - version = "2.2.4"; 492 - source = { 493 - type = "gem"; 494 - sha256 = "172cdg38cqsfgvrncjzj0kziz7kv6b1lx8pccd0blyphs25qf4gc"; 495 - }; 496 - dependencies = [ 497 - "actionpack" 498 - "activesupport" 499 - "sprockets" 500 - ]; 501 - }; 502 - "sqlite3" = { 503 - version = "1.3.9"; 504 - source = { 505 - type = "gem"; 506 - sha256 = "07m6a6flmyyi0rkg0j7x1a9861zngwjnximfh95cli2zzd57914r"; 507 - }; 508 - }; 509 - "term-ansicolor" = { 510 - version = "1.3.0"; 511 - source = { 512 - type = "gem"; 513 - sha256 = "1a2gw7gmpmx57sdpyhjwl0zn4bqp7jyjz7aslpvvphd075layp4b"; 514 - }; 515 - dependencies = [ 516 - "tins" 517 - ]; 518 - }; 519 - "thor" = { 520 - version = "0.19.1"; 521 - source = { 522 - type = "gem"; 523 - sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z"; 524 - }; 525 - }; 526 - "thread_safe" = { 527 - version = "0.3.4"; 528 - source = { 529 - type = "gem"; 530 - sha256 = "1cil2zcdzqkyr8zrwhlg7gywryg36j4mxlxw0h0x0j0wjym5nc8n"; 531 - }; 532 - }; 533 - "tilt" = { 534 - version = "1.4.1"; 535 - source = { 536 - type = "gem"; 537 - sha256 = "00sr3yy7sbqaq7cb2d2kpycajxqf1b1wr1yy33z4bnzmqii0b0ir"; 538 - }; 539 - }; 540 - "tins" = { 541 - version = "1.3.0"; 542 - source = { 543 - type = "gem"; 544 - sha256 = "1yxa5kyp9mw4w866wlg7c32ingzqxnzh3ir9yf06pwpkmq3mrbdi"; 545 - }; 546 - }; 547 - "tzinfo" = { 548 - version = "1.2.2"; 549 - source = { 550 - type = "gem"; 551 - sha256 = "1c01p3kg6xvy1cgjnzdfq45fggbwish8krd0h864jvbpybyx7cgx"; 552 - }; 553 - dependencies = [ 554 - "thread_safe" 555 - ]; 556 - }; 557 - "webmock" = { 558 - version = "1.20.0"; 559 - source = { 560 - type = "gem"; 561 - sha256 = "0bl5v0xzcj24lx7xpsnywv3liqnqb5lfxysmmfb2fgi0n8586i6m"; 562 - }; 563 - dependencies = [ 564 - "addressable" 565 - "crack" 566 - ]; 567 - }; 568 - }
···
-31
pkgs/applications/networking/cluster/panamax/ui/Gemfile
··· 1 - source 'https://rubygems.org' 2 - 3 - gem 'rails', '4.1.7' 4 - gem 'puma', '2.8.2' 5 - gem 'sass', '3.3.9' 6 - gem 'therubyracer', '0.12.1', platforms: :ruby 7 - gem 'haml', '4.0.5' 8 - gem 'uglifier', '2.5.1' 9 - gem 'ctl_base_ui' 10 - gem 'activeresource', '4.0.0' 11 - gem 'kramdown', '1.4.0' 12 - gem 'zeroclipboard-rails' 13 - 14 - 15 - group :test, :development do 16 - gem 'rspec-rails' 17 - gem 'its' 18 - gem 'capybara' 19 - gem 'teaspoon' 20 - gem 'phantomjs' 21 - gem 'dotenv-rails', '0.11.1' 22 - gem 'pry' 23 - gem 'pry-byebug' 24 - gem 'pry-stack_explorer' 25 - end 26 - 27 - group :test do 28 - gem 'webmock' 29 - gem 'sinatra', '1.4.5' 30 - gem 'coveralls', '0.7.0' 31 - end
···
-226
pkgs/applications/networking/cluster/panamax/ui/Gemfile.lock
··· 1 - GEM 2 - remote: https://rubygems.org/ 3 - specs: 4 - actionmailer (4.1.7) 5 - actionpack (= 4.1.7) 6 - actionview (= 4.1.7) 7 - mail (~> 2.5, >= 2.5.4) 8 - actionpack (4.1.7) 9 - actionview (= 4.1.7) 10 - activesupport (= 4.1.7) 11 - rack (~> 1.5.2) 12 - rack-test (~> 0.6.2) 13 - actionview (4.1.7) 14 - activesupport (= 4.1.7) 15 - builder (~> 3.1) 16 - erubis (~> 2.7.0) 17 - activemodel (4.1.7) 18 - activesupport (= 4.1.7) 19 - builder (~> 3.1) 20 - activerecord (4.1.7) 21 - activemodel (= 4.1.7) 22 - activesupport (= 4.1.7) 23 - arel (~> 5.0.0) 24 - activeresource (4.0.0) 25 - activemodel (~> 4.0) 26 - activesupport (~> 4.0) 27 - rails-observers (~> 0.1.1) 28 - activesupport (4.1.7) 29 - i18n (~> 0.6, >= 0.6.9) 30 - json (~> 1.7, >= 1.7.7) 31 - minitest (~> 5.1) 32 - thread_safe (~> 0.1) 33 - tzinfo (~> 1.1) 34 - addressable (2.3.6) 35 - arel (5.0.1.20140414130214) 36 - binding_of_caller (0.7.2) 37 - debug_inspector (>= 0.0.1) 38 - builder (3.2.2) 39 - byebug (3.5.1) 40 - columnize (~> 0.8) 41 - debugger-linecache (~> 1.2) 42 - slop (~> 3.6) 43 - capybara (2.4.4) 44 - mime-types (>= 1.16) 45 - nokogiri (>= 1.3.3) 46 - rack (>= 1.0.0) 47 - rack-test (>= 0.5.4) 48 - xpath (~> 2.0) 49 - coderay (1.1.0) 50 - columnize (0.8.9) 51 - coveralls (0.7.0) 52 - multi_json (~> 1.3) 53 - rest-client 54 - simplecov (>= 0.7) 55 - term-ansicolor 56 - thor 57 - crack (0.4.2) 58 - safe_yaml (~> 1.0.0) 59 - ctl_base_ui (0.0.5) 60 - haml (~> 4.0) 61 - jquery-rails (~> 3.1) 62 - jquery-ui-rails (~> 4.2) 63 - rails (~> 4.1) 64 - sass (~> 3.3) 65 - debug_inspector (0.0.2) 66 - debugger-linecache (1.2.0) 67 - diff-lcs (1.2.5) 68 - docile (1.1.5) 69 - dotenv (0.11.1) 70 - dotenv-deployment (~> 0.0.2) 71 - dotenv-deployment (0.0.2) 72 - dotenv-rails (0.11.1) 73 - dotenv (= 0.11.1) 74 - erubis (2.7.0) 75 - execjs (2.2.2) 76 - haml (4.0.5) 77 - tilt 78 - hike (1.2.3) 79 - i18n (0.7.0) 80 - its (0.2.0) 81 - rspec-core 82 - jquery-rails (3.1.2) 83 - railties (>= 3.0, < 5.0) 84 - thor (>= 0.14, < 2.0) 85 - jquery-ui-rails (4.2.1) 86 - railties (>= 3.2.16) 87 - json (1.8.2) 88 - kramdown (1.4.0) 89 - libv8 (3.16.14.11) 90 - mail (2.6.3) 91 - mime-types (>= 1.16, < 3) 92 - method_source (0.8.2) 93 - mime-types (2.4.3) 94 - mini_portile (0.6.1) 95 - minitest (5.5.1) 96 - multi_json (1.10.1) 97 - netrc (0.8.0) 98 - nokogiri (1.6.5) 99 - mini_portile (~> 0.6.0) 100 - phantomjs (1.9.7.1) 101 - pry (0.10.1) 102 - coderay (~> 1.1.0) 103 - method_source (~> 0.8.1) 104 - slop (~> 3.4) 105 - pry-byebug (2.0.0) 106 - byebug (~> 3.4) 107 - pry (~> 0.10) 108 - pry-stack_explorer (0.4.9.1) 109 - binding_of_caller (>= 0.7) 110 - pry (>= 0.9.11) 111 - puma (2.8.2) 112 - rack (>= 1.1, < 2.0) 113 - rack (1.5.2) 114 - rack-protection (1.5.3) 115 - rack 116 - rack-test (0.6.3) 117 - rack (>= 1.0) 118 - rails (4.1.7) 119 - actionmailer (= 4.1.7) 120 - actionpack (= 4.1.7) 121 - actionview (= 4.1.7) 122 - activemodel (= 4.1.7) 123 - activerecord (= 4.1.7) 124 - activesupport (= 4.1.7) 125 - bundler (>= 1.3.0, < 2.0) 126 - railties (= 4.1.7) 127 - sprockets-rails (~> 2.0) 128 - rails-observers (0.1.2) 129 - activemodel (~> 4.0) 130 - railties (4.1.7) 131 - actionpack (= 4.1.7) 132 - activesupport (= 4.1.7) 133 - rake (>= 0.8.7) 134 - thor (>= 0.18.1, < 2.0) 135 - rake (10.4.0) 136 - ref (1.0.5) 137 - rest-client (1.7.2) 138 - mime-types (>= 1.16, < 3.0) 139 - netrc (~> 0.7) 140 - rspec-core (3.1.7) 141 - rspec-support (~> 3.1.0) 142 - rspec-expectations (3.1.2) 143 - diff-lcs (>= 1.2.0, < 2.0) 144 - rspec-support (~> 3.1.0) 145 - rspec-mocks (3.1.3) 146 - rspec-support (~> 3.1.0) 147 - rspec-rails (3.1.0) 148 - actionpack (>= 3.0) 149 - activesupport (>= 3.0) 150 - railties (>= 3.0) 151 - rspec-core (~> 3.1.0) 152 - rspec-expectations (~> 3.1.0) 153 - rspec-mocks (~> 3.1.0) 154 - rspec-support (~> 3.1.0) 155 - rspec-support (3.1.2) 156 - safe_yaml (1.0.4) 157 - sass (3.3.9) 158 - simplecov (0.9.1) 159 - docile (~> 1.1.0) 160 - multi_json (~> 1.0) 161 - simplecov-html (~> 0.8.0) 162 - simplecov-html (0.8.0) 163 - sinatra (1.4.5) 164 - rack (~> 1.4) 165 - rack-protection (~> 1.4) 166 - tilt (~> 1.3, >= 1.3.4) 167 - slop (3.6.0) 168 - sprockets (2.12.3) 169 - hike (~> 1.2) 170 - multi_json (~> 1.0) 171 - rack (~> 1.0) 172 - tilt (~> 1.1, != 1.3.0) 173 - sprockets-rails (2.2.4) 174 - actionpack (>= 3.0) 175 - activesupport (>= 3.0) 176 - sprockets (>= 2.8, < 4.0) 177 - teaspoon (0.8.0) 178 - railties (>= 3.2.5, < 5) 179 - term-ansicolor (1.3.0) 180 - tins (~> 1.0) 181 - therubyracer (0.12.1) 182 - libv8 (~> 3.16.14.0) 183 - ref 184 - thor (0.19.1) 185 - thread_safe (0.3.4) 186 - tilt (1.4.1) 187 - tins (1.3.3) 188 - tzinfo (1.2.2) 189 - thread_safe (~> 0.1) 190 - uglifier (2.5.1) 191 - execjs (>= 0.3.0) 192 - json (>= 1.8.0) 193 - webmock (1.20.4) 194 - addressable (>= 2.3.6) 195 - crack (>= 0.3.2) 196 - xpath (2.0.0) 197 - nokogiri (~> 1.3) 198 - zeroclipboard-rails (0.1.0) 199 - railties (>= 3.1) 200 - 201 - PLATFORMS 202 - ruby 203 - 204 - DEPENDENCIES 205 - activeresource (= 4.0.0) 206 - capybara 207 - coveralls (= 0.7.0) 208 - ctl_base_ui 209 - dotenv-rails (= 0.11.1) 210 - haml (= 4.0.5) 211 - its 212 - kramdown (= 1.4.0) 213 - phantomjs 214 - pry 215 - pry-byebug 216 - pry-stack_explorer 217 - puma (= 2.8.2) 218 - rails (= 4.1.7) 219 - rspec-rails 220 - sass (= 3.3.9) 221 - sinatra (= 1.4.5) 222 - teaspoon 223 - therubyracer (= 0.12.1) 224 - uglifier (= 2.5.1) 225 - webmock 226 - zeroclipboard-rails
···
-72
pkgs/applications/networking/cluster/panamax/ui/default.nix
··· 1 - { stdenv, fetchgit, fetchurl, makeWrapper, bundlerEnv, bundler 2 - , ruby, openssl, sqlite, dataDir ? "/var/lib/panamax-ui"}@args: 3 - 4 - with stdenv.lib; 5 - 6 - stdenv.mkDerivation rec { 7 - name = "panamax-ui-${version}"; 8 - version = "0.2.14"; 9 - 10 - env = bundlerEnv { 11 - name = "panamax-ui-gems-${version}"; 12 - inherit ruby; 13 - gemdir = ./.; 14 - }; 15 - 16 - bundler = args.bundler.override { inherit ruby; }; 17 - 18 - src = fetchgit { 19 - rev = "refs/tags/v${version}"; 20 - url = "git://github.com/CenturyLinkLabs/panamax-ui"; 21 - sha256 = "01k0h0rjqp5arvwxm2xpfxjsag5qw0qqlg7hx4v8f6jsyc4wmjfl"; 22 - }; 23 - 24 - buildInputs = [ makeWrapper env.ruby openssl sqlite bundler ]; 25 - 26 - setSourceRoot = '' 27 - mkdir -p $out/share 28 - cp -R panamax-ui $out/share/panamax-ui 29 - export sourceRoot="$out/share/panamax-ui" 30 - ''; 31 - 32 - postPatch = '' 33 - find . -type f -iname "*.haml" -exec sed -e 's|CoreOS Journal|NixOS Journal|g' -i "{}" \; 34 - find . -type f -iname "*.haml" -exec sed -e 's|CoreOS Local|NixOS Local|g' -i "{}" \; 35 - find . -type f -iname "*.haml" -exec sed -e 's|CoreOS Host|NixOS Host|g' -i "{}" \; 36 - sed -e 's|CoreOS Local|NixOS Local|g' -i "spec/features/manage_application_spec.rb" 37 - # fix libv8 dependency 38 - substituteInPlace Gemfile.lock --replace "3.16.14.7" "3.16.14.11" 39 - ''; 40 - 41 - configurePhase = '' 42 - export HOME=$PWD 43 - export GEM_HOME=${env}/${env.ruby.gemPath} 44 - ''; 45 - 46 - buildPhase = '' 47 - rm -f ./bin/* 48 - bundle exec rake rails:update:bin 49 - ''; 50 - 51 - installPhase = '' 52 - rm -rf log tmp db 53 - ln -sf ${dataDir}/{db,state/log,state/tmp} . 54 - 55 - mkdir -p $out/bin 56 - makeWrapper bin/bundle "$out/bin/bundle" \ 57 - --run "cd $out/share/panamax-ui" \ 58 - --prefix "PATH" : "$out/share/panamax-ui/bin:${env.ruby}/bin:$PATH" \ 59 - --prefix "HOME" : "$out/share/panamax-ui" \ 60 - --prefix "GEM_HOME" : "${env}/${env.ruby.gemPath}" \ 61 - --prefix "GEM_PATH" : "$out/share/panamax-ui:${bundler}/${env.ruby.gemPath}" 62 - ''; 63 - 64 - meta = with stdenv.lib; { 65 - broken = true; # needs ruby 2.1 66 - homepage = https://github.com/CenturyLinkLabs/panamax-ui; 67 - description = "The Web GUI for Panamax"; 68 - license = licenses.asl20; 69 - maintainers = with maintainers; [ matejc offline ]; 70 - platforms = platforms.linux; 71 - }; 72 - }
···
-789
pkgs/applications/networking/cluster/panamax/ui/gemset.nix
··· 1 - { 2 - "actionmailer" = { 3 - version = "4.1.7"; 4 - source = { 5 - type = "gem"; 6 - sha256 = "0qjv5akjbpgd4cx518k522mssvc3y3nki65hi6fj5nbzi7a6rwq5"; 7 - }; 8 - dependencies = [ 9 - "actionpack" 10 - "actionview" 11 - "mail" 12 - ]; 13 - }; 14 - "actionpack" = { 15 - version = "4.1.7"; 16 - source = { 17 - type = "gem"; 18 - sha256 = "07y1ny00h69xklq260smyl5md052f617gqrzkyw5sxafs5z25zax"; 19 - }; 20 - dependencies = [ 21 - "actionview" 22 - "activesupport" 23 - "rack" 24 - "rack-test" 25 - ]; 26 - }; 27 - "actionview" = { 28 - version = "4.1.7"; 29 - source = { 30 - type = "gem"; 31 - sha256 = "06sp37gfpn2jn7j6vlpp1y6vfi5kig60vyvixrjhyz0g4vgm13ax"; 32 - }; 33 - dependencies = [ 34 - "activesupport" 35 - "builder" 36 - "erubis" 37 - ]; 38 - }; 39 - "activemodel" = { 40 - version = "4.1.7"; 41 - source = { 42 - type = "gem"; 43 - sha256 = "0rlqzz25l7vsphgkilg80kmk20d9h357awi27ax6zzb9klkqh0jr"; 44 - }; 45 - dependencies = [ 46 - "activesupport" 47 - "builder" 48 - ]; 49 - }; 50 - "activerecord" = { 51 - version = "4.1.7"; 52 - source = { 53 - type = "gem"; 54 - sha256 = "0j4r0m32mjbwmz9gs8brln35jzr1cn7h585ggj0w0f1ai4hjsby5"; 55 - }; 56 - dependencies = [ 57 - "activemodel" 58 - "activesupport" 59 - "arel" 60 - ]; 61 - }; 62 - "activeresource" = { 63 - version = "4.0.0"; 64 - source = { 65 - type = "gem"; 66 - sha256 = "0fc5igjijyjzsl9q5kybkdzhc92zv8wsv0ifb0y90i632jx6d4jq"; 67 - }; 68 - dependencies = [ 69 - "activemodel" 70 - "activesupport" 71 - "rails-observers" 72 - ]; 73 - }; 74 - "activesupport" = { 75 - version = "4.1.7"; 76 - source = { 77 - type = "gem"; 78 - sha256 = "13i3mz66d5kp5y39gjwmcfqv0wb6mxm5k1nnz40wvd38dsf7n3bs"; 79 - }; 80 - dependencies = [ 81 - "i18n" 82 - "json" 83 - "minitest" 84 - "thread_safe" 85 - "tzinfo" 86 - ]; 87 - }; 88 - "addressable" = { 89 - version = "2.3.6"; 90 - source = { 91 - type = "gem"; 92 - sha256 = "137fj0whmn1kvaq8wjalp8x4qbblwzvg3g4bfx8d8lfi6f0w48p8"; 93 - }; 94 - }; 95 - "arel" = { 96 - version = "5.0.1.20140414130214"; 97 - source = { 98 - type = "gem"; 99 - sha256 = "0dhnc20h1v8ml3nmkxq92rr7qxxpk6ixhwvwhgl2dbw9mmxz0hf9"; 100 - }; 101 - }; 102 - "binding_of_caller" = { 103 - version = "0.7.2"; 104 - source = { 105 - type = "gem"; 106 - sha256 = "15jg6dkaq2nzcd602d7ppqbdxw3aji961942w93crs6qw4n6h9yk"; 107 - }; 108 - dependencies = [ 109 - "debug_inspector" 110 - ]; 111 - }; 112 - "builder" = { 113 - version = "3.2.2"; 114 - source = { 115 - type = "gem"; 116 - sha256 = "14fii7ab8qszrvsvhz6z2z3i4dw0h41a62fjr2h1j8m41vbrmyv2"; 117 - }; 118 - }; 119 - "byebug" = { 120 - version = "3.5.1"; 121 - source = { 122 - type = "gem"; 123 - sha256 = "0ldc2r0b316rrn2fgdgiznskj9gb0q9n60243laq7nqw9na8wdan"; 124 - }; 125 - dependencies = [ 126 - "columnize" 127 - "debugger-linecache" 128 - "slop" 129 - ]; 130 - }; 131 - "capybara" = { 132 - version = "2.4.4"; 133 - source = { 134 - type = "gem"; 135 - sha256 = "114k4xi4nfbp3jfbxgwa3fksbwsyibx74gbdqpcgg3dxpmzkaa4f"; 136 - }; 137 - dependencies = [ 138 - "mime-types" 139 - "nokogiri" 140 - "rack" 141 - "rack-test" 142 - "xpath" 143 - ]; 144 - }; 145 - "coderay" = { 146 - version = "1.1.0"; 147 - source = { 148 - type = "gem"; 149 - sha256 = "059wkzlap2jlkhg460pkwc1ay4v4clsmg1bp4vfzjzkgwdckr52s"; 150 - }; 151 - }; 152 - "columnize" = { 153 - version = "0.8.9"; 154 - source = { 155 - type = "gem"; 156 - sha256 = "1f3azq8pvdaaclljanwhab78hdw40k908ma2cwk59qzj4hvf7mip"; 157 - }; 158 - }; 159 - "coveralls" = { 160 - version = "0.7.0"; 161 - source = { 162 - type = "gem"; 163 - sha256 = "0sz30d7b83qqsj3i0fr691w05d62wj7x3afh0ryjkqkis3fq94j4"; 164 - }; 165 - dependencies = [ 166 - "multi_json" 167 - "rest-client" 168 - "simplecov" 169 - "term-ansicolor" 170 - "thor" 171 - ]; 172 - }; 173 - "crack" = { 174 - version = "0.4.2"; 175 - source = { 176 - type = "gem"; 177 - sha256 = "1il94m92sz32nw5i6hdq14f1a2c3s9hza9zn6l95fvqhabq38k7a"; 178 - }; 179 - dependencies = [ 180 - "safe_yaml" 181 - ]; 182 - }; 183 - "ctl_base_ui" = { 184 - version = "0.0.5"; 185 - source = { 186 - type = "gem"; 187 - sha256 = "1pji85xmddgld5lqx52zxi5r2kx6rsjwkqlr26bp62xb29r10x57"; 188 - }; 189 - dependencies = [ 190 - "haml" 191 - "jquery-rails" 192 - "jquery-ui-rails" 193 - "rails" 194 - "sass" 195 - ]; 196 - }; 197 - "debug_inspector" = { 198 - version = "0.0.2"; 199 - source = { 200 - type = "gem"; 201 - sha256 = "109761g00dbrw5q0dfnbqg8blfm699z4jj70l4zrgf9mzn7ii50m"; 202 - }; 203 - }; 204 - "debugger-linecache" = { 205 - version = "1.2.0"; 206 - source = { 207 - type = "gem"; 208 - sha256 = "0iwyx190fd5vfwj1gzr8pg3m374kqqix4g4fc4qw29sp54d3fpdz"; 209 - }; 210 - }; 211 - "diff-lcs" = { 212 - version = "1.2.5"; 213 - source = { 214 - type = "gem"; 215 - sha256 = "1vf9civd41bnqi6brr5d9jifdw73j9khc6fkhfl1f8r9cpkdvlx1"; 216 - }; 217 - }; 218 - "docile" = { 219 - version = "1.1.5"; 220 - source = { 221 - type = "gem"; 222 - sha256 = "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx"; 223 - }; 224 - }; 225 - "dotenv" = { 226 - version = "0.11.1"; 227 - source = { 228 - type = "gem"; 229 - sha256 = "09z0y0d6bks7i0sqvd8szfqj9i1kkj01anzly7shi83b3gxhrq9m"; 230 - }; 231 - dependencies = [ 232 - "dotenv-deployment" 233 - ]; 234 - }; 235 - "dotenv-deployment" = { 236 - version = "0.0.2"; 237 - source = { 238 - type = "gem"; 239 - sha256 = "1ad66jq9a09qq1js8wsyil97018s7y6x0vzji0dy34gh65sbjz8c"; 240 - }; 241 - }; 242 - "dotenv-rails" = { 243 - version = "0.11.1"; 244 - source = { 245 - type = "gem"; 246 - sha256 = "0r6hif0i1lipbi7mkxx7wa5clsn65n6wyd9jry262cx396lsfrqy"; 247 - }; 248 - dependencies = [ 249 - "dotenv" 250 - ]; 251 - }; 252 - "erubis" = { 253 - version = "2.7.0"; 254 - source = { 255 - type = "gem"; 256 - sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3"; 257 - }; 258 - }; 259 - "execjs" = { 260 - version = "2.2.2"; 261 - source = { 262 - type = "gem"; 263 - sha256 = "05m41mnxn4b2p133qzbz5cy9cc5rn57aa0pp2943hxmzbk379z1f"; 264 - }; 265 - }; 266 - "haml" = { 267 - version = "4.0.5"; 268 - source = { 269 - type = "gem"; 270 - sha256 = "1xmzb0k5q271090crzmv7dbw8ss4289bzxklrc0fhw6pw3kcvc85"; 271 - }; 272 - dependencies = [ 273 - "tilt" 274 - ]; 275 - }; 276 - "hike" = { 277 - version = "1.2.3"; 278 - source = { 279 - type = "gem"; 280 - sha256 = "0i6c9hrszzg3gn2j41v3ijnwcm8cc2931fnjiv6mnpl4jcjjykhm"; 281 - }; 282 - }; 283 - "i18n" = { 284 - version = "0.7.0"; 285 - source = { 286 - type = "gem"; 287 - sha256 = "1i5z1ykl8zhszsxcs8mzl8d0dxgs3ylz8qlzrw74jb0gplkx6758"; 288 - }; 289 - }; 290 - "its" = { 291 - version = "0.2.0"; 292 - source = { 293 - type = "gem"; 294 - sha256 = "0rxwds9ipqp48mzqcaxzmfcqhawazg0zlhc1avv3i2cmm3np1z8g"; 295 - }; 296 - dependencies = [ 297 - "rspec-core" 298 - ]; 299 - }; 300 - "jquery-rails" = { 301 - version = "3.1.2"; 302 - source = { 303 - type = "gem"; 304 - sha256 = "0h5a565i3l2mbd221m6mz9d1nr53pz19i9qxv08qr1dv0yx2pr3y"; 305 - }; 306 - dependencies = [ 307 - "railties" 308 - "thor" 309 - ]; 310 - }; 311 - "jquery-ui-rails" = { 312 - version = "4.2.1"; 313 - source = { 314 - type = "gem"; 315 - sha256 = "1garrnqwh35acj2pp4sp6fpm2g881h23y644lzbic2qmcrq9wd2v"; 316 - }; 317 - dependencies = [ 318 - "railties" 319 - ]; 320 - }; 321 - "json" = { 322 - version = "1.8.2"; 323 - source = { 324 - type = "gem"; 325 - sha256 = "0zzvv25vjikavd3b1bp6lvbgj23vv9jvmnl4vpim8pv30z8p6vr5"; 326 - }; 327 - }; 328 - "kramdown" = { 329 - version = "1.4.0"; 330 - source = { 331 - type = "gem"; 332 - sha256 = "001vy0ymiwbvkdbb9wpqmswv6imliv7xim00gq6rlk0chnbiaq80"; 333 - }; 334 - }; 335 - libv8 = { 336 - version = "3.16.14.11"; 337 - source = { 338 - type = "gem"; 339 - sha256 = "000vbiy78wk5r1f6p7qncab8ldg7qw5pjz7bchn3lw700gpaacxp"; 340 - }; 341 - }; 342 - "mail" = { 343 - version = "2.6.3"; 344 - source = { 345 - type = "gem"; 346 - sha256 = "1nbg60h3cpnys45h7zydxwrl200p7ksvmrbxnwwbpaaf9vnf3znp"; 347 - }; 348 - dependencies = [ 349 - "mime-types" 350 - ]; 351 - }; 352 - "method_source" = { 353 - version = "0.8.2"; 354 - source = { 355 - type = "gem"; 356 - sha256 = "1g5i4w0dmlhzd18dijlqw5gk27bv6dj2kziqzrzb7mpgxgsd1sf2"; 357 - }; 358 - }; 359 - "mime-types" = { 360 - version = "2.4.3"; 361 - source = { 362 - type = "gem"; 363 - sha256 = "16nissnb31wj7kpcaynx4gr67i7pbkzccfg8k7xmplbkla4rmwiq"; 364 - }; 365 - }; 366 - "mini_portile" = { 367 - version = "0.6.1"; 368 - source = { 369 - type = "gem"; 370 - sha256 = "07gah4k84sar9d850v9gip9b323pw74vwwndh3bbzxpw5iiwsd3l"; 371 - }; 372 - }; 373 - "minitest" = { 374 - version = "5.5.1"; 375 - source = { 376 - type = "gem"; 377 - sha256 = "1h8jn0rgmwy37jnhfcg55iilw0n370vgp8xnh0g5laa8rhv32fyn"; 378 - }; 379 - }; 380 - "multi_json" = { 381 - version = "1.10.1"; 382 - source = { 383 - type = "gem"; 384 - sha256 = "1ll21dz01jjiplr846n1c8yzb45kj5hcixgb72rz0zg8fyc9g61c"; 385 - }; 386 - }; 387 - "netrc" = { 388 - version = "0.8.0"; 389 - source = { 390 - type = "gem"; 391 - sha256 = "1j4jbdvd19kq34xiqx1yqb4wmcywyrlaky8hrh09c1hz3c0v5dkb"; 392 - }; 393 - }; 394 - "nokogiri" = { 395 - version = "1.6.5"; 396 - source = { 397 - type = "gem"; 398 - sha256 = "1xmxz6fa0m4p7c7ngpgz6gjgv65lzz63dsf0b6vh7gs2fkiw8j7l"; 399 - }; 400 - dependencies = [ 401 - "mini_portile" 402 - ]; 403 - }; 404 - "phantomjs" = { 405 - version = "1.9.7.1"; 406 - source = { 407 - type = "gem"; 408 - sha256 = "14as0yzwbzvshbp1f8igjxcdxc5vbjgh0jhdvy393il084inlrl7"; 409 - }; 410 - }; 411 - "pry" = { 412 - version = "0.10.1"; 413 - source = { 414 - type = "gem"; 415 - sha256 = "1j0r5fm0wvdwzbh6d6apnp7c0n150hpm9zxpm5xvcgfqr36jaj8z"; 416 - }; 417 - dependencies = [ 418 - "coderay" 419 - "method_source" 420 - "slop" 421 - ]; 422 - }; 423 - "pry-byebug" = { 424 - version = "2.0.0"; 425 - source = { 426 - type = "gem"; 427 - sha256 = "17b6720ci9345wkzj369ydyj6hdlg2krd26zivpd4dvaijszzgzq"; 428 - }; 429 - dependencies = [ 430 - "byebug" 431 - "pry" 432 - ]; 433 - }; 434 - "pry-stack_explorer" = { 435 - version = "0.4.9.1"; 436 - source = { 437 - type = "gem"; 438 - sha256 = "1828jqcfdr9nk86n15ky199vf33cfz51wkpv6kx230g0dsh9r85z"; 439 - }; 440 - dependencies = [ 441 - "binding_of_caller" 442 - "pry" 443 - ]; 444 - }; 445 - "puma" = { 446 - version = "2.8.2"; 447 - source = { 448 - type = "gem"; 449 - sha256 = "1l57fmf8vyxfjv7ab5znq0k339cym5ghnm5xxfvd1simjp73db0k"; 450 - }; 451 - dependencies = [ 452 - "rack" 453 - ]; 454 - }; 455 - "rack" = { 456 - version = "1.5.2"; 457 - source = { 458 - type = "gem"; 459 - sha256 = "19szfw76cscrzjldvw30jp3461zl00w4xvw1x9lsmyp86h1g0jp6"; 460 - }; 461 - }; 462 - "rack-protection" = { 463 - version = "1.5.3"; 464 - source = { 465 - type = "gem"; 466 - sha256 = "0cvb21zz7p9wy23wdav63z5qzfn4nialik22yqp6gihkgfqqrh5r"; 467 - }; 468 - dependencies = [ 469 - "rack" 470 - ]; 471 - }; 472 - "rack-test" = { 473 - version = "0.6.3"; 474 - source = { 475 - type = "gem"; 476 - sha256 = "0h6x5jq24makgv2fq5qqgjlrk74dxfy62jif9blk43llw8ib2q7z"; 477 - }; 478 - dependencies = [ 479 - "rack" 480 - ]; 481 - }; 482 - "rails" = { 483 - version = "4.1.7"; 484 - source = { 485 - type = "gem"; 486 - sha256 = "059mpljplmhfz8rr4hk40q67fllcpsy809m4mwwbkm8qwif2z5r0"; 487 - }; 488 - dependencies = [ 489 - "actionmailer" 490 - "actionpack" 491 - "actionview" 492 - "activemodel" 493 - "activerecord" 494 - "activesupport" 495 - "railties" 496 - "sprockets-rails" 497 - ]; 498 - }; 499 - "rails-observers" = { 500 - version = "0.1.2"; 501 - source = { 502 - type = "gem"; 503 - sha256 = "1lsw19jzmvipvrfy2z04hi7r29dvkfc43h43vs67x6lsj9rxwwcy"; 504 - }; 505 - dependencies = [ 506 - "activemodel" 507 - ]; 508 - }; 509 - "railties" = { 510 - version = "4.1.7"; 511 - source = { 512 - type = "gem"; 513 - sha256 = "1n08h0rgj0aq5lvslnih6lvqz9wadpz6nnb25i4qhp37fhhyz9yz"; 514 - }; 515 - dependencies = [ 516 - "actionpack" 517 - "activesupport" 518 - "rake" 519 - "thor" 520 - ]; 521 - }; 522 - "rake" = { 523 - version = "10.4.0"; 524 - source = { 525 - type = "gem"; 526 - sha256 = "0a10xzqc1lh6gjkajkslr0n40wjrniyiyzxkp9m5fc8wf7b74zw8"; 527 - }; 528 - }; 529 - "ref" = { 530 - version = "1.0.5"; 531 - source = { 532 - type = "gem"; 533 - sha256 = "19qgpsfszwc2sfh6wixgky5agn831qq8ap854i1jqqhy1zsci3la"; 534 - }; 535 - }; 536 - "rest-client" = { 537 - version = "1.7.2"; 538 - source = { 539 - type = "gem"; 540 - sha256 = "0h8c0prfi2v5p8iim3wm60xc4yripc13nqwq601bfl85k4gf25i0"; 541 - }; 542 - dependencies = [ 543 - "mime-types" 544 - "netrc" 545 - ]; 546 - }; 547 - "rspec-core" = { 548 - version = "3.1.7"; 549 - source = { 550 - type = "gem"; 551 - sha256 = "01bawvln663gffljwzpq3mrpa061cghjbvfbq15jvhmip3csxqc9"; 552 - }; 553 - dependencies = [ 554 - "rspec-support" 555 - ]; 556 - }; 557 - "rspec-expectations" = { 558 - version = "3.1.2"; 559 - source = { 560 - type = "gem"; 561 - sha256 = "0m8d36wng1lpbcs54zhg1rxh63rgj345k3p0h0c06lgknz339nzh"; 562 - }; 563 - dependencies = [ 564 - "diff-lcs" 565 - "rspec-support" 566 - ]; 567 - }; 568 - "rspec-mocks" = { 569 - version = "3.1.3"; 570 - source = { 571 - type = "gem"; 572 - sha256 = "0gxk5w3klia4zsnp0svxck43xxwwfdqvhr3srv6p30f3m5q6rmzr"; 573 - }; 574 - dependencies = [ 575 - "rspec-support" 576 - ]; 577 - }; 578 - "rspec-rails" = { 579 - version = "3.1.0"; 580 - source = { 581 - type = "gem"; 582 - sha256 = "1b1in3n1dc1bpf9wb3p3b2ynq05iacmr48jxzc73lj4g44ksh3wq"; 583 - }; 584 - dependencies = [ 585 - "actionpack" 586 - "activesupport" 587 - "railties" 588 - "rspec-core" 589 - "rspec-expectations" 590 - "rspec-mocks" 591 - "rspec-support" 592 - ]; 593 - }; 594 - "rspec-support" = { 595 - version = "3.1.2"; 596 - source = { 597 - type = "gem"; 598 - sha256 = "14y6v9r9lrh91ry9r79h85v0f3y9ja25w42nv5z9n0bipfcwhprb"; 599 - }; 600 - }; 601 - "safe_yaml" = { 602 - version = "1.0.4"; 603 - source = { 604 - type = "gem"; 605 - sha256 = "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094"; 606 - }; 607 - }; 608 - "sass" = { 609 - version = "3.3.9"; 610 - source = { 611 - type = "gem"; 612 - sha256 = "0k19vj73283i907z4wfkc9qdska2b19z7ps6lcr5s4qzwis1zkmz"; 613 - }; 614 - }; 615 - "simplecov" = { 616 - version = "0.9.1"; 617 - source = { 618 - type = "gem"; 619 - sha256 = "06hylxlalaxxldpbaqa54gc52wxdff0fixdvjyzr6i4ygxwzr7yf"; 620 - }; 621 - dependencies = [ 622 - "docile" 623 - "multi_json" 624 - "simplecov-html" 625 - ]; 626 - }; 627 - "simplecov-html" = { 628 - version = "0.8.0"; 629 - source = { 630 - type = "gem"; 631 - sha256 = "0jhn3jql73x7hsr00wwv984iyrcg0xhf64s90zaqv2f26blkqfb9"; 632 - }; 633 - }; 634 - "sinatra" = { 635 - version = "1.4.5"; 636 - source = { 637 - type = "gem"; 638 - sha256 = "0qyna3wzlnvsz69d21lxcm3ixq7db08mi08l0a88011qi4qq701s"; 639 - }; 640 - dependencies = [ 641 - "rack" 642 - "rack-protection" 643 - "tilt" 644 - ]; 645 - }; 646 - "slop" = { 647 - version = "3.6.0"; 648 - source = { 649 - type = "gem"; 650 - sha256 = "00w8g3j7k7kl8ri2cf1m58ckxk8rn350gp4chfscmgv6pq1spk3n"; 651 - }; 652 - }; 653 - "sprockets" = { 654 - version = "2.12.3"; 655 - source = { 656 - type = "gem"; 657 - sha256 = "1bn2drr8bc2af359dkfraq0nm0p1pib634kvhwn5lvj3r4vllnn2"; 658 - }; 659 - dependencies = [ 660 - "hike" 661 - "multi_json" 662 - "rack" 663 - "tilt" 664 - ]; 665 - }; 666 - "sprockets-rails" = { 667 - version = "2.2.4"; 668 - source = { 669 - type = "gem"; 670 - sha256 = "172cdg38cqsfgvrncjzj0kziz7kv6b1lx8pccd0blyphs25qf4gc"; 671 - }; 672 - dependencies = [ 673 - "actionpack" 674 - "activesupport" 675 - "sprockets" 676 - ]; 677 - }; 678 - "teaspoon" = { 679 - version = "0.8.0"; 680 - source = { 681 - type = "gem"; 682 - sha256 = "1j3brbm9cv5km9d9wzb6q2b3cvc6m254z48h7h77z1w6c5wr0p3z"; 683 - }; 684 - dependencies = [ 685 - "railties" 686 - ]; 687 - }; 688 - "term-ansicolor" = { 689 - version = "1.3.0"; 690 - source = { 691 - type = "gem"; 692 - sha256 = "1a2gw7gmpmx57sdpyhjwl0zn4bqp7jyjz7aslpvvphd075layp4b"; 693 - }; 694 - dependencies = [ 695 - "tins" 696 - ]; 697 - }; 698 - "therubyracer" = { 699 - version = "0.12.1"; 700 - source = { 701 - type = "gem"; 702 - sha256 = "106fqimqyaalh7p6czbl5m2j69z8gv7cm10mjb8bbb2p2vlmqmi6"; 703 - }; 704 - dependencies = [ 705 - "libv8" 706 - "ref" 707 - ]; 708 - }; 709 - "thor" = { 710 - version = "0.19.1"; 711 - source = { 712 - type = "gem"; 713 - sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z"; 714 - }; 715 - }; 716 - "thread_safe" = { 717 - version = "0.3.4"; 718 - source = { 719 - type = "gem"; 720 - sha256 = "1cil2zcdzqkyr8zrwhlg7gywryg36j4mxlxw0h0x0j0wjym5nc8n"; 721 - }; 722 - }; 723 - "tilt" = { 724 - version = "1.4.1"; 725 - source = { 726 - type = "gem"; 727 - sha256 = "00sr3yy7sbqaq7cb2d2kpycajxqf1b1wr1yy33z4bnzmqii0b0ir"; 728 - }; 729 - }; 730 - "tins" = { 731 - version = "1.3.3"; 732 - source = { 733 - type = "gem"; 734 - sha256 = "14jnsg15wakdk1ljh2iv9yvzk8nb7gpzd2zw4yvjikmffqjyqvna"; 735 - }; 736 - }; 737 - "tzinfo" = { 738 - version = "1.2.2"; 739 - source = { 740 - type = "gem"; 741 - sha256 = "1c01p3kg6xvy1cgjnzdfq45fggbwish8krd0h864jvbpybyx7cgx"; 742 - }; 743 - dependencies = [ 744 - "thread_safe" 745 - ]; 746 - }; 747 - "uglifier" = { 748 - version = "2.5.1"; 749 - source = { 750 - type = "gem"; 751 - sha256 = "1vihq309mzv9a2i0s8v4imrn1g2kj8z0vr88q3i5b657c4kxzfp0"; 752 - }; 753 - dependencies = [ 754 - "execjs" 755 - "json" 756 - ]; 757 - }; 758 - "webmock" = { 759 - version = "1.20.4"; 760 - source = { 761 - type = "gem"; 762 - sha256 = "01cz13ybxbbvkpl21bcfv0p9ir8m2zcplx93ps01ma54p25z4mxr"; 763 - }; 764 - dependencies = [ 765 - "addressable" 766 - "crack" 767 - ]; 768 - }; 769 - "xpath" = { 770 - version = "2.0.0"; 771 - source = { 772 - type = "gem"; 773 - sha256 = "04kcr127l34p7221z13blyl0dvh0bmxwx326j72idayri36a394w"; 774 - }; 775 - dependencies = [ 776 - "nokogiri" 777 - ]; 778 - }; 779 - "zeroclipboard-rails" = { 780 - version = "0.1.0"; 781 - source = { 782 - type = "gem"; 783 - sha256 = "00ixal0a0mxaqsyzp06c6zz4qdwqydy1qv4n7hbyqfhbmsdalcfc"; 784 - }; 785 - dependencies = [ 786 - "railties" 787 - ]; 788 - }; 789 - }
···
-37
pkgs/servers/fleet/default.nix
··· 1 - { stdenv, lib, go, fetchFromGitHub }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "fleet-${version}"; 5 - version = "1.0.0"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "coreos"; 9 - repo = "fleet"; 10 - rev = "v${version}"; 11 - sha256 = "0j48ajz19aqfzv9iyznnn39aw51y1nqcl270grmvi5cbqycmrfm0"; 12 - }; 13 - 14 - buildInputs = [ go ]; 15 - 16 - buildPhase = '' 17 - patchShebangs build 18 - ./build 19 - ''; 20 - 21 - installPhase = '' 22 - mkdir -p $out 23 - mv bin $out 24 - ''; 25 - 26 - meta = with stdenv.lib; { 27 - description = "A distributed init system"; 28 - homepage = https://coreos.com/using-coreos/clustering/; 29 - license = licenses.asl20; 30 - maintainers = with maintainers; [ 31 - cstrahan 32 - jgeerds 33 - offline 34 - ]; 35 - platforms = platforms.unix; 36 - }; 37 - }
···
-5
pkgs/top-level/all-packages.nix
··· 12431 firebird = callPackage ../servers/firebird { icu = null; stdenv = overrideCC stdenv gcc5; }; 12432 firebirdSuper = callPackage ../servers/firebird { icu = icu58; superServer = true; stdenv = overrideCC stdenv gcc5; }; 12433 12434 - fleet = callPackage ../servers/fleet { }; 12435 - 12436 foswiki = callPackage ../servers/foswiki { }; 12437 12438 frab = callPackage ../servers/web-apps/frab { }; ··· 17032 ostinato = callPackage ../applications/networking/ostinato { }; 17033 17034 p4v = libsForQt5.callPackage ../applications/version-management/p4v { }; 17035 - 17036 - panamax_api = callPackage ../applications/networking/cluster/panamax/api { }; 17037 - panamax_ui = callPackage ../applications/networking/cluster/panamax/ui { }; 17038 17039 partio = callPackage ../development/libraries/partio {}; 17040
··· 12431 firebird = callPackage ../servers/firebird { icu = null; stdenv = overrideCC stdenv gcc5; }; 12432 firebirdSuper = callPackage ../servers/firebird { icu = icu58; superServer = true; stdenv = overrideCC stdenv gcc5; }; 12433 12434 foswiki = callPackage ../servers/foswiki { }; 12435 12436 frab = callPackage ../servers/web-apps/frab { }; ··· 17030 ostinato = callPackage ../applications/networking/ostinato { }; 17031 17032 p4v = libsForQt5.callPackage ../applications/version-management/p4v { }; 17033 17034 partio = callPackage ../development/libraries/partio {}; 17035