Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 6f91c2a6 e047920a

+2376 -4874
+6
maintainers/maintainer-list.nix
··· 2443 2443 githubId = 4331004; 2444 2444 name = "Naoya Hatta"; 2445 2445 }; 2446 + dalpd = { 2447 + email = "denizalpd@ogr.iu.edu.tr"; 2448 + github = "dalpd"; 2449 + githubId = 16895361; 2450 + name = "Deniz Alp Durmaz"; 2451 + }; 2446 2452 DamienCassou = { 2447 2453 email = "damien@cassou.me"; 2448 2454 github = "DamienCassou";
+4 -5
maintainers/scripts/update-luarocks-packages
··· 33 33 GENERATED_NIXFILE="pkgs/development/lua-modules/generated-packages.nix" 34 34 LUAROCKS_CONFIG="$NIXPKGS_PATH/maintainers/scripts/luarocks-config.lua" 35 35 36 - HEADER = """ 37 - /* {GENERATED_NIXFILE} is an auto-generated file -- DO NOT EDIT! 36 + HEADER = """/* {GENERATED_NIXFILE} is an auto-generated file -- DO NOT EDIT! 38 37 Regenerate it with: 39 38 nixpkgs$ ./maintainers/scripts/update-luarocks-packages 40 39 ··· 99 98 header2 = textwrap.dedent( 100 99 # header2 = inspect.cleandoc( 101 100 """ 102 - { self, stdenv, lib, fetchurl, fetchgit, ... } @ args: 103 - self: super: 104 - with self; 101 + { self, stdenv, lib, fetchurl, fetchgit, callPackage, ... } @ args: 102 + final: prev: 105 103 { 106 104 """) 107 105 f.write(header2) ··· 199 197 200 198 log.debug("running %s", ' '.join(cmd)) 201 199 output = subprocess.check_output(cmd, text=True) 200 + output = "callPackage(" + output.strip() + ") {};\n\n" 202 201 return (plug, output) 203 202 204 203 def main():
+9
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 1568 1568 encapsulation. 1569 1569 </para> 1570 1570 </listitem> 1571 + <listitem> 1572 + <para> 1573 + Changing systemd <literal>.socket</literal> units now restarts 1574 + them and stops the service that is activated by them. 1575 + Additionally, services with 1576 + <literal>stopOnChange = false</literal> don’t break anymore 1577 + when they are socket-activated. 1578 + </para> 1579 + </listitem> 1571 1580 </itemizedlist> 1572 1581 </section> 1573 1582 </section>
+2
nixos/doc/manual/release-notes/rl-2111.section.md
··· 453 453 - The `networking` module has a new `networking.fooOverUDP` option to configure Foo-over-UDP encapsulations. 454 454 455 455 - `networking.sits` now supports Foo-over-UDP encapsulation. 456 + 457 + - Changing systemd `.socket` units now restarts them and stops the service that is activated by them. Additionally, services with `stopOnChange = false` don't break anymore when they are socket-activated.
+2
nixos/modules/services/torrent/transmission.nix
··· 152 152 install -d -m '${cfg.downloadDirPermissions}' -o '${cfg.user}' -g '${cfg.group}' '${cfg.settings.download-dir}' 153 153 '' + optionalString cfg.settings.incomplete-dir-enabled '' 154 154 install -d -m '${cfg.downloadDirPermissions}' -o '${cfg.user}' -g '${cfg.group}' '${cfg.settings.incomplete-dir}' 155 + '' + optionalString cfg.settings.watch-dir-enabled '' 156 + install -d -m '${cfg.downloadDirPermissions}' -o '${cfg.user}' -g '${cfg.group}' '${cfg.settings.watch-dir}' 155 157 ''; 156 158 157 159 assertions = [
+190 -84
nixos/modules/system/activation/switch-to-configuration.pl
··· 11 11 12 12 my $out = "@out@"; 13 13 14 - # FIXME: maybe we should use /proc/1/exe to get the current systemd. 15 14 my $curSystemd = abs_path("/run/current-system/sw/bin"); 16 15 17 16 # To be robust against interruption, record what units need to be started etc. ··· 19 18 my $restartListFile = "/run/nixos/restart-list"; 20 19 my $reloadListFile = "/run/nixos/reload-list"; 21 20 22 - # Parse restart/reload requests by the activation script 21 + # Parse restart/reload requests by the activation script. 22 + # Activation scripts may write newline-separated units to this 23 + # file and switch-to-configuration will handle them. While 24 + # `stopIfChanged = true` is ignored, switch-to-configuration will 25 + # handle `restartIfChanged = false` and `reloadIfChanged = true`. 26 + # This also works for socket-activated units. 23 27 my $restartByActivationFile = "/run/nixos/activation-restart-list"; 24 - my $reloadByActivationFile = "/run/nixos/activation-reload-list"; 25 28 my $dryRestartByActivationFile = "/run/nixos/dry-activation-restart-list"; 26 - my $dryReloadByActivationFile = "/run/nixos/dry-activation-reload-list"; 27 29 28 - make_path("/run/nixos", { mode => 0755 }); 30 + make_path("/run/nixos", { mode => oct(755) }); 29 31 30 32 my $action = shift @ARGV; 31 33 ··· 147 149 return abs_path($s) . (-f "${s}.d/overrides.conf" ? " " . abs_path "${s}.d/overrides.conf" : ""); 148 150 } 149 151 152 + sub handleModifiedUnit { 153 + my ($unit, $baseName, $newUnitFile, $activePrev, $unitsToStop, $unitsToStart, $unitsToReload, $unitsToRestart, $unitsToSkip) = @_; 154 + 155 + if ($unit eq "sysinit.target" || $unit eq "basic.target" || $unit eq "multi-user.target" || $unit eq "graphical.target" || $unit =~ /\.slice$/ || $unit =~ /\.path$/) { 156 + # Do nothing. These cannot be restarted directly. 157 + # Slices and Paths don't have to be restarted since 158 + # properties (resource limits and inotify watches) 159 + # seem to get applied on daemon-reload. 160 + } elsif ($unit =~ /\.mount$/) { 161 + # Reload the changed mount unit to force a remount. 162 + $unitsToReload->{$unit} = 1; 163 + recordUnit($reloadListFile, $unit); 164 + } else { 165 + my $unitInfo = parseUnit($newUnitFile); 166 + if (boolIsTrue($unitInfo->{'X-ReloadIfChanged'} // "no")) { 167 + $unitsToReload->{$unit} = 1; 168 + recordUnit($reloadListFile, $unit); 169 + } 170 + elsif (!boolIsTrue($unitInfo->{'X-RestartIfChanged'} // "yes") || boolIsTrue($unitInfo->{'RefuseManualStop'} // "no") || boolIsTrue($unitInfo->{'X-OnlyManualStart'} // "no")) { 171 + $unitsToSkip->{$unit} = 1; 172 + } else { 173 + # If this unit is socket-activated, then stop it instead 174 + # of restarting it to make sure the new version of it is 175 + # socket-activated. 176 + my $socketActivated = 0; 177 + if ($unit =~ /\.service$/) { 178 + my @sockets = split / /, ($unitInfo->{Sockets} // ""); 179 + if (scalar @sockets == 0) { 180 + @sockets = ("$baseName.socket"); 181 + } 182 + foreach my $socket (@sockets) { 183 + if (-e "$out/etc/systemd/system/$socket") { 184 + $socketActivated = 1; 185 + $unitsToStop->{$unit} = 1; 186 + # If the socket was not running previously, 187 + # start it now. 188 + if (not defined $activePrev->{$socket}) { 189 + $unitsToStart->{$socket} = 1; 190 + } 191 + } 192 + } 193 + } 194 + 195 + # Don't do the rest of this for socket-activated units 196 + # because we handled these above where we stop the unit. 197 + # Since only services can be socket-activated, the 198 + # following condition always evaluates to `true` for 199 + # non-service units. 200 + if ($socketActivated) { 201 + return; 202 + } 203 + 204 + # If we are restarting a socket, also stop the corresponding 205 + # service. This is required because restarting a socket 206 + # when the service is already activated fails. 207 + if ($unit =~ /\.socket$/) { 208 + my $service = $unitInfo->{Service} // ""; 209 + if ($service eq "") { 210 + $service = "$baseName.service"; 211 + } 212 + if (defined $activePrev->{$service}) { 213 + $unitsToStop->{$service} = 1; 214 + } 215 + $unitsToRestart->{$unit} = 1; 216 + recordUnit($restartListFile, $unit); 217 + } else { 218 + # Always restart non-services instead of stopping and starting them 219 + # because it doesn't make sense to stop them with a config from 220 + # the old evaluation. 221 + if (!boolIsTrue($unitInfo->{'X-StopIfChanged'} // "yes") || $unit !~ /\.service$/) { 222 + # This unit should be restarted instead of 223 + # stopped and started. 224 + $unitsToRestart->{$unit} = 1; 225 + recordUnit($restartListFile, $unit); 226 + } else { 227 + # We write to a file to ensure that the 228 + # service gets restarted if we're interrupted. 229 + $unitsToStart->{$unit} = 1; 230 + recordUnit($startListFile, $unit); 231 + $unitsToStop->{$unit} = 1; 232 + } 233 + } 234 + } 235 + } 236 + } 237 + 150 238 # Figure out what units need to be stopped, started, restarted or reloaded. 151 239 my (%unitsToStop, %unitsToSkip, %unitsToStart, %unitsToRestart, %unitsToReload); 152 240 ··· 219 307 } 220 308 221 309 elsif (fingerprintUnit($prevUnitFile) ne fingerprintUnit($newUnitFile)) { 222 - if ($unit eq "sysinit.target" || $unit eq "basic.target" || $unit eq "multi-user.target" || $unit eq "graphical.target") { 223 - # Do nothing. These cannot be restarted directly. 224 - } elsif ($unit =~ /\.mount$/) { 225 - # Reload the changed mount unit to force a remount. 226 - $unitsToReload{$unit} = 1; 227 - recordUnit($reloadListFile, $unit); 228 - } elsif ($unit =~ /\.socket$/ || $unit =~ /\.path$/ || $unit =~ /\.slice$/) { 229 - # FIXME: do something? 230 - } else { 231 - my $unitInfo = parseUnit($newUnitFile); 232 - if (boolIsTrue($unitInfo->{'X-ReloadIfChanged'} // "no")) { 233 - $unitsToReload{$unit} = 1; 234 - recordUnit($reloadListFile, $unit); 235 - } 236 - elsif (!boolIsTrue($unitInfo->{'X-RestartIfChanged'} // "yes") || boolIsTrue($unitInfo->{'RefuseManualStop'} // "no") || boolIsTrue($unitInfo->{'X-OnlyManualStart'} // "no")) { 237 - $unitsToSkip{$unit} = 1; 238 - } else { 239 - if (!boolIsTrue($unitInfo->{'X-StopIfChanged'} // "yes")) { 240 - # This unit should be restarted instead of 241 - # stopped and started. 242 - $unitsToRestart{$unit} = 1; 243 - recordUnit($restartListFile, $unit); 244 - } else { 245 - # If this unit is socket-activated, then stop the 246 - # socket unit(s) as well, and restart the 247 - # socket(s) instead of the service. 248 - my $socketActivated = 0; 249 - if ($unit =~ /\.service$/) { 250 - my @sockets = split / /, ($unitInfo->{Sockets} // ""); 251 - if (scalar @sockets == 0) { 252 - @sockets = ("$baseName.socket"); 253 - } 254 - foreach my $socket (@sockets) { 255 - if (defined $activePrev->{$socket}) { 256 - $unitsToStop{$socket} = 1; 257 - # Only restart sockets that actually 258 - # exist in new configuration: 259 - if (-e "$out/etc/systemd/system/$socket") { 260 - $unitsToStart{$socket} = 1; 261 - recordUnit($startListFile, $socket); 262 - $socketActivated = 1; 263 - } 264 - } 265 - } 266 - } 267 - 268 - # If the unit is not socket-activated, record 269 - # that this unit needs to be started below. 270 - # We write this to a file to ensure that the 271 - # service gets restarted if we're interrupted. 272 - if (!$socketActivated) { 273 - $unitsToStart{$unit} = 1; 274 - recordUnit($startListFile, $unit); 275 - } 276 - 277 - $unitsToStop{$unit} = 1; 278 - } 279 - } 280 - } 310 + handleModifiedUnit($unit, $baseName, $newUnitFile, $activePrev, \%unitsToStop, \%unitsToStart, \%unitsToReload, \%unitsToRestart, %unitsToSkip); 281 311 } 282 312 } 283 313 } ··· 362 392 } 363 393 364 394 my @unitsToStopFiltered = filterUnits(\%unitsToStop); 365 - my @unitsToStartFiltered = filterUnits(\%unitsToStart); 366 - 367 395 368 396 # Show dry-run actions. 369 397 if ($action eq "dry-activate") { ··· 375 403 print STDERR "would activate the configuration...\n"; 376 404 system("$out/dry-activate", "$out"); 377 405 378 - $unitsToRestart{$_} = 1 foreach 379 - split('\n', read_file($dryRestartByActivationFile, err_mode => 'quiet') // ""); 406 + # Handle the activation script requesting the restart or reload of a unit. 407 + my %unitsToAlsoStop; 408 + my %unitsToAlsoSkip; 409 + foreach (split('\n', read_file($dryRestartByActivationFile, err_mode => 'quiet') // "")) { 410 + my $unit = $_; 411 + my $baseUnit = $unit; 412 + my $newUnitFile = "$out/etc/systemd/system/$baseUnit"; 380 413 381 - $unitsToReload{$_} = 1 foreach 382 - split('\n', read_file($dryReloadByActivationFile, err_mode => 'quiet') // ""); 414 + # Detect template instances. 415 + if (!-e $newUnitFile && $unit =~ /^(.*)@[^\.]*\.(.*)$/) { 416 + $baseUnit = "$1\@.$2"; 417 + $newUnitFile = "$out/etc/systemd/system/$baseUnit"; 418 + } 419 + 420 + my $baseName = $baseUnit; 421 + $baseName =~ s/\.[a-z]*$//; 422 + 423 + handleModifiedUnit($unit, $baseName, $newUnitFile, $activePrev, \%unitsToAlsoStop, \%unitsToStart, \%unitsToReload, \%unitsToRestart, %unitsToAlsoSkip); 424 + } 425 + unlink($dryRestartByActivationFile); 426 + 427 + my @unitsToAlsoStopFiltered = filterUnits(\%unitsToAlsoStop); 428 + if (scalar(keys %unitsToAlsoStop) > 0) { 429 + print STDERR "would stop the following units as well: ", join(", ", @unitsToAlsoStopFiltered), "\n" 430 + if scalar @unitsToAlsoStopFiltered; 431 + } 432 + 433 + print STDERR "would NOT restart the following changed units as well: ", join(", ", sort(keys %unitsToAlsoSkip)), "\n" 434 + if scalar(keys %unitsToAlsoSkip) > 0; 383 435 384 436 print STDERR "would restart systemd\n" if $restartSystemd; 437 + print STDERR "would reload the following units: ", join(", ", sort(keys %unitsToReload)), "\n" 438 + if scalar(keys %unitsToReload) > 0; 385 439 print STDERR "would restart the following units: ", join(", ", sort(keys %unitsToRestart)), "\n" 386 440 if scalar(keys %unitsToRestart) > 0; 441 + my @unitsToStartFiltered = filterUnits(\%unitsToStart); 387 442 print STDERR "would start the following units: ", join(", ", @unitsToStartFiltered), "\n" 388 443 if scalar @unitsToStartFiltered; 389 - print STDERR "would reload the following units: ", join(", ", sort(keys %unitsToReload)), "\n" 390 - if scalar(keys %unitsToReload) > 0; 391 - unlink($dryRestartByActivationFile); 392 - unlink($dryReloadByActivationFile); 393 444 exit 0; 394 445 } 395 446 ··· 400 451 print STDERR "stopping the following units: ", join(", ", @unitsToStopFiltered), "\n" 401 452 if scalar @unitsToStopFiltered; 402 453 # Use current version of systemctl binary before daemon is reexeced. 403 - system("$curSystemd/systemctl", "stop", "--", sort(keys %unitsToStop)); # FIXME: ignore errors? 454 + system("$curSystemd/systemctl", "stop", "--", sort(keys %unitsToStop)); 404 455 } 405 456 406 457 print STDERR "NOT restarting the following changed units: ", join(", ", sort(keys %unitsToSkip)), "\n" ··· 414 465 415 466 # Handle the activation script requesting the restart or reload of a unit. 416 467 # We can only restart and reload (not stop/start) because the units to be 417 - # stopped are already stopped before the activation script is run. 418 - $unitsToRestart{$_} = 1 foreach 419 - split('\n', read_file($restartByActivationFile, err_mode => 'quiet') // ""); 468 + # stopped are already stopped before the activation script is run. We do however 469 + # make an exception for services that are socket-activated and that have to be stopped 470 + # instead of being restarted. 471 + my %unitsToAlsoStop; 472 + my %unitsToAlsoSkip; 473 + foreach (split('\n', read_file($restartByActivationFile, err_mode => 'quiet') // "")) { 474 + my $unit = $_; 475 + my $baseUnit = $unit; 476 + my $newUnitFile = "$out/etc/systemd/system/$baseUnit"; 477 + 478 + # Detect template instances. 479 + if (!-e $newUnitFile && $unit =~ /^(.*)@[^\.]*\.(.*)$/) { 480 + $baseUnit = "$1\@.$2"; 481 + $newUnitFile = "$out/etc/systemd/system/$baseUnit"; 482 + } 483 + 484 + my $baseName = $baseUnit; 485 + $baseName =~ s/\.[a-z]*$//; 486 + 487 + handleModifiedUnit($unit, $baseName, $newUnitFile, $activePrev, \%unitsToAlsoStop, \%unitsToStart, \%unitsToReload, \%unitsToRestart, %unitsToAlsoSkip); 488 + } 489 + unlink($restartByActivationFile); 490 + 491 + my @unitsToAlsoStopFiltered = filterUnits(\%unitsToAlsoStop); 492 + if (scalar(keys %unitsToAlsoStop) > 0) { 493 + print STDERR "stopping the following units as well: ", join(", ", @unitsToAlsoStopFiltered), "\n" 494 + if scalar @unitsToAlsoStopFiltered; 495 + system("$curSystemd/systemctl", "stop", "--", sort(keys %unitsToAlsoStop)); 496 + } 420 497 421 - $unitsToReload{$_} = 1 foreach 422 - split('\n', read_file($reloadByActivationFile, err_mode => 'quiet') // ""); 498 + print STDERR "NOT restarting the following changed units as well: ", join(", ", sort(keys %unitsToAlsoSkip)), "\n" 499 + if scalar(keys %unitsToAlsoSkip) > 0; 423 500 424 501 # Restart systemd if necessary. Note that this is done using the 425 502 # current version of systemd, just in case the new one has trouble ··· 460 537 print STDERR "reloading the following units: ", join(", ", sort(keys %unitsToReload)), "\n"; 461 538 system("@systemd@/bin/systemctl", "reload", "--", sort(keys %unitsToReload)) == 0 or $res = 4; 462 539 unlink($reloadListFile); 463 - unlink($reloadByActivationFile); 464 540 } 465 541 466 542 # Restart changed services (those that have to be restarted rather 467 543 # than stopped and started). 468 544 if (scalar(keys %unitsToRestart) > 0) { 469 545 print STDERR "restarting the following units: ", join(", ", sort(keys %unitsToRestart)), "\n"; 470 - system("@systemd@/bin/systemctl", "restart", "--", sort(keys %unitsToRestart)) == 0 or $res = 4; 546 + 547 + # We split the units to be restarted into sockets and non-sockets. 548 + # This is because restarting sockets may fail which is not bad by 549 + # itself but which will prevent changes on the sockets. We usually 550 + # restart the socket and stop the service before that. Restarting 551 + # the socket will fail however when the service was re-activated 552 + # in the meantime. There is no proper way to prevent that from happening. 553 + my @unitsWithErrorHandling = grep { $_ !~ /\.socket$/ } sort(keys %unitsToRestart); 554 + my @unitsWithoutErrorHandling = grep { $_ =~ /\.socket$/ } sort(keys %unitsToRestart); 555 + 556 + if (scalar(@unitsWithErrorHandling) > 0) { 557 + system("@systemd@/bin/systemctl", "restart", "--", @unitsWithErrorHandling) == 0 or $res = 4; 558 + } 559 + if (scalar(@unitsWithoutErrorHandling) > 0) { 560 + # Don't print warnings from systemctl 561 + no warnings 'once'; 562 + open(OLDERR, ">&", \*STDERR); 563 + close(STDERR); 564 + 565 + my $ret = system("@systemd@/bin/systemctl", "restart", "--", @unitsWithoutErrorHandling); 566 + 567 + # Print stderr again 568 + open(STDERR, ">&OLDERR"); 569 + 570 + if ($ret ne 0) { 571 + print STDERR "warning: some sockets failed to restart. Please check your journal (journalctl -eb) and act accordingly.\n"; 572 + } 573 + } 471 574 unlink($restartListFile); 472 575 unlink($restartByActivationFile); 473 576 } ··· 478 581 # that are symlinks to other units. We shouldn't start both at the 479 582 # same time because we'll get a "Failed to add path to set" error from 480 583 # systemd. 584 + my @unitsToStartFiltered = filterUnits(\%unitsToStart); 481 585 print STDERR "starting the following units: ", join(", ", @unitsToStartFiltered), "\n" 482 586 if scalar @unitsToStartFiltered; 483 587 system("@systemd@/bin/systemctl", "start", "--", sort(keys %unitsToStart)) == 0 or $res = 4; ··· 485 589 486 590 487 591 # Print failed and new units. 488 - my (@failed, @new, @restarting); 592 + my (@failed, @new); 489 593 my $activeNew = getActiveUnits; 490 594 while (my ($unit, $state) = each %{$activeNew}) { 491 595 if ($state->{state} eq "failed") { ··· 501 605 push @failed, $unit; 502 606 } 503 607 } 504 - elsif ($state->{state} ne "failed" && !defined $activePrev->{$unit}) { 608 + # Ignore scopes since they are not managed by this script but rather 609 + # created and managed by third-party services via the systemd dbus API. 610 + elsif ($state->{state} ne "failed" && !defined $activePrev->{$unit} && $unit !~ /\.scope$/) { 505 611 push @new, $unit; 506 612 } 507 613 }
+7
nixos/modules/system/activation/top-level.nix
··· 84 84 export localeArchive="${config.i18n.glibcLocales}/lib/locale/locale-archive" 85 85 substituteAll ${./switch-to-configuration.pl} $out/bin/switch-to-configuration 86 86 chmod +x $out/bin/switch-to-configuration 87 + ${optionalString (pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) '' 88 + if ! output=$($perl/bin/perl -c $out/bin/switch-to-configuration 2>&1); then 89 + echo "switch-to-configuration syntax is not valid:" 90 + echo "$output" 91 + exit 1 92 + fi 93 + ''} 87 94 88 95 echo -n "${toString config.system.extraDependencies}" > $out/extra-dependencies 89 96
+382 -3
nixos/tests/switch-test.nix
··· 7 7 }; 8 8 9 9 nodes = { 10 - machine = { ... }: { 10 + machine = { config, pkgs, lib, ... }: { 11 + environment.systemPackages = [ pkgs.socat ]; # for the socket activation stuff 11 12 users.mutableUsers = false; 13 + 14 + specialisation = { 15 + # A system with a simple socket-activated unit 16 + simple-socket.configuration = { 17 + systemd.services.socket-activated.serviceConfig = { 18 + ExecStart = pkgs.writeScript "socket-test.py" /* python */ '' 19 + #!${pkgs.python3}/bin/python3 20 + 21 + from socketserver import TCPServer, StreamRequestHandler 22 + import socket 23 + 24 + class Handler(StreamRequestHandler): 25 + def handle(self): 26 + self.wfile.write("hello".encode("utf-8")) 27 + 28 + class Server(TCPServer): 29 + def __init__(self, server_address, handler_cls): 30 + # Invoke base but omit bind/listen steps (performed by systemd activation!) 31 + TCPServer.__init__( 32 + self, server_address, handler_cls, bind_and_activate=False) 33 + # Override socket 34 + self.socket = socket.fromfd(3, self.address_family, self.socket_type) 35 + 36 + if __name__ == "__main__": 37 + server = Server(("localhost", 1234), Handler) 38 + server.serve_forever() 39 + ''; 40 + }; 41 + systemd.sockets.socket-activated = { 42 + wantedBy = [ "sockets.target" ]; 43 + listenStreams = [ "/run/test.sock" ]; 44 + socketConfig.SocketMode = lib.mkDefault "0777"; 45 + }; 46 + }; 47 + 48 + # The same system but the socket is modified 49 + modified-socket.configuration = { 50 + imports = [ config.specialisation.simple-socket.configuration ]; 51 + systemd.sockets.socket-activated.socketConfig.SocketMode = "0666"; 52 + }; 53 + 54 + # The same system but the service is modified 55 + modified-service.configuration = { 56 + imports = [ config.specialisation.simple-socket.configuration ]; 57 + systemd.services.socket-activated.serviceConfig.X-Test = "test"; 58 + }; 59 + 60 + # The same system but both service and socket are modified 61 + modified-service-and-socket.configuration = { 62 + imports = [ config.specialisation.simple-socket.configuration ]; 63 + systemd.services.socket-activated.serviceConfig.X-Test = "some_value"; 64 + systemd.sockets.socket-activated.socketConfig.SocketMode = "0444"; 65 + }; 66 + 67 + # A system with a socket-activated service and some simple services 68 + service-and-socket.configuration = { 69 + imports = [ config.specialisation.simple-socket.configuration ]; 70 + systemd.services.simple-service = { 71 + wantedBy = [ "multi-user.target" ]; 72 + serviceConfig = { 73 + Type = "oneshot"; 74 + RemainAfterExit = true; 75 + ExecStart = "${pkgs.coreutils}/bin/true"; 76 + }; 77 + }; 78 + 79 + systemd.services.simple-restart-service = { 80 + stopIfChanged = false; 81 + wantedBy = [ "multi-user.target" ]; 82 + serviceConfig = { 83 + Type = "oneshot"; 84 + RemainAfterExit = true; 85 + ExecStart = "${pkgs.coreutils}/bin/true"; 86 + }; 87 + }; 88 + 89 + systemd.services.simple-reload-service = { 90 + reloadIfChanged = true; 91 + wantedBy = [ "multi-user.target" ]; 92 + serviceConfig = { 93 + Type = "oneshot"; 94 + RemainAfterExit = true; 95 + ExecStart = "${pkgs.coreutils}/bin/true"; 96 + ExecReload = "${pkgs.coreutils}/bin/true"; 97 + }; 98 + }; 99 + 100 + systemd.services.no-restart-service = { 101 + restartIfChanged = false; 102 + wantedBy = [ "multi-user.target" ]; 103 + serviceConfig = { 104 + Type = "oneshot"; 105 + RemainAfterExit = true; 106 + ExecStart = "${pkgs.coreutils}/bin/true"; 107 + }; 108 + }; 109 + }; 110 + 111 + # The same system but with an activation script that restarts all services 112 + restart-and-reload-by-activation-script.configuration = { 113 + imports = [ config.specialisation.service-and-socket.configuration ]; 114 + system.activationScripts.restart-and-reload-test = { 115 + supportsDryActivation = true; 116 + deps = []; 117 + text = '' 118 + if [ "$NIXOS_ACTION" = dry-activate ]; then 119 + f=/run/nixos/dry-activation-restart-list 120 + else 121 + f=/run/nixos/activation-restart-list 122 + fi 123 + cat <<EOF >> "$f" 124 + simple-service.service 125 + simple-restart-service.service 126 + simple-reload-service.service 127 + no-restart-service.service 128 + socket-activated.service 129 + EOF 130 + ''; 131 + }; 132 + }; 133 + 134 + # A system with a timer 135 + with-timer.configuration = { 136 + systemd.timers.test-timer = { 137 + wantedBy = [ "timers.target" ]; 138 + timerConfig.OnCalendar = "@1395716396"; # chosen by fair dice roll 139 + }; 140 + systemd.services.test-timer = { 141 + serviceConfig = { 142 + Type = "oneshot"; 143 + ExecStart = "${pkgs.coreutils}/bin/true"; 144 + }; 145 + }; 146 + }; 147 + 148 + # The same system but with another time 149 + with-timer-modified.configuration = { 150 + imports = [ config.specialisation.with-timer.configuration ]; 151 + systemd.timers.test-timer.timerConfig.OnCalendar = lib.mkForce "Fri 2012-11-23 16:00:00"; 152 + }; 153 + 154 + # A system with a systemd mount 155 + with-mount.configuration = { 156 + systemd.mounts = [ 157 + { 158 + description = "Testmount"; 159 + what = "tmpfs"; 160 + type = "tmpfs"; 161 + where = "/testmount"; 162 + options = "size=1M"; 163 + wantedBy = [ "local-fs.target" ]; 164 + } 165 + ]; 166 + }; 167 + 168 + # The same system but with another time 169 + with-mount-modified.configuration = { 170 + systemd.mounts = [ 171 + { 172 + description = "Testmount"; 173 + what = "tmpfs"; 174 + type = "tmpfs"; 175 + where = "/testmount"; 176 + options = "size=10M"; 177 + wantedBy = [ "local-fs.target" ]; 178 + } 179 + ]; 180 + }; 181 + 182 + # A system with a path unit 183 + with-path.configuration = { 184 + systemd.paths.test-watch = { 185 + wantedBy = [ "paths.target" ]; 186 + pathConfig.PathExists = "/testpath"; 187 + }; 188 + systemd.services.test-watch = { 189 + serviceConfig = { 190 + Type = "oneshot"; 191 + ExecStart = "${pkgs.coreutils}/bin/touch /testpath-modified"; 192 + }; 193 + }; 194 + }; 195 + 196 + # The same system but watching another file 197 + with-path-modified.configuration = { 198 + imports = [ config.specialisation.with-path.configuration ]; 199 + systemd.paths.test-watch.pathConfig.PathExists = lib.mkForce "/testpath2"; 200 + }; 201 + 202 + # A system with a slice 203 + with-slice.configuration = { 204 + systemd.slices.testslice.sliceConfig.MemoryMax = "1"; # don't allow memory allocation 205 + systemd.services.testservice = { 206 + serviceConfig = { 207 + Type = "oneshot"; 208 + RemainAfterExit = true; 209 + ExecStart = "${pkgs.coreutils}/bin/true"; 210 + Slice = "testslice.slice"; 211 + }; 212 + }; 213 + }; 214 + 215 + # The same system but the slice allows to allocate memory 216 + with-slice-non-crashing.configuration = { 217 + imports = [ config.specialisation.with-slice.configuration ]; 218 + systemd.slices.testslice.sliceConfig.MemoryMax = lib.mkForce null; 219 + }; 220 + }; 12 221 }; 13 222 other = { ... }: { 14 223 users.mutableUsers = true; 15 224 }; 16 225 }; 17 226 18 - testScript = {nodes, ...}: let 227 + testScript = { nodes, ... }: let 19 228 originalSystem = nodes.machine.config.system.build.toplevel; 20 229 otherSystem = nodes.other.config.system.build.toplevel; 21 230 ··· 27 236 set -o pipefail 28 237 exec env -i "$@" | tee /dev/stderr 29 238 ''; 30 - in '' 239 + in /* python */ '' 240 + def switch_to_specialisation(name, action="test"): 241 + out = machine.succeed(f"${originalSystem}/specialisation/{name}/bin/switch-to-configuration {action} 2>&1") 242 + assert_lacks(out, "switch-to-configuration line") # Perl warnings 243 + return out 244 + 245 + def assert_contains(haystack, needle): 246 + if needle not in haystack: 247 + print("The haystack that will cause the following exception is:") 248 + print("---") 249 + print(haystack) 250 + print("---") 251 + raise Exception(f"Expected string '{needle}' was not found") 252 + 253 + def assert_lacks(haystack, needle): 254 + if needle in haystack: 255 + print("The haystack that will cause the following exception is:") 256 + print("---") 257 + print(haystack, end="") 258 + print("---") 259 + raise Exception(f"Unexpected string '{needle}' was found") 260 + 261 + 31 262 machine.succeed( 32 263 "${stderrRunner} ${originalSystem}/bin/switch-to-configuration test" 33 264 ) 34 265 machine.succeed( 35 266 "${stderrRunner} ${otherSystem}/bin/switch-to-configuration test" 36 267 ) 268 + 269 + with subtest("systemd sockets"): 270 + machine.succeed("${originalSystem}/bin/switch-to-configuration test") 271 + 272 + # Simple socket is created 273 + out = switch_to_specialisation("simple-socket") 274 + assert_lacks(out, "stopping the following units:") 275 + # not checking for reload because dbus gets reloaded 276 + assert_lacks(out, "restarting the following units:") 277 + assert_lacks(out, "\nstarting the following units:") 278 + assert_contains(out, "the following new units were started: socket-activated.socket\n") 279 + assert_lacks(out, "as well:") 280 + machine.succeed("[ $(stat -c%a /run/test.sock) = 777 ]") 281 + 282 + # Changing the socket restarts it 283 + out = switch_to_specialisation("modified-socket") 284 + assert_lacks(out, "stopping the following units:") 285 + #assert_lacks(out, "reloading the following units:") 286 + assert_contains(out, "restarting the following units: socket-activated.socket\n") 287 + assert_lacks(out, "\nstarting the following units:") 288 + assert_lacks(out, "the following new units were started:") 289 + assert_lacks(out, "as well:") 290 + machine.succeed("[ $(stat -c%a /run/test.sock) = 666 ]") # change was applied 291 + 292 + # The unit is properly activated when the socket is accessed 293 + if machine.succeed("socat - UNIX-CONNECT:/run/test.sock") != "hello": 294 + raise Exception("Socket was not properly activated") 295 + 296 + # Changing the socket restarts it and ignores the active service 297 + out = switch_to_specialisation("simple-socket") 298 + assert_contains(out, "stopping the following units: socket-activated.service\n") 299 + assert_lacks(out, "reloading the following units:") 300 + assert_contains(out, "restarting the following units: socket-activated.socket\n") 301 + assert_lacks(out, "\nstarting the following units:") 302 + assert_lacks(out, "the following new units were started:") 303 + assert_lacks(out, "as well:") 304 + machine.succeed("[ $(stat -c%a /run/test.sock) = 777 ]") # change was applied 305 + 306 + # Changing the service does nothing when the service is not active 307 + out = switch_to_specialisation("modified-service") 308 + assert_lacks(out, "stopping the following units:") 309 + assert_lacks(out, "reloading the following units:") 310 + assert_lacks(out, "restarting the following units:") 311 + assert_lacks(out, "\nstarting the following units:") 312 + assert_lacks(out, "the following new units were started:") 313 + assert_lacks(out, "as well:") 314 + 315 + # Activating the service and modifying it stops it but leaves the socket untouched 316 + machine.succeed("socat - UNIX-CONNECT:/run/test.sock") 317 + out = switch_to_specialisation("simple-socket") 318 + assert_contains(out, "stopping the following units: socket-activated.service\n") 319 + assert_lacks(out, "reloading the following units:") 320 + assert_lacks(out, "restarting the following units:") 321 + assert_lacks(out, "\nstarting the following units:") 322 + assert_lacks(out, "the following new units were started:") 323 + assert_lacks(out, "as well:") 324 + 325 + # Activating the service and both the service and the socket stops the service and restarts the socket 326 + machine.succeed("socat - UNIX-CONNECT:/run/test.sock") 327 + out = switch_to_specialisation("modified-service-and-socket") 328 + assert_contains(out, "stopping the following units: socket-activated.service\n") 329 + assert_lacks(out, "reloading the following units:") 330 + assert_contains(out, "restarting the following units: socket-activated.socket\n") 331 + assert_lacks(out, "\nstarting the following units:") 332 + assert_lacks(out, "the following new units were started:") 333 + assert_lacks(out, "as well:") 334 + 335 + with subtest("restart and reload by activation file"): 336 + out = switch_to_specialisation("service-and-socket") 337 + # Switch to a system where the example services get restarted 338 + # by the activation script 339 + out = switch_to_specialisation("restart-and-reload-by-activation-script") 340 + assert_lacks(out, "stopping the following units:") 341 + assert_contains(out, "stopping the following units as well: simple-service.service, socket-activated.service\n") 342 + assert_contains(out, "reloading the following units: simple-reload-service.service\n") 343 + assert_contains(out, "restarting the following units: simple-restart-service.service\n") 344 + assert_contains(out, "\nstarting the following units: simple-service.service") 345 + 346 + # The same, but in dry mode 347 + switch_to_specialisation("service-and-socket") 348 + out = switch_to_specialisation("restart-and-reload-by-activation-script", action="dry-activate") 349 + assert_lacks(out, "would stop the following units:") 350 + assert_contains(out, "would stop the following units as well: simple-service.service, socket-activated.service\n") 351 + assert_contains(out, "would reload the following units: simple-reload-service.service\n") 352 + assert_contains(out, "would restart the following units: simple-restart-service.service\n") 353 + assert_contains(out, "\nwould start the following units: simple-service.service") 354 + 355 + with subtest("mounts"): 356 + switch_to_specialisation("with-mount") 357 + out = machine.succeed("mount | grep 'on /testmount'") 358 + assert_contains(out, "size=1024k") 359 + 360 + out = switch_to_specialisation("with-mount-modified") 361 + assert_lacks(out, "stopping the following units:") 362 + assert_contains(out, "reloading the following units: testmount.mount\n") 363 + assert_lacks(out, "restarting the following units:") 364 + assert_lacks(out, "\nstarting the following units:") 365 + assert_lacks(out, "the following new units were started:") 366 + assert_lacks(out, "as well:") 367 + # It changed 368 + out = machine.succeed("mount | grep 'on /testmount'") 369 + assert_contains(out, "size=10240k") 370 + 371 + with subtest("timers"): 372 + switch_to_specialisation("with-timer") 373 + out = machine.succeed("systemctl show test-timer.timer") 374 + assert_contains(out, "OnCalendar=2014-03-25 02:59:56 UTC") 375 + 376 + out = switch_to_specialisation("with-timer-modified") 377 + assert_lacks(out, "stopping the following units:") 378 + assert_lacks(out, "reloading the following units:") 379 + assert_contains(out, "restarting the following units: test-timer.timer\n") 380 + assert_lacks(out, "\nstarting the following units:") 381 + assert_lacks(out, "the following new units were started:") 382 + assert_lacks(out, "as well:") 383 + # It changed 384 + out = machine.succeed("systemctl show test-timer.timer") 385 + assert_contains(out, "OnCalendar=Fri 2012-11-23 16:00:00") 386 + 387 + with subtest("paths"): 388 + switch_to_specialisation("with-path") 389 + machine.fail("test -f /testpath-modified") 390 + 391 + # touch the file, unit should be triggered 392 + machine.succeed("touch /testpath") 393 + machine.wait_until_succeeds("test -f /testpath-modified") 394 + 395 + machine.succeed("rm /testpath /testpath-modified") 396 + switch_to_specialisation("with-path-modified") 397 + 398 + machine.succeed("touch /testpath") 399 + machine.fail("test -f /testpath-modified") 400 + machine.succeed("touch /testpath2") 401 + machine.wait_until_succeeds("test -f /testpath-modified") 402 + 403 + # This test ensures that changes to slice configuration get applied. 404 + # We test this by having a slice that allows no memory allocation at 405 + # all and starting a service within it. If the service crashes, the slice 406 + # is applied and if we modify the slice to allow memory allocation, the 407 + # service should successfully start. 408 + with subtest("slices"): 409 + machine.succeed("echo 0 > /proc/sys/vm/panic_on_oom") # allow OOMing 410 + out = switch_to_specialisation("with-slice") 411 + machine.fail("systemctl start testservice.service") 412 + out = switch_to_specialisation("with-slice-non-crashing") 413 + machine.succeed("systemctl start testservice.service") 414 + machine.succeed("echo 1 > /proc/sys/vm/panic_on_oom") # disallow OOMing 415 + 37 416 ''; 38 417 })
+2 -2
pkgs/applications/audio/ptcollab/default.nix
··· 13 13 14 14 mkDerivation rec { 15 15 pname = "ptcollab"; 16 - version = "0.4.3"; 16 + version = "0.5.0"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "yuxshao"; 20 20 repo = "ptcollab"; 21 21 rev = "v${version}"; 22 - sha256 = "sha256-bFFWPl7yaTwCKz7/f9Vk6mg0roUnig0dFERS4IE4R7g="; 22 + sha256 = "sha256-sN3O8m+ib6Chb/RXTFbNWW6PnrolCHpmC/avRX93AH4="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ qmake pkg-config ];
+4 -4
pkgs/applications/misc/logseq/default.nix
··· 1 - { lib, stdenv, fetchurl, appimageTools, makeWrapper, electron }: 1 + { lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_13 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "logseq"; 5 - version = "0.3.5"; 5 + version = "0.4.2"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage"; 9 - sha256 = "ruJALAI0YQNwG8An5VzoJX06Qu/pXZ9zsrPZ7EH+5Pk="; 9 + sha256 = "BEDScQtGfkp74Gx3RKK8ItNQ9JD8AJkl1zdS/gZqyXk="; 10 10 name = "${pname}-${version}.AppImage"; 11 11 }; 12 12 ··· 36 36 ''; 37 37 38 38 postFixup = '' 39 - makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 39 + makeWrapper ${electron_13}/bin/electron $out/bin/${pname} \ 40 40 --add-flags $out/share/${pname}/resources/app 41 41 ''; 42 42
+2 -2
pkgs/applications/office/qownnotes/default.nix
··· 5 5 6 6 mkDerivation rec { 7 7 pname = "qownnotes"; 8 - version = "21.9.2"; 8 + version = "21.10.9"; 9 9 10 10 src = fetchurl { 11 11 url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz"; 12 12 # Fetch the checksum of current version with curl: 13 13 # curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256 14 - sha256 = "sha256-R+aXPnQ2Ns2D8PBTvaeh8ht3juZZhZJIb52A8CVRtFI="; 14 + sha256 = "2c86d66ae427bdcd16d706b982cedaa669a27340f7819fc97a8e2b24c709e74f"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ qmake qttools ];
+2 -2
pkgs/applications/version-management/git-and-tools/fast-export/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fast-export"; 5 - version = "200213"; 5 + version = "210917"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "frej"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0hzyh66rlawxip4n2pvz7pbs0cq82clqv1d6c7hf60v1drjxw287"; 11 + sha256 = "0xg8r9rbqv7mriraqxdks2mgj7j4c9gap3kc05y1kxi3nniywyd3"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/applications/version-management/pijul/default.nix
··· 13 13 14 14 rustPlatform.buildRustPackage rec { 15 15 pname = "pijul"; 16 - version = "1.0.0-alpha.53"; 16 + version = "1.0.0-alpha.54"; 17 17 18 18 src = fetchCrate { 19 19 inherit version pname; 20 - sha256 = "1y5wnqscyfhd806qs6gfmssm7hvfdi7mxc9p1125jnmzca4wcsm2"; 20 + sha256 = "0b9494kwchfds8hk566k3fkwdvcskpgw0ajlrdry9lmmvx3vj7dc"; 21 21 }; 22 22 23 - cargoSha256 = "0m9zjagq59rxf5pysklal030f4n0dqgmjsgwcnljajxc2r26665h"; 23 + cargoSha256 = "0rgd6mfxbxgzpj2nj2y315kgvxiayr9xbma4j014bc61ms7cnys7"; 24 24 25 25 cargoBuildFlags = lib.optional gitImportSupport "--features=git"; 26 26
+2 -2
pkgs/applications/video/ffmpeg-normalize/default.nix
··· 7 7 8 8 buildPythonApplication rec { 9 9 pname = "ffmpeg-normalize"; 10 - version = "1.22.3"; 10 + version = "1.22.4"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "317a9636587182280debc85d483f6d21987ceb6cd96ab36a2399836780eca822"; 14 + sha256 = "a20978538ae9a51bdbe5ef5aa0f87ede0f8efd2817ab240980de56eac36982e3"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ ffmpeg ffmpeg-progress-yield ];
+26
pkgs/data/fonts/bront/default.nix
··· 1 + { stdenvNoCC, lib, fetchFromGitHub }: 2 + 3 + stdenvNoCC.mkDerivation { 4 + pname = "bront_fonts"; 5 + version = "unstable-2015-06-28"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "chrismwendt"; 9 + repo = "bront"; 10 + rev = "aef23d9a11416655a8351230edb3c2377061c077"; 11 + sha256 = "1sx2gv19pgdyccb38sx3qnwszksmva7pqa1c8m35s6cipgjhhgb4"; 12 + }; 13 + 14 + installPhase = '' 15 + install -m444 -Dt $out/share/fonts/truetype *Bront.ttf 16 + ''; 17 + 18 + meta = with lib; { 19 + description = "Bront Fonts"; 20 + longDescription = "Ubuntu Mono Bront and DejaVu Sans Mono Bront fonts."; 21 + homepage = "https://github.com/chrismwendt/bront"; 22 + license = licenses.free; 23 + platforms = platforms.all; 24 + maintainers = [ maintainers.grburst ]; 25 + }; 26 + }
+4 -4
pkgs/data/misc/hackage/pin.json
··· 1 1 { 2 - "commit": "67f421ee170f4f161832c146be8ef87499ff0d37", 3 - "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/67f421ee170f4f161832c146be8ef87499ff0d37.tar.gz", 4 - "sha256": "0rzwh0iff4xn499vvzv960gmrd85z6amjbbsyhb5qcldcap5jpjs", 5 - "msg": "Update from Hackage at 2021-10-11T20:00:11Z" 2 + "commit": "73463ac080cd55650580d58fe80e5b2dcdfe5a7e", 3 + "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/73463ac080cd55650580d58fe80e5b2dcdfe5a7e.tar.gz", 4 + "sha256": "1vwlpkrpfj6wdzlv4lwargyakyci81gri70z2jhkpvv3l6adc0gk", 5 + "msg": "Update from Hackage at 2021-10-15T10:42:20Z" 6 6 }
+6 -6
pkgs/desktops/enlightenment/terminology/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "terminology"; 5 - version = "1.9.0"; 5 + version = "1.10.0"; 6 6 7 7 src = fetchurl { 8 8 url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz"; 9 - sha256 = "0v74858yvrrfy0l2pq7yn6izvqhpkb9gw2jpd3a3khjwv8kw6frz"; 9 + sha256 = "0imk7cjkcjss3zf4hjwmy54pbizm6l6pq553jcx7bpsnhs56bbsz"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ ··· 30 30 patchShebangs data/colorschemes/*.py 31 31 ''; 32 32 33 - meta = { 33 + meta = with lib; { 34 34 description = "Powerful terminal emulator based on EFL"; 35 35 homepage = "https://www.enlightenment.org/about-terminology"; 36 - license = lib.licenses.bsd2; 37 - platforms = lib.platforms.linux; 38 - maintainers = with lib.maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; 36 + license = licenses.bsd2; 37 + platforms = platforms.linux; 38 + maintainers = with maintainers; [ matejc tstrobel ftrvxmtrx romildo ]; 39 39 }; 40 40 }
-291
pkgs/development/compilers/graalvm/001_mx.py.patch
··· 1 - diff --git a/mx.py b/mx.py 2 - index a0b9315..b7d67a0 100755 3 - --- a/mx.py 4 - +++ b/mx.py 5 - @@ -238,21 +238,7 @@ def _check_file_with_sha1(path, sha1, sha1path, mustExist=True, newFile=False, l 6 - f.write(value or sha1OfFile(path)) 7 - 8 - if exists(path): 9 - - if sha1Check and sha1: 10 - - if not _sha1CachedValid() or (newFile and sha1 != _sha1Cached()): 11 - - logv('Create/update SHA1 cache file ' + sha1path) 12 - - _writeSha1Cached() 13 - - 14 - - if sha1 != _sha1Cached(): 15 - - computedSha1 = sha1OfFile(path) 16 - - if sha1 == computedSha1: 17 - - warn('Fixing corrupt SHA1 cache file ' + sha1path) 18 - - _writeSha1Cached(computedSha1) 19 - - return True 20 - - if logErrors: 21 - - size = os.path.getsize(path) 22 - - log_error('SHA1 of {} [size: {}] ({}) does not match expected value ({})'.format(TimeStampFile(path), size, computedSha1, sha1)) 23 - - return False 24 - + return True 25 - elif mustExist: 26 - if logErrors: 27 - log_error("'{}' does not exist".format(path)) 28 - @@ -1057,46 +1043,8 @@ class SuiteImport: 29 - version = import_dict.get("version") 30 - suite_dir = None 31 - version_from = import_dict.get("versionFrom") 32 - - if version_from and version: 33 - - abort("In import for '{}': 'version' and 'versionFrom' can not be both set".format(name), context=context) 34 - - if version is None and version_from is None: 35 - - if not (in_subdir and (importer.vc_dir != importer.dir or isinstance(importer, BinarySuite))): 36 - - abort("In import for '{}': No version given and not a 'subdir' suite of the same repository".format(name), context=context) 37 - - if importer.isSourceSuite(): 38 - - suite_dir = join(importer.vc_dir, name) 39 - - version = importer.version() 40 - - if urls is None: 41 - - if not in_subdir: 42 - - if import_dict.get("subdir") is None and importer.vc_dir != importer.dir: 43 - - warn("In import for '{}': No urls given but 'subdir' is not set, assuming 'subdir=True'".format(name), context) 44 - - in_subdir = True 45 - - else: 46 - - abort("In import for '{}': No urls given and not a 'subdir' suite".format(name), context=context) 47 - - return SuiteImport(name, version, None, None, dynamicImport=dynamicImport, in_subdir=in_subdir, version_from=version_from, suite_dir=suite_dir) 48 - - # urls a list of alternatives defined as dicts 49 - - if not isinstance(urls, list): 50 - - abort('suite import urls must be a list', context=context) 51 - - urlinfos = [] 52 - - mainKind = None 53 - - for urlinfo in urls: 54 - - if isinstance(urlinfo, dict) and urlinfo.get('url') and urlinfo.get('kind'): 55 - - kind = urlinfo.get('kind') 56 - - if not VC.is_valid_kind(kind): 57 - - abort('suite import kind ' + kind + ' illegal', context=context) 58 - - else: 59 - - abort('suite import url must be a dict with {"url", kind", attributes', context=context) 60 - - vc = vc_system(kind) 61 - - if kind != 'binary': 62 - - assert not mainKind or mainKind == kind, "Only expecting one non-binary kind" 63 - - mainKind = kind 64 - - url = mx_urlrewrites.rewriteurl(urlinfo.get('url')) 65 - - urlinfos.append(SuiteImportURLInfo(url, kind, vc)) 66 - - vc_kind = None 67 - - if mainKind: 68 - - vc_kind = mainKind 69 - - elif urlinfos: 70 - - vc_kind = 'binary' 71 - - return SuiteImport(name, version, urlinfos, vc_kind, dynamicImport=dynamicImport, in_subdir=in_subdir, version_from=version_from, suite_dir=suite_dir) 72 - + suite_dir = join(get_env('MX_GIT_CACHE_DIR'), name) 73 - + return SuiteImport(name, version, [], None, True, in_subdir=in_subdir, version_from=version_from, suite_dir=suite_dir) 74 - 75 - @staticmethod 76 - def get_source_urls(source, kind=None): 77 - @@ -1467,8 +1415,6 @@ class Suite(object): 78 - :type dists: list[Distribution] 79 - """ 80 - def __init__(self, mxDir, primary, internal, importing_suite, load, vc, vc_dir, dynamicallyImported=False): 81 - - if primary is True and vc_dir is None: 82 - - abort("The primary suite must be in a vcs repository") 83 - self.imported_by = [] if primary else [importing_suite] 84 - self.mxDir = mxDir 85 - self.dir = dirname(mxDir) 86 - @@ -1496,7 +1442,7 @@ class Suite(object): 87 - self._outputRoot = None 88 - self._preloaded_suite_dict = None 89 - self.vc = vc 90 - - self.vc_dir = vc_dir 91 - + self.vc_dir = get_env('MX_GIT_CACHE_DIR') 92 - self._preload_suite_dict() 93 - self._init_imports() 94 - if load: 95 - @@ -2405,7 +2351,9 @@ class Repository(SuiteConstituent): 96 - class SourceSuite(Suite): 97 - """A source suite""" 98 - def __init__(self, mxDir, primary=False, load=True, internal=False, importing_suite=None, dynamicallyImported=False): 99 - - vc, vc_dir = VC.get_vc_root(dirname(mxDir), abortOnError=False) 100 - + vc, vc_dir_test = VC.get_vc_root(dirname(mxDir), abortOnError=False) 101 - + vc_dir = get_env('MX_GIT_CACHE_DIR') 102 - + warn("LOOKING FOR: " + mxDir) 103 - Suite.__init__(self, mxDir, primary, internal, importing_suite, load, vc, vc_dir, dynamicallyImported=dynamicallyImported) 104 - logvv("SourceSuite.__init__({}), got vc={}, vc_dir={}".format(mxDir, self.vc, self.vc_dir)) 105 - self.projects = [] 106 - @@ -2454,17 +2402,7 @@ class SourceSuite(Suite): 107 - """ 108 - Gets the release tag from VC or create a time based once if VC is unavailable 109 - """ 110 - - if snapshotSuffix not in self._releaseVersion: 111 - - _version = self._get_early_suite_dict_property('version') 112 - - if _version and self.getMxCompatibility().addVersionSuffixToExplicitVersion(): 113 - - if not self.is_release(): 114 - - _version = _version + '-' + snapshotSuffix 115 - - if not _version: 116 - - _version = self.vc.release_version_from_tags(self.vc_dir, self.name, snapshotSuffix=snapshotSuffix) 117 - - if not _version: 118 - - _version = 'unknown-{0}-{1}'.format(platform.node(), time.strftime('%Y-%m-%d_%H-%M-%S_%Z')) 119 - - self._releaseVersion[snapshotSuffix] = _version 120 - - return self._releaseVersion[snapshotSuffix] 121 - + return get_env('version') 122 - 123 - def scm_metadata(self, abortOnError=False): 124 - scm = self.scm 125 - @@ -2993,12 +2931,35 @@ def _find_suite_import(importing_suite, suite_import, fatalIfMissing=True, load= 126 - Attempts to locate an existing suite in the local context 127 - Returns the path to the mx.name dir if found else None 128 - """ 129 - - if mode == 'binary': 130 - - # binary suites are always stored relative to the importing suite in mx-private directory 131 - - return importing_suite._find_binary_suite_dir(suite_import.name) 132 - + warn("FAKE CLONE: " + str(suite_import)) 133 - + if (suite_import.name == "truffle"): 134 - + return join(get_env('TMP'), "source", "truffle", "mx.truffle") 135 - + if (suite_import.name == "graal-nodejs"): 136 - + return join(get_env('MX_GIT_CACHE_DIR'), "graaljs", "graal-nodejs", "mx.graal-nodejs") 137 - + if (suite_import.name == "truffleruby"): 138 - + return join(get_env('MX_GIT_CACHE_DIR'), "truffleruby", "mx.truffleruby") 139 - + if (suite_import.name == "graalpython"): 140 - + return join(get_env('MX_GIT_CACHE_DIR'), "graalpython", "mx.graalpython") 141 - + if (suite_import.name == "vm"): 142 - + return join(get_env('TMP'), "source", "vm", "mx.vm") 143 - + if (suite_import.name == "fastr"): 144 - + return join(get_env('MX_GIT_CACHE_DIR'), "fastr", "mx.fastr") 145 - + if (suite_import.name == "sdk"): 146 - + return join(get_env('TMP'), "source", "sdk", "mx.sdk") 147 - + if (suite_import.name == "graal-js"): 148 - + return join(get_env('MX_GIT_CACHE_DIR'), "graaljs", "graal-js", "mx.graal-js") 149 - + if (suite_import.name == "regex"): 150 - + return join(get_env('TMP'), "source", "regex", "mx.regex") 151 - + if (suite_import.name == "substratevm"): 152 - + return join(get_env('TMP'), "source", "substratevm", "mx.substratevm") 153 - + if (suite_import.name == "tools"): 154 - + return join(get_env('TMP'), "source", "tools", "mx.tools") 155 - + if (suite_import.name == "sulong"): 156 - + return join(get_env('TMP'), "source", "sulong", "mx.sulong") 157 - + if (suite_import.name == "compiler"): 158 - + return join(get_env('TMP'), "source", "compiler", "mx.compiler") 159 - else: 160 - - # use the SuiteModel to locate a local source copy of the suite 161 - - return _suitemodel.find_suite_dir(suite_import) 162 - + return join(get_env('MX_GIT_CACHE_DIR'), suite_import.name) 163 - 164 - def _get_import_dir(url, mode): 165 - """Return directory where the suite will be cloned to""" 166 - @@ -3816,7 +3777,7 @@ def getmtime(name): 167 - """ 168 - Wrapper for builtin open function that handles long path names on Windows. 169 - """ 170 - - return os.path.getmtime(_safe_path(name)) 171 - + return 315532800 172 - 173 - 174 - def stat(name): 175 - @@ -4062,57 +4023,8 @@ def _attempt_download(url, path, jarEntryName=None): 176 - return False 177 - 178 - def download(path, urls, verbose=False, abortOnError=True, verifyOnly=False): 179 - - """ 180 - - Attempts to downloads content for each URL in a list, stopping after the first successful download. 181 - - If the content cannot be retrieved from any URL, the program is aborted, unless abortOnError=False. 182 - - The downloaded content is written to the file indicated by `path`. 183 - - """ 184 - - if not verifyOnly: 185 - - ensure_dirname_exists(path) 186 - - assert not path.endswith(os.sep) 187 - - 188 - - # https://docs.oracle.com/javase/7/docs/api/java/net/JarURLConnection.html 189 - - jarURLPattern = re.compile('jar:(.*)!/(.*)') 190 - - verify_errors = {} 191 - - for url in urls: 192 - - if not verifyOnly or verbose: 193 - - log('Downloading ' + url + ' to ' + path) 194 - - m = jarURLPattern.match(url) 195 - - jarEntryName = None 196 - - if m: 197 - - url = m.group(1) 198 - - jarEntryName = m.group(2) 199 - - 200 - - if not _opts.trust_http and (url.lower().startswith('http://') or url.lower().startswith('ftp://')): 201 - - warn('Downloading from non-https URL {}. Use --trust-http mx option to suppress this warning.'.format(url)) 202 - - 203 - - if verifyOnly: 204 - - try: 205 - - conn = _urlopen(url, timeout=10) 206 - - conn.close() 207 - - except (IOError, socket.timeout) as e: 208 - - _suggest_tlsv1_error(e) 209 - - verify_errors[url] = e 210 - - else: 211 - - for i in range(4): 212 - - if i != 0: 213 - - time.sleep(1) 214 - - warn('Retry {} to download from {}'.format(i, url)) 215 - - if _attempt_download(url, path, jarEntryName): 216 - - return True # Download was successful 217 - - 218 - - if verifyOnly and len(verify_errors) < len(urls): # verify-mode at least one success -> success 219 - - return True 220 - - else: # Either verification error or no download was successful 221 - - msg = 'Could not download to ' + path + ' from any of the following URLs: ' + ', '.join(urls) 222 - - if verifyOnly: # verify-mode -> print error details 223 - - for url, e in verify_errors.items(): 224 - - msg += '\n ' + url + ': ' + str(e) 225 - - if abortOnError: 226 - - abort(msg) 227 - - else: 228 - - warn(msg) 229 - - return False 230 - + print("FAKE download(path={} urls={} verbose={} abortOnError={} verifyOnly={})".format(path, urls, verbose, abortOnError, verifyOnly)) 231 - + return True 232 - 233 - def update_file(path, content, showDiff=False): 234 - """ 235 - @@ -7887,30 +7799,6 @@ class PackedResourceLibrary(ResourceLibrary): 236 - 237 - def get_path(self, resolve): 238 - extract_path = _make_absolute(self.extract_path, self.suite.dir) 239 - - download_path = super(PackedResourceLibrary, self).get_path(resolve) 240 - - if resolve and self._check_extract_needed(extract_path, download_path): 241 - - extract_path_tmp = tempfile.mkdtemp(suffix=basename(extract_path), dir=dirname(extract_path)) 242 - - try: 243 - - # extract archive 244 - - Extractor.create(download_path).extract(extract_path_tmp) 245 - - # ensure modification time is up to date 246 - - os.utime(extract_path_tmp, None) 247 - - logv("Moving temporary directory {} to {}".format(extract_path_tmp, extract_path)) 248 - - try: 249 - - # attempt atomic overwrite 250 - - os.rename(extract_path_tmp, extract_path) 251 - - except OSError: 252 - - # clean destination & re-try for cases where atomic overwrite doesn't work 253 - - rmtree(extract_path, ignore_errors=True) 254 - - os.rename(extract_path_tmp, extract_path) 255 - - except OSError as ose: 256 - - # Rename failed. Race with other process? 257 - - if self._check_extract_needed(extract_path, download_path): 258 - - # ok something really went wrong 259 - - abort("Extracting {} failed!".format(download_path), context=ose) 260 - - finally: 261 - - rmtree(extract_path_tmp, ignore_errors=True) 262 - - 263 - return extract_path 264 - 265 - def _check_download_needed(self): 266 - @@ -8430,7 +8318,7 @@ class VC(_with_metaclass(ABCMeta, object)): 267 - :param str branch: a branch name 268 - :param bool abortOnError: if True abort on error 269 - """ 270 - - abort(self.kind + " update_to_branch is not implemented") 271 - + self.run(['hg', vcdir] + cmd) 272 - 273 - def is_release_from_tags(self, vcdir, prefix): 274 - """ 275 - @@ -8831,7 +8719,7 @@ class HgConfig(VC): 276 - return None 277 - 278 - def parent_info(self, vcdir, abortOnError=True): 279 - - out = self.hg_command(vcdir, ["log", "-r", ".", "--template", "{author}|||{date|hgdate}"], abortOnError=abortOnError) 280 - + out = _check_output_str(["hg", '-R', vcdir, "log", "-r", ".", "--template", "{author}|||{date|hgdate}"]) 281 - author, date = out.split("|||") 282 - ts, _ = date.split(" ") 283 - return self._sanitize_parent_info({ 284 - @@ -14069,6 +13957,7 @@ class Archiver(SafeFileCreation): 285 - 286 - def _add_zip(self, filename, archive_name, provenance): 287 - self._add_provenance(archive_name, provenance) 288 - + os.utime(filename, (315532800, 315532800)) 289 - self.zf.write(filename, archive_name) 290 - 291 - def _add_str_zip(self, data, archive_name, provenance):
-16
pkgs/development/compilers/graalvm/002_setjmp.c.patch
··· 1 - diff --git a/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c b/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c 2 - index 16b869354d8..3691739d13b 100644 3 - --- a/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c 4 - +++ b/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c 5 - @@ -41,11 +41,3 @@ int sigsetjmp(sigjmp_buf env, int savesigs) { 6 - WARN_UNSUPPORTED(sigsetjmp); 7 - return 0; 8 - } 9 - - 10 - -void longjmp(jmp_buf env, int val) { 11 - - ERR_UNSUPPORTED(longjmp); 12 - -} 13 - - 14 - -void siglongjmp(sigjmp_buf env, int val) { 15 - - ERR_UNSUPPORTED(siglongjmp); 16 - -}
-12
pkgs/development/compilers/graalvm/003_mx_truffle.py.patch
··· 1 - diff --git a/truffle/mx.truffle/mx_truffle.py b/truffle/mx.truffle/mx_truffle.py 2 - index 8889c5ad810..add211a45c5 100644 3 - --- a/truffle/mx.truffle/mx_truffle.py 4 - +++ b/truffle/mx.truffle/mx_truffle.py 5 - @@ -695,6 +695,7 @@ class LibffiBuildTask(mx.AbstractNativeBuildTask): 6 - os.path.relpath(self.subject.delegate.dir, self.subject.suite.vc_dir)] 7 - for patch in self.subject.patches: 8 - mx.run(git_apply + [patch], cwd=self.subject.suite.vc_dir) 9 - + mx.run(['cp', os.path.join(os.getenv('TMP'), 'truffle.make'), os.path.join(self.subject.delegate.dir, 'Makefile')]) 10 - 11 - self.delegate.logBuild() 12 - self.delegate.build()
-12
pkgs/development/compilers/graalvm/004_mx_jvmci.py.patch
··· 1 - diff --git a/mx.jvmci/mx_jvmci.py b/mx.jvmci/mx_jvmci.py 2 - index 491fc19ab9..b4ddc03abb 100644 3 - --- a/mx.jvmci/mx_jvmci.py 4 - +++ b/mx.jvmci/mx_jvmci.py 5 - @@ -192,6 +192,7 @@ class HotSpotVMJDKDeployedDist(JDKDeployedDist): 6 - if m.name in _hs_deploy_map: 7 - targetDir = join(jdkDir, _hs_deploy_map[m.name]) 8 - mx.logv('Deploying {} from {} to {}'.format(m.name, dist.name, targetDir)) 9 - + subprocess.call(["chmod", "-R", "+rw", targetDir]) 10 - tar.extract(m, targetDir) 11 - 12 - """
-46
pkgs/development/compilers/graalvm/005_tool_jt.rb.patch
··· 1 - diff --git a/tool/jt.rb b/tool/jt.rb 2 - index 870d88edcb..0a6e4c367b 100755 3 - --- a/tool/jt.rb 4 - +++ b/tool/jt.rb 5 - @@ -152,13 +152,16 @@ module Utilities 6 - end 7 - 8 - def find_mx 9 - - if which('mx') 10 - - 'mx' 11 - + if ENV.key?("MX_GIT_CACHE_DIR") 12 - + "mx-internal" 13 - else 14 - - mx_repo = find_or_clone_repo("https://github.com/graalvm/mx.git") 15 - - "#{mx_repo}/mx" 16 - + if which('mx') 17 - + 'mx' 18 - + else 19 - + mx_repo = find_or_clone_repo("https://github.com/graalvm/mx.git") 20 - + "#{mx_repo}/mx" 21 - + end 22 - end 23 - - end 24 - 25 - def find_launcher(use_native) 26 - if use_native 27 - @@ -444,8 +447,8 @@ module Commands 28 - --no-sforceimports do not run sforceimports before building 29 - parser build the parser 30 - options build the options 31 - - graalvm build a minimal JVM-only GraalVM containing only TruffleRuby, 32 - - available by default in mxbuild/truffleruby-jvm, 33 - + graalvm build a minimal JVM-only GraalVM containing only TruffleRuby, 34 - + available by default in mxbuild/truffleruby-jvm, 35 - the Ruby is symlinked into rbenv or chruby if available 36 - --graal include the GraalVM Compiler in the build 37 - --native build native ruby image as well, available in mxbuild/truffleruby-native 38 - @@ -491,7 +494,7 @@ module Commands 39 - jt test compiler run compiler tests 40 - jt test integration [TESTS] run integration tests 41 - jt test bundle [--jdebug] tests using bundler 42 - - jt test gems [TESTS] tests using gems 43 - + jt test gems [TESTS] tests using gems 44 - jt test ecosystem [TESTS] tests using the wider ecosystem such as bundler, Rails, etc 45 - jt test cexts [--no-openssl] [--no-gems] [test_names...] 46 - run C extension tests (set GEM_HOME)
-14
pkgs/development/compilers/graalvm/006_mx_copylib.py.patch
··· 1 - diff --git a/mx.fastr/mx_copylib.py b/mx.fastr/mx_copylib.py 2 - index 4f57e1954..db45220d9 100644 3 - --- a/mx.fastr/mx_copylib.py 4 - +++ b/mx.fastr/mx_copylib.py 5 - @@ -54,6 +54,9 @@ def _copylib(lib, libpath, plain_libpath_base, target): 6 - else: 7 - try: 8 - if platform.system() == 'Linux': 9 - + # https://github.com/oracle/fastr/issues/110 10 - + if libpath.endswith("libgcc_s.so"): 11 - + libpath = libpath + ".1" 12 - output = subprocess.check_output(['objdump', '-p', libpath]) 13 - elif platform.system() == 'SunOS': 14 - output = subprocess.check_output(['elfdump', '-d', libpath])
-85
pkgs/development/compilers/graalvm/007_unimplemented.c.patch
··· 1 - diff --git a/com.oracle.truffle.r.native/fficall/src/common/unimplemented.c b/com.oracle.truffle.r.native/fficall/src/common/unimplemented.c 2 - index dcf081316..c2cb4879b 100644 3 - --- a/com.oracle.truffle.r.native/fficall/src/common/unimplemented.c 4 - +++ b/com.oracle.truffle.r.native/fficall/src/common/unimplemented.c 5 - @@ -20,8 +20,10 @@ 6 - 7 - #include <Rinternals.h> 8 - #include <stdlib.h> 9 - +#include <rlocale.h> 10 - 11 - #include <R_ext/eventloop.h> 12 - +#include <R_ext/GraphicsEngine.h> 13 - #include <Defn.h> 14 - 15 - Rboolean known_to_be_latin1 = FALSE; 16 - @@ -166,3 +168,69 @@ int Scollate(SEXP a, SEXP b) { 17 - void z_prec_r(Rcomplex *r, Rcomplex *x, double digits) { 18 - unimplemented("z_prec_r"); 19 - } 20 - + 21 - +int Rf_AdobeSymbol2ucs2(int n) { 22 - + unimplemented("Rf_AdobeSymbol2ucs2"); 23 - + return 0; 24 - +} 25 - + 26 - +size_t Mbrtowc(wchar_t *wc, const char *s, size_t n, mbstate_t *ps) { 27 - + unimplemented("Mbrtowc"); 28 - + return 0; 29 - +} 30 - + 31 - +double R_GE_VStrHeight(const char *s, cetype_t enc, const pGEcontext gc, pGEDevDesc dd) { 32 - + unimplemented("R_GE_VStrHeight"); 33 - + return 0; 34 - +} 35 - + 36 - +void R_GE_VText(double x, double y, const char * const s, cetype_t enc, 37 - + double x_justify, double y_justify, double rotation, 38 - + const pGEcontext gc, pGEDevDesc dd) { 39 - + unimplemented("R_GE_VText"); 40 - +} 41 - + 42 - +double R_GE_VStrWidth(const char *s, cetype_t enc, const pGEcontext gc, pGEDevDesc dd) { 43 - + unimplemented("R_GE_VStrWidth"); 44 - +} 45 - + 46 - +void setulb(int n, int m, double *x, double *l, double *u, int *nbd, 47 - + double *f, double *g, double factr, double *pgtol, 48 - + double *wa, int * iwa, char *task, int iprint, int *isave) { 49 - + unimplemented("setulb"); 50 - +} 51 - + 52 - +void genptry(int n, double *p, double *ptry, double scale, void *ex) { 53 - + unimplemented("genptry"); 54 - +} 55 - + 56 - +double EXP(double x) { 57 - + unimplemented("EXP"); 58 - + return 0; 59 - +} 60 - + 61 - +double LOG(double x) { 62 - + unimplemented("LOG"); 63 - + return 0; 64 - +} 65 - + 66 - +Rwchar_t Rf_utf8toucs32(wchar_t high, const char *s) { 67 - + unimplemented("Rf_utf8toucs32"); 68 - + return 0; 69 - +} 70 - + 71 - +size_t mbtoucs(unsigned int *wc, const char *s, size_t n) { 72 - + unimplemented("mbtoucs"); 73 - + return (size_t) 0; 74 - +} 75 - + 76 - + 77 - +int DispatchOrEval(SEXP call, SEXP op, const char *generic, SEXP args, 78 - + SEXP rho, SEXP *ans, int dropmissing, int argsevald) { 79 - + unimplemented("DispatchOrEval"); 80 - + return 0; 81 - +} 82 - + 83 - +void ENSURE_NAMEDMAX (SEXP x) { 84 - + unimplemented("ENSURE_NAMEDMAX"); 85 - +}
-33
pkgs/development/compilers/graalvm/008_remove_jfr.patch
··· 1 - diff --git a/mx.jvmci/suite.py b/mx.jvmci/suite.py 2 - index 9690c0a38f..fa1d36b7e1 100644 3 - --- a/mx.jvmci/suite.py 4 - +++ b/mx.jvmci/suite.py 5 - @@ -241,18 +241,7 @@ suite = { 6 - "workingSets" : "JVMCI,HotSpot,SPARC", 7 - }, 8 - 9 - - "jdk.vm.ci.hotspot.jfr" : { 10 - - "subDir" : "jvmci", 11 - - "sourceDirs" : ["src"], 12 - - "dependencies" : [ 13 - - "jdk.vm.ci.hotspot", 14 - - "JFR", 15 - - ], 16 - - "checkstyle" : "jdk.vm.ci.hotspot", 17 - - "javaCompliance" : "1.8", 18 - - "profile" : "", 19 - - "workingSets" : "JVMCI,HotSpot", 20 - - }, 21 - + 22 - 23 - "hotspot" : { 24 - "native" : True, 25 - @@ -354,7 +343,7 @@ suite = { 26 - "jdk.vm.ci.hotspot.aarch64", 27 - "jdk.vm.ci.hotspot.amd64", 28 - "jdk.vm.ci.hotspot.sparc", 29 - - "jdk.vm.ci.hotspot.jfr", 30 - + 31 - ], 32 - "distDependencies" : [ 33 - "JVMCI_SERVICES",
-21
pkgs/development/compilers/graalvm/009_remove_signedness_verifier.patch
··· 1 - diff --git a/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/query/SizeAndSignednessVerifier.java b/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/query/SizeAndSignednessVerifier.java 2 - index 23a76357fd2..f13694b6ed7 100644 3 - --- a/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/query/SizeAndSignednessVerifier.java 4 - +++ b/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/query/SizeAndSignednessVerifier.java 5 - @@ -249,15 +249,6 @@ public final class SizeAndSignednessVerifier extends NativeInfoTreeVisitor { 6 - } 7 - 8 - private void checkSignedness(boolean isUnsigned, ResolvedJavaType type, ResolvedJavaMethod method) { 9 - - if (isSigned(type)) { 10 - - if (isUnsigned) { 11 - - addError("Type " + type.toJavaName(false) + " is signed, but accessed C value is unsigned", method); 12 - - } 13 - - } else if (nativeLibs.isWordBase(type)) { 14 - - /* every Word type other than Signed is assumed to be unsigned. */ 15 - - if (!isUnsigned) { 16 - - addError("Type " + type.toJavaName(false) + " is unsigned, but accessed C value is signed", method); 17 - - } 18 - - } 19 - + 20 - } 21 - }
-13
pkgs/development/compilers/graalvm/010_mx_substratevm.py
··· 1 - diff --git a/substratevm/mx.substratevm/mx_substratevm.py b/substratevm/mx.substratevm/mx_substratevm.py 2 - index b89163ef983..0fd0138b336 100644 3 - --- a/substratevm/mx.substratevm/mx_substratevm.py 4 - +++ b/substratevm/mx.substratevm/mx_substratevm.py 5 - @@ -189,7 +189,7 @@ if str(svm_java_compliance().value) not in GRAAL_COMPILER_FLAGS_MAP: 6 - mx.abort("Substrate VM does not support this Java version: " + str(svm_java_compliance())) 7 - GRAAL_COMPILER_FLAGS = GRAAL_COMPILER_FLAGS_BASE + GRAAL_COMPILER_FLAGS_MAP[str(svm_java_compliance().value)] 8 - 9 - -IMAGE_ASSERTION_FLAGS = ['-H:+VerifyGraalGraphs', '-H:+VerifyPhases'] 10 - +IMAGE_ASSERTION_FLAGS = ['-H:+VerifyGraalGraphs', '-H:+VerifyPhases', '-H:+ReportExceptionStackTraces'] 11 - suite = mx.suite('substratevm') 12 - svmSuites = [suite] 13 - clibraryDists = ['SVM_HOSTED_NATIVE']
-540
pkgs/development/compilers/graalvm/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial_4, python27, setJavaClassPath, 2 - which, zlib, makeWrapper, openjdk, unzip, git, clang, llvm, icu, ruby, glibc, bash, gcc, libobjc, 3 - xcodebuild, gfortran, readline, bzip2, xz, pcre, curl, ed, libresolv, libiconv, writeScriptBin, 4 - openssl, perl, CoreFoundation, Foundation, JavaNativeFoundation, JavaRuntimeSupport, JavaVM, Cocoa 5 - }: 6 - 7 - let 8 - version = "19.2.1"; 9 - mercurial = mercurial_4; 10 - truffleMake = ./truffle.make; 11 - makeMxGitCache = list: out: '' 12 - mkdir ${out} 13 - ${lib.concatMapStrings ({ url, name, rev, sha256 }: '' 14 - mkdir -p ${out}/${name} 15 - cp -rf ${fetchgit { inherit url rev sha256; }}/* ${out}/${name} 16 - '' 17 - ) list} 18 - 19 - # # GRAAL-NODEJS # # 20 - chmod -R +rw ${out} 21 - sed -i "s|#include \"../../../../mxbuild/trufflenode/coremodules/node_snapshots.h\"| \ 22 - #include \"$NIX_BUILD_TOP/mxbuild/graal-nodejs/trufflenode/coremodules/node_snapshots.h\"|g" \ 23 - ${out}/graaljs/graal-nodejs/deps/v8/src/graal/callbacks.cc 24 - 25 - # patch the shebang in python script runner 26 - chmod -R +rw ${out}/graaljs/graal-nodejs/mx.graal-nodejs/python2 27 - patchShebangs ${out}/graaljs/graal-nodejs/mx.graal-nodejs/python2/python 28 - 29 - # # TUFFLE-RUBY # # 30 - (cd ${out}/truffleruby && git apply ${./005_tool_jt.rb.patch}) 31 - patchShebangs ${out}/truffleruby/tool/query-versions-json.rb 32 - 33 - substituteInPlace ${out}/truffleruby/src/main/c/Makefile \ 34 - --replace '(MX_HOME)/mx' '(MX_HOME)/mx-internal' 35 - 36 - substituteInPlace ${out}/truffleruby/src/processor/java/org/truffleruby/processor/BuildInformationProcessor.java \ 37 - --replace 'trufflerubyHome = findHome();' \ 38 - 'trufflerubyHome = new File(System.getenv("MX_GIT_CACHE_DIR"), "truffleruby");' \ 39 - --replace tool/query-versions-json.rb 'ruby tool/query-versions-json.rb' \ 40 - --replace 'revision = runCommand("git rev-parse --short=8 HEAD");' \ 41 - 'revision = "${version}";' \ 42 - --replace 'compileDate = runCommand("git log -1 --date=short --pretty=format:%cd");' \ 43 - 'compileDate = "1970-01-01";' 44 - 45 - substituteInPlace ${out}/truffleruby/mx.truffleruby/mx_truffleruby.py \ 46 - --replace "mx_binary = join(mx._mx_home, 'mx')" "mx_binary = join(mx._mx_home, 'mx-internal')" 47 - 48 - # # FASTR # # 49 - (cd ${out}/fastr && git apply ${ ./006_mx_copylib.py.patch }) 50 - (cd ${out}/fastr && git apply ${ ./007_unimplemented.c.patch }) 51 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.parser.processor/src/com/oracle/truffle/r/parser/processor/GenerateRParserProcessor.java \ 52 - --replace 'File suiteRoot = srcGenDir.getCanonicalFile().getParentFile().getParentFile().getParentFile();' \ 53 - 'File suiteRoot = new File(System.getenv("MX_GIT_CACHE_DIR"), "fastr");' 54 - 55 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.native/gnur/Makefile.libs \ 56 - --replace 'mx -p' 'mx-internal -p' 57 - 58 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.native/include/Makefile \ 59 - --replace 'mx -p' 'mx-internal -p' 60 - 61 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.native/fficall/Makefile \ 62 - --replace 'mx -p' 'mx-internal -p' 63 - 64 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.native.recommended/Makefile \ 65 - --replace 'mx -p' 'mx-internal -p' 66 - 67 - # Make sure that the logs aren't hidden when compiling gnur 68 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.native/gnur/Makefile.gnur \ 69 - --replace '> gnur_configure.log 2>&1' "" \ 70 - --replace '> gnur_make.log 2>&1' "" 71 - 72 - substituteInPlace ${out}/fastr/com.oracle.truffle.r.native/run/Linux/Renviron \ 73 - --replace /bin/ "" \ 74 - --replace /usr/bin/ "" 75 - 76 - sed -i "s|exec \$mx|exec mx-internal|g" ${out}/fastr/com.oracle.truffle.r.native/run/*.sh 77 - chmod +x ${out}/fastr/com.oracle.truffle.r.native/run/*.sh 78 - patchShebangs ${out}/fastr/com.oracle.truffle.r.native/run/*.sh 79 - 80 - cd ${out} 81 - hg init 82 - hg add 83 - hg commit -m 'dummy commit' 84 - hg tag ${lib.escapeShellArg "vm${version}"} 85 - hg checkout ${lib.escapeShellArg "vm${version}"} 86 - ''; 87 - 88 - # pre-download some cache entries ('mx' will not be able to download under nixbld) 89 - makeMxCache = list: 90 - stdenv.mkDerivation { 91 - name = "mx-cache"; 92 - nativeBuildInputs = [ unzip ]; 93 - buildCommand = with lib; '' 94 - mkdir $out 95 - ${lib.concatMapStrings 96 - ({url, name, sha1, isNinja ? false}: '' 97 - install -D ${fetchurl { inherit url sha1; }} $out/${name} 98 - echo -n ${sha1} > $out/${name}.sha1 99 - ${if isNinja then '' 100 - export BASENAME=${removeSuffix ".zip" name} 101 - mkdir "$out/$BASENAME.extracted" && 102 - unzip "$out/${name}" -d "$out/$BASENAME.extracted" 103 - 104 - # Ninja is called later in the build process 105 - ${lib.optionalString stdenv.isLinux '' 106 - if [ -f $out/$BASENAME.extracted/ninja ]; then 107 - patchelf --set-interpreter \ 108 - "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 109 - --set-rpath "${stdenv.cc.cc.lib}/lib64" \ 110 - $out/$BASENAME.extracted/ninja 111 - fi''} 112 - '' 113 - else ""} 114 - '') list} 115 - ''; 116 - }; 117 - 118 - jvmci8-mxcache = [ 119 - rec { sha1 = "53addc878614171ff0fcbc8f78aed12175c22cdb"; name = "JACOCOCORE_0.8.4_${sha1}/jacococore-0.8.4.jar"; url = "mirror://maven/org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4.jar"; } 120 - rec { sha1 = "9bd1fa334d941005bc9ab3ac92478a590f5b7d73"; name = "JACOCOCORE_0.8.4_${sha1}/jacococore-0.8.4.sources.jar"; url = "mirror://maven/org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4-sources.jar"; } 121 - rec { sha1 = "e5ca9511493b7e3bc2cabdb8ded92e855f3aac32"; name = "JACOCOREPORT_0.8.4_${sha1}/jacocoreport-0.8.4.jar"; url = "mirror://maven/org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4.jar"; } 122 - rec { sha1 = "eb61e479b35b467954f28a565c094c563b790e19"; name = "JACOCOREPORT_0.8.4_${sha1}/jacocoreport-0.8.4.sources.jar"; url = "mirror://maven/org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4-sources.jar"; } 123 - rec { sha1 = "869021a6d90cfb008b12e83fccbe42eca29e5355"; name = "JACOCOAGENT_0.8.4_${sha1}/jacocoagent-0.8.4.jar"; url = "mirror://maven/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar"; } 124 - rec { sha1 = "306816fb57cf94f108a43c95731b08934dcae15c"; name = "JOPTSIMPLE_4_6_${sha1}/joptsimple-4-6.jar"; url = "mirror://maven/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"; } 125 - rec { sha1 = "9cd14a61d7aa7d554f251ef285a6f2c65caf7b65"; name = "JOPTSIMPLE_4_6_${sha1}/joptsimple-4-6.sources.jar"; url = "mirror://maven/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6-sources.jar"; } 126 - rec { sha1 = "fa29aa438674ff19d5e1386d2c3527a0267f291e"; name = "ASM_7.1_${sha1}/asm-7.1.jar"; url = "mirror://maven/org/ow2/asm/asm/7.1/asm-7.1.jar"; } 127 - rec { sha1 = "9d170062d595240da35301362b079e5579c86f49"; name = "ASM_7.1_${sha1}/asm-7.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm/7.1/asm-7.1-sources.jar"; } 128 - rec { sha1 = "a3662cf1c1d592893ffe08727f78db35392fa302"; name = "ASM_TREE_7.1_${sha1}/asm-tree-7.1.jar"; url = "mirror://maven/org/ow2/asm/asm-tree/7.1/asm-tree-7.1.jar"; } 129 - rec { sha1 = "157238292b551de8680505fa2d19590d136e25b9"; name = "ASM_TREE_7.1_${sha1}/asm-tree-7.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-tree/7.1/asm-tree-7.1-sources.jar"; } 130 - rec { sha1 = "379e0250f7a4a42c66c5e94e14d4c4491b3c2ed3"; name = "ASM_ANALYSIS_7.1_${sha1}/asm-analysis-7.1.jar"; url = "mirror://maven/org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1.jar"; } 131 - rec { sha1 = "36789198124eb075f1a5efa18a0a7812fb16f47f"; name = "ASM_ANALYSIS_7.1_${sha1}/asm-analysis-7.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1-sources.jar"; } 132 - rec { sha1 = "431dc677cf5c56660c1c9004870de1ed1ea7ce6c"; name = "ASM_COMMONS_7.1_${sha1}/asm-commons-7.1.jar"; url = "mirror://maven/org/ow2/asm/asm-commons/7.1/asm-commons-7.1.jar"; } 133 - rec { sha1 = "a62ff3ae6e37affda7c6fb7d63b89194c6d006ee"; name = "ASM_COMMONS_7.1_${sha1}/asm-commons-7.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-commons/7.1/asm-commons-7.1-sources.jar"; } 134 - rec { sha1 = "ec2544ab27e110d2d431bdad7d538ed509b21e62"; name = "COMMONS_MATH3_3_2_${sha1}/commons-math3-3-2.jar"; url = "mirror://maven/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar"; } 135 - rec { sha1 = "cd098e055bf192a60c81d81893893e6e31a6482f"; name = "COMMONS_MATH3_3_2_${sha1}/commons-math3-3-2.sources.jar"; url = "mirror://maven/org/apache/commons/commons-math3/3.2/commons-math3-3.2-sources.jar"; } 136 - rec { sha1 = "442447101f63074c61063858033fbfde8a076873"; name = "JMH_1_21_${sha1}/jmh-1-21.jar"; url = "mirror://maven/org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21.jar"; } 137 - rec { sha1 = "a6fe84788bf8cf762b0e561bf48774c2ea74e370"; name = "JMH_1_21_${sha1}/jmh-1-21.sources.jar"; url = "mirror://maven/org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21-sources.jar"; } 138 - rec { sha1 = "7aac374614a8a76cad16b91f1a4419d31a7dcda3"; name = "JMH_GENERATOR_ANNPROCESS_1_21_${sha1}/jmh-generator-annprocess-1-21.jar"; url = "mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21.jar"; } 139 - rec { sha1 = "fb48e2a97df95f8b9dced54a1a37749d2a64d2ae"; name = "JMH_GENERATOR_ANNPROCESS_1_21_${sha1}/jmh-generator-annprocess-1-21.sources.jar"; url = "mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21-sources.jar"; } 140 - rec { sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec"; name = "JUNIT_${sha1}/junit.jar"; url = "mirror://maven/junit/junit/4.12/junit-4.12.jar"; } 141 - rec { sha1 = "a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa"; name = "JUNIT_${sha1}/junit.sources.jar"; url = "mirror://maven/junit/junit/4.12/junit-4.12-sources.jar"; } 142 - rec { sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0"; name = "HAMCREST_${sha1}/hamcrest.jar"; url = "mirror://maven/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"; } 143 - rec { sha1 = "1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b"; name = "HAMCREST_${sha1}/hamcrest.sources.jar"; url = "mirror://maven/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar"; } 144 - rec { sha1 = "0d031013db9a80d6c88330c42c983fbfa7053193"; name = "hsdis_${sha1}/hsdis.so"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/hsdis/intel/hsdis-amd64-linux-${sha1}.so"; } 145 - ] ++ lib.optionals stdenv.isLinux [ 146 - rec { sha1 = "0d031013db9a80d6c88330c42c983fbfa7053193"; name = "hsdis_${sha1}/hsdis.so"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/hsdis/intel/hsdis-amd64-linux-${sha1}.so"; } 147 - ] 148 - ++ lib.optionals stdenv.isDarwin [ 149 - rec { sha1 = "67f6d23cbebd8998450a88b5bef362171f66f11a"; name = "hsdis_${sha1}/hsdis.dylib"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/hsdis/intel/hsdis-amd64-darwin-${sha1}.dylib"; } 150 - ]; 151 - 152 - graal-mxcache = jvmci8-mxcache ++ [ 153 - # rec { sha1 = "5001adab652fc4eb35e30cdefbb0765442f8b7db"; name = "LLVM_ORG_LIBCXX_SRC_${sha1}/llvm-org-libcxx-src.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/llvm-org/compiler-rt-llvmorg-8.0.0-4-gd563e33a79-bgae3b177eaa-linux-amd64.tar.gz"; } 154 - rec { sha1 = "5001adab652fc4eb35e30cdefbb0765442f8b7db"; name = "LLVM_ORG_COMPILER_RT_LINUX_${sha1}/llvm-org-compiler-rt-linux.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/llvm-org/compiler-rt-llvmorg-8.0.0-4-gd563e33a79-bgae3b177eaa-linux-amd64.tar.gz"; } 155 - rec { sha1 = "a990b2dba1c706f5c43c56fedfe70bad9a695852"; name = "LLVM_WRAPPER_${sha1}/llvm-wrapper.jar"; url = "mirror://maven/org/bytedeco/javacpp-presets/llvm/6.0.1-1.4.2/llvm-6.0.1-1.4.2.jar"; } 156 - rec { sha1 = "decbd95d46092fa9afaf2523b5b23d07ad7ad6bc"; name = "LLVM_WRAPPER_${sha1}/llvm-wrapper.sources.jar"; url = "mirror://maven/org/bytedeco/javacpp-presets/llvm/6.0.1-1.4.2/llvm-6.0.1-1.4.2-sources.jar"; } 157 - rec { sha1 = "cfa6a0259d98bff5aa8d41ba11b4d1dad648fbaa"; name = "JAVACPP_${sha1}/javacpp.jar"; url = "mirror://maven/org/bytedeco/javacpp/1.4.2/javacpp-1.4.2.jar"; } 158 - rec { sha1 = "fdb2d2c17f6b91cdd5421554396da8905f0dfed2"; name = "JAVACPP_${sha1}/javacpp.sources.jar"; url = "mirror://maven/org/bytedeco/javacpp/1.4.2/javacpp-1.4.2-sources.jar"; } 159 - rec { sha1 = "702ca2d0ae93841c5ab75e4d119b29780ec0b7d9"; name = "NINJA_SYNTAX_${sha1}/ninja-syntax.tar.gz"; url = "https://pypi.org/packages/source/n/ninja_syntax/ninja_syntax-1.7.2.tar.gz"; } 160 - rec { sha1 = "f2cfb09cee12469ff64f0d698b13de19903bb4f7"; name = "NanoHTTPD-WebSocket_${sha1}/nanohttpd-websocket.jar"; url = "mirror://maven/org/nanohttpd/nanohttpd-websocket/2.3.1/nanohttpd-websocket-2.3.1.jar"; } 161 - rec { sha1 = "a8d54d1ca554a77f377eff6bf9e16ca8383c8f6c"; name = "NanoHTTPD_${sha1}/nanohttpd.jar"; url = "mirror://maven/org/nanohttpd/nanohttpd/2.3.1/nanohttpd-2.3.1.jar"; } 162 - rec { sha1 = "946f8aa9daa917dd81a8b818111bec7e288f821a"; name = "ANTLR4_${sha1}/antlr4.jar"; url = "mirror://maven/org/antlr/antlr4-runtime/4.7.1/antlr4-runtime-4.7.1.jar"; } 163 - rec { sha1 = "c3aeac59c022bdc497c8c48ed86fa50450e4896a"; name = "JLINE_${sha1}/jline.jar"; url = "mirror://maven/jline/jline/2.14.6/jline-2.14.6.jar"; } 164 - rec { sha1 = "d0bdc21c5e6404726b102998e44c66a738897905"; name = "JAVA_ALLOCATION_INSTRUMENTER_${sha1}/java-allocation-instrumenter.jar"; url = "mirror://maven/com/google/code/java-allocation-instrumenter/java-allocation-instrumenter/3.1.0/java-allocation-instrumenter-3.1.0.jar"; } 165 - rec { sha1 = "0da08b8cce7bbf903602a25a3a163ae252435795"; name = "ASM5_${sha1}/asm5.jar"; url = "mirror://maven/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar"; } 166 - rec { sha1 = "396ce0c07ba2b481f25a70195c7c94922f0d1b0b"; name = "ASM_TREE5_${sha1}/asm-tree5.jar"; url = "mirror://maven/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.jar"; } 167 - rec { sha1 = "280c265b789e041c02e5c97815793dfc283fb1e6"; name = "LIBFFI_SOURCES_${sha1}/libffi-sources.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/libffi-3.2.1.tar.gz"; } 168 - rec { sha1 = "8819cea8bfe22c9c63f55465e296b3855ea41786"; name = "TruffleJSON_${sha1}/trufflejson.jar"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/trufflejson-20180130.jar"; } 169 - rec { sha1 = "9712a8124c40298015f04a74f61b3d81a51513af"; name = "CHECKSTYLE_8.8_${sha1}/checkstyle-8.8.jar"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/checkstyle-8.8-all.jar"; } 170 - rec { sha1 = "8dc5a90bed5f51d7538d05b8c31c31b7dfddbd66"; name = "VISUALVM_COMMON_${sha1}/visualvm-common.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm/visualvm-19_0_0-20.tar.gz"; } 171 - rec { sha1 = "e6e60889b7211a80b21052a249bd7e0f88f79fee"; name = "Java-WebSocket_${sha1}/java-websocket.jar"; url = "mirror://maven/org/java-websocket/Java-WebSocket/1.3.9/Java-WebSocket-1.3.9.jar"; } 172 - rec { sha1 = "7a4d00d5ec5febd252a6182e8b6e87a0a9821f81"; name = "ICU4J_${sha1}/icu4j.jar"; url = "mirror://maven/com/ibm/icu/icu4j/62.1/icu4j-62.1.jar"; } 173 - # This duplication of asm with underscore and minus is totally weird 174 - rec { sha1 = "c01b6798f81b0fc2c5faa70cbe468c275d4b50c7"; name = "ASM-6.2.1_${sha1}/asm-6.2.1.jar"; url = "mirror://maven/org/ow2/asm/asm/6.2.1/asm-6.2.1.jar"; } 175 - rec { sha1 = "cee28077ac7a63d3de0b205ec314d83944ff6267"; name = "ASM-6.2.1_${sha1}/asm-6.2.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm/6.2.1/asm-6.2.1-sources.jar"; } 176 - rec { sha1 = "332b022092ecec53cdb6272dc436884b2d940615"; name = "ASM_TREE-6.2.1_${sha1}/asm-tree-6.2.1.jar"; url = "mirror://maven/org/ow2/asm/asm-tree/6.2.1/asm-tree-6.2.1.jar"; } 177 - rec { sha1 = "072bd64989090e4ed58e4657e3d4481d96f643af"; name = "ASM_TREE-6.2.1_${sha1}/asm-tree-6.2.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-tree/6.2.1/asm-tree-6.2.1-sources.jar"; } 178 - rec { sha1 = "e8b876c5ccf226cae2f44ed2c436ad3407d0ec1d"; name = "ASM_ANALYSIS-6.2.1_${sha1}/asm-analysis-6.2.1.jar"; url = "mirror://maven/org/ow2/asm/asm-analysis/6.2.1/asm-analysis-6.2.1.jar"; } 179 - rec { sha1 = "b0b249bd185677648692e7c57b488b6d7c2a6653"; name = "ASM_ANALYSIS-6.2.1_${sha1}/asm-analysis-6.2.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-analysis/6.2.1/asm-analysis-6.2.1-sources.jar"; } 180 - rec { sha1 = "eaf31376d741a3e2017248a4c759209fe25c77d3"; name = "ASM_COMMONS-6.2.1_${sha1}/asm-commons-6.2.1.jar"; url = "mirror://maven/org/ow2/asm/asm-commons/6.2.1/asm-commons-6.2.1.jar"; } 181 - rec { sha1 = "667fa0f9d370e7848b0e3d173942855a91fd1daf"; name = "ASM_COMMONS-6.2.1_${sha1}/asm-commons-6.2.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-commons/6.2.1/asm-commons-6.2.1-sources.jar"; } 182 - # From here on the deps are new 183 - rec { sha1 = "400d664d7c92a659d988c00cb65150d1b30cf339"; name = "ASM_UTIL-6.2.1_${sha1}/asm-util-6.2.1.jar"; url = "mirror://maven/org/ow2/asm/asm-util/6.2.1/asm-util-6.2.1.jar"; } 184 - rec { sha1 = "c9f7246bf93bb0dc7fe9e7c9eca531a8fb98d252"; name = "ASM_UTIL-6.2.1_${sha1}/asm-util-6.2.1.sources.jar"; url = "mirror://maven/org/ow2/asm/asm-util/6.2.1/asm-util-6.2.1-sources.jar"; } 185 - rec { sha1 = "4b52bd03014f6d080ef0528865c1ee50621e35c6"; name = "NETBEANS_PROFILER_${sha1}/netbeans-profiler.jar"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/truffle/js/org-netbeans-lib-profiler-8.2-201609300101.jar"; } 186 - rec { sha1 = "b5840706cc8ce639fcafeab1bc61da2d8aa37afd"; name = "NASHORN_INTERNAL_TESTS_${sha1}/nashorn-internal-tests.jar"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/truffle/js/nashorn-internal-tests-700f5e3f5ff2.jar"; } 187 - rec { sha1 = "9577018f9ce3636a2e1cb0a0c7fe915e5098ded5"; name = "JACKSON_ANNOTATIONS_${sha1}/jackson-annotations.jar"; url = "mirror://maven/com/fasterxml/jackson/core/jackson-annotations/2.8.6/jackson-annotations-2.8.6.jar"; } 188 - rec { sha1 = "2ef7b1cc34de149600f5e75bc2d5bf40de894e60"; name = "JACKSON_CORE_${sha1}/jackson-core.jar"; url = "mirror://maven/com/fasterxml/jackson/core/jackson-core/2.8.6/jackson-core-2.8.6.jar"; } 189 - rec { sha1 = "c43de61f74ecc61322ef8f402837ba65b0aa2bf4"; name = "JACKSON_DATABIND_${sha1}/jackson-databind.jar"; url = "mirror://maven/com/fasterxml/jackson/core/jackson-databind/2.8.6/jackson-databind-2.8.6.jar"; } 190 - rec { sha1 = "2838952e91baa37ac73ed817451268a193ba440a"; name = "JCODINGS_${sha1}/jcodings.jar"; url = "mirror://maven/org/jruby/jcodings/jcodings/1.0.40/jcodings-1.0.40.jar"; } 191 - rec { sha1 = "0ed89e096c83d540acac00d6ee3ea935b4c905ff"; name = "JCODINGS_${sha1}/jcodings.sources.jar"; url = "mirror://maven/org/jruby/jcodings/jcodings/1.0.40/jcodings-1.0.40-sources.jar"; } 192 - rec { sha1 = "5dbb09787a9b8780737b71fbf942235ef59051b9"; name = "JONI_${sha1}/joni.jar"; url = "mirror://maven/org/jruby/joni/joni/2.1.25/joni-2.1.25.jar"; } 193 - rec { sha1 = "505a09064f6e2209616f38724f6d97d8d889aa92"; name = "JONI_${sha1}/joni.sources.jar"; url = "mirror://maven/org/jruby/joni/joni/2.1.25/joni-2.1.25-sources.jar"; } 194 - rec { sha1 = "c4f7d054303948eb6a4066194253886c8af07128"; name = "XZ-1.8_${sha1}/xz-1.8.jar"; url = "mirror://maven/org/tukaani/xz/1.8/xz-1.8.jar"; } 195 - rec { sha1 = "9314d3d372b05546a33791fbc8dd579c92ebd16b"; name = "GNUR_${sha1}/gnur.tar.gz"; url = "http://cran.rstudio.com/src/base/R-3/R-3.5.1.tar.gz"; } 196 - rec { sha1 = "90aa8308da72ae610207d8f6ca27736921be692a"; name = "ANTLR4_COMPLETE_${sha1}/antlr4-complete.jar"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/antlr-4.7.1-complete.jar"; }] ++ 197 - lib.optionals stdenv.isLinux [ 198 - rec { sha1 = "df4c1f784294d02a82d78664064248283bfcc297"; name = "LLVM_ORG_${sha1}/llvm-org.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/llvm-org/llvm-llvmorg-8.0.0-4-gd563e33a79-bgae3b177eaa-linux-amd64.tar.gz"; } 199 - rec { sha1 = "344483aefa15147c121a8fb6fb35a2406768cc5c"; name = "LLVM_PLATFORM_SPECIFIC_${sha1}/llvm-platform-specific.jar"; url = "mirror://maven/org/bytedeco/javacpp-presets/llvm/6.0.1-1.4.2/llvm-6.0.1-1.4.2-linux-x86_64.jar"; } 200 - rec { sha1 = "fd1a723d62cbbc591041d303e8b151d89f131643"; name = "VISUALVM_PLATFORM_SPECIFIC_${sha1}/visualvm-platform-specific.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm/visualvm-19_0_0-20-linux-amd64.tar.gz"; } 201 - rec { sha1 = "987234c4ce45505c21302e097c24efef4873325c"; name = "NINJA_${sha1}/ninja.zip"; url = "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip"; 202 - isNinja = true; }] ++ 203 - lib.optionals stdenv.isDarwin [ 204 - rec { sha1 = "0fa1af180755fa4cc018ee9be33f2d7d827593c4"; name = "LLVM_ORG_${sha1}/llvm-org.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/llvm-org/llvm-llvmorg-8.0.0-4-gd563e33a79-bgae3b177eaa-darwin-amd64.tar.gz"; } 205 - rec { sha1 = "57bc74574104a9e0a2dc4d7a71ffcc5731909e57"; name = "LLVM_PLATFORM_SPECIFIC_${sha1}/llvm-platform-specific.jar"; url = "mirror://maven/org/bytedeco/javacpp-presets/llvm/6.0.1-1.4.2/llvm-6.0.1-1.4.2-macosx-x86_64.jar"; } 206 - rec { sha1 = "ae23bb365930f720acc88c62640bae6852a37d67"; name = "VISUALVM_PLATFORM_SPECIFIC_${sha1}/visualvm-platform-specific.tar.gz"; url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm/visualvm-19_0_0-20-macosx-x86_64.tar.gz"; } 207 - rec { sha1 = "8142c497f7dfbdb052a1e31960fdfe2c6f9a5ca2"; name = "NINJA_${sha1}/ninja.zip"; url = "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip"; 208 - isNinja = true; }]; 209 - 210 - graal-mxcachegit = [ 211 - { sha256 = "01w39ms39gl3cw7c2fgcacr2yjg94im9x2x7p5g94l6xlcgqvcnr"; name = "graaljs"; url = "https://github.com/graalvm/graaljs.git"; rev = "vm-${version}"; } 212 - { sha256 = "1dps9n5b9c80pbg1fmlwpffy6ina0f0h27di24kafc8isxrdggia"; name = "truffleruby"; url = "https://github.com/oracle/truffleruby.git"; rev = "vm-${version}"; } 213 - { sha256 = "0jdpdqm3ld1wsasmi8ka26qf19cibjac8lrqm040h5vh0iqzxizy"; name = "fastr"; url = "https://github.com/oracle/fastr.git"; rev = "vm-${version}"; } 214 - { sha256 = "1gv8vafwrafjzvgv4gwk4kcsb3bnvsx07qa5inc0bdyxy5shl381"; name = "graalpython"; url = "https://github.com/graalvm/graalpython.git"; rev = "vm-${version}"; }]; 215 - 216 - ninja-syntax = python27.pkgs.buildPythonPackage rec { 217 - version = "1.7.2"; 218 - pname = "ninja_syntax"; 219 - doCheck = false; 220 - src = python27.pkgs.fetchPypi { 221 - inherit pname version; 222 - sha256 = "07zg30m0khx55fv2gxxn7pqd549z0vk3x592mrdlk9l8krxwjb9l"; 223 - }; 224 - }; 225 - 226 - findbugs = fetchzip { 227 - name = "findbugs-3.0.0"; 228 - url = "https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/findbugs-3.0.0.zip"; 229 - sha256 = "0sf5f9h1s6fmhfigjy81i109j1ani5kzdr4njlpq0mnkkh9fpr7m"; 230 - }; 231 - 232 - python27withPackages = python27.withPackages (ps: [ ninja-syntax ]); 233 - 234 - in rec { 235 - 236 - mx = stdenv.mkDerivation rec { 237 - version = "5.247.1"; 238 - pname = "mx"; 239 - src = fetchFromGitHub { 240 - owner = "graalvm"; 241 - repo = "mx"; 242 - rev = version; 243 - sha256 = "038qr49rqzkhj76nqd27h8fysssnlpdhmy23ks2y81xlxhlzkc59"; 244 - }; 245 - nativeBuildInputs = [ makeWrapper ]; 246 - prePatch = '' 247 - cp mx.py bak_mx.py 248 - ''; 249 - patches = [ ./001_mx.py.patch ]; 250 - postPatch = '' 251 - mv mx.py internal_mx.py 252 - mv bak_mx.py mx.py 253 - ''; 254 - buildPhase = '' 255 - substituteInPlace mx --replace /bin/pwd pwd 256 - 257 - # avoid crash with 'ValueError: ZIP does not support timestamps before 1980' 258 - substituteInPlace internal_mx.py --replace \ 259 - 'zipfile.ZipInfo(arcname, time.localtime(getmtime(join(root, f)))[:6])' \ 260 - 'zipfile.ZipInfo(arcname, time.strptime ("1 Jan 1980", "%d %b %Y" )[:6])' 261 - ''; 262 - installPhase = '' 263 - mkdir -p $out/bin 264 - cp -dpR * $out/bin 265 - wrapProgram $out/bin/mx \ 266 - --prefix PATH : ${lib.makeBinPath [ python27withPackages mercurial ]} \ 267 - --set FINDBUGS_HOME ${findbugs} 268 - makeWrapper ${python27}/bin/python $out/bin/mx-internal \ 269 - --add-flags "$out/bin/internal_mx.py" \ 270 - --prefix PATH : ${lib.makeBinPath [ python27withPackages mercurial ]} \ 271 - --set FINDBUGS_HOME ${findbugs} 272 - ''; 273 - meta = with lib; { 274 - homepage = "https://github.com/graalvm/mx"; 275 - description = "Command-line tool used for the development of Graal projects"; 276 - license = licenses.gpl2; 277 - platforms = python27.meta.platforms; 278 - }; 279 - }; 280 - 281 - jvmci8 = stdenv.mkDerivation rec { 282 - version = "19.3-b05"; 283 - pname = "jvmci"; 284 - src = fetchFromGitHub { 285 - owner = "graalvm"; 286 - repo = "graal-jvmci-8"; 287 - rev = "jvmci-${version}"; 288 - sha256 = "0j7my76vldbrvki9x1gn9ics3x2z96j05jdy4nflbpik8i396114"; 289 - }; 290 - buildInputs = [ mx mercurial openjdk ] ++ lib.optionals stdenv.isDarwin [ 291 - libobjc CoreFoundation Foundation JavaNativeFoundation JavaRuntimeSupport JavaVM xcodebuild Cocoa 292 - ]; 293 - postUnpack = '' 294 - # a fake mercurial dir to prevent mx crash and supply the version to mx 295 - ( cd $sourceRoot 296 - hg init 297 - hg add 298 - hg commit -m 'dummy commit' 299 - hg tag ${lib.escapeShellArg src.rev} 300 - hg checkout ${lib.escapeShellArg src.rev} 301 - ) 302 - ''; 303 - patches = [ ./004_mx_jvmci.py.patch ] ++ 304 - lib.optional stdenv.isDarwin [ 305 - ./008_remove_jfr.patch ]; 306 - postPatch ='' 307 - # The hotspot version name regex fix 308 - substituteInPlace mx.jvmci/mx_jvmci.py \ 309 - --replace "\\d+.\\d+-b\\d+" "\\d+.\\d+-b[g\\d][a\\d]" 310 - # darwin: https://github.com/oracle/graal/issues/1816 311 - substituteInPlace src/share/vm/code/compiledIC.cpp \ 312 - --replace 'entry == false' '*entry == false' 313 - ''; 314 - hardeningDisable = [ "fortify" ]; 315 - NIX_CFLAGS_COMPILE = toString (lib.optional stdenv.isDarwin [ 316 - "-Wno-reserved-user-defined-literal" 317 - "-Wno-c++11-narrowing" 318 - ] ++ 319 - lib.optional stdenv.isLinux [ 320 - "-Wno-error=format-overflow" # newly detected by gcc7 321 - "-Wno-error=nonnull" 322 - ]); 323 - 324 - buildPhase = '' 325 - export MX_ALT_OUTPUT_ROOT=$NIX_BUILD_TOP/mxbuild 326 - export MX_CACHE_DIR=${makeMxCache jvmci8-mxcache} 327 - 328 - mx-internal --primary-suite . --vm=server -v build -DFULL_DEBUG_SYMBOLS=0 329 - mx-internal --primary-suite . --vm=server -v vm -version 330 - mx-internal --primary-suite . --vm=server -v unittest 331 - ''; 332 - installPhase = '' 333 - mkdir -p $out 334 - ${if stdenv.isDarwin 335 - then "mv openjdk1.8.0_*/darwin-amd64/product/* $out" 336 - else "mv openjdk1.8.0_*/linux-amd64/product/* $out"} 337 - install -v -m0555 -D $MX_CACHE_DIR/hsdis*/hsdis.so $out/jre/lib/amd64/hsdis-amd64.so 338 - ''; 339 - # copy-paste openjdk's preFixup 340 - preFixup = '' 341 - # Propagate the setJavaClassPath setup hook from the JRE so that 342 - # any package that depends on the JRE has $CLASSPATH set up 343 - # properly. 344 - mkdir -p $out/nix-support 345 - printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs 346 - 347 - # Set JAVA_HOME automatically. 348 - mkdir -p $out/nix-support 349 - cat <<EOF > $out/nix-support/setup-hook 350 - if [ -z "\''${JAVA_HOME-}" ]; then export JAVA_HOME=$out; fi 351 - EOF 352 - ''; 353 - postFixup = openjdk.postFixup or null; 354 - dontStrip = true; # stripped javac crashes with "segmentaion fault" 355 - inherit (openjdk) meta; 356 - }; 357 - 358 - graalvm8 = stdenv.mkDerivation rec { 359 - inherit version; 360 - pname = "graal"; 361 - src = fetchFromGitHub { 362 - owner = "oracle"; 363 - repo = "graal"; 364 - rev = "vm-${version}"; 365 - sha256 = "0v8zkmzkyhmmmvra5pp876d4i4ijrrw15j98ipayc7is02kwiwmq"; 366 - }; 367 - 368 - patches = [ ./002_setjmp.c.patch ./003_mx_truffle.py.patch ] ++ 369 - lib.optional stdenv.isDarwin [ 370 - ./009_remove_signedness_verifier.patch ./010_mx_substratevm.py 371 - ]; 372 - 373 - nativeBuildInputs = [ gfortran ]; 374 - 375 - buildInputs = [ mx zlib.dev mercurial jvmci8 git llvm clang 376 - python27withPackages icu ruby bzip2 which 377 - readline bzip2 xz pcre curl ed 378 - ] ++ lib.optional stdenv.isDarwin [ 379 - CoreFoundation gcc.cc.lib libiconv perl openssl 380 - ]; 381 - 382 - postUnpack = '' 383 - ${lib.optionalString stdenv.isLinux '' 384 - cp ${stdenv.cc.cc}/include/c++/${lib.getVersion stdenv.cc.cc}/stdlib.h \ 385 - $sourceRoot/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/include 386 - ''} 387 - cp ${truffleMake} $TMPDIR/truffle.make 388 - rm $sourceRoot/truffle/src/libffi/patches/others/0001-Add-mx-bootstrap-Makefile.patch 389 - 390 - # a fake mercurial dir to prevent mx crash and supply the version to mx 391 - ( cd $sourceRoot 392 - hg init 393 - hg add 394 - hg commit -m 'dummy commit' 395 - hg tag ${lib.escapeShellArg src.rev} 396 - hg checkout ${lib.escapeShellArg src.rev} 397 - ) 398 - 399 - # make a copy of jvmci8 400 - mkdir $NIX_BUILD_TOP/jvmci8 401 - cp -dpR ${jvmci8}/* $NIX_BUILD_TOP/jvmci8 402 - chmod +w -R $NIX_BUILD_TOP/jvmci8 403 - export MX_CACHE_DIR=${makeMxCache graal-mxcache} 404 - export MX_GIT_CACHE_DIR=$NIX_BUILD_TOP/mxgitcache 405 - ${makeMxGitCache graal-mxcachegit "$MX_GIT_CACHE_DIR"} 406 - cd $TMPDIR 407 - ''; 408 - 409 - postPatch = '' 410 - substituteInPlace substratevm/src/com.oracle.svm.core.posix/src/com/oracle/svm/core/posix/headers/PosixDirectives.java \ 411 - --replace '<zlib.h>' '<${zlib.dev}/include/zlib.h>' 412 - substituteInPlace substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/CCLinkerInvocation.java \ 413 - --replace 'cmd.add("-v");' 'cmd.add("-v"); cmd.add("-L${zlib}/lib");' 414 - 415 - # For debugging native-image build, add this replace statement on CCompilerInvoker.java 416 - # --replace '(String line : lines) {' '(String line : lines) {System.out.println("DEBUG: " + line);' 417 - ${if stdenv.isLinux then '' 418 - substituteInPlace substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/codegen/CCompilerInvoker.java \ 419 - --replace 'command.add(Platform.includedIn(Platform.WINDOWS.class) ? "CL" : "gcc");' \ 420 - 'command.add(Platform.includedIn(Platform.WINDOWS.class) ? "CL" : "${stdenv.cc}/bin/gcc");' '' 421 - else '' 422 - substituteInPlace substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/c/codegen/CCompilerInvoker.java \ 423 - --replace 'command.add(Platform.includedIn(Platform.WINDOWS.class) ? "CL" : "gcc");' \ 424 - 'command.add(Platform.includedIn(Platform.WINDOWS.class) ? "CL" : "${gcc.cc}/bin/gcc"); 425 - command.add("-F"); command.add("${CoreFoundation}/Library/Frameworks"); 426 - command.add("-framework"); command.add("CoreFoundation");' 427 - ''} 428 - 429 - # prevent cyclical imports caused by identical <include> names 430 - substituteInPlace substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/CCLinkerInvocation.java \ 431 - --replace 'protected String compilerCommand = "cc";' 'protected String compilerCommand = "${stdenv.cc}/bin/cc";' 432 - # dragonegg can't seem to compile on nix, so let's not require it 433 - substituteInPlace sulong/mx.sulong/suite.py \ 434 - --replace '"requireDragonegg" : True,' '"requireDragonegg" : False,' 435 - substituteInPlace truffle/mx.truffle/mx_truffle.py \ 436 - --replace 'os.path.relpath(self.subject.delegate.dir, self.subject.suite.vc_dir)' \ 437 - 'self.subject.delegate.dir' 438 - substituteInPlace sulong/projects/bootstrap-toolchain-launchers/Makefile \ 439 - --replace /bin/bash ${bash}/bin/bash 440 - # Patch the native-image template, as it will be run during build 441 - chmod +x vm/mx.vm/launcher_template.sh && patchShebangs vm/mx.vm 442 - # Prevent random errors from too low maxRuntimecompilemethods 443 - substituteInPlace truffle/mx.truffle/macro-truffle.properties \ 444 - --replace '-H:MaxRuntimeCompileMethods=1400' \ 445 - '-H:MaxRuntimeCompileMethods=28000' 446 - ${lib.optionalString stdenv.isDarwin '' 447 - substituteInPlace truffle/src/com.oracle.truffle.nfi.test.native/src/object.cc \ 448 - --replace '#include <stdlib.h>' "" 449 - ''} 450 - ${lib.optionalString stdenv.isLinux '' 451 - substituteInPlace sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/include/stdlib.h \ 452 - --replace '# include <cstdlib>' '# include "${stdenv.cc.cc}/include/c++/${lib.getVersion stdenv.cc.cc}/cstdlib"' 453 - ''} 454 - ''; 455 - 456 - buildPhase = '' 457 - export MX_ALT_OUTPUT_ROOT=$NIX_BUILD_TOP/mxbuild 458 - export MX_GIT_CACHE='refcache' 459 - export JVMCI_VERSION_CHECK='ignore' 460 - export JAVA_HOME=$NIX_BUILD_TOP/jvmci8 461 - export FASTR_RELEASE=true 462 - export PKG_LDFLAGS_OVERRIDE="-L${pcre.out}/lib -L${zlib}/lib -L${gfortran.cc.lib}/lib64" 463 - ${lib.optionalString stdenv.isDarwin '' 464 - export CC="gcc" 465 - export CPP="gcc -E" 466 - export NIX_CXXSTDLIB_LINK="" 467 - export NIX_CXXSTDLIB_LINK_FOR_TARGET="" 468 - export OPENSSL_PREFIX=$(realpath openssl) 469 - # this fixes error: impure path 'LibFFIHeaderDirectives' used in link 470 - export NIX_ENFORCE_PURITY=0 471 - ''} 472 - ( cd vm 473 - mx-internal -v --suite sdk --suite compiler --suite vm --suite tools --suite regex --suite truffle \ 474 - --dynamicimports /substratevm,/sulong,graal-js,graalpython,fastr,truffleruby build 475 - ) 476 - ''; 477 - 478 - installPhase = 479 - (if stdenv.isDarwin then '' 480 - mkdir -p $out 481 - rm -rf $MX_ALT_OUTPUT_ROOT/vm/darwin-amd64/GRAALVM_*STAGE1* 482 - cp -rf $MX_ALT_OUTPUT_ROOT/vm/darwin-amd64/GRAALVM*/graalvm-unknown-${version}/* $out 483 - '' 484 - else '' 485 - mkdir -p $out 486 - rm -rf $MX_ALT_OUTPUT_ROOT/vm/linux-amd64/GRAALVM_*STAGE1* 487 - cp -rf $MX_ALT_OUTPUT_ROOT/vm/linux-amd64/GRAALVM*/graalvm-unknown-${version}/* $out 488 - 489 - # BUG workaround http://mail.openjdk.java.net/pipermail/graal-dev/2017-December/005141.html 490 - substituteInPlace $out/jre/lib/security/java.security \ 491 - --replace file:/dev/random file:/dev/./urandom \ 492 - --replace NativePRNGBlocking SHA1PRNG 493 - # copy static and dynamic libraries needed for static compilation 494 - cp -rf ${glibc}/lib/* $out/jre/lib/svm/clibraries/linux-amd64/ 495 - cp ${glibc.static}/lib/* $out/jre/lib/svm/clibraries/linux-amd64/ 496 - cp ${zlib.static}/lib/libz.a $out/jre/lib/svm/clibraries/linux-amd64/libz.a 497 - ''); 498 - 499 - inherit (jvmci8) preFixup; 500 - dontStrip = true; # stripped javac crashes with "segmentaion fault" 501 - doInstallCheck = true; 502 - installCheckPhase = '' 503 - echo ${lib.escapeShellArg '' 504 - public class HelloWorld { 505 - public static void main(String[] args) { 506 - System.out.println("Hello World"); 507 - } 508 - } 509 - ''} > HelloWorld.java 510 - $out/bin/javac HelloWorld.java 511 - 512 - # run on JVM with Graal Compiler 513 - $out/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler HelloWorld 514 - $out/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler HelloWorld | fgrep 'Hello World' 515 - 516 - # Ahead-Of-Time compilation 517 - $out/bin/native-image --no-server HelloWorld 518 - ./helloworld 519 - ./helloworld | fgrep 'Hello World' 520 - 521 - ${lib.optionalString stdenv.isLinux 522 - '' 523 - # Ahead-Of-Time compilation with --static (supported on linux only) 524 - $out/bin/native-image --no-server --static HelloWorld 525 - ./helloworld 526 - ./helloworld | fgrep 'Hello World' 527 - ''} 528 - ''; 529 - enableParallelBuilding = true; 530 - passthru.home = graalvm8; 531 - 532 - meta = with lib; { 533 - homepage = "https://github.com/oracle/graal"; 534 - description = "High-Performance Polyglot VM"; 535 - license = licenses.gpl2; 536 - maintainers = with maintainers; [ volth hlolli ]; 537 - platforms = [ "x86_64-linux" "x86_64-darwin" /*"aarch64-linux"*/ ]; 538 - }; 539 - }; 540 - }
-16
pkgs/development/compilers/graalvm/truffle.make
··· 1 - # This Makefile is used by mx to bootstrap libffi build. 2 - 3 - # `make MX_VERBOSE=y` will report all lines executed. The actual value doesn't 4 - # matter as long as it's not empty. 5 - 6 - QUIETLY$(MX_VERBOSE) = @ 7 - 8 - .PHONY: default 9 - 10 - default: 11 - sed -i "s|-print-multi-os-directory||g" ../$(SOURCES)/configure 12 - $(QUIETLY) echo CONFIGURE libffi 13 - $(QUIETLY) mkdir ../$(OUTPUT) 14 - $(QUIETLY) cd ../$(OUTPUT) && ../$(SOURCES)/configure $(CONFIGURE_ARGS) 15 - $(QUIETLY) echo MAKE libffi 16 - $(QUIETLY) $(MAKE) -C ../$(OUTPUT)
+7 -5
pkgs/development/compilers/nim/default.nix
··· 72 72 nimHost = parsePlatform stdenv.hostPlatform; 73 73 nimTarget = parsePlatform stdenv.targetPlatform; 74 74 75 - bootstrapCompiler = stdenv.mkDerivation rec { 75 + bootstrapCompiler = let 76 + revision = "561b417c65791cd8356b5f73620914ceff845d10"; 77 + in stdenv.mkDerivation { 76 78 pname = "nim-bootstrap"; 77 - version = "0.20.0"; 79 + version = "g${lib.substring 0 7 revision}"; 78 80 79 81 src = fetchgit { 80 82 # A Git checkout is much smaller than a GitHub tarball. 81 - url = "https://github.com/nim-lang/csources.git"; 82 - rev = "v${version}"; 83 - sha256 = "0i6vsfy1sgapx43n226q8m0pvn159sw2mhp50zm3hhb9zfijanis"; 83 + url = "https://github.com/nim-lang/csources_v1.git"; 84 + rev = revision; 85 + sha256 = "1c2k681knrha1zmf4abhb32i2wwd3nwflzylnqryxk753swla043"; 84 86 }; 85 87 86 88 enableParallelBuilding = true;
+19 -4
pkgs/development/haskell-modules/configuration-common.nix
··· 1272 1272 gi-cairo-render = doJailbreak super.gi-cairo-render; 1273 1273 gi-cairo-connector = doJailbreak super.gi-cairo-connector; 1274 1274 1275 - # Remove when https://github.com/gtk2hs/svgcairo/pull/10 gets merged. 1276 - svgcairo = appendPatch super.svgcairo (pkgs.fetchpatch { 1277 - url = "https://github.com/gtk2hs/svgcairo/commit/df6c6172b52ecbd32007529d86ba9913ba001306.patch"; 1278 - sha256 = "128qrns56y139vfzg1rbyqfi2xn8gxsmpnxv3zqf4v5spsnprxwh"; 1275 + svgcairo = overrideCabal super.svgcairo (drv: { 1276 + patches = [ 1277 + # Remove when https://github.com/gtk2hs/svgcairo/pull/10 gets merged. 1278 + (pkgs.fetchpatch { 1279 + url = "https://github.com/gtk2hs/svgcairo/commit/df6c6172b52ecbd32007529d86ba9913ba001306.patch"; 1280 + sha256 = "128qrns56y139vfzg1rbyqfi2xn8gxsmpnxv3zqf4v5spsnprxwh"; 1281 + }) 1282 + # The update here breaks svgcairo: 1283 + # https://github.com/NixOS/nixpkgs/commit/08fcd73d9dc9a28aa901210b259d9bfb3c228018 1284 + # and updating the call to the header with the correct name fixes it. 1285 + (pkgs.fetchpatch { 1286 + url = "https://github.com/dalpd/svgcairo/commit/4dc6d8d3a6c24be0b8c1fd73b282ff247e7b1e6f.patch"; 1287 + sha256 = "1pq9ld9z67zsxj8vqjf82qwckcp69lvvnrjb7wsyb5jc6jaj3q0a"; 1288 + }) 1289 + ]; 1279 1290 }); 1280 1291 1281 1292 # Missing -Iinclude parameter to doc-tests (pull has been accepted, so should be resolved when 0.5.3 released) ··· 2038 2049 http3 = super.http3.overrideScope (self: super: { 2039 2050 network = self.network_3_1_2_5; 2040 2051 }); 2052 + 2053 + # Fixes https://github.com/NixOS/nixpkgs/issues/140613 2054 + # https://github.com/recursion-schemes/recursion-schemes/issues/128 2055 + recursion-schemes = appendPatch super.recursion-schemes ./patches/recursion-schemes-128.patch; 2041 2056 2042 2057 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
+1 -1
pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
··· 166 166 # 2021-09-18: Need path >= 0.9.0 for ghc 9 compat 167 167 path = self.path_0_9_0; 168 168 # 2021-09-18: Need ormolu >= 0.3.0.0 for ghc 9 compat 169 - ormolu = doDistribute self.ormolu_0_3_0_1; 169 + ormolu = doDistribute self.ormolu_0_3_1_0; 170 170 # 2021-09-18: https://github.com/haskell/haskell-language-server/issues/2206 171 171 # Restrictive upper bound on ormolu 172 172 hls-ormolu-plugin = doJailbreak super.hls-ormolu-plugin;
+55 -9
pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
··· 67 67 postPatch = "sed -i -e 's,<4.16,<4.17,' basement.cabal"; 68 68 }); 69 69 70 + base16-bytestring = appendPatch super.base16-bytestring (pkgs.fetchpatch { 71 + url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/base16-bytestring-1.0.1.0.patch"; 72 + sha256 = "19ajai9y04981zfpcdj1nlz44b12gjj4m1ncciijv43mnz82plji"; 73 + }); 74 + 70 75 # Duplicate Show instances in tests and library cause compiling tests to fail 71 76 blaze-builder = appendPatch (dontCheck super.blaze-builder) (pkgs.fetchpatch { 72 77 url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/blaze-builder-0.4.2.1.patch"; 73 78 sha256 = "1h5ny3mlng69vwaabl3af8hlv4qi24wfw8s14lw2ksw1yjbgi0j8"; 74 79 }); 75 80 76 - cereal = appendPatch super.cereal (pkgs.fetchpatch { 81 + cereal = appendPatch (doJailbreak super.cereal) (pkgs.fetchpatch { 77 82 url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/cereal-0.5.8.1.patch"; 78 83 sha256 = "03v4nxwz9y6viaa8anxcmp4zdf2clczv4pf9fqq6lnpplpz5i128"; 79 84 }); ··· 91 96 sha256 = "1g48lrmqgd88hqvfq3klz7lsrpwrir2v1931myrhh6dy0d9pqj09"; 92 97 }); 93 98 94 - # cabal-install needs more recent versions of Cabal and base16-bytestring. 99 + # cabal-install needs more recent versions of Cabal 95 100 cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: { 96 - Cabal = null; 101 + Cabal = self.Cabal_3_6_2_0; 97 102 }); 98 103 99 104 doctest = appendPatch (dontCheck (doJailbreak super.doctest_0_18_1)) (pkgs.fetchpatch { ··· 145 150 type-equality = doJailbreak super.type-equality; 146 151 vector = doJailbreak (dontCheck super.vector); 147 152 vector-binary-instances = doJailbreak super.vector-binary-instances; 148 - vector-th-unbox = doJailbreak super.vector-th-unbox; 149 153 zlib = doJailbreak super.zlib; 154 + indexed-traversable-instances = doJailbreak super.indexed-traversable-instances; 155 + 156 + hpack = overrideCabal (doJailbreak super.hpack) (drv: { 157 + # Cabal 3.6 seems to preserve comments when reading, which makes this test fail 158 + # 2021-10-10: 9.2.1 is not yet supported (also no issue) 159 + testFlags = [ 160 + "--skip=/Hpack/renderCabalFile/is inverse to readCabalFile/" 161 + ] ++ drv.testFlags or []; 162 + }); 163 + 164 + # Patch for TH code from head.hackage 165 + vector-th-unbox = appendPatch (doJailbreak super.vector-th-unbox) (pkgs.fetchpatch { 166 + url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/vector-th-unbox-0.2.1.9.patch"; 167 + sha256 = "02bvvy3hx3cf4y4dr64zl5pjvq8giwk4286j5g1n6k8ikyn2403p"; 168 + }); 169 + 170 + # Patch for TH code from head.hackage 171 + invariant = appendPatch (doJailbreak super.invariant) (pkgs.fetchpatch { 172 + url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/invariant-0.5.4.patch"; 173 + sha256 = "17gg8ck4r6qmlbcbpbnqzksgf5q7i891zs6axfzhas6ajncylxvc"; 174 + }); 175 + 176 + # base 4.15 support from head.hackage 177 + lens = appendPatch (doJailbreak super.lens_5_0_1) (pkgs.fetchpatch { 178 + url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/lens-5.0.1.patch"; 179 + sha256 = "1s8qqg7ymvv94dnfnr1ragx91chh9y7ydc4jx25zn361wbn00pv7"; 180 + }); 181 + 182 + semigroupoids = overrideCabal super.semigroupoids (drv: { 183 + # Patch from head.hackage for base 4.15 compat 184 + patches = drv.patches or [] ++ [ 185 + (pkgs.fetchpatch { 186 + url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/semigroupoids-5.3.5.patch"; 187 + sha256 = "0xrn1gv6b2n76522pk2nfp4z69kvp14l2zpif2f8zzz6cwcrx9w8"; 188 + }) 189 + ]; 190 + # acrobatics to make the patch apply 191 + prePatch = '' 192 + find . -type f | xargs -L 1 ${pkgs.buildPackages.dos2unix}/bin/dos2unix 193 + ''; 194 + editedCabalFile = null; 195 + revision = null; 196 + }); 150 197 151 198 # Syntax error in tests fixed in https://github.com/simonmar/alex/commit/84b29475e057ef744f32a94bc0d3954b84160760 152 199 alex = dontCheck super.alex; ··· 171 218 # The test suite indirectly depends on random, which leads to infinite recursion 172 219 random = dontCheck super.random_1_2_1; 173 220 174 - # 5 introduced support for GHC 9.0.x, but hasn't landed in stackage yet 175 - lens = super.lens_5_0_1; 176 - 177 221 # 0.16.0 introduced support for GHC 9.0.x, stackage has 0.15.0 178 222 memory = appendPatch super.memory_0_16_0 (pkgs.fetchpatch { 179 223 url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/memory-0.16.0.patch"; ··· 195 239 # https://github.com/Soostone/retry/issues/71 196 240 retry = dontCheck super.retry; 197 241 198 - streaming-commons = appendPatch super.streaming-commons (pkgs.fetchpatch { 242 + # Disable tests pending resolution of 243 + # https://github.com/haskell/text/issues/380 or https://github.com/fpco/streaming-commons/issues/60 244 + streaming-commons = dontCheck (appendPatch super.streaming-commons (pkgs.fetchpatch { 199 245 url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/dfd024c9a336c752288ec35879017a43bd7e85a0/patches/streaming-commons-0.2.2.1.patch"; 200 246 sha256 = "04wi1jskr3j8ayh88kkx4irvhhgz0i7aj6fblzijy0fygikvidpy"; 201 - }); 247 + })); 202 248 203 249 # hlint 3.3 needs a ghc-lib-parser newer than the one from stackage 204 250 hlint = super.hlint_3_3_4.overrideScope (self: super: {
+3 -2
pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
··· 742 742 - commodities 743 743 - commonmark-cli 744 744 - commsec 745 - - compactable 746 745 - Compactable 747 746 - compact-list 748 747 - compact-map ··· 1435 1434 - flamethrower 1436 1435 - flamingra 1437 1436 - flat-maybe 1437 + - flatparse 1438 1438 - flay 1439 1439 - flexible-time 1440 1440 - flickr ··· 2404 2404 - htssets 2405 2405 - http2-client 2406 2406 - http2-grpc-proto-lens 2407 + - http3 2407 2408 - http-attoparsec 2408 2409 - http-client-lens 2409 2410 - http-client-request-modifiers ··· 2846 2847 - linear-algebra-cblas 2847 2848 - linear-base 2848 2849 - linear-code 2850 + - linear-generics 2849 2851 - linear-maps 2850 2852 - linear-opengl 2851 2853 - linearscan ··· 4717 4719 - SVD2HS 4718 4720 - svfactor 4719 4721 - svg-builder-fork 4720 - - svgcairo 4721 4722 - svgutils 4722 4723 - svm-light-utils 4723 4724 - svm-simple
+2
pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
··· 149 149 - pretty-simple 150 150 - spago 151 151 - termonad 152 + dalpd: 153 + - svgcairo 152 154 domenkozar: 153 155 - cachix 154 156 - cachix-api
+5 -9
pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml
··· 331 331 - Shellac-haskeline 332 332 - Shellac-readline 333 333 - ShortestPathProblems 334 - - Shpadoinkle-backend-pardiff 335 - - Shpadoinkle-backend-static 336 - - Shpadoinkle-developer-tools 337 334 - Shpadoinkle-disembodied 338 335 - Shpadoinkle-examples 339 - - Shpadoinkle-html 340 336 - Shpadoinkle-router 341 - - Shpadoinkle-template 342 - - Shpadoinkle-widgets 343 337 - SimpleGL 344 338 - SimpleLog 345 339 - SimpleServer ··· 733 727 - claferwiki 734 728 - clash 735 729 - clash-ghc 736 - - clash-ghc_1_4_4 730 + - clash-ghc_1_4_5 737 731 - clash-lib 738 - - clash-lib_1_4_4 732 + - clash-lib_1_4_5 739 733 - clash-multisignal 740 734 - clash-prelude-quickcheck 741 735 - clash-shake ··· 1075 1069 - every-bit-counts 1076 1070 - exception-monads-fd 1077 1071 - exference 1072 + - exon 1078 1073 - expand 1079 1074 - expat-enumerator 1080 1075 - expiring-containers ··· 2313 2308 - mkbndl 2314 2309 - mlist 2315 2310 - mmark-cli 2311 + - mmark-cli_0_0_5_1 2316 2312 - mmark-ext 2317 2313 - mmtl-base 2318 2314 - moan ··· 2631 2627 - proto3-suite 2632 2628 - protobuf-native 2633 2629 - protocol-buffers-descriptor-fork 2634 - - proton 2635 2630 - psc-ide 2636 2631 - puffytools 2637 2632 - pugs-compat ··· 3443 3438 - xml-push 3444 3439 - xml-query-xml-conduit 3445 3440 - xml-query-xml-types 3441 + - xml-syntax 3446 3442 - xml-tydom-conduit 3447 3443 - xml2x 3448 3444 - xmltv
+600 -136
pkgs/development/haskell-modules/hackage-packages.nix
··· 11730 11730 license = lib.licenses.bsd3; 11731 11731 }) {}; 11732 11732 11733 + "JuicyPixels_3_3_6" = callPackage 11734 + ({ mkDerivation, base, binary, bytestring, containers, deepseq, mtl 11735 + , primitive, transformers, vector, zlib 11736 + }: 11737 + mkDerivation { 11738 + pname = "JuicyPixels"; 11739 + version = "3.3.6"; 11740 + sha256 = "1f8giivsqxma19ax78dr7j4gir12iyfqn2mlsd27zzl8dn7dy6w1"; 11741 + libraryHaskellDepends = [ 11742 + base binary bytestring containers deepseq mtl primitive 11743 + transformers vector zlib 11744 + ]; 11745 + description = "Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)"; 11746 + license = lib.licenses.bsd3; 11747 + hydraPlatforms = lib.platforms.none; 11748 + }) {}; 11749 + 11733 11750 "JuicyPixels-blp" = callPackage 11734 11751 ({ mkDerivation, attoparsec, base, binary, bytestring, directory 11735 11752 , filepath, hashable, JuicyPixels, optparse-simple, text-show ··· 18419 18436 ]; 18420 18437 description = "A Virtual Dom in pure Haskell, based on Html as an Alignable Functor"; 18421 18438 license = lib.licenses.bsd3; 18422 - hydraPlatforms = lib.platforms.none; 18423 18439 }) {}; 18424 18440 18425 18441 "Shpadoinkle-backend-snabbdom" = callPackage ··· 18450 18466 libraryHaskellDepends = [ base compactable Shpadoinkle text ]; 18451 18467 description = "A backend for rendering Shpadoinkle as Text"; 18452 18468 license = lib.licenses.bsd3; 18453 - hydraPlatforms = lib.platforms.none; 18454 18469 }) {}; 18455 18470 18456 18471 "Shpadoinkle-console" = callPackage ··· 18496 18511 ]; 18497 18512 description = "Chrome extension to aide in development"; 18498 18513 license = lib.licenses.bsd3; 18499 - hydraPlatforms = lib.platforms.none; 18500 18514 }) {}; 18501 18515 18502 18516 "Shpadoinkle-disembodied" = callPackage ··· 18567 18581 ]; 18568 18582 description = "A typed, template generated Html DSL, and helpers"; 18569 18583 license = lib.licenses.bsd3; 18570 - hydraPlatforms = lib.platforms.none; 18571 18584 }) {}; 18572 18585 18573 18586 "Shpadoinkle-isreal" = callPackage ··· 18662 18675 ]; 18663 18676 description = "Read standard file formats into Shpadoinkle with Template Haskell"; 18664 18677 license = lib.licenses.bsd3; 18665 - hydraPlatforms = lib.platforms.none; 18666 18678 }) {}; 18667 18679 18668 18680 "Shpadoinkle-widgets" = callPackage ··· 18687 18699 ]; 18688 18700 description = "A collection of common reusable types and components"; 18689 18701 license = lib.licenses.bsd3; 18690 - hydraPlatforms = lib.platforms.none; 18691 18702 }) {}; 18692 18703 18693 18704 "Shrub" = callPackage ··· 20685 20696 pname = "ValveValueKeyvalue"; 20686 20697 version = "1.0.1.0"; 20687 20698 sha256 = "05m75nhsz1a2zb59lkdmkv7wznljhr76k7qm2pia37dj8h5zywcy"; 20699 + revision = "1"; 20700 + editedCabalFile = "1d4n0kqypzrcbxaq43aiw5zaq12ncws5c50ckyzvky4cs208g0is"; 20688 20701 libraryHaskellDepends = [ base parsec ]; 20689 20702 description = "A Valve Value-keyvalue parser for Haskell made with Parsec"; 20690 20703 license = lib.licenses.mit; ··· 20873 20886 ({ mkDerivation, base, bytestring, transformers, vector, vulkan }: 20874 20887 mkDerivation { 20875 20888 pname = "VulkanMemoryAllocator"; 20876 - version = "0.7.1"; 20877 - sha256 = "1h9kz02s7ams9fw9x8k947nzji2b82s9xn2yvqzys14ypzc34qpn"; 20889 + version = "0.7.2"; 20890 + sha256 = "1hdiwm79qmf24rx1wcmc48ykbiy3pfnn0kbg77wfp0rnq7qlcknc"; 20878 20891 libraryHaskellDepends = [ 20879 20892 base bytestring transformers vector vulkan 20880 20893 ]; ··· 24634 24647 license = lib.licenses.bsd3; 24635 24648 }) {}; 24636 24649 24650 + "aeson-commit_1_4" = callPackage 24651 + ({ mkDerivation, aeson, aeson-qq, base, hspec, mtl, text }: 24652 + mkDerivation { 24653 + pname = "aeson-commit"; 24654 + version = "1.4"; 24655 + sha256 = "1xbck5hcbfqm2kc3yzrl1dzdmjl9zf84vc33ird3c50ny884amwa"; 24656 + libraryHaskellDepends = [ aeson base mtl text ]; 24657 + testHaskellDepends = [ aeson aeson-qq base hspec text ]; 24658 + description = "Parse Aeson data with commitment"; 24659 + license = lib.licenses.bsd3; 24660 + hydraPlatforms = lib.platforms.none; 24661 + }) {}; 24662 + 24637 24663 "aeson-compat" = callPackage 24638 24664 ({ mkDerivation, aeson, attoparsec, attoparsec-iso8601, base 24639 24665 , base-compat, base-orphans, bytestring, containers, exceptions ··· 25008 25034 }: 25009 25035 mkDerivation { 25010 25036 pname = "aeson-match-qq"; 25011 - version = "1.2.0"; 25012 - sha256 = "000dna5xs5ybhr4vyla6ndj7ykk7lphg4dbcp7nn13746fnnggs2"; 25037 + version = "1.3.0"; 25038 + sha256 = "1jxw5rg8sj0913h9ldknhikpq7avlwj0lmqx613zsr9kv4yhz1qh"; 25013 25039 libraryHaskellDepends = [ 25014 25040 aeson attoparsec base bytestring either haskell-src-meta scientific 25015 25041 template-haskell text unordered-containers vector ··· 30610 30636 }: 30611 30637 mkDerivation { 30612 30638 pname = "ansi-terminal-game"; 30613 - version = "1.2.0.0"; 30614 - sha256 = "167zld2dwb1l81w1n8iiqdgxx8805sirr9lsacn1ni8cfzzl2gf6"; 30639 + version = "1.2.1.0"; 30640 + sha256 = "1gzqf0dby0w25nbz6lzlb4b7jgxydv09wqfcvbcfjwn0wg76wfvc"; 30615 30641 isLibrary = true; 30616 30642 isExecutable = true; 30617 30643 libraryHaskellDepends = [ ··· 32883 32909 description = "An interpreter for the Argh! programming language in wxHaskell"; 32884 32910 license = lib.licenses.gpl2Only; 32885 32911 hydraPlatforms = lib.platforms.none; 32912 + }) {}; 32913 + 32914 + "argo" = callPackage 32915 + ({ mkDerivation, array, base, bytestring, deepseq, tasty 32916 + , tasty-bench, tasty-hunit, tasty-quickcheck, text 32917 + }: 32918 + mkDerivation { 32919 + pname = "argo"; 32920 + version = "0.2021.10.13"; 32921 + sha256 = "1jlw1v0kzcapc0ziax15hxgvb86q7cby7dpsqlrygw0y72w05w9q"; 32922 + isLibrary = true; 32923 + isExecutable = true; 32924 + libraryHaskellDepends = [ array base bytestring deepseq text ]; 32925 + executableHaskellDepends = [ array base bytestring deepseq text ]; 32926 + testHaskellDepends = [ 32927 + array base bytestring deepseq tasty tasty-hunit tasty-quickcheck 32928 + text 32929 + ]; 32930 + benchmarkHaskellDepends = [ 32931 + array base bytestring deepseq tasty-bench text 32932 + ]; 32933 + description = "Parse and render JSON"; 32934 + license = lib.licenses.mit; 32886 32935 }) {}; 32887 32936 32888 32937 "argon" = callPackage ··· 43803 43852 pname = "bitwise-enum"; 43804 43853 version = "1.0.1.0"; 43805 43854 sha256 = "0vmdr8csmxwab7s4nmqdfpqdssivh90fddk94i8wkwj1la867y1z"; 43855 + revision = "1"; 43856 + editedCabalFile = "0g4w46bv0pj52v3kfcc41g9m750il67fg78n54s91p6jam6l0r6h"; 43806 43857 libraryHaskellDepends = [ 43807 43858 aeson array base deepseq mono-traversable vector 43808 43859 ]; ··· 44784 44835 pname = "bloodhound"; 44785 44836 version = "0.16.0.0"; 44786 44837 sha256 = "0g4x2g0qmwgfrz39iwwagrr7p19fmmz1fpfk29bkmvqvbfvsjgqz"; 44838 + revision = "1"; 44839 + editedCabalFile = "129sx2n094p2y7k8hf1cpr84hw2z9lk37l1w515r85n09ckkyb2l"; 44787 44840 libraryHaskellDepends = [ 44788 44841 aeson base blaze-builder bytestring containers exceptions hashable 44789 44842 http-client http-types mtl network-uri scientific semigroups semver ··· 45110 45163 pname = "bnb-staking-csvs"; 45111 45164 version = "0.2.0.0"; 45112 45165 sha256 = "1m2bd6cwlgavq3nri3xwbqim2zikzv1dxqf5a5gxkqra1qgbvm4v"; 45166 + revision = "1"; 45167 + editedCabalFile = "066nk1wjxlwh1dqhgr4yalch45w09p032whbvs5rin18airixyk3"; 45113 45168 isLibrary = true; 45114 45169 isExecutable = true; 45115 45170 libraryHaskellDepends = [ ··· 47418 47473 license = lib.licenses.bsd3; 47419 47474 }) {}; 47420 47475 47476 + "bugzilla-redhat_0_3_3" = callPackage 47477 + ({ mkDerivation, aeson, base, blaze-builder, bytestring, connection 47478 + , containers, hspec, http-conduit, http-types, iso8601-time 47479 + , resourcet, text, time, transformers, unordered-containers, vector 47480 + }: 47481 + mkDerivation { 47482 + pname = "bugzilla-redhat"; 47483 + version = "0.3.3"; 47484 + sha256 = "1nslky0rc868hyx11s0bvlz6r4mvagknhwmnlqvgcnlfbg6xni4d"; 47485 + isLibrary = true; 47486 + isExecutable = true; 47487 + libraryHaskellDepends = [ 47488 + aeson base blaze-builder bytestring connection containers 47489 + http-conduit http-types iso8601-time resourcet text time 47490 + transformers unordered-containers vector 47491 + ]; 47492 + testHaskellDepends = [ aeson base hspec time ]; 47493 + description = "A Haskell interface to the Bugzilla native REST API"; 47494 + license = lib.licenses.bsd3; 47495 + hydraPlatforms = lib.platforms.none; 47496 + }) {}; 47497 + 47421 47498 "build" = callPackage 47422 47499 ({ mkDerivation, algebraic-graphs, base, containers, extra 47423 47500 , filepath, mtl, random, transformers ··· 49099 49176 pname = "ca-province-codes"; 49100 49177 version = "1.0.0.0"; 49101 49178 sha256 = "1lhmmqn83v9bflm4x2nqbxx6pjh393id29syglinaqal4dvl5qq3"; 49179 + revision = "1"; 49180 + editedCabalFile = "0502zw8bbx6761s8dfnmbnw475y9x2ikk8s281j1fd1db3wdv17l"; 49102 49181 libraryHaskellDepends = [ aeson base text ]; 49103 49182 testHaskellDepends = [ aeson base hspec QuickCheck text ]; 49104 49183 description = "ISO 3166-2:CA Province Codes and Names"; ··· 53476 53555 pname = "cereal"; 53477 53556 version = "0.5.8.1"; 53478 53557 sha256 = "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"; 53558 + revision = "1"; 53559 + editedCabalFile = "02v1nivac478nzzykjbq3rawnqskxjc4sb54m6s5jcgbigfnb2x0"; 53479 53560 libraryHaskellDepends = [ 53480 53561 array base bytestring containers ghc-prim 53481 53562 ]; ··· 56356 56437 hydraPlatforms = lib.platforms.none; 56357 56438 }) {}; 56358 56439 56359 - "clash-ghc_1_4_4" = callPackage 56440 + "clash-ghc_1_4_5" = callPackage 56360 56441 ({ mkDerivation, array, base, bifunctors, bytestring, Cabal 56361 56442 , clash-lib, clash-prelude, concurrent-supply, containers, deepseq 56362 56443 , directory, exceptions, extra, filepath, ghc, ghc-boot, ghc-prim ··· 56368 56449 }: 56369 56450 mkDerivation { 56370 56451 pname = "clash-ghc"; 56371 - version = "1.4.4"; 56372 - sha256 = "0dcyf8q5n37v1arq7dyxbgg80j1dnh3i444v9p1p9rs93l2vfnab"; 56452 + version = "1.4.5"; 56453 + sha256 = "1qss6wic91fwbdjmi8bk5hwv282xs7rfxx4zhp0px5dqp2s8kc6v"; 56373 56454 isLibrary = true; 56374 56455 isExecutable = true; 56375 56456 libraryHaskellDepends = [ ··· 56430 56511 hydraPlatforms = lib.platforms.none; 56431 56512 }) {}; 56432 56513 56433 - "clash-lib_1_4_4" = callPackage 56514 + "clash-lib_1_4_5" = callPackage 56434 56515 ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, array 56435 56516 , attoparsec, base, base16-bytestring, binary, bytestring 56436 56517 , clash-prelude, concurrent-supply, containers, cryptohash-sha256 ··· 56447 56528 }: 56448 56529 mkDerivation { 56449 56530 pname = "clash-lib"; 56450 - version = "1.4.4"; 56451 - sha256 = "1s04m806mdx12mbg30qrx8w75mavs5r8g7dmf5k1v9jn97jk4gvs"; 56531 + version = "1.4.5"; 56532 + sha256 = "1xbh513l3xg2xh7s9zkqxp2qwf9p2qhmp0xbj91r706av1cilyxi"; 56452 56533 enableSeparateDataOutput = true; 56453 56534 libraryHaskellDepends = [ 56454 56535 aeson aeson-pretty ansi-terminal array attoparsec base ··· 56530 56611 broken = true; 56531 56612 }) {}; 56532 56613 56533 - "clash-prelude_1_4_4" = callPackage 56614 + "clash-prelude_1_4_5" = callPackage 56534 56615 ({ mkDerivation, array, arrows, base, bifunctors, binary 56535 56616 , bytestring, Cabal, cabal-doctest, constraints, containers 56536 56617 , criterion, data-binary-ieee754, data-default-class, deepseq ··· 56545 56626 }: 56546 56627 mkDerivation { 56547 56628 pname = "clash-prelude"; 56548 - version = "1.4.4"; 56549 - sha256 = "14304dc9s91blh8ljv8hd3h6gsz0nr83fzf83xkr6mxkdlhzknd4"; 56629 + version = "1.4.5"; 56630 + sha256 = "0hikw8n0agjq5x4rfnklb9wixdbcn8snfh3rzb4r8j5b187j1brk"; 56550 56631 setupHaskellDepends = [ base Cabal cabal-doctest ]; 56551 56632 libraryHaskellDepends = [ 56552 56633 array arrows base bifunctors binary bytestring constraints ··· 60744 60825 libraryHaskellDepends = [ base containers transformers vector ]; 60745 60826 description = "A typeclass for structures which can be catMaybed, filtered, and partitioned"; 60746 60827 license = lib.licenses.bsd3; 60747 - hydraPlatforms = lib.platforms.none; 60748 - broken = true; 60749 60828 }) {}; 60750 60829 60751 60830 "compactmap" = callPackage ··· 63306 63385 }: 63307 63386 mkDerivation { 63308 63387 pname = "configuration-tools"; 63309 - version = "0.6.0"; 63310 - sha256 = "1lncsh3dfl8iz1yr2b0mmpcdyww3cbr3jglp85iqmpvzv66m2kbg"; 63388 + version = "0.6.1"; 63389 + sha256 = "1gindjq9vd0fmsw6smwd3syz3k3bfkzsgmchqg6jllr6bhgvykjy"; 63311 63390 isLibrary = true; 63312 63391 isExecutable = true; 63313 63392 setupHaskellDepends = [ ··· 64052 64131 }: 64053 64132 mkDerivation { 64054 64133 pname = "consumers"; 64055 - version = "2.2.0.4"; 64056 - sha256 = "0rssm2ygr395djjzkrzcq3vylc83k58flwcpqb4cb3w1id55ph5r"; 64134 + version = "2.2.0.5"; 64135 + sha256 = "1ramqz680xfh47p5kijcp58nby687lm5vacfxpz57a3p01j39y8s"; 64057 64136 libraryHaskellDepends = [ 64058 64137 base containers exceptions extra hpqtypes lifted-base 64059 64138 lifted-threads log-base monad-control monad-time mtl stm time ··· 74694 74773 pname = "deriving-aeson"; 74695 74774 version = "0.2.7"; 74696 74775 sha256 = "02mx8z1cgqn9wgwcp94am2g655hhn7sn12sikmm8jhbldnyv3ziz"; 74776 + revision = "1"; 74777 + editedCabalFile = "0qgkjl7h1d4w119a97wrsznnqys02mlkwv9hic1715swg0cp05ix"; 74697 74778 libraryHaskellDepends = [ aeson base ]; 74698 74779 testHaskellDepends = [ aeson base bytestring ]; 74699 74780 description = "Type driven generic aeson instance customisation"; ··· 79114 79195 }: 79115 79196 mkDerivation { 79116 79197 pname = "distribution-nixpkgs"; 79117 - version = "1.6.1"; 79118 - sha256 = "136q893in07iw53m9pqr65h3mrnpvfda272bl4rq1b0z3hzpyhkm"; 79198 + version = "1.6.2"; 79199 + sha256 = "0kq4pf5dalifxd8qxz75fazfjspn36q0cmp8d1jd7w9zlzc3c4dz"; 79119 79200 enableSeparateDataOutput = true; 79120 79201 libraryHaskellDepends = [ 79121 79202 aeson base bytestring Cabal containers deepseq language-nix lens ··· 80030 80111 license = lib.licenses.bsd3; 80031 80112 }) {}; 80032 80113 80033 - "doclayout_0_3_1" = callPackage 80114 + "doclayout_0_3_1_1" = callPackage 80034 80115 ({ mkDerivation, base, containers, criterion, emojis, mtl, safe 80035 80116 , tasty, tasty-golden, tasty-hunit, tasty-quickcheck, text 80036 80117 }: 80037 80118 mkDerivation { 80038 80119 pname = "doclayout"; 80039 - version = "0.3.1"; 80040 - sha256 = "0cbb8l1m7w1ycf0pv8y9cbly9qxw3w5ngqbghj6qd5kk02my9zwj"; 80120 + version = "0.3.1.1"; 80121 + sha256 = "1p9kgjlf7y4p1symvkwndgs4lvyw2c45bsgld09y9r4aiqbhdrxp"; 80041 80122 enableSeparateDataOutput = true; 80042 80123 libraryHaskellDepends = [ base containers emojis mtl safe text ]; 80043 80124 testHaskellDepends = [ ··· 83400 83481 pname = "ede"; 83401 83482 version = "0.3.2.0"; 83402 83483 sha256 = "1y78l8b6wnl621nlfm3jwf9qskfnyd4ian1sxjsmk2jw22z1yp4d"; 83484 + revision = "1"; 83485 + editedCabalFile = "0zgz0d3qj8slkbsg4r7jdhnrr5zlq506hviq6kw20d78mafh16c0"; 83403 83486 isLibrary = true; 83404 83487 isExecutable = true; 83405 83488 enableSeparateDataOutput = true; ··· 89634 89717 ]; 89635 89718 description = "Monoidal Quasiquote Interpolation"; 89636 89719 license = "BSD-2-Clause-Patent"; 89720 + hydraPlatforms = lib.platforms.none; 89637 89721 }) {}; 89638 89722 89639 89723 "exotic-list-monads" = callPackage ··· 95012 95096 }) {}; 95013 95097 95014 95098 "flatparse" = callPackage 95015 - ({ mkDerivation, attoparsec, base, bytesmith, bytestring 95016 - , containers, gauge, integer-gmp, megaparsec, parsec, primitive 95099 + ({ mkDerivation, attoparsec, base, bytestring, containers, gauge 95100 + , hspec, HUnit, integer-gmp, megaparsec, parsec, primitive 95017 95101 , template-haskell 95018 95102 }: 95019 95103 mkDerivation { 95020 95104 pname = "flatparse"; 95021 - version = "0.2.2.0"; 95022 - sha256 = "13cm882c2n0p52dwn802cqgfqrgkmlrb1kaxm2l89yfpb6wqynfz"; 95105 + version = "0.3.0.0"; 95106 + sha256 = "0x6q1dwk9zr9s7rx3knm127pjnkpcqmihdzajfcmvi0ayviq984i"; 95023 95107 libraryHaskellDepends = [ 95024 95108 base bytestring containers integer-gmp template-haskell 95025 95109 ]; 95110 + testHaskellDepends = [ base bytestring hspec HUnit ]; 95026 95111 benchmarkHaskellDepends = [ 95027 - attoparsec base bytesmith bytestring gauge integer-gmp megaparsec 95028 - parsec primitive 95112 + attoparsec base bytestring gauge integer-gmp megaparsec parsec 95113 + primitive 95029 95114 ]; 95030 95115 description = "High-performance parsing from strict bytestrings"; 95031 95116 license = lib.licenses.mit; 95117 + hydraPlatforms = lib.platforms.none; 95118 + broken = true; 95032 95119 }) {}; 95033 95120 95034 95121 "flay" = callPackage ··· 96687 96774 testHaskellDepends = [ aeson base containers hspec mtl text ]; 96688 96775 description = "Parse and validate forms in JSON format"; 96689 96776 license = lib.licenses.bsd3; 96777 + }) {}; 96778 + 96779 + "forma_1_2_0" = callPackage 96780 + ({ mkDerivation, aeson, base, containers, hspec, mtl, text }: 96781 + mkDerivation { 96782 + pname = "forma"; 96783 + version = "1.2.0"; 96784 + sha256 = "13kyggzlf156d3d3mj453jwmafyz74vk4bim3f30zxyd6syl3m5v"; 96785 + revision = "1"; 96786 + editedCabalFile = "12336x0g41hp6brl4ynw0m32kj3n191945qfgp8xaabm5qrchinj"; 96787 + libraryHaskellDepends = [ aeson base containers mtl text ]; 96788 + testHaskellDepends = [ aeson base containers hspec mtl text ]; 96789 + description = "Parse and validate forms in JSON format"; 96790 + license = lib.licenses.bsd3; 96791 + hydraPlatforms = lib.platforms.none; 96690 96792 }) {}; 96691 96793 96692 96794 "formal" = callPackage ··· 103078 103180 pname = "geojson"; 103079 103181 version = "4.0.2"; 103080 103182 sha256 = "0csbg4pdh686bxk689968bi94njx78iv1sm5g6lp915pg6cfnd66"; 103183 + revision = "1"; 103184 + editedCabalFile = "1ry2z0hwacbdwpxjbz1zfwc24094776xqshqdkq23r2gfgyy3m3k"; 103081 103185 libraryHaskellDepends = [ 103082 103186 aeson base containers deepseq lens scientific semigroups text 103083 103187 transformers validation vector ··· 103174 103278 }) {inherit (pkgs) geos;}; 103175 103279 103176 103280 "gerrit" = callPackage 103177 - ({ mkDerivation, aeson, base, bytestring, containers, directory 103178 - , http-client, http-client-tls, tasty, tasty-hunit, text 103281 + ({ mkDerivation, aeson, aeson-casing, base, bytestring, containers 103282 + , directory, http-client, http-client-openssl, tasty, tasty-hunit 103283 + , text, time 103179 103284 }: 103180 103285 mkDerivation { 103181 103286 pname = "gerrit"; 103182 - version = "0.1.0.0"; 103183 - sha256 = "03lcf9xvyhypzkrs6lv7dnwsxnn52vnnl6mhsbbhmpv2bf59whq2"; 103287 + version = "0.1.1.0"; 103288 + sha256 = "0qkrcf0m2rq31sqd3fqij5c0yfp5pnzj2fx3dh9cwi7dqz24jwsg"; 103184 103289 libraryHaskellDepends = [ 103185 - aeson base bytestring containers http-client http-client-tls text 103290 + aeson aeson-casing base bytestring containers http-client 103291 + http-client-openssl text time 103186 103292 ]; 103187 103293 testHaskellDepends = [ 103188 - aeson base bytestring directory tasty tasty-hunit 103294 + aeson base bytestring directory tasty tasty-hunit time 103189 103295 ]; 103190 103296 description = "A gerrit client library"; 103191 103297 license = lib.licenses.asl20; ··· 110410 110516 pname = "gogol-core"; 110411 110517 version = "0.5.0"; 110412 110518 sha256 = "0xvlrx4hzhwp3slinh8apnxlgxmispjjnmwsfbpi4p9n451ilx93"; 110519 + revision = "1"; 110520 + editedCabalFile = "0k6nhsl0jh233ym25fh03nc2gja6q27hcav1kbs9lfpyf0qdvvyl"; 110413 110521 libraryHaskellDepends = [ 110414 110522 aeson attoparsec base bifunctors bytestring case-insensitive 110415 110523 conduit dlist exceptions hashable http-api-data http-client ··· 117151 117259 pname = "haddock-library"; 117152 117260 version = "1.10.0"; 117153 117261 sha256 = "15ak06q8yp11xz1hwr0sg2jqi3r78p1n89ik05hicqvxl3awf1pq"; 117262 + revision = "1"; 117263 + editedCabalFile = "1r2mz68415wq3l194ryki8r8p7n7h21033m1ixrpd259s4yq6zdp"; 117154 117264 libraryHaskellDepends = [ 117155 117265 base bytestring containers parsec text transformers 117156 117266 ]; ··· 128639 128749 }: 128640 128750 mkDerivation { 128641 128751 pname = "io-manager"; 128642 - version = "0.2.2"; 128643 - pname = "io-manager"; 128752 + version = "0.2.3"; 128753 + sha256 = "10scykaf8kadvgvc5pxjdyn8zvxqmp5gkdy0n82p4mmf2chmdzqz"; 128644 128754 isLibrary = true; 128645 128755 isExecutable = true; 128646 128756 libraryHaskellDepends = [ ··· 132844 132954 pname = "io-manager"; 132845 132955 version = "0.1.2.0"; 132846 132956 pname = "io-manager"; 132957 + revision = "1"; 132958 + editedCabalFile = "1dbcvypi8kcrcy38wbvhaadhs2fwjw1kh3xzzq07ss30a7gg3k8y"; 132847 132959 isLibrary = true; 132848 132960 isExecutable = true; 132849 132961 libraryHaskellDepends = [ ··· 136479 136591 license = lib.licenses.mit; 136480 136592 }) {}; 136481 136593 136594 + "hpack_0_34_5" = callPackage 136595 + ({ mkDerivation, aeson, base, bifunctors, bytestring, Cabal 136596 + , containers, cryptonite, deepseq, directory, filepath, Glob, hspec 136597 + , hspec-discover, http-client, http-client-tls, http-types, HUnit 136598 + , infer-license, interpolate, mockery, pretty, QuickCheck 136599 + , scientific, template-haskell, temporary, text, transformers 136600 + , unordered-containers, vector, yaml 136601 + }: 136602 + mkDerivation { 136603 + pname = "hpack"; 136604 + version = "0.34.5"; 136605 + sha256 = "0gmm6jgi1sgyilphww6apq1x04grqznm7xhyb7g1rj5j7my40ws2"; 136606 + isLibrary = true; 136607 + isExecutable = true; 136608 + libraryHaskellDepends = [ 136609 + aeson base bifunctors bytestring Cabal containers cryptonite 136610 + deepseq directory filepath Glob http-client http-client-tls 136611 + http-types infer-license pretty scientific text transformers 136612 + unordered-containers vector yaml 136613 + ]; 136614 + executableHaskellDepends = [ 136615 + aeson base bifunctors bytestring Cabal containers cryptonite 136616 + deepseq directory filepath Glob http-client http-client-tls 136617 + http-types infer-license pretty scientific text transformers 136618 + unordered-containers vector yaml 136619 + ]; 136620 + testHaskellDepends = [ 136621 + aeson base bifunctors bytestring Cabal containers cryptonite 136622 + deepseq directory filepath Glob hspec http-client http-client-tls 136623 + http-types HUnit infer-license interpolate mockery pretty 136624 + QuickCheck scientific template-haskell temporary text transformers 136625 + unordered-containers vector yaml 136626 + ]; 136627 + testToolDepends = [ hspec-discover ]; 136628 + description = "A modern format for Haskell packages"; 136629 + license = lib.licenses.mit; 136630 + hydraPlatforms = lib.platforms.none; 136631 + }) {}; 136632 + 136482 136633 "hpack-convert" = callPackage 136483 136634 ({ mkDerivation, aeson, aeson-qq, base, base-compat, bytestring 136484 136635 , Cabal, containers, deepseq, directory, filepath, Glob, hspec ··· 137065 137216 }: 137066 137217 mkDerivation { 137067 137218 pname = "hpqtypes-extras"; 137068 - version = "1.12.0.0"; 137069 - sha256 = "0pxidphf0qzfy5zv1q7qhp49bgglf3pqd6r91qq0iawnvgzcyi7z"; 137070 - revision = "2"; 137071 - editedCabalFile = "0gprlxfjdc6lxf2xazfr1wrna9whw6sh1jpv5rhp8bw0haslzl6j"; 137219 + version = "1.12.0.1"; 137220 + sha256 = "0qpydy2hg6fmwhwg0azgraxhjijfarns3syrv2an4ynfqcxrds9k"; 137221 + revision = "1"; 137222 + editedCabalFile = "1brrz8ddm0hw3c5w1mf1f8a14qk5c9wiav5a0l5fi6p1k86pfv4j"; 137072 137223 libraryHaskellDepends = [ 137073 137224 base base16-bytestring bytestring containers cryptohash exceptions 137074 137225 extra fields-json hpqtypes lifted-base log-base monad-control mtl ··· 140377 140528 license = lib.licenses.mit; 140378 140529 }) {inherit (pkgs) lua5_3;}; 140379 140530 140531 + "hslua_1_3_0_2" = callPackage 140532 + ({ mkDerivation, base, bytestring, containers, exceptions, lua5_3 140533 + , mtl, QuickCheck, quickcheck-instances, tasty, tasty-hunit 140534 + , tasty-quickcheck, text 140535 + }: 140536 + mkDerivation { 140537 + pname = "hslua"; 140538 + version = "1.3.0.2"; 140539 + sha256 = "0p39xm0mmxzs5x6aim11qkb7npn0d9h7li2kwfhry0dijd1vm18i"; 140540 + configureFlags = [ "-fsystem-lua" "-f-use-pkgconfig" ]; 140541 + libraryHaskellDepends = [ 140542 + base bytestring containers exceptions mtl text 140543 + ]; 140544 + librarySystemDepends = [ lua5_3 ]; 140545 + testHaskellDepends = [ 140546 + base bytestring containers exceptions mtl QuickCheck 140547 + quickcheck-instances tasty tasty-hunit tasty-quickcheck text 140548 + ]; 140549 + description = "Bindings to Lua, an embeddable scripting language"; 140550 + license = lib.licenses.mit; 140551 + hydraPlatforms = lib.platforms.none; 140552 + }) {inherit (pkgs) lua5_3;}; 140553 + 140380 140554 "hslua-aeson" = callPackage 140381 140555 ({ mkDerivation, aeson, base, bytestring, hashable, hslua, hspec 140382 140556 , HUnit, ieee754, QuickCheck, quickcheck-instances, scientific ··· 140478 140652 pname = "hslua-module-text"; 140479 140653 version = "0.3.0.1"; 140480 140654 sha256 = "1vmd15n905i2pcsx748hz3h9kv5nnv74y663rj57q8mp0b40cbfl"; 140655 + revision = "1"; 140656 + editedCabalFile = "04y4rjfgzsz3q3m2d7ph97ligxlld74v6vhhmncj0riyxdfvy6p9"; 140481 140657 libraryHaskellDepends = [ base bytestring hslua text ]; 140482 140658 testHaskellDepends = [ 140483 140659 base hslua tasty tasty-hunit tasty-lua text ··· 144668 144844 testToolDepends = [ hspec-discover ]; 144669 144845 description = "HTTP/3 library"; 144670 144846 license = lib.licenses.bsd3; 144847 + hydraPlatforms = lib.platforms.none; 144848 + broken = true; 144671 144849 }) {}; 144672 144850 144673 144851 "httpd-shed" = callPackage ··· 165556 165734 }: 165557 165735 mkDerivation { 165558 165736 pname = "libarchive"; 165559 - version = "3.0.3.0"; 165560 - sha256 = "0zf2x317xkp7mnamm8aqp0wmc5xka6p6pljyadz0xbmy7ih55ylh"; 165737 + version = "3.0.3.1"; 165738 + sha256 = "1rkm6n2p41i6lxdfsrvpv5sbz2p3mgyp3xx6g437fcgjjbdsyx3q"; 165561 165739 revision = "1"; 165562 - editedCabalFile = "0n0s9qfa6b0r2rwz834dlqqm68xz2hvlygzjw084dy85d6xmvl75"; 165740 + editedCabalFile = "0r48nmczidz00l19cbmq05f766wipc9dwkqb3xsvbwwcazapbjkz"; 165563 165741 setupHaskellDepends = [ base Cabal chs-cabal ]; 165564 165742 libraryHaskellDepends = [ 165565 165743 base bytestring composition-prelude deepseq dlist filepath mtl ··· 167443 167621 ]; 167444 167622 description = "A simple library for linear codes (coding theory, error correction)"; 167445 167623 license = lib.licenses.gpl3Only; 167624 + hydraPlatforms = lib.platforms.none; 167625 + broken = true; 167626 + }) {}; 167627 + 167628 + "linear-generics" = callPackage 167629 + ({ mkDerivation, base, containers, ghc-prim, hspec, hspec-discover 167630 + , template-haskell, th-abstraction 167631 + }: 167632 + mkDerivation { 167633 + pname = "linear-generics"; 167634 + version = "0.1.0.1"; 167635 + sha256 = "0ck7gx1chrxyyn7lwbv4gn15zxgfgg7ai0i6404jprvvh72j7b8r"; 167636 + libraryHaskellDepends = [ 167637 + base containers ghc-prim template-haskell th-abstraction 167638 + ]; 167639 + testHaskellDepends = [ base hspec template-haskell ]; 167640 + testToolDepends = [ hspec-discover ]; 167641 + description = "Generic programming library for generalised deriving"; 167642 + license = lib.licenses.bsd3; 167446 167643 hydraPlatforms = lib.platforms.none; 167447 167644 broken = true; 167448 167645 }) {}; ··· 175577 175774 }) {}; 175578 175775 175579 175776 "matrix-client" = callPackage 175580 - ({ mkDerivation, aeson, aeson-pretty, base, base64, bytestring 175581 - , doctest, exceptions, hashable, hspec, http-client 175777 + ({ mkDerivation, aeson, aeson-casing, aeson-pretty, base, base64 175778 + , bytestring, containers, exceptions, hashable, hspec, http-client 175582 175779 , http-client-tls, http-types, retry, SHA, text, time 175583 175780 , unordered-containers 175584 175781 }: 175585 175782 mkDerivation { 175586 175783 pname = "matrix-client"; 175587 - version = "0.1.1.0"; 175588 - sha256 = "13ncklhrwb10g6pki1zsli1gnja01ic9scil4f5nky8hdmaw9jq2"; 175784 + version = "0.1.2.0"; 175785 + sha256 = "18n5il56p3hr6iax2d1m0b7vximc0z4jzj0dav0rhv3yrwy8p5w2"; 175589 175786 libraryHaskellDepends = [ 175590 - aeson base base64 bytestring exceptions hashable http-client 175591 - http-client-tls http-types retry SHA text time unordered-containers 175787 + aeson aeson-casing base base64 bytestring containers exceptions 175788 + hashable http-client http-client-tls http-types retry SHA text time 175789 + unordered-containers 175592 175790 ]; 175593 175791 testHaskellDepends = [ 175594 - aeson aeson-pretty base base64 bytestring doctest exceptions 175595 - hashable hspec http-client http-client-tls http-types retry SHA 175596 - text time unordered-containers 175792 + aeson aeson-casing aeson-pretty base base64 bytestring containers 175793 + exceptions hashable hspec http-client http-client-tls http-types 175794 + retry SHA text time unordered-containers 175597 175795 ]; 175598 175796 description = "A matrix client library"; 175599 175797 license = lib.licenses.asl20; ··· 180073 180271 pname = "mmark"; 180074 180272 version = "0.0.7.3"; 180075 180273 sha256 = "1gfl9jhqm1jaqxi0yxd8r4z3ai5c3f1wv53vjs0ln84qjpcqp30s"; 180076 - revision = "1"; 180077 - editedCabalFile = "19yg41grkliim428x9cqwcynmjvkh83mqfyxiv2dc6fvid6fmcrk"; 180274 + revision = "2"; 180275 + editedCabalFile = "01cd2k4jz3f2ryhxdya8biypxdl44236mnavfqx7fm7bkjz4j5x0"; 180078 180276 enableSeparateDataOutput = true; 180079 180277 libraryHaskellDepends = [ 180080 180278 aeson base case-insensitive containers deepseq dlist email-validate ··· 180117 180315 hydraPlatforms = lib.platforms.none; 180118 180316 }) {}; 180119 180317 180318 + "mmark-cli_0_0_5_1" = callPackage 180319 + ({ mkDerivation, aeson, base, bytestring, directory 180320 + , ghc-syntax-highlighter, gitrev, lucid, megaparsec, mmark 180321 + , mmark-ext, optparse-applicative, stache, text 180322 + }: 180323 + mkDerivation { 180324 + pname = "mmark-cli"; 180325 + version = "0.0.5.1"; 180326 + sha256 = "1an1rc7gdl2209d3agxx1dfl61zsc2wg5nx9cwdf50spmlgs3cr0"; 180327 + isLibrary = false; 180328 + isExecutable = true; 180329 + executableHaskellDepends = [ 180330 + aeson base bytestring directory ghc-syntax-highlighter gitrev lucid 180331 + megaparsec mmark mmark-ext optparse-applicative stache text 180332 + ]; 180333 + description = "Command line interface to the MMark markdown processor"; 180334 + license = lib.licenses.bsd3; 180335 + hydraPlatforms = lib.platforms.none; 180336 + }) {}; 180337 + 180120 180338 "mmark-ext" = callPackage 180121 180339 ({ mkDerivation, base, foldl, ghc-syntax-highlighter, hspec 180122 180340 , hspec-discover, lucid, microlens, mmark, modern-uri, skylighting ··· 184597 184815 }) {}; 184598 184816 184599 184817 "msu" = callPackage 184600 - ({ mkDerivation, base, directory, filepath, mtl, parsec, process 184601 - pname = "io-manager"; 184818 + ({ mkDerivation, aeson, aeson-casing, base, bytestring, directory 184819 + , errors, filepath, hspec, parsec, process, unliftio, yaml 184602 184820 }: 184603 184821 mkDerivation { 184604 184822 pname = "msu"; 184605 - version = "0.0.2"; 184606 - sha256 = "0bqzzk7y3dj60r02xn3cjlq955jzsrvcbq63pvav0w952bvxvx5c"; 184607 - isLibrary = false; 184823 + version = "0.2.0.0"; 184824 + sha256 = "15a0i7jwcqzl3ajw369xp0d9ixf0hcy9dblhywjrbalnml890sx4"; 184825 + isLibrary = true; 184608 184826 isExecutable = true; 184609 - executableHaskellDepends = [ 184610 - base directory filepath mtl parsec process xdg-basedir 184827 + libraryHaskellDepends = [ 184828 + aeson aeson-casing base bytestring directory parsec process 184829 + unliftio yaml 184611 184830 ]; 184831 + executableHaskellDepends = [ base directory filepath process ]; 184832 + testHaskellDepends = [ base bytestring errors hspec ]; 184612 184833 description = "Monitor Setup Utility"; 184613 184834 license = lib.licenses.mit; 184614 184835 }) {}; ··· 186757 186978 pname = "mx-state-codes"; 186758 186979 version = "1.0.0.0"; 186759 186980 sha256 = "1jxw7hh24rqs1c5y4b7bmllvcwq3gsrrn0rixq9lzhn2915ykaq6"; 186981 + revision = "1"; 186982 + editedCabalFile = "1fl0953329z4an76287q1ic4hygzg3xzv2w0zv7dqgkpdz3qbjx7"; 186760 186983 libraryHaskellDepends = [ aeson base text ]; 186761 186984 testHaskellDepends = [ aeson base hspec QuickCheck text ]; 186762 186985 description = "ISO 3166-2:MX State Codes and Names"; ··· 192897 193120 }: 192898 193121 mkDerivation { 192899 193122 pname = "nri-http"; 192900 - version = "0.1.0.1"; 192901 - sha256 = "11zrqfljnq922frbsyiwap8ayp8faq7cwbrmk0npg4qgv4gv2pz2"; 193123 + version = "0.1.0.3"; 193124 + sha256 = "1km4jv0g79455m3687cpihzz14pxg3wxw4r5b21mby7c8knzd1vl"; 192902 193125 libraryHaskellDepends = [ 192903 193126 aeson base bytestring conduit http-client http-client-tls 192904 193127 http-types mime-types network-uri nri-observability nri-prelude ··· 192920 193143 }: 192921 193144 mkDerivation { 192922 193145 pname = "nri-kafka"; 192923 - version = "0.1.0.0"; 192924 - sha256 = "0ifdmli7arrlpmh1l4q974rv0bw3xirfk96xrahfab3zp36r4x3y"; 193146 + version = "0.1.0.1"; 193147 + sha256 = "0sybcf7lx0gqhi79h6d1rqx0ckyz38m86h87imrh4grgbikxaic5"; 192925 193148 libraryHaskellDepends = [ 192926 193149 aeson async base bytestring conduit containers hw-kafka-client 192927 193150 nri-env-parser nri-observability nri-prelude safe-exceptions stm ··· 192964 193187 license = lib.licenses.bsd3; 192965 193188 }) {}; 192966 193189 193190 + "nri-observability_0_1_1_2" = callPackage 193191 + ({ mkDerivation, aeson, aeson-pretty, async, base, bugsnag-hs 193192 + , bytestring, conduit, directory, hostname, http-client 193193 + , http-client-tls, nri-env-parser, nri-prelude, random 193194 + , safe-exceptions, stm, text, time, unordered-containers, uuid 193195 + }: 193196 + mkDerivation { 193197 + pname = "nri-observability"; 193198 + version = "0.1.1.2"; 193199 + sha256 = "0n4ap88ll5q86addjgfv8pf86zbnw1ic6wh7wc929fn4ygc6r2x5"; 193200 + libraryHaskellDepends = [ 193201 + aeson aeson-pretty async base bugsnag-hs bytestring conduit 193202 + directory hostname http-client http-client-tls nri-env-parser 193203 + nri-prelude random safe-exceptions stm text time 193204 + unordered-containers uuid 193205 + ]; 193206 + testHaskellDepends = [ 193207 + aeson aeson-pretty async base bugsnag-hs bytestring conduit 193208 + directory hostname http-client http-client-tls nri-env-parser 193209 + nri-prelude random safe-exceptions stm text time 193210 + unordered-containers uuid 193211 + ]; 193212 + description = "Report log spans collected by nri-prelude"; 193213 + license = lib.licenses.bsd3; 193214 + hydraPlatforms = lib.platforms.none; 193215 + }) {}; 193216 + 192967 193217 "nri-postgresql" = callPackage 192968 - ({ mkDerivation, aeson, attoparsec, base, bytestring, filepath 192969 - , network, nri-env-parser, nri-observability, nri-prelude 192970 - , postgresql-typed, resource-pool, resourcet, safe-exceptions 192971 - , template-haskell, text, time 193218 + ({ mkDerivation, attoparsec, base, bytestring, filepath, network 193219 + , nri-env-parser, nri-observability, nri-prelude, postgresql-typed 193220 + , resource-pool, resourcet, safe-exceptions, template-haskell, text 193221 + , time 192972 193222 }: 192973 193223 mkDerivation { 192974 193224 pname = "nri-postgresql"; 192975 - version = "0.1.0.1"; 192976 - sha256 = "1kl5wriqdshhc2fjaicj60hrwrw2c6y8vrq2pv4fagn0gxa78fvc"; 193225 + version = "0.1.0.2"; 193226 + sha256 = "0rm76z57zvvsswd0dyqmq7m1mrvamiff5kawkcwy4k4xkn4yl3py"; 192977 193227 libraryHaskellDepends = [ 192978 - aeson attoparsec base bytestring filepath network nri-env-parser 193228 + attoparsec base bytestring filepath network nri-env-parser 192979 193229 nri-observability nri-prelude postgresql-typed resource-pool 192980 193230 resourcet safe-exceptions template-haskell text time 192981 193231 ]; 192982 193232 testHaskellDepends = [ 192983 - aeson attoparsec base bytestring filepath network nri-env-parser 193233 + attoparsec base bytestring filepath network nri-env-parser 192984 193234 nri-observability nri-prelude postgresql-typed resource-pool 192985 193235 resourcet safe-exceptions template-haskell text time 192986 193236 ]; ··· 193017 193267 license = lib.licenses.bsd3; 193018 193268 }) {}; 193019 193269 193270 + "nri-prelude_0_6_0_4" = callPackage 193271 + ({ mkDerivation, aeson, aeson-pretty, async, auto-update, base 193272 + , bytestring, containers, directory, exceptions, filepath, ghc 193273 + , hedgehog, junit-xml, pretty-diff, pretty-show, safe-coloured-text 193274 + , safe-coloured-text-terminfo, safe-exceptions, terminal-size, text 193275 + , time, unix, vector 193276 + }: 193277 + mkDerivation { 193278 + pname = "nri-prelude"; 193279 + version = "0.6.0.4"; 193280 + sha256 = "0r2jgjrbjbkkvsk8ypg0d7r840qkadwinq0qyhng9bkjqrsrn78c"; 193281 + libraryHaskellDepends = [ 193282 + aeson aeson-pretty async auto-update base bytestring containers 193283 + directory exceptions filepath ghc hedgehog junit-xml pretty-diff 193284 + pretty-show safe-coloured-text safe-coloured-text-terminfo 193285 + safe-exceptions terminal-size text time unix vector 193286 + ]; 193287 + testHaskellDepends = [ 193288 + aeson aeson-pretty async auto-update base bytestring containers 193289 + directory exceptions filepath ghc hedgehog junit-xml pretty-diff 193290 + pretty-show safe-coloured-text safe-coloured-text-terminfo 193291 + safe-exceptions terminal-size text time unix vector 193292 + ]; 193293 + description = "A Prelude inspired by the Elm programming language"; 193294 + license = lib.licenses.bsd3; 193295 + hydraPlatforms = lib.platforms.none; 193296 + }) {}; 193297 + 193020 193298 "nri-redis" = callPackage 193021 193299 ({ mkDerivation, aeson, async, base, bytestring, conduit, hedis 193022 193300 , nri-env-parser, nri-observability, nri-prelude, resourcet ··· 193024 193302 }: 193025 193303 mkDerivation { 193026 193304 pname = "nri-redis"; 193027 - version = "0.1.0.2"; 193028 - sha256 = "12z515bs17ig8ps1kq2pp1c80r6cn0rldvqa6rzfgc1nrd0p8hc9"; 193305 + version = "0.1.0.3"; 193306 + sha256 = "1mdzqvnx7gzr8j99c8nza40y518jg8ajxfrvdvf90gvbglknimb0"; 193029 193307 libraryHaskellDepends = [ 193030 193308 aeson async base bytestring conduit hedis nri-env-parser 193031 193309 nri-observability nri-prelude resourcet safe-exceptions text ··· 193047 193325 }: 193048 193326 mkDerivation { 193049 193327 pname = "nri-test-encoding"; 193050 - version = "0.1.1.0"; 193051 - sha256 = "0k21hyd0kbgdg3kmfwy20vf21r6963ygybz1v84wjmfzqbc5fcq5"; 193328 + version = "0.1.1.1"; 193329 + sha256 = "07hrkjbyp07p0yryx92q0bjqkkjji4d952sxcm9j2w5mdvlc08mq"; 193052 193330 libraryHaskellDepends = [ 193053 193331 aeson aeson-pretty base bytestring filepath nri-prelude nri-redis 193054 193332 servant servant-auth-server servant-server text ··· 198056 198334 license = lib.licenses.bsd3; 198057 198335 }) {}; 198058 198336 198059 - "ormolu_0_3_0_1" = callPackage 198337 + "ormolu_0_3_1_0" = callPackage 198060 198338 ({ mkDerivation, ansi-terminal, base, bytestring, Cabal, containers 198061 198339 , Diff, directory, dlist, exceptions, filepath, ghc-lib-parser 198062 198340 , gitrev, hspec, hspec-discover, mtl, optparse-applicative, path ··· 198064 198342 }: 198065 198343 mkDerivation { 198066 198344 pname = "ormolu"; 198067 - version = "0.3.0.1"; 198068 - sha256 = "1cp543ff0gng6v5l251fklrk73yqfgbymx824ldc7inwybmd6z03"; 198345 + version = "0.3.1.0"; 198346 + sha256 = "1517z6bi8ifzdmfclmqdiipi6zcnxagymf1sxr43sj2ipkglg2rs"; 198069 198347 isLibrary = true; 198070 198348 isExecutable = true; 198071 198349 libraryHaskellDepends = [ ··· 199879 200157 ({ mkDerivation }: 199880 200158 mkDerivation { 199881 200159 pname = "pandora"; 199882 - version = "0.4.6"; 199883 - sha256 = "0x1wnrdbri1jcpi2iva69rw6bs6i9y192fymjamrab0w69bd9p4y"; 200160 + version = "0.4.7"; 200161 + sha256 = "1kda661i18kzrfj38si48n1shbqxh30p1sz97cb871ni2hlqsarj"; 199884 200162 description = "A box of patterns and paradigms"; 199885 200163 license = lib.licenses.mit; 199886 200164 }) {}; ··· 204270 204548 maintainers = with lib.maintainers; [ psibi ]; 204271 204549 }) {}; 204272 204550 204551 + "persistent_2_13_2_1" = callPackage 204552 + ({ mkDerivation, aeson, attoparsec, base, base64-bytestring 204553 + , blaze-html, bytestring, conduit, containers, criterion, deepseq 204554 + , fast-logger, file-embed, hspec, http-api-data, lift-type 204555 + , monad-logger, mtl, path-pieces, QuickCheck, quickcheck-instances 204556 + , resource-pool, resourcet, scientific, shakespeare, silently 204557 + , template-haskell, text, th-lift-instances, time, transformers 204558 + , unliftio, unliftio-core, unordered-containers, vector 204559 + }: 204560 + mkDerivation { 204561 + pname = "persistent"; 204562 + version = "2.13.2.1"; 204563 + sha256 = "13lp9i94f57qhifdmr1vnsrra34526f7kqa1sybcaj2jh2v3q85k"; 204564 + revision = "1"; 204565 + editedCabalFile = "15lx2kd8ijn91h65nhzxmd50hmmybhs6x6qfg5wnl3ylcmgi6glg"; 204566 + libraryHaskellDepends = [ 204567 + aeson attoparsec base base64-bytestring blaze-html bytestring 204568 + conduit containers fast-logger http-api-data lift-type monad-logger 204569 + mtl path-pieces resource-pool resourcet scientific silently 204570 + template-haskell text th-lift-instances time transformers unliftio 204571 + unliftio-core unordered-containers vector 204572 + ]; 204573 + testHaskellDepends = [ 204574 + aeson attoparsec base base64-bytestring blaze-html bytestring 204575 + conduit containers fast-logger hspec http-api-data monad-logger mtl 204576 + path-pieces QuickCheck quickcheck-instances resource-pool resourcet 204577 + scientific shakespeare silently template-haskell text 204578 + th-lift-instances time transformers unliftio unliftio-core 204579 + unordered-containers vector 204580 + ]; 204581 + benchmarkHaskellDepends = [ 204582 + base criterion deepseq file-embed template-haskell text 204583 + ]; 204584 + description = "Type-safe, multi-backend data serialization"; 204585 + license = lib.licenses.mit; 204586 + hydraPlatforms = lib.platforms.none; 204587 + maintainers = with lib.maintainers; [ psibi ]; 204588 + }) {}; 204589 + 204273 204590 "persistent-audit" = callPackage 204274 204591 ({ mkDerivation, aeson, attoparsec, base, bytestring 204275 204592 , getopt-generics, hashable, hspec, mongoDB, persistent ··· 204722 205039 license = lib.licenses.mit; 204723 205040 }) {}; 204724 205041 205042 + "persistent-postgresql_2_13_2_1" = callPackage 205043 + ({ mkDerivation, aeson, attoparsec, base, blaze-builder, bytestring 205044 + , conduit, containers, fast-logger, hspec, hspec-expectations 205045 + , hspec-expectations-lifted, http-api-data, HUnit, monad-logger 205046 + , mtl, path-pieces, persistent, persistent-qq, persistent-test 205047 + , postgresql-libpq, postgresql-simple, QuickCheck 205048 + , quickcheck-instances, resource-pool, resourcet 205049 + , string-conversions, text, time, transformers, unliftio 205050 + , unliftio-core, unordered-containers, vector 205051 + }: 205052 + mkDerivation { 205053 + pname = "persistent-postgresql"; 205054 + version = "2.13.2.1"; 205055 + sha256 = "07pnr8m0nk43jaz6l293lzx4ivyqgnw94fjypazzm008b4irh7ir"; 205056 + isLibrary = true; 205057 + isExecutable = true; 205058 + libraryHaskellDepends = [ 205059 + aeson attoparsec base blaze-builder bytestring conduit containers 205060 + monad-logger mtl persistent postgresql-libpq postgresql-simple 205061 + resource-pool resourcet string-conversions text time transformers 205062 + unliftio-core 205063 + ]; 205064 + testHaskellDepends = [ 205065 + aeson base bytestring containers fast-logger hspec 205066 + hspec-expectations hspec-expectations-lifted http-api-data HUnit 205067 + monad-logger path-pieces persistent persistent-qq persistent-test 205068 + QuickCheck quickcheck-instances resourcet text time transformers 205069 + unliftio unliftio-core unordered-containers vector 205070 + ]; 205071 + description = "Backend for the persistent library using postgresql"; 205072 + license = lib.licenses.mit; 205073 + hydraPlatforms = lib.platforms.none; 205074 + }) {}; 205075 + 204725 205076 "persistent-protobuf" = callPackage 204726 205077 ({ mkDerivation, base, bytestring, persistent, protocol-buffers 204727 205078 , protocol-buffers-descriptor, template-haskell, text ··· 205833 206184 }: 205834 206185 mkDerivation { 205835 206186 pname = "phonetic-languages-simplified-examples-array"; 205836 - version = "0.12.1.0"; 205837 - sha256 = "1scjdf6k36vqd4cdnsqwwhbb97dsicarrc320w4ybikr1rk42phd"; 206187 + version = "0.13.0.0"; 206188 + sha256 = "1zpbcp3ij8j2vmss511kvrzwzymnjmzqs628hv0n9nnzvgma5nn7"; 205838 206189 isLibrary = true; 205839 206190 isExecutable = true; 205840 206191 libraryHaskellDepends = [ ··· 206442 206793 license = lib.licenses.mit; 206443 206794 }) {}; 206444 206795 206796 + "pid1_0_1_3_0" = callPackage 206797 + ({ mkDerivation, base, directory, process, unix }: 206798 + mkDerivation { 206799 + pname = "pid1"; 206800 + version = "0.1.3.0"; 206801 + sha256 = "1m2i03ncgn1y6h2352pnvhcqzif45505vlnxh11xngvjx47f85a1"; 206802 + isLibrary = true; 206803 + isExecutable = true; 206804 + libraryHaskellDepends = [ base directory process unix ]; 206805 + executableHaskellDepends = [ base ]; 206806 + description = "Do signal handling and orphan reaping for Unix PID1 init processes"; 206807 + license = lib.licenses.mit; 206808 + hydraPlatforms = lib.platforms.none; 206809 + }) {}; 206810 + 206445 206811 "pidfile" = callPackage 206446 206812 ({ mkDerivation, base, unix }: 206447 206813 mkDerivation { ··· 209908 210274 }: 209909 210275 mkDerivation { 209910 210276 pname = "polysemy-check"; 209911 - version = "0.3.0.0"; 209912 - sha256 = "1m7m1mi7fbf1nj98c91qxhbnhyqxgb8y7ryj7bk1llinmp2lmwaz"; 210277 + version = "0.5.0.0"; 210278 + sha256 = "0ch8dzzap6f6bfdyy8i9xdna9l7d3yvx9m7z3pz9pjb19vjxa3f6"; 209913 210279 libraryHaskellDepends = [ 209914 210280 base containers kind-generics kind-generics-th polysemy QuickCheck 209915 210281 ]; ··· 216875 217241 transformers 216876 217242 ]; 216877 217243 license = lib.licenses.bsd3; 216878 - hydraPlatforms = lib.platforms.none; 216879 217244 }) {}; 216880 217245 216881 217246 "proton-haskell" = callPackage ··· 217706 218071 217707 218072 "pure-zlib" = callPackage 217708 218073 ({ mkDerivation, array, base, base-compat, bytestring 217709 - , bytestring-builder, containers, filepath, fingertree, HUnit 218074 + , bytestring-builder, containers, criterion, filepath, HUnit 217710 218075 , QuickCheck, tasty, tasty-hunit, tasty-quickcheck, time 217711 218076 }: 217712 218077 mkDerivation { 217713 218078 pname = "pure-zlib"; 217714 - version = "0.6.7"; 217715 - sha256 = "1ddj88zk94gqqhxiyvkachvhwi5n2la4pfaf5vppkc9ma7sjhyhn"; 218079 + version = "0.6.8"; 218080 + sha256 = "10rlgzq6p93irnhlh8hzj040xbf8gn8swszbkrmaln0b2kk1mncb"; 217716 218081 isLibrary = true; 217717 218082 isExecutable = true; 217718 218083 libraryHaskellDepends = [ 217719 218084 array base base-compat bytestring bytestring-builder containers 217720 - fingertree 217721 218085 ]; 217722 218086 executableHaskellDepends = [ base base-compat bytestring ]; 217723 218087 testHaskellDepends = [ 217724 218088 base base-compat bytestring filepath HUnit QuickCheck tasty 217725 218089 tasty-hunit tasty-quickcheck 217726 218090 ]; 217727 - benchmarkHaskellDepends = [ base base-compat bytestring time ]; 218091 + benchmarkHaskellDepends = [ 218092 + base base-compat bytestring criterion time 218093 + ]; 217728 218094 description = "A Haskell-only implementation of zlib / DEFLATE"; 217729 218095 license = lib.licenses.bsd3; 217730 218096 hydraPlatforms = lib.platforms.none; ··· 217751 218117 license = lib.licenses.bsd3; 217752 218118 }) {}; 217753 218119 218120 + "pureMD5_2_1_4" = callPackage 218121 + ({ mkDerivation, base, binary, bytestring, cereal, crypto-api 218122 + , crypto-api-tests, pretty-hex, QuickCheck, tagged, test-framework 218123 + , test-framework-quickcheck2 218124 + }: 218125 + mkDerivation { 218126 + pname = "pureMD5"; 218127 + version = "2.1.4"; 218128 + sha256 = "0qwkvxwi9wh6knn69rg2hvc8ngmv1if77kmpcnp0xqr0l30fwavq"; 218129 + libraryHaskellDepends = [ 218130 + base binary bytestring cereal crypto-api tagged 218131 + ]; 218132 + testHaskellDepends = [ 218133 + base binary bytestring cereal crypto-api-tests pretty-hex 218134 + QuickCheck test-framework test-framework-quickcheck2 218135 + ]; 218136 + description = "A Haskell-only implementation of the MD5 digest (hash) algorithm"; 218137 + license = lib.licenses.bsd3; 218138 + hydraPlatforms = lib.platforms.none; 218139 + }) {}; 218140 + 217754 218141 "purebred-email" = callPackage 217755 218142 ({ mkDerivation, attoparsec, base, base64-bytestring, bytestring 217756 218143 , case-insensitive, concise, deepseq, hedgehog, lens, QuickCheck ··· 223316 223703 pname = "reanimate-svg"; 223317 223704 version = "0.13.0.1"; 223318 223705 sha256 = "1h31r0lrslxqfayh06955p1kv35g42g3drmqp4miydk6zibyn091"; 223706 + revision = "1"; 223707 + editedCabalFile = "1g8cqw8a4vy7pp9ic02d49564vd61px2kld1pin0la9f3vk5f296"; 223319 223708 libraryHaskellDepends = [ 223320 223709 attoparsec base bytestring containers double-conversion hashable 223321 223710 JuicyPixels lens linear mtl scientific text transformers vector xml ··· 227575 227964 maintainers = with lib.maintainers; [ maralorn ]; 227576 227965 }) {}; 227577 227966 227578 - "req_3_9_1" = callPackage 227967 + "req_3_9_2" = callPackage 227579 227968 ({ mkDerivation, aeson, authenticate-oauth, base, blaze-builder 227580 227969 , bytestring, case-insensitive, connection, exceptions, hspec 227581 227970 , hspec-core, hspec-discover, http-api-data, http-client 227582 227971 , http-client-tls, http-types, modern-uri, monad-control, mtl 227583 227972 , QuickCheck, retry, template-haskell, text, time, transformers 227584 - , transformers-base, unliftio-core, unordered-containers 227973 + , transformers-base, unliftio-core 227585 227974 }: 227586 227975 mkDerivation { 227587 227976 pname = "req"; 227588 - version = "3.9.1"; 227589 - sha256 = "0468ah4142jrqp5l3pw4izrw6f6kznisan888b30jhif4c6xncr0"; 227590 - revision = "3"; 227591 - editedCabalFile = "0xx161kb3j1givixs489yhd6zgiscajbn6hdkf00pdkwqdy59k75"; 227977 + version = "3.9.2"; 227978 + sha256 = "17xkj5pypn4k6ncsahjc0h827kg3cyx5iy5q6iv1gvk8dwdiim0g"; 227592 227979 enableSeparateDataOutput = true; 227593 227980 libraryHaskellDepends = [ 227594 227981 aeson authenticate-oauth base blaze-builder bytestring ··· 227600 227987 testHaskellDepends = [ 227601 227988 aeson base blaze-builder bytestring case-insensitive hspec 227602 227989 hspec-core http-client http-types modern-uri monad-control mtl 227603 - QuickCheck retry template-haskell text time unordered-containers 227990 + QuickCheck retry template-haskell text time 227604 227991 ]; 227605 227992 testToolDepends = [ hspec-discover ]; 227606 227993 doCheck = false; ··· 238229 238616 }: 238230 238617 mkDerivation { 238231 238618 pname = "servant-benchmark"; 238232 - version = "0.2.0.0"; 238233 - sha256 = "0dxyq9n0v09287nz1nqb2m0bdyabdzqig9avpmx4viyf9xzyh6bd"; 238619 + version = "0.1.2.0"; 238620 + sha256 = "0lqqk410nx48g895pfxkbbk85b1ijs4bfl9zr2li2p7wwwc4gyi9"; 238621 + revision = "3"; 238622 + editedCabalFile = "17pj6n143lpk5nsr6j8j1a6fj45y1bv61jcm16m0fwsdmhv01866"; 238234 238623 libraryHaskellDepends = [ 238235 238624 aeson base base64-bytestring bytestring case-insensitive http-media 238236 238625 http-types QuickCheck servant text yaml ··· 249245 249634 pname = "solana-staking-csvs"; 249246 249635 version = "0.1.1.0"; 249247 249636 sha256 = "0ya63vgh0nf4p7hz6fj38m44wr77jj76bf2qxdgra3lpiziqsjd5"; 249248 - revision = "1"; 249249 - editedCabalFile = "14l72fkvvmiy1hmn2v3nxgx4s5z0zzyi3qf4l1i1cn54a0ln35q6"; 249637 + revision = "2"; 249638 + editedCabalFile = "1f55xdlmfj5g5r7dr71aw878g3ii9zaxj24znc370j2gd182nr13"; 249250 249639 isLibrary = true; 249251 249640 isExecutable = true; 249252 249641 libraryHaskellDepends = [ ··· 252032 252421 license = lib.licenses.bsd3; 252033 252422 }) {}; 252034 252423 252424 + "stache_2_3_1" = callPackage 252425 + ({ mkDerivation, aeson, base, bytestring, containers, criterion 252426 + , deepseq, directory, file-embed, filepath, gitrev, hspec 252427 + , hspec-discover, hspec-megaparsec, megaparsec, mtl 252428 + , optparse-applicative, template-haskell, text, vector, yaml 252429 + }: 252430 + mkDerivation { 252431 + pname = "stache"; 252432 + version = "2.3.1"; 252433 + sha256 = "1a26pwg6y90588yf9sp18w4b2ahr64fxdhy1c3zv0c9pw7bv6k6q"; 252434 + isLibrary = true; 252435 + isExecutable = true; 252436 + enableSeparateDataOutput = true; 252437 + libraryHaskellDepends = [ 252438 + aeson base bytestring containers deepseq directory filepath 252439 + megaparsec mtl template-haskell text vector 252440 + ]; 252441 + executableHaskellDepends = [ 252442 + aeson base filepath gitrev optparse-applicative text yaml 252443 + ]; 252444 + testHaskellDepends = [ 252445 + aeson base bytestring containers file-embed hspec hspec-megaparsec 252446 + megaparsec template-haskell text yaml 252447 + ]; 252448 + testToolDepends = [ hspec-discover ]; 252449 + benchmarkHaskellDepends = [ 252450 + aeson base criterion deepseq megaparsec text 252451 + ]; 252452 + description = "Mustache templates for Haskell"; 252453 + license = lib.licenses.bsd3; 252454 + hydraPlatforms = lib.platforms.none; 252455 + }) {}; 252456 + 252035 252457 "stack" = callPackage 252036 252458 ({ mkDerivation, aeson, annotated-wl-pprint, ansi-terminal, array 252037 252459 , async, attoparsec, base, base64-bytestring, bytestring, Cabal ··· 258503 258925 libraryPkgconfigDepends = [ librsvg ]; 258504 258926 description = "Binding to the libsvg-cairo library"; 258505 258927 license = lib.licenses.bsd3; 258506 - hydraPlatforms = lib.platforms.none; 258507 - broken = true; 258928 + maintainers = with lib.maintainers; [ dalpd ]; 258508 258929 }) {inherit (pkgs) librsvg;}; 258509 258930 258510 258931 "svgone" = callPackage ··· 262976 263397 license = lib.licenses.mit; 262977 263398 }) {}; 262978 263399 262979 - "tasty-silver_3_3" = callPackage 263400 + "tasty-silver_3_3_1" = callPackage 262980 263401 ({ mkDerivation, ansi-terminal, async, base, bytestring, containers 262981 263402 , deepseq, directory, filepath, mtl, optparse-applicative, process 262982 263403 , process-extras, regex-tdfa, silently, stm, tagged, tasty ··· 262984 263405 }: 262985 263406 mkDerivation { 262986 263407 pname = "tasty-silver"; 262987 - version = "3.3"; 262988 - sha256 = "1glhq2kkgnv5bf2664k7ph9kz9wcak758jb1jszl03wpv5c8idil"; 263408 + version = "3.3.1"; 263409 + sha256 = "1pd83mzx0iv3f396m09rxmgcpcfaya0a9818dl3h4vgw0hnqkmav"; 262989 263410 libraryHaskellDepends = [ 262990 263411 ansi-terminal async base bytestring containers deepseq directory 262991 263412 filepath mtl optparse-applicative process process-extras regex-tdfa ··· 270861 271282 pname = "tokyocabinet-haskell"; 270862 271283 version = "0.0.7"; 270863 271284 sha256 = "1fmj46wvl6ayx30r5r538vnygz32s1877m2f9zf7nb2zyiz5vmcb"; 270864 - revision = "1"; 270865 - editedCabalFile = "07kx002x3yh1klhxn9fq0bi2pfy4mdqacg3caqklmdl22dkh74lq"; 271285 + revision = "2"; 271286 + editedCabalFile = "0h9lc9cg5iwy9apjz48nwvblsmlkv7r5rvnivshvhys2xi1hfxja"; 270866 271287 libraryHaskellDepends = [ base bytestring mtl ]; 270867 271288 librarySystemDepends = [ tokyocabinet ]; 270868 271289 testHaskellDepends = [ base bytestring directory HUnit mtl ]; ··· 284246 284667 }: 284247 284668 mkDerivation { 284248 284669 pname = "vulkan"; 284249 - version = "3.12.2"; 284250 - sha256 = "1vypjnwvvvd0rw99qsb00jnwpq792s9x1wi62zdyzq9cwlf47ici"; 284670 + version = "3.13"; 284671 + sha256 = "14cb1fg0x0fy2bvjyjmxvbq2sm56ixzvz9sqacs7nak961yyvdy0"; 284251 284672 libraryHaskellDepends = [ base bytestring transformers vector ]; 284252 284673 libraryPkgconfigDepends = [ vulkan ]; 284253 284674 testHaskellDepends = [ ··· 284279 284700 }: 284280 284701 mkDerivation { 284281 284702 pname = "vulkan-utils"; 284282 - version = "0.5.2"; 284283 - sha256 = "05h54dzci8ahnxshrcd7l6bpg1q8llnrwycgpbpn12cf6ddmdc59"; 284703 + version = "0.5.3"; 284704 + sha256 = "16p1yn72il988phw4h8ixs0p2dgk96xg26yp9lgbpri1l0da8kiq"; 284284 284705 setupHaskellDepends = [ base Cabal cabal-doctest ]; 284285 284706 libraryHaskellDepends = [ 284286 284707 base bytestring containers dependent-map dependent-sum extra ··· 284832 285253 }: 284833 285254 mkDerivation { 284834 285255 pname = "wai-handler-hal"; 284835 - version = "0.1.0.0"; 284836 - sha256 = "0sjw01k5dyhdi33ld1pd4mf9plpij0spzxf2b228cjyc8x5zx7rj"; 284837 - revision = "2"; 284838 - editedCabalFile = "0aj45x1czwd69hd4yxsc607njb1qwxz926izzh79axfkrzgiij9k"; 285256 + version = "0.1.1.0"; 285257 + sha256 = "1l9adjrh0iffph40pqymikr5h52ldlyp2q9l7qclcamwdwkawmz0"; 284839 285258 libraryHaskellDepends = [ 284840 285259 base base64-bytestring bytestring case-insensitive hal http-types 284841 285260 network text unordered-containers vault wai ··· 286678 287097 ({ mkDerivation, base, mtl, time }: 286679 287098 mkDerivation { 286680 287099 pname = "watchdog"; 286681 - version = "0.3"; 286682 - sha256 = "0v8jbrnqg48x5ksdacsd0xazpxqv64ggzihg6k2y6pljqznrhn1i"; 286683 - revision = "1"; 286684 - editedCabalFile = "1hmjlva0pbvbbl3vcngqlqrisx32qzlc9pl96zh2rb6m25riisdg"; 287100 + version = "0.3.1"; 287101 + sha256 = "01zhj464c1lwjgb6zijqjlrzfcrknfmf2v2b2m1pmxy94jly2ww9"; 286685 287102 libraryHaskellDepends = [ base mtl time ]; 286686 287103 description = "Simple control structure to re-try an action with exponential backoff"; 286687 287104 license = lib.licenses.bsd3; ··· 289107 289524 license = lib.licenses.bsd3; 289108 289525 }) {}; 289109 289526 289527 + "witherable_0_4_2" = callPackage 289528 + ({ mkDerivation, base, base-orphans, containers, hashable 289529 + , indexed-traversable, indexed-traversable-instances, QuickCheck 289530 + , quickcheck-instances, tasty, tasty-quickcheck, transformers 289531 + , unordered-containers, vector 289532 + }: 289533 + mkDerivation { 289534 + pname = "witherable"; 289535 + version = "0.4.2"; 289536 + sha256 = "0121ic4xkv3k568j23zp22a5lrv0k11h94fq7cbijd18fjr2n3br"; 289537 + libraryHaskellDepends = [ 289538 + base base-orphans containers hashable indexed-traversable 289539 + indexed-traversable-instances transformers unordered-containers 289540 + vector 289541 + ]; 289542 + testHaskellDepends = [ 289543 + base containers hashable QuickCheck quickcheck-instances tasty 289544 + tasty-quickcheck transformers unordered-containers vector 289545 + ]; 289546 + description = "filterable traversable"; 289547 + license = lib.licenses.bsd3; 289548 + hydraPlatforms = lib.platforms.none; 289549 + }) {}; 289550 + 289110 289551 "witherable-class" = callPackage 289111 289552 ({ mkDerivation, base, witherable }: 289112 289553 mkDerivation { ··· 292305 292746 ]; 292306 292747 description = "An interpreter of \"xml-query\" queries for the \"xml-types\" documents"; 292307 292748 license = lib.licenses.mit; 292749 + hydraPlatforms = lib.platforms.none; 292750 + }) {}; 292751 + 292752 + "xml-syntax" = callPackage 292753 + ({ mkDerivation, array-builder, array-chunks, base, bytebuild 292754 + , byteslice, bytesmith, bytestring, primitive, tasty, tasty-hunit 292755 + , text-short 292756 + }: 292757 + mkDerivation { 292758 + pname = "xml-syntax"; 292759 + version = "0.1.0.0"; 292760 + sha256 = "1dbhh4rxvh0w17f9m2sd01bv6q20mg734wb87w6iqp4pv71mzhn3"; 292761 + libraryHaskellDepends = [ 292762 + array-builder array-chunks base bytebuild byteslice bytesmith 292763 + bytestring primitive text-short 292764 + ]; 292765 + testHaskellDepends = [ 292766 + base byteslice bytestring primitive tasty tasty-hunit 292767 + ]; 292768 + description = "Parse XML from bytes"; 292769 + license = lib.licenses.bsd3; 292308 292770 hydraPlatforms = lib.platforms.none; 292309 292771 }) {}; 292310 292772 ··· 299126 299588 }) {}; 299127 299589 299128 299590 "zoovisitor" = callPackage 299129 - ({ mkDerivation, base, hspec, uuid, Z-Data, Z-IO, zookeeper_mt }: 299591 + ({ mkDerivation, async, base, hspec, uuid, Z-Data, Z-IO 299592 + , zookeeper_mt 299593 + }: 299130 299594 mkDerivation { 299131 299595 pname = "zoovisitor"; 299132 - version = "0.1.4.0"; 299133 - sha256 = "163aixwxjnrbd9gzh73mys2zkbni3sjxmjyg7z374fa1k08rrxya"; 299596 + version = "0.1.5.0"; 299597 + sha256 = "0sksa3sjgd2yg2cj6vr9ssk52zlhap45c93cwslk3q788c8krr35"; 299134 299598 libraryHaskellDepends = [ base Z-Data Z-IO ]; 299135 299599 librarySystemDepends = [ zookeeper_mt ]; 299136 - testHaskellDepends = [ base hspec uuid Z-Data ]; 299600 + testHaskellDepends = [ async base hspec uuid Z-Data ]; 299137 299601 description = "A haskell binding to Apache Zookeeper C library(mt) using Haskell Z project"; 299138 299602 license = lib.licenses.bsd3; 299139 299603 hydraPlatforms = lib.platforms.none;
+24
pkgs/development/haskell-modules/patches/recursion-schemes-128.patch
··· 1 + diff --git a/recursion-schemes.cabal b/recursion-schemes.cabal 2 + index c35f2c6..e692ade 100644 3 + --- a/recursion-schemes.cabal 4 + +++ b/recursion-schemes.cabal 5 + @@ -93,6 +93,7 @@ library 6 + Paths_recursion_schemes 7 + 8 + ghc-options: -Wall 9 + + ghc-prof-options: -DPROFILING_ENABLED 10 + if impl(ghc >= 8.6) 11 + ghc-options: -Wno-star-is-type 12 + default-language: Haskell2010 13 + diff --git a/src/Data/Functor/Foldable/TH.hs b/src/Data/Functor/Foldable/TH.hs 14 + index b3d5ac8..d4ef0e4 100644 15 + --- a/src/Data/Functor/Foldable/TH.hs 16 + +++ b/src/Data/Functor/Foldable/TH.hs 17 + @@ -1,4 +1,7 @@ 18 + {-# LANGUAGE CPP, PatternGuards, Rank2Types #-} 19 + +#if defined(PROFILING_ENABLED) 20 + +{-# OPTIONS_GHC -O0 #-} 21 + +#endif 22 + module Data.Functor.Foldable.TH 23 + ( MakeBaseFunctor(..) 24 + , BaseRules
+11 -10
pkgs/development/interpreters/lua-5/build-lua-package.nix
··· 25 25 # propagate build dependencies so in case we have A -> B -> C, 26 26 # C can import package A propagated by B 27 27 , propagatedBuildInputs ? [] 28 - , propagatedNativeBuildInputs ? [] 29 28 30 29 # used to disable derivation, useful for specific lua versions 31 30 # TODO move from this setting meta.broken to a 'disabled' attribute on the ··· 50 49 # The latter is used to work-around luarocks having a problem with 51 50 # multiple-output derivations as external deps: 52 51 # https://github.com/luarocks/luarocks/issues/766<Paste> 53 - , externalDeps ? lib.unique (lib.filter (drv: !drv ? luaModule) (propagatedBuildInputs ++ buildInputs)) 52 + , externalDeps ? [] 54 53 55 54 # Appended to the generated luarocks config 56 55 , extraConfig ? "" ··· 74 73 let 75 74 generatedRockspecFilename = "${rockspecDir}/${pname}-${version}.rockspec"; 76 75 77 - 78 76 # TODO fix warnings "Couldn't load rockspec for ..." during manifest 79 77 # construction -- from initial investigation, appears it will require 80 78 # upstream luarocks changes to fix cleanly (during manifest construction, ··· 83 81 luarocks_config = "luarocks-config.lua"; 84 82 luarocks_content = let 85 83 generatedConfig = lua.pkgs.lib.generateLuarocksConfig { 86 - inherit externalDeps; 84 + externalDeps = externalDeps ++ externalDepsGenerated; 87 85 inherit extraVariables; 88 86 inherit rocksSubdir; 89 87 inherit requiredLuaRocks; ··· 99 97 # Filter out the lua derivation itself from the Lua module dependency 100 98 # closure, as it doesn't have a rock tree :) 101 99 requiredLuaRocks = lib.filter (d: d ? luaModule) 102 - (lua.pkgs.requiredLuaModules propagatedBuildInputs); 100 + (lua.pkgs.requiredLuaModules luarocksDrv.propagatedBuildInputs); 103 101 104 102 # example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ] 103 + externalDepsGenerated = lib.unique (lib.filter (drv: !drv ? luaModule) (luarocksDrv.propagatedBuildInputs ++ luarocksDrv.buildInputs)); 105 104 externalDeps' = lib.filter (dep: !lib.isDerivation dep) externalDeps; 106 - in 107 - toLuaModule ( lua.stdenv.mkDerivation ( 105 + 106 + luarocksDrv = toLuaModule ( lua.stdenv.mkDerivation ( 108 107 builtins.removeAttrs attrs ["disabled" "checkInputs" "externalDeps" "extraVariables"] // { 109 108 110 109 name = namePrefix + pname + "-" + version; ··· 146 145 runHook postConfigure 147 146 ''; 148 147 149 - # TODO could be moved to configurePhase 150 148 buildPhase = '' 151 149 runHook preBuild 152 150 153 151 nix_debug "Using LUAROCKS_CONFIG=$LUAROCKS_CONFIG" 154 152 155 - LUAROCKS=luarocks 153 + LUAROCKS=${lua.pkgs.luarocks}/bin/luarocks 156 154 if (( ''${NIX_DEBUG:-0} >= 1 )); then 157 155 LUAROCKS="$LUAROCKS --verbose" 158 156 fi ··· 195 193 passthru = { 196 194 inherit lua; # The lua interpreter 197 195 inherit externalDeps; 196 + inherit luarocks_content; 198 197 } // passthru; 199 198 200 199 meta = { ··· 203 202 maintainers = (meta.maintainers or []) ++ [ ]; 204 203 broken = disabled; 205 204 } // meta; 206 - })) 205 + })); 206 + in 207 + luarocksDrv
+1 -1
pkgs/development/lua-modules/default.nix
··· 15 15 overridenPackages = import ./overrides.nix { inherit pkgs; }; 16 16 17 17 generatedPackages = if (builtins.pathExists ./generated-packages.nix) then 18 - pkgs.callPackage ./generated-packages.nix { } else (final: prev: {}); 18 + (final: prev: pkgs.callPackage ./generated-packages.nix { inherit (final) callPackage; } final prev) else (final: prev: {}); 19 19 20 20 extensible-self = lib.makeExtensible 21 21 (extends overrides
+540 -293
pkgs/development/lua-modules/generated-packages.nix
··· 1 - 2 1 /* pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT! 3 2 Regenerate it with: 4 3 nixpkgs$ ./maintainers/scripts/update-luarocks-packages ··· 6 5 You can customize the generated packages in pkgs/development/lua-modules/overrides.nix 7 6 */ 8 7 9 - { self, stdenv, lib, fetchurl, fetchgit, ... } @ args: 10 - self: super: 11 - with self; 8 + { self, stdenv, lib, fetchurl, fetchgit, callPackage, ... } @ args: 9 + final: prev: 12 10 { 13 - alt-getopt = buildLuarocksPackage { 11 + alt-getopt = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 12 + , fetchgit, lua 13 + }: 14 + buildLuarocksPackage { 14 15 pname = "alt-getopt"; 15 16 version = "0.8.0-1"; 16 17 knownRockspec = (fetchurl { ··· 30 31 } 31 32 '') ["date" "path"]) ; 32 33 33 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 34 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 34 35 propagatedBuildInputs = [ lua ]; 35 36 36 37 meta = { ··· 39 40 maintainers = with lib.maintainers; [ arobyn ]; 40 41 license.fullName = "MIT/X11"; 41 42 }; 42 - }; 43 + }) {}; 43 44 44 - argparse = buildLuarocksPackage { 45 + argparse = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 46 + , fetchgit, lua 47 + }: 48 + buildLuarocksPackage { 45 49 pname = "argparse"; 46 50 version = "scm-2"; 47 51 ··· 58 62 } 59 63 '') ["date" "path"]) ; 60 64 61 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 65 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 62 66 propagatedBuildInputs = [ lua ]; 63 67 64 68 meta = { ··· 66 70 description = "A feature-rich command-line argument parser"; 67 71 license.fullName = "MIT"; 68 72 }; 69 - }; 73 + }) {}; 70 74 71 - basexx = buildLuarocksPackage { 75 + basexx = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 76 + , fetchurl, lua 77 + }: 78 + buildLuarocksPackage { 72 79 pname = "basexx"; 73 80 version = "scm-0"; 74 81 rockspecDir = "dist"; ··· 78 85 sha256 = "1x0d24aaj4zld4ifr7mi8zwrym5shsfphmwx5jzw2zg22r6xzlz1"; 79 86 }; 80 87 81 - disabled = (luaOlder "5.1"); 88 + disabled = with lua; (luaOlder "5.1"); 82 89 propagatedBuildInputs = [ lua ]; 83 90 84 91 meta = { ··· 86 93 description = "A base2, base16, base32, base64 and base85 library for Lua"; 87 94 license.fullName = "MIT"; 88 95 }; 89 - }; 96 + }) {}; 90 97 91 - binaryheap = buildLuarocksPackage { 98 + binaryheap = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 99 + , fetchurl, lua 100 + }: 101 + buildLuarocksPackage { 92 102 pname = "binaryheap"; 93 103 version = "0.4-1"; 94 104 ··· 97 107 sha256 = "0f5l4nb5s7dycbkgh3rrl7pf0npcf9k6m2gr2bsn09fjyb3bdc8h"; 98 108 }; 99 109 100 - disabled = (luaOlder "5.1"); 110 + disabled = with lua; (luaOlder "5.1"); 101 111 propagatedBuildInputs = [ lua ]; 102 112 103 113 meta = { ··· 106 116 maintainers = with lib.maintainers; [ vcunat ]; 107 117 license.fullName = "MIT/X11"; 108 118 }; 109 - }; 119 + }) {}; 110 120 111 - bit32 = buildLuarocksPackage { 121 + bit32 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 122 + , fetchgit, lua 123 + }: 124 + buildLuarocksPackage { 112 125 pname = "bit32"; 113 126 version = "5.3.0-1"; 114 127 knownRockspec = (fetchurl { ··· 128 141 } 129 142 '') ["date" "path"]) ; 130 143 131 - disabled = (luaOlder "5.1"); 144 + disabled = with lua; (luaOlder "5.1"); 132 145 propagatedBuildInputs = [ lua ]; 133 146 134 147 meta = { ··· 137 150 maintainers = with lib.maintainers; [ lblasc ]; 138 151 license.fullName = "MIT/X11"; 139 152 }; 140 - }; 153 + }) {}; 141 154 142 - busted = buildLuarocksPackage { 155 + busted = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 156 + , fetchurl, lua, lua_cliargs, luafilesystem, luasystem, dkjson, say, luassert, lua-term, penlight, mediator_lua 157 + }: 158 + buildLuarocksPackage { 143 159 pname = "busted"; 144 160 version = "2.0.0-1"; 145 161 knownRockspec = (fetchurl { ··· 151 167 sha256 = "1ps7b3f4diawfj637mibznaw4x08gn567pyni0m2s50hrnw4v8zx"; 152 168 }; 153 169 154 - disabled = (luaOlder "5.1"); 170 + disabled = with lua; (luaOlder "5.1"); 155 171 propagatedBuildInputs = [ lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ]; 156 172 157 173 meta = { ··· 159 175 description = "Elegant Lua unit testing."; 160 176 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 161 177 }; 162 - }; 178 + }) {}; 163 179 164 - cassowary = buildLuarocksPackage { 180 + cassowary = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 181 + , fetchgit, lua, penlight 182 + }: 183 + buildLuarocksPackage { 165 184 pname = "cassowary"; 166 185 version = "2.3.1-2"; 167 186 knownRockspec = (fetchurl { 168 - url = "https://luarocks.org/cassowary-2.3.1-2.rockspec"; 187 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/cassowary-2.3.1-2.rockspec"; 169 188 sha256 = "04y882f9ai1jhk0zwla2g0fvl56a75rwnxhsl9r3m0qa5i0ia1i5"; 170 189 }).outPath; 171 190 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ ··· 181 200 } 182 201 '') ["date" "path"]) ; 183 202 184 - disabled = (luaOlder "5.1"); 203 + disabled = with lua; (luaOlder "5.1"); 185 204 propagatedBuildInputs = [ lua penlight ]; 186 205 187 206 meta = { ··· 190 209 maintainers = with lib.maintainers; [ marsam alerque ]; 191 210 license.fullName = "Apache 2"; 192 211 }; 193 - }; 212 + }) {}; 194 213 195 - compat53 = buildLuarocksPackage { 214 + compat53 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 215 + , fetchurl, lua 216 + }: 217 + buildLuarocksPackage { 196 218 pname = "compat53"; 197 219 version = "0.7-1"; 198 220 knownRockspec = (fetchurl { ··· 204 226 sha256 = "1x3wv1qx7b2zlf3fh4q9pmi2xxkcdm024g7bf11rpv0yacnhran3"; 205 227 }; 206 228 207 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 229 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 208 230 propagatedBuildInputs = [ lua ]; 209 231 210 232 meta = { ··· 213 235 maintainers = with lib.maintainers; [ vcunat ]; 214 236 license.fullName = "MIT"; 215 237 }; 216 - }; 238 + }) {}; 217 239 218 - cosmo = buildLuarocksPackage { 240 + cosmo = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 241 + , fetchgit, lpeg 242 + }: 243 + buildLuarocksPackage { 219 244 pname = "cosmo"; 220 245 version = "16.06.04-1"; 221 246 knownRockspec = (fetchurl { ··· 243 268 maintainers = with lib.maintainers; [ marsam ]; 244 269 license.fullName = "MIT/X11"; 245 270 }; 246 - }; 271 + }) {}; 247 272 248 - coxpcall = buildLuarocksPackage { 273 + coxpcall = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 274 + , fetchgit}: 275 + buildLuarocksPackage { 249 276 pname = "coxpcall"; 250 277 version = "1.17.0-1"; 251 278 knownRockspec = (fetchurl { ··· 271 298 description = "Coroutine safe xpcall and pcall"; 272 299 license.fullName = "MIT/X11"; 273 300 }; 274 - }; 301 + }) {}; 275 302 276 - cqueues = buildLuarocksPackage { 303 + cqueues = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 304 + , fetchurl, lua 305 + }: 306 + buildLuarocksPackage { 277 307 pname = "cqueues"; 278 308 version = "20200726.52-0"; 279 309 knownRockspec = (fetchurl { ··· 285 315 sha256 = "0lhd02ag3r1sxr2hx847rdjkddm04l1vf5234v5cz9bd4kfjw4cy"; 286 316 }; 287 317 288 - disabled = (lua.luaversion != "5.2"); 318 + disabled = with lua; (luaversion != "5.2"); 289 319 propagatedBuildInputs = [ lua ]; 290 320 291 321 meta = { ··· 294 324 maintainers = with lib.maintainers; [ vcunat ]; 295 325 license.fullName = "MIT/X11"; 296 326 }; 297 - }; 327 + }) {}; 298 328 299 - cyrussasl = buildLuarocksPackage { 329 + cyrussasl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 330 + , fetchgit, lua 331 + }: 332 + buildLuarocksPackage { 300 333 pname = "cyrussasl"; 301 334 version = "1.1.0-1"; 302 335 ··· 313 346 } 314 347 '') ["date" "path"]) ; 315 348 316 - disabled = (luaOlder "5.1"); 349 + disabled = with lua; (luaOlder "5.1"); 317 350 propagatedBuildInputs = [ lua ]; 318 351 319 352 meta = { ··· 321 354 description = "Cyrus SASL library for Lua 5.1+"; 322 355 license.fullName = "BSD"; 323 356 }; 324 - }; 357 + }) {}; 325 358 326 - digestif = buildLuarocksPackage { 359 + digestif = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 360 + , fetchgit, lua, lpeg 361 + }: 362 + buildLuarocksPackage { 327 363 pname = "digestif"; 328 364 version = "dev-1"; 329 365 330 366 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 331 367 "url": "https://github.com/astoff/digestif", 332 - "rev": "9f8f299cf7094d72edbd32a455869751246028b7", 333 - "date": "2021-09-25T14:32:42+02:00", 334 - "path": "/nix/store/ln1zx9cw2b7q4x5vzd6hv5nd01c1gsy3-digestif", 335 - "sha256": "1cf14m03jvfs1mwaywfgv759jh0ha3pxrnyj7jxjxlsj6cim89v0", 368 + "rev": "505ca88a54012be5534654238baaa457f8446fed", 369 + "date": "2021-10-06T21:27:45+02:00", 370 + "path": "/nix/store/6wvpy0nsr5yf78by3dg8m2m0h0kf9xk4-digestif", 371 + "sha256": "1prv5nqskvilyyx3z9b2jiz72lwpz2xcas57qjpbv6qq5l2si1xm", 336 372 "fetchLFS": false, 337 373 "fetchSubmodules": true, 338 374 "deepClone": false, ··· 340 376 } 341 377 '') ["date" "path"]) ; 342 378 343 - disabled = (luaOlder "5.3"); 379 + disabled = with lua; (luaOlder "5.3"); 344 380 propagatedBuildInputs = [ lua lpeg ]; 345 381 346 382 meta = { ··· 348 384 description = "A code analyzer for TeX"; 349 385 license.fullName = "MIT"; 350 386 }; 351 - }; 387 + }) {}; 352 388 353 - dkjson = buildLuarocksPackage { 389 + dkjson = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 390 + , fetchurl, lua 391 + }: 392 + buildLuarocksPackage { 354 393 pname = "dkjson"; 355 394 version = "2.5-3"; 356 395 knownRockspec = (fetchurl { 357 - url = "https://luarocks.org/dkjson-2.5-3.rockspec"; 396 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/dkjson-2.5-3.rockspec"; 358 397 sha256 = "18xngdzl2q207cil64aj81qi6qvj1g269pf07j5x4pbvamd6a1l3"; 359 398 }).outPath; 360 399 src = fetchurl { ··· 362 401 sha256 = "14wanday1l7wj2lnpabbxw8rcsa0zbvcdi1w88rdr5gbsq3xwasm"; 363 402 }; 364 403 365 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 404 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 366 405 propagatedBuildInputs = [ lua ]; 367 406 368 407 meta = { ··· 370 409 description = "David Kolf's JSON module for Lua"; 371 410 license.fullName = "MIT/X11"; 372 411 }; 373 - }; 412 + }) {}; 374 413 375 - fifo = buildLuarocksPackage { 414 + fifo = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 415 + , fetchurl, lua 416 + }: 417 + buildLuarocksPackage { 376 418 pname = "fifo"; 377 419 version = "0.2-0"; 378 420 knownRockspec = (fetchurl { 379 - url = "https://luarocks.org/fifo-0.2-0.rockspec"; 421 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/fifo-0.2-0.rockspec"; 380 422 sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq"; 381 423 }).outPath; 382 424 src = fetchurl { ··· 391 433 description = "A lua library/'class' that implements a FIFO"; 392 434 license.fullName = "MIT/X11"; 393 435 }; 394 - }; 436 + }) {}; 395 437 396 - gitsigns-nvim = buildLuarocksPackage { 438 + gitsigns-nvim = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 439 + , fetchgit, lua, plenary-nvim 440 + }: 441 + buildLuarocksPackage { 397 442 pname = "gitsigns.nvim"; 398 443 version = "scm-1"; 399 444 400 445 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 401 446 "url": "https://github.com/lewis6991/gitsigns.nvim", 402 - "rev": "7e5c1a831f555dc398dd1564489e2b8a5c867754", 403 - "date": "2021-09-25T16:49:34+01:00", 404 - "path": "/nix/store/a1h8xxb9w4kvvmq7q30m1ny2pq3zbmin-gitsigns.nvim", 405 - "sha256": "02kssw0lpprf9k3il6gfd00gj9fbjbksipa4f6xqkgfdq5c9l9fr", 447 + "rev": "552f114caeaec4ce97822cb55dfa7c7e5368136b", 448 + "date": "2021-10-15T13:31:44+01:00", 449 + "path": "/nix/store/40vkv3sc4h6gh9ac88k7pilszxmy38yv-gitsigns.nvim", 450 + "sha256": "0qdafm3arjf8bcqpvv085dwzbikad3sr3xzvrn3gfa0dsls8pg6q", 406 451 "fetchLFS": false, 407 452 "fetchSubmodules": true, 408 453 "deepClone": false, ··· 410 455 } 411 456 '') ["date" "path"]) ; 412 457 413 - disabled = (lua.luaversion != "5.1"); 458 + disabled = with lua; (luaversion != "5.1"); 414 459 propagatedBuildInputs = [ lua plenary-nvim ]; 415 460 416 461 meta = { ··· 418 463 description = "Git signs written in pure lua"; 419 464 license.fullName = "MIT/X11"; 420 465 }; 421 - }; 466 + }) {}; 422 467 423 - http = buildLuarocksPackage { 468 + http = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 469 + , fetchurl, lua, compat53, bit32, cqueues, luaossl, basexx, lpeg, lpeg_patterns, binaryheap, fifo 470 + }: 471 + buildLuarocksPackage { 424 472 pname = "http"; 425 473 version = "0.3-0"; 426 474 knownRockspec = (fetchurl { ··· 432 480 sha256 = "13xyj8qx42mzn1z4lwwdfd7ha06a720q4b7d04ir6vvp2fwp3s4q"; 433 481 }; 434 482 435 - disabled = (luaOlder "5.1"); 483 + disabled = with lua; (luaOlder "5.1"); 436 484 propagatedBuildInputs = [ lua compat53 bit32 cqueues luaossl basexx lpeg lpeg_patterns binaryheap fifo ]; 437 485 438 486 meta = { ··· 441 489 maintainers = with lib.maintainers; [ vcunat ]; 442 490 license.fullName = "MIT"; 443 491 }; 444 - }; 492 + }) {}; 445 493 446 - inspect = buildLuarocksPackage { 494 + inspect = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 495 + , fetchurl, lua 496 + }: 497 + buildLuarocksPackage { 447 498 pname = "inspect"; 448 499 version = "3.1.1-0"; 449 500 knownRockspec = (fetchurl { ··· 455 506 sha256 = "1nz0yqhkd0nkymghrj99gb2id40g50drh4a96g3v5k7h1sbg94h2"; 456 507 }; 457 508 458 - disabled = (luaOlder "5.1"); 509 + disabled = with lua; (luaOlder "5.1"); 459 510 propagatedBuildInputs = [ lua ]; 460 511 461 512 meta = { ··· 463 514 description = "Lua table visualizer, ideal for debugging"; 464 515 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 465 516 }; 466 - }; 517 + }) {}; 467 518 468 - ldbus = buildLuarocksPackage { 519 + ldbus = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 520 + , fetchgit, lua 521 + }: 522 + buildLuarocksPackage { 469 523 pname = "ldbus"; 470 524 version = "scm-0"; 471 525 knownRockspec = (fetchurl { ··· 485 539 } 486 540 '') ["date" "path"]) ; 487 541 488 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 542 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 489 543 propagatedBuildInputs = [ lua ]; 490 544 491 545 meta = { ··· 493 547 description = "A Lua library to access dbus."; 494 548 license.fullName = "MIT/X11"; 495 549 }; 496 - }; 550 + }) {}; 497 551 498 - ldoc = buildLuarocksPackage { 552 + ldoc = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 553 + , fetchgit, penlight, markdown 554 + }: 555 + buildLuarocksPackage { 499 556 pname = "ldoc"; 500 557 version = "scm-3"; 501 558 ··· 519 576 description = "A Lua Documentation Tool"; 520 577 license.fullName = "MIT/X11"; 521 578 }; 522 - }; 579 + }) {}; 523 580 524 - lgi = buildLuarocksPackage { 581 + lgi = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 582 + , fetchgit, lua 583 + }: 584 + buildLuarocksPackage { 525 585 pname = "lgi"; 526 586 version = "0.9.2-1"; 527 587 knownRockspec = (fetchurl { ··· 541 601 } 542 602 '') ["date" "path"]) ; 543 603 544 - disabled = (luaOlder "5.1"); 604 + disabled = with lua; (luaOlder "5.1"); 545 605 propagatedBuildInputs = [ lua ]; 546 606 547 607 meta = { ··· 549 609 description = "Lua bindings to GObject libraries"; 550 610 license.fullName = "MIT/X11"; 551 611 }; 552 - }; 612 + }) {}; 553 613 554 - linenoise = buildLuarocksPackage { 614 + linenoise = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 615 + , fetchurl, lua 616 + }: 617 + buildLuarocksPackage { 555 618 pname = "linenoise"; 556 619 version = "0.9-1"; 557 620 ··· 560 623 sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c"; 561 624 }; 562 625 563 - disabled = (luaOlder "5.1"); 626 + disabled = with lua; (luaOlder "5.1"); 564 627 propagatedBuildInputs = [ lua ]; 565 628 566 629 meta = { ··· 568 631 description = "A binding for the linenoise command line library"; 569 632 license.fullName = "MIT/X11"; 570 633 }; 571 - }; 634 + }) {}; 572 635 573 - ljsyscall = buildLuarocksPackage { 636 + ljsyscall = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 637 + , fetchurl, lua 638 + }: 639 + buildLuarocksPackage { 574 640 pname = "ljsyscall"; 575 641 version = "0.12-1"; 576 642 knownRockspec = (fetchurl { ··· 582 648 sha256 = "1w9g36nhxv92cypjia7igg1xpfrn3dbs3hfy6gnnz5mx14v50abf"; 583 649 }; 584 650 585 - disabled = (lua.luaversion != "5.1"); 651 + disabled = with lua; (luaversion != "5.1"); 586 652 propagatedBuildInputs = [ lua ]; 587 653 588 654 meta = { ··· 591 657 maintainers = with lib.maintainers; [ lblasc ]; 592 658 license.fullName = "MIT"; 593 659 }; 594 - }; 660 + }) {}; 595 661 596 - lpeg = buildLuarocksPackage { 662 + lpeg = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 663 + , fetchurl, lua 664 + }: 665 + buildLuarocksPackage { 597 666 pname = "lpeg"; 598 667 version = "1.0.2-1"; 599 668 knownRockspec = (fetchurl { 600 - url = "https://luarocks.org/lpeg-1.0.2-1.rockspec"; 669 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lpeg-1.0.2-1.rockspec"; 601 670 sha256 = "08a8p5cwlwpjawk8sczb7bq2whdsng4mmhphahyklf1bkvl2li89"; 602 671 }).outPath; 603 672 src = fetchurl { ··· 605 674 sha256 = "1zjzl7acvcdavmcg5l7wi12jd4rh95q9pl5aiww7hv0v0mv6bmj8"; 606 675 }; 607 676 608 - disabled = (luaOlder "5.1"); 677 + disabled = with lua; (luaOlder "5.1"); 609 678 propagatedBuildInputs = [ lua ]; 610 679 611 680 meta = { ··· 614 683 maintainers = with lib.maintainers; [ vyp ]; 615 684 license.fullName = "MIT/X11"; 616 685 }; 617 - }; 686 + }) {}; 618 687 619 - lpeg_patterns = buildLuarocksPackage { 688 + lpeg_patterns = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 689 + , fetchurl, lua, lpeg 690 + }: 691 + buildLuarocksPackage { 620 692 pname = "lpeg_patterns"; 621 693 version = "0.5-0"; 622 694 knownRockspec = (fetchurl { ··· 635 707 description = "a collection of LPEG patterns"; 636 708 license.fullName = "MIT"; 637 709 }; 638 - }; 710 + }) {}; 639 711 640 - lpeglabel = buildLuarocksPackage { 712 + lpeglabel = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 713 + , fetchurl, lua 714 + }: 715 + buildLuarocksPackage { 641 716 pname = "lpeglabel"; 642 717 version = "1.6.0-1"; 643 718 knownRockspec = (fetchurl { ··· 649 724 sha256 = "1i02lsxj20iygqm8fy6dih1gh21lqk5qj1mv14wlrkaywnv35wcv"; 650 725 }; 651 726 652 - disabled = (luaOlder "5.1"); 727 + disabled = with lua; (luaOlder "5.1"); 653 728 propagatedBuildInputs = [ lua ]; 654 729 655 730 meta = { ··· 657 732 description = "Parsing Expression Grammars For Lua with Labeled Failures"; 658 733 license.fullName = "MIT/X11"; 659 734 }; 660 - }; 735 + }) {}; 661 736 662 - lpty = buildLuarocksPackage { 737 + lpty = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 738 + , fetchurl, lua 739 + }: 740 + buildLuarocksPackage { 663 741 pname = "lpty"; 664 742 version = "1.2.2-1"; 665 743 knownRockspec = (fetchurl { 666 - url = "https://luafr.org/luarocks/lpty-1.2.2-1.rockspec"; 744 + url = "https://luarocks.org/lpty-1.2.2-1.rockspec"; 667 745 sha256 = "04af4mhiqrw3br4qzz7yznw9zy2m50wddwzgvzkvhd99ng71fkzg"; 668 746 }).outPath; 669 747 src = fetchurl { ··· 671 749 sha256 = "071mvz79wi9vr6hvrnb1rv19lqp1bh2fi742zkpv2sm1r9gy5rav"; 672 750 }; 673 751 674 - disabled = (luaOlder "5.1"); 752 + disabled = with lua; (luaOlder "5.1"); 675 753 propagatedBuildInputs = [ lua ]; 676 754 677 755 meta = { ··· 679 757 description = "A simple facility for lua to control other programs via PTYs."; 680 758 license.fullName = "MIT"; 681 759 }; 682 - }; 760 + }) {}; 683 761 684 - lrexlib-gnu = buildLuarocksPackage { 762 + lrexlib-gnu = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 763 + , fetchgit, lua 764 + }: 765 + buildLuarocksPackage { 685 766 pname = "lrexlib-gnu"; 686 767 version = "2.9.1-1"; 687 768 knownRockspec = (fetchurl { ··· 701 782 } 702 783 '') ["date" "path"]) ; 703 784 704 - disabled = (luaOlder "5.1"); 785 + disabled = with lua; (luaOlder "5.1"); 705 786 propagatedBuildInputs = [ lua ]; 706 787 707 788 meta = { ··· 709 790 description = "Regular expression library binding (GNU flavour)."; 710 791 license.fullName = "MIT/X11"; 711 792 }; 712 - }; 793 + }) {}; 713 794 714 - lrexlib-pcre = buildLuarocksPackage { 795 + lrexlib-pcre = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 796 + , fetchgit, lua 797 + }: 798 + buildLuarocksPackage { 715 799 pname = "lrexlib-pcre"; 716 800 version = "2.9.1-1"; 717 801 knownRockspec = (fetchurl { ··· 731 815 } 732 816 '') ["date" "path"]) ; 733 817 734 - disabled = (luaOlder "5.1"); 818 + disabled = with lua; (luaOlder "5.1"); 735 819 propagatedBuildInputs = [ lua ]; 736 820 737 821 meta = { ··· 740 824 maintainers = with lib.maintainers; [ vyp ]; 741 825 license.fullName = "MIT/X11"; 742 826 }; 743 - }; 827 + }) {}; 744 828 745 - lrexlib-posix = buildLuarocksPackage { 829 + lrexlib-posix = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 830 + , fetchgit, lua 831 + }: 832 + buildLuarocksPackage { 746 833 pname = "lrexlib-posix"; 747 834 version = "2.9.1-1"; 748 835 knownRockspec = (fetchurl { ··· 762 849 } 763 850 '') ["date" "path"]) ; 764 851 765 - disabled = (luaOlder "5.1"); 852 + disabled = with lua; (luaOlder "5.1"); 766 853 propagatedBuildInputs = [ lua ]; 767 854 768 855 meta = { ··· 770 857 description = "Regular expression library binding (POSIX flavour)."; 771 858 license.fullName = "MIT/X11"; 772 859 }; 773 - }; 860 + }) {}; 774 861 775 - lua-cjson = buildLuarocksPackage { 862 + lua-cjson = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 863 + , fetchgit, lua 864 + }: 865 + buildLuarocksPackage { 776 866 pname = "lua-cjson"; 777 867 version = "2.1.0.6-1"; 778 868 knownRockspec = (fetchurl { ··· 792 882 } 793 883 '') ["date" "path"]) ; 794 884 795 - disabled = (luaOlder "5.1"); 885 + disabled = with lua; (luaOlder "5.1"); 796 886 propagatedBuildInputs = [ lua ]; 797 887 798 888 meta = { ··· 800 890 description = "A fast JSON encoding/parsing module"; 801 891 license.fullName = "MIT"; 802 892 }; 803 - }; 893 + }) {}; 804 894 805 - lua-cmsgpack = buildLuarocksPackage { 895 + lua-cmsgpack = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 896 + , fetchgit, lua 897 + }: 898 + buildLuarocksPackage { 806 899 pname = "lua-cmsgpack"; 807 900 version = "0.4.0-0"; 808 901 knownRockspec = (fetchurl { ··· 822 915 } 823 916 '') ["date" "path"]) ; 824 917 825 - disabled = (luaOlder "5.1"); 918 + disabled = with lua; (luaOlder "5.1"); 826 919 propagatedBuildInputs = [ lua ]; 827 920 828 921 meta = { ··· 830 923 description = "MessagePack C implementation and bindings for Lua 5.1/5.2/5.3"; 831 924 license.fullName = "Two-clause BSD"; 832 925 }; 833 - }; 926 + }) {}; 834 927 835 - lua-iconv = buildLuarocksPackage { 928 + lua-iconv = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 929 + , fetchurl, lua 930 + }: 931 + buildLuarocksPackage { 836 932 pname = "lua-iconv"; 837 933 version = "7-3"; 838 934 knownRockspec = (fetchurl { ··· 844 940 sha256 = "02dg5x79fg5mwsycr0fj6w04zykdpiki9xjswkkwzdalqwaikny1"; 845 941 }; 846 942 847 - disabled = (luaOlder "5.1"); 943 + disabled = with lua; (luaOlder "5.1"); 848 944 propagatedBuildInputs = [ lua ]; 849 945 850 946 meta = { ··· 852 948 description = "Lua binding to the iconv"; 853 949 license.fullName = "MIT/X11"; 854 950 }; 855 - }; 951 + }) {}; 856 952 857 - lua-lsp = buildLuarocksPackage { 953 + lua-lsp = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 954 + , fetchgit, lua, dkjson, lpeglabel, inspect 955 + }: 956 + buildLuarocksPackage { 858 957 pname = "lua-lsp"; 859 958 version = "0.1.0-2"; 860 959 knownRockspec = (fetchurl { ··· 874 973 } 875 974 '') ["date" "path"]) ; 876 975 877 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 976 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 878 977 propagatedBuildInputs = [ lua dkjson lpeglabel inspect ]; 879 978 880 979 meta = { ··· 882 981 description = "A Language Server implementation for lua, the language"; 883 982 license.fullName = "MIT"; 884 983 }; 885 - }; 984 + }) {}; 886 985 887 - lua-messagepack = buildLuarocksPackage { 986 + lua-messagepack = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 987 + , fetchurl, lua 988 + }: 989 + buildLuarocksPackage { 888 990 pname = "lua-messagepack"; 889 991 version = "0.5.2-1"; 890 992 knownRockspec = (fetchurl { ··· 896 998 sha256 = "1jgi944d0vx4zs9lrphys9pw0wrsibip93sh141qjwymrjyjg1nc"; 897 999 }; 898 1000 899 - disabled = (luaOlder "5.1"); 1001 + disabled = with lua; (luaOlder "5.1"); 900 1002 propagatedBuildInputs = [ lua ]; 901 1003 902 1004 meta = { ··· 904 1006 description = "a pure Lua implementation of the MessagePack serialization format"; 905 1007 license.fullName = "MIT/X11"; 906 1008 }; 907 - }; 1009 + }) {}; 908 1010 909 - lua-resty-http = buildLuarocksPackage { 1011 + lua-resty-http = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1012 + , fetchgit, lua 1013 + }: 1014 + buildLuarocksPackage { 910 1015 pname = "lua-resty-http"; 911 1016 version = "0.16.1-0"; 912 1017 knownRockspec = (fetchurl { ··· 926 1031 } 927 1032 '') ["date" "path"]) ; 928 1033 929 - disabled = (luaOlder "5.1"); 1034 + disabled = with lua; (luaOlder "5.1"); 930 1035 propagatedBuildInputs = [ lua ]; 931 1036 932 1037 meta = { ··· 934 1039 description = "Lua HTTP client cosocket driver for OpenResty / ngx_lua."; 935 1040 license.fullName = "2-clause BSD"; 936 1041 }; 937 - }; 1042 + }) {}; 938 1043 939 - lua-resty-jwt = buildLuarocksPackage { 1044 + lua-resty-jwt = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1045 + , fetchgit, lua, lua-resty-openssl 1046 + }: 1047 + buildLuarocksPackage { 940 1048 pname = "lua-resty-jwt"; 941 1049 version = "0.2.3-0"; 942 1050 knownRockspec = (fetchurl { ··· 956 1064 } 957 1065 '') ["date" "path"]) ; 958 1066 959 - disabled = (luaOlder "5.1"); 1067 + disabled = with lua; (luaOlder "5.1"); 960 1068 propagatedBuildInputs = [ lua lua-resty-openssl ]; 961 1069 962 1070 meta = { ··· 964 1072 description = "JWT for ngx_lua and LuaJIT."; 965 1073 license.fullName = "Apache License Version 2"; 966 1074 }; 967 - }; 1075 + }) {}; 968 1076 969 - lua-resty-openidc = buildLuarocksPackage { 1077 + lua-resty-openidc = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1078 + , fetchgit, lua, lua-resty-http, lua-resty-session, lua-resty-jwt 1079 + }: 1080 + buildLuarocksPackage { 970 1081 pname = "lua-resty-openidc"; 971 1082 version = "1.7.4-1"; 972 1083 knownRockspec = (fetchurl { ··· 986 1097 } 987 1098 '') ["date" "path"]) ; 988 1099 989 - disabled = (luaOlder "5.1"); 1100 + disabled = with lua; (luaOlder "5.1"); 990 1101 propagatedBuildInputs = [ lua lua-resty-http lua-resty-session lua-resty-jwt ]; 991 1102 992 1103 meta = { ··· 994 1105 description = "A library for NGINX implementing the OpenID Connect Relying Party (RP) and the OAuth 2.0 Resource Server (RS) functionality"; 995 1106 license.fullName = "Apache 2.0"; 996 1107 }; 997 - }; 1108 + }) {}; 998 1109 999 - lua-resty-openssl = buildLuarocksPackage { 1110 + lua-resty-openssl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1111 + , fetchgit}: 1112 + buildLuarocksPackage { 1000 1113 pname = "lua-resty-openssl"; 1001 1114 version = "0.7.5-1"; 1002 1115 knownRockspec = (fetchurl { 1003 - url = "https://luafr.org/luarocks/lua-resty-openssl-0.7.5-1.rockspec"; 1116 + url = "https://luarocks.org/lua-resty-openssl-0.7.5-1.rockspec"; 1004 1117 sha256 = "13v14in9cgmjgarmy6br9629ns1qlhw7a30c061y6gncjannnv6y"; 1005 1118 }).outPath; 1006 1119 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ ··· 1022 1135 description = "No summary"; 1023 1136 license.fullName = "BSD"; 1024 1137 }; 1025 - }; 1138 + }) {}; 1026 1139 1027 - lua-resty-session = buildLuarocksPackage { 1140 + lua-resty-session = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1141 + , fetchgit, lua 1142 + }: 1143 + buildLuarocksPackage { 1028 1144 pname = "lua-resty-session"; 1029 1145 version = "3.8-1"; 1030 1146 knownRockspec = (fetchurl { ··· 1044 1160 } 1045 1161 '') ["date" "path"]) ; 1046 1162 1047 - disabled = (luaOlder "5.1"); 1163 + disabled = with lua; (luaOlder "5.1"); 1048 1164 propagatedBuildInputs = [ lua ]; 1049 1165 1050 1166 meta = { ··· 1052 1168 description = "Session Library for OpenResty – Flexible and Secure"; 1053 1169 license.fullName = "BSD"; 1054 1170 }; 1055 - }; 1171 + }) {}; 1056 1172 1057 - lua-term = buildLuarocksPackage { 1173 + lua-term = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1174 + , fetchurl}: 1175 + buildLuarocksPackage { 1058 1176 pname = "lua-term"; 1059 1177 version = "0.7-1"; 1060 1178 knownRockspec = (fetchurl { 1061 - url = "https://luarocks.org/lua-term-0.7-1.rockspec"; 1179 + url = "https://luafr.org/luarocks/lua-term-0.7-1.rockspec"; 1062 1180 sha256 = "0r9g5jw7pqr1dyj6w58dqlr7y7l0jp077n8nnji4phf10biyrvg2"; 1063 1181 }).outPath; 1064 1182 src = fetchurl { ··· 1072 1190 description = "Terminal functions for Lua"; 1073 1191 license.fullName = "MIT/X11"; 1074 1192 }; 1075 - }; 1193 + }) {}; 1076 1194 1077 - lua-toml = buildLuarocksPackage { 1195 + lua-toml = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1196 + , fetchgit, lua 1197 + }: 1198 + buildLuarocksPackage { 1078 1199 pname = "lua-toml"; 1079 1200 version = "2.0-1"; 1080 1201 knownRockspec = (fetchurl { ··· 1094 1215 } 1095 1216 '') ["date" "path"]) ; 1096 1217 1097 - disabled = (luaOlder "5.1"); 1218 + disabled = with lua; (luaOlder "5.1"); 1098 1219 propagatedBuildInputs = [ lua ]; 1099 1220 1100 1221 meta = { ··· 1102 1223 description = "toml decoder/encoder for Lua"; 1103 1224 license.fullName = "MIT"; 1104 1225 }; 1105 - }; 1226 + }) {}; 1106 1227 1107 - lua-yajl = buildLuarocksPackage { 1228 + lua-yajl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1229 + , fetchgit, lua 1230 + }: 1231 + buildLuarocksPackage { 1108 1232 pname = "lua-yajl"; 1109 1233 version = "2.0-1"; 1110 1234 knownRockspec = (fetchurl { 1111 - url = "https://luarocks.org/lua-yajl-2.0-1.rockspec"; 1235 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-yajl-2.0-1.rockspec"; 1112 1236 sha256 = "0h600zgq5qc9z3cid1kr35q3qb98alg0m3qf0a3mfj33hya6pcxp"; 1113 1237 }).outPath; 1114 1238 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ ··· 1124 1248 } 1125 1249 '') ["date" "path"]) ; 1126 1250 1127 - disabled = (luaOlder "5.1"); 1251 + disabled = with lua; (luaOlder "5.1"); 1128 1252 propagatedBuildInputs = [ lua ]; 1129 1253 1130 1254 meta = { ··· 1133 1257 maintainers = with lib.maintainers; [ pstn ]; 1134 1258 license.fullName = "MIT/X11"; 1135 1259 }; 1136 - }; 1260 + }) {}; 1137 1261 1138 - lua-zlib = buildLuarocksPackage { 1262 + lua-zlib = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1263 + , fetchgit, lua 1264 + }: 1265 + buildLuarocksPackage { 1139 1266 pname = "lua-zlib"; 1140 1267 version = "1.2-1"; 1141 1268 knownRockspec = (fetchurl { ··· 1155 1282 } 1156 1283 '') ["date" "path"]) ; 1157 1284 1158 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 1285 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 1159 1286 propagatedBuildInputs = [ lua ]; 1160 1287 1161 1288 meta = { ··· 1164 1291 maintainers = with lib.maintainers; [ koral ]; 1165 1292 license.fullName = "MIT"; 1166 1293 }; 1167 - }; 1294 + }) {}; 1168 1295 1169 - lua_cliargs = buildLuarocksPackage { 1296 + lua_cliargs = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1297 + , fetchurl, lua 1298 + }: 1299 + buildLuarocksPackage { 1170 1300 pname = "lua_cliargs"; 1171 1301 version = "3.0-2"; 1172 1302 ··· 1175 1305 sha256 = "0vhpgmy9a8wlxp8a15pnfqfk0aj7pyyb5m41nnfxynx580a6y7cp"; 1176 1306 }; 1177 1307 1178 - disabled = (luaOlder "5.1"); 1308 + disabled = with lua; (luaOlder "5.1"); 1179 1309 propagatedBuildInputs = [ lua ]; 1180 1310 1181 1311 meta = { ··· 1183 1313 description = "A command-line argument parser."; 1184 1314 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 1185 1315 }; 1186 - }; 1316 + }) {}; 1187 1317 1188 - luabitop = buildLuarocksPackage { 1318 + luabitop = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1319 + , fetchgit, lua 1320 + }: 1321 + buildLuarocksPackage { 1189 1322 pname = "luabitop"; 1190 1323 version = "1.0.2-3"; 1191 1324 ··· 1202 1335 } 1203 1336 '') ["date" "path"]) ; 1204 1337 1205 - disabled = (luaOlder "5.1") || (luaAtLeast "5.3"); 1338 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.3"); 1206 1339 propagatedBuildInputs = [ lua ]; 1207 1340 1208 1341 meta = { ··· 1210 1343 description = "Lua Bit Operations Module"; 1211 1344 license.fullName = "MIT/X license"; 1212 1345 }; 1213 - }; 1346 + }) {}; 1214 1347 1215 - luacheck = buildLuarocksPackage { 1348 + luacheck = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1349 + , fetchgit, lua, argparse, luafilesystem 1350 + }: 1351 + buildLuarocksPackage { 1216 1352 pname = "luacheck"; 1217 - version = "0.24.0-2"; 1353 + version = "0.25.0-1"; 1218 1354 knownRockspec = (fetchurl { 1219 - url = "https://luarocks.org/luacheck-0.24.0-2.rockspec"; 1220 - sha256 = "1x8n7w1mdr1bmmbw38syzi2612yyd7bbv4j2hnlk2k76qfcvkhf3"; 1355 + url = "https://luarocks.org/luacheck-0.25.0-1.rockspec"; 1356 + sha256 = "11mvbpnykibg0dx9sdh5x9gpvrhkmvrw76qvjz337x83f8gmvy91"; 1221 1357 }).outPath; 1222 1358 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 1223 1359 "url": "https://github.com/luarocks/luacheck.git", 1224 - "rev": "6651c20d8495c380a49ca81662fcfd1ade6b2411", 1225 - "date": "2020-08-20T19:21:52-03:00", 1226 - "path": "/nix/store/8r4x8snxp0kjabn9bsxwh62pfczd8wma-luacheck", 1227 - "sha256": "08jsqibksdvpl6mvf8d6rlh5pii78hqm3fkhbkgzrs6k8kk5a7lf", 1360 + "rev": "abf7386a892df4ce566fef9e4640ddbf9af78411", 1361 + "date": "2021-08-10T12:19:20-03:00", 1362 + "path": "/nix/store/9cdlf6c3y0087qwh48ky8ysxxx3lirlj-luacheck", 1363 + "sha256": "1ymfkr0qmg6idrrxf9x6mfq14skag8h09kl2qlalwiykicrdljs1", 1228 1364 "fetchLFS": false, 1229 1365 "fetchSubmodules": true, 1230 1366 "deepClone": false, ··· 1232 1368 } 1233 1369 '') ["date" "path"]) ; 1234 1370 1235 - disabled = (luaOlder "5.1"); 1371 + disabled = with lua; (luaOlder "5.1"); 1236 1372 propagatedBuildInputs = [ lua argparse luafilesystem ]; 1237 1373 1238 1374 meta = { ··· 1240 1376 description = "A static analyzer and a linter for Lua"; 1241 1377 license.fullName = "MIT"; 1242 1378 }; 1243 - }; 1379 + }) {}; 1244 1380 1245 - luacov = buildLuarocksPackage { 1381 + luacov = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1382 + , fetchgit, lua 1383 + }: 1384 + buildLuarocksPackage { 1246 1385 pname = "luacov"; 1247 1386 version = "0.15.0-1"; 1248 1387 knownRockspec = (fetchurl { 1249 - url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacov-0.15.0-1.rockspec"; 1388 + url = "https://luafr.org/luarocks/luacov-0.15.0-1.rockspec"; 1250 1389 sha256 = "18byfl23c73pazi60hsx0vd74hqq80mzixab76j36cyn8k4ni9db"; 1251 1390 }).outPath; 1252 1391 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ ··· 1262 1401 } 1263 1402 '') ["date" "path"]) ; 1264 1403 1265 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 1404 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 1266 1405 propagatedBuildInputs = [ lua ]; 1267 1406 1268 1407 meta = { ··· 1270 1409 description = "Coverage analysis tool for Lua scripts"; 1271 1410 license.fullName = "MIT"; 1272 1411 }; 1273 - }; 1412 + }) {}; 1274 1413 1275 - luadbi = buildLuarocksPackage { 1414 + luadbi = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1415 + , fetchgit, lua 1416 + }: 1417 + buildLuarocksPackage { 1276 1418 pname = "luadbi"; 1277 1419 version = "0.7.2-1"; 1278 1420 knownRockspec = (fetchurl { ··· 1292 1434 } 1293 1435 '') ["date" "path"]) ; 1294 1436 1295 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 1437 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1296 1438 propagatedBuildInputs = [ lua ]; 1297 1439 1298 1440 meta = { ··· 1300 1442 description = "Database abstraction layer"; 1301 1443 license.fullName = "MIT/X11"; 1302 1444 }; 1303 - }; 1445 + }) {}; 1304 1446 1305 - luadbi-mysql = buildLuarocksPackage { 1447 + luadbi-mysql = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1448 + , fetchgit, lua, luadbi 1449 + }: 1450 + buildLuarocksPackage { 1306 1451 pname = "luadbi-mysql"; 1307 1452 version = "0.7.2-1"; 1308 1453 knownRockspec = (fetchurl { 1309 - url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luadbi-mysql-0.7.2-1.rockspec"; 1454 + url = "https://luarocks.org/luadbi-mysql-0.7.2-1.rockspec"; 1310 1455 sha256 = "0gnyqnvcfif06rzzrdw6w6hchp4jrjiwm0rmfx2r8ljchj2bvml5"; 1311 1456 }).outPath; 1312 1457 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ ··· 1322 1467 } 1323 1468 '') ["date" "path"]) ; 1324 1469 1325 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 1470 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1326 1471 propagatedBuildInputs = [ lua luadbi ]; 1327 1472 1328 1473 meta = { ··· 1330 1475 description = "Database abstraction layer"; 1331 1476 license.fullName = "MIT/X11"; 1332 1477 }; 1333 - }; 1478 + }) {}; 1334 1479 1335 - luadbi-postgresql = buildLuarocksPackage { 1480 + luadbi-postgresql = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1481 + , fetchgit, lua, luadbi 1482 + }: 1483 + buildLuarocksPackage { 1336 1484 pname = "luadbi-postgresql"; 1337 1485 version = "0.7.2-1"; 1338 1486 knownRockspec = (fetchurl { 1339 - url = "https://luarocks.org/luadbi-postgresql-0.7.2-1.rockspec"; 1487 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luadbi-postgresql-0.7.2-1.rockspec"; 1340 1488 sha256 = "07rx4agw4hjyzf8157apdwfqh9s26nqndmkr3wm7v09ygjvdjiix"; 1341 1489 }).outPath; 1342 1490 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ ··· 1352 1500 } 1353 1501 '') ["date" "path"]) ; 1354 1502 1355 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 1503 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1356 1504 propagatedBuildInputs = [ lua luadbi ]; 1357 1505 1358 1506 meta = { ··· 1360 1508 description = "Database abstraction layer"; 1361 1509 license.fullName = "MIT/X11"; 1362 1510 }; 1363 - }; 1511 + }) {}; 1364 1512 1365 - luadbi-sqlite3 = buildLuarocksPackage { 1513 + luadbi-sqlite3 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1514 + , fetchgit, lua, luadbi 1515 + }: 1516 + buildLuarocksPackage { 1366 1517 pname = "luadbi-sqlite3"; 1367 1518 version = "0.7.2-1"; 1368 1519 knownRockspec = (fetchurl { ··· 1382 1533 } 1383 1534 '') ["date" "path"]) ; 1384 1535 1385 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 1536 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1386 1537 propagatedBuildInputs = [ lua luadbi ]; 1387 1538 1388 1539 meta = { ··· 1390 1541 description = "Database abstraction layer"; 1391 1542 license.fullName = "MIT/X11"; 1392 1543 }; 1393 - }; 1544 + }) {}; 1394 1545 1395 - luaepnf = buildLuarocksPackage { 1546 + luaepnf = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1547 + , fetchgit, lua, lpeg 1548 + }: 1549 + buildLuarocksPackage { 1396 1550 pname = "luaepnf"; 1397 1551 version = "0.3-2"; 1398 1552 knownRockspec = (fetchurl { ··· 1412 1566 } 1413 1567 '') ["date" "path"]) ; 1414 1568 1415 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 1569 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 1416 1570 propagatedBuildInputs = [ lua lpeg ]; 1417 1571 1418 1572 meta = { ··· 1420 1574 description = "Extended PEG Notation Format (easy grammars for LPeg)"; 1421 1575 license.fullName = "MIT"; 1422 1576 }; 1423 - }; 1577 + }) {}; 1424 1578 1425 - luaevent = buildLuarocksPackage { 1579 + luaevent = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1580 + , fetchurl, lua 1581 + }: 1582 + buildLuarocksPackage { 1426 1583 pname = "luaevent"; 1427 1584 version = "0.4.6-1"; 1428 1585 knownRockspec = (fetchurl { ··· 1434 1591 sha256 = "0pbh315d3p7hxgzmbhphkcldxv2dadbka96131b8j5914nxvl4nx"; 1435 1592 }; 1436 1593 1437 - disabled = (luaOlder "5.1"); 1594 + disabled = with lua; (luaOlder "5.1"); 1438 1595 propagatedBuildInputs = [ lua ]; 1439 1596 1440 1597 meta = { ··· 1442 1599 description = "libevent binding for Lua"; 1443 1600 license.fullName = "MIT"; 1444 1601 }; 1445 - }; 1602 + }) {}; 1446 1603 1447 - luaexpat = buildLuarocksPackage { 1604 + luaexpat = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1605 + , fetchurl, lua 1606 + }: 1607 + buildLuarocksPackage { 1448 1608 pname = "luaexpat"; 1449 1609 version = "1.3.0-1"; 1450 1610 knownRockspec = (fetchurl { ··· 1456 1616 sha256 = "1hvxqngn0wf5642i5p3vcyhg3pmp102k63s9ry4jqyyqc1wkjq6h"; 1457 1617 }; 1458 1618 1459 - disabled = (luaOlder "5.1"); 1619 + disabled = with lua; (luaOlder "5.1"); 1460 1620 propagatedBuildInputs = [ lua ]; 1461 1621 1462 1622 meta = { ··· 1465 1625 maintainers = with lib.maintainers; [ arobyn flosse ]; 1466 1626 license.fullName = "MIT/X11"; 1467 1627 }; 1468 - }; 1628 + }) {}; 1469 1629 1470 - luaffi = buildLuarocksPackage { 1630 + luaffi = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1631 + , fetchgit, lua 1632 + }: 1633 + buildLuarocksPackage { 1471 1634 pname = "luaffi"; 1472 1635 version = "scm-1"; 1473 1636 knownRockspec = (fetchurl { ··· 1487 1650 } 1488 1651 '') ["date" "path"]) ; 1489 1652 1490 - disabled = (luaOlder "5.1"); 1653 + disabled = with lua; (luaOlder "5.1"); 1491 1654 propagatedBuildInputs = [ lua ]; 1492 1655 1493 1656 meta = { ··· 1495 1658 description = "FFI library for calling C functions from lua"; 1496 1659 license.fullName = "BSD"; 1497 1660 }; 1498 - }; 1661 + }) {}; 1499 1662 1500 - luafilesystem = buildLuarocksPackage { 1663 + luafilesystem = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1664 + , fetchgit, lua 1665 + }: 1666 + buildLuarocksPackage { 1501 1667 pname = "luafilesystem"; 1502 1668 version = "1.7.0-2"; 1503 1669 knownRockspec = (fetchurl { ··· 1517 1683 } 1518 1684 '') ["date" "path"]) ; 1519 1685 1520 - disabled = (luaOlder "5.1"); 1686 + disabled = with lua; (luaOlder "5.1"); 1521 1687 propagatedBuildInputs = [ lua ]; 1522 1688 1523 1689 meta = { ··· 1526 1692 maintainers = with lib.maintainers; [ flosse ]; 1527 1693 license.fullName = "MIT/X11"; 1528 1694 }; 1529 - }; 1695 + }) {}; 1530 1696 1531 - lualogging = buildLuarocksPackage { 1697 + lualogging = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1698 + , fetchgit, luasocket 1699 + }: 1700 + buildLuarocksPackage { 1532 1701 pname = "lualogging"; 1533 1702 version = "1.5.2-1"; 1534 1703 knownRockspec = (fetchurl { ··· 1555 1724 description = "A simple API to use logging features"; 1556 1725 license.fullName = "MIT/X11"; 1557 1726 }; 1558 - }; 1727 + }) {}; 1559 1728 1560 - luaossl = buildLuarocksPackage { 1729 + luaossl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1730 + , fetchurl, lua 1731 + }: 1732 + buildLuarocksPackage { 1561 1733 pname = "luaossl"; 1562 1734 version = "20200709-0"; 1563 1735 knownRockspec = (fetchurl { ··· 1576 1748 description = "Most comprehensive OpenSSL module in the Lua universe."; 1577 1749 license.fullName = "MIT/X11"; 1578 1750 }; 1579 - }; 1751 + }) {}; 1580 1752 1581 - luaposix = buildLuarocksPackage { 1753 + luaposix = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1754 + , fetchurl, bit32, lua 1755 + }: 1756 + buildLuarocksPackage { 1582 1757 pname = "luaposix"; 1583 1758 version = "34.1.1-1"; 1584 1759 knownRockspec = (fetchurl { ··· 1590 1765 sha256 = "1xqx764ji054jphxdhkynsmwzqzkfgxqfizxkf70za6qfrvnl3yh"; 1591 1766 }; 1592 1767 1593 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 1768 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1594 1769 propagatedBuildInputs = [ bit32 lua ]; 1595 1770 1596 1771 meta = { ··· 1599 1774 maintainers = with lib.maintainers; [ vyp lblasc ]; 1600 1775 license.fullName = "MIT/X11"; 1601 1776 }; 1602 - }; 1777 + }) {}; 1603 1778 1604 - luarepl = buildLuarocksPackage { 1779 + luarepl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1780 + , fetchurl, lua 1781 + }: 1782 + buildLuarocksPackage { 1605 1783 pname = "luarepl"; 1606 1784 version = "0.9-1"; 1607 1785 knownRockspec = (fetchurl { ··· 1613 1791 sha256 = "04xka7b84d9mrz3gyf8ywhw08xp65v8jrnzs8ry8k9540aqs721w"; 1614 1792 }; 1615 1793 1616 - disabled = (luaOlder "5.1"); 1794 + disabled = with lua; (luaOlder "5.1"); 1617 1795 propagatedBuildInputs = [ lua ]; 1618 1796 1619 1797 meta = { ··· 1621 1799 description = "A reusable REPL component for Lua, written in Lua"; 1622 1800 license.fullName = "MIT/X11"; 1623 1801 }; 1624 - }; 1802 + }) {}; 1625 1803 1626 - luasec = buildLuarocksPackage { 1804 + luasec = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1805 + , fetchgit, lua, luasocket 1806 + }: 1807 + buildLuarocksPackage { 1627 1808 pname = "luasec"; 1628 1809 version = "1.0.2-1"; 1629 1810 knownRockspec = (fetchurl { ··· 1643 1824 } 1644 1825 '') ["date" "path"]) ; 1645 1826 1646 - disabled = (luaOlder "5.1"); 1827 + disabled = with lua; (luaOlder "5.1"); 1647 1828 propagatedBuildInputs = [ lua luasocket ]; 1648 1829 1649 1830 meta = { ··· 1652 1833 maintainers = with lib.maintainers; [ flosse ]; 1653 1834 license.fullName = "MIT"; 1654 1835 }; 1655 - }; 1836 + }) {}; 1656 1837 1657 - luasocket = buildLuarocksPackage { 1838 + luasocket = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1839 + , fetchurl, lua 1840 + }: 1841 + buildLuarocksPackage { 1658 1842 pname = "luasocket"; 1659 1843 version = "3.0rc1-2"; 1660 1844 knownRockspec = (fetchurl { 1661 - url = "https://luarocks.org/luasocket-3.0rc1-2.rockspec"; 1845 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luasocket-3.0rc1-2.rockspec"; 1662 1846 sha256 = "17fbkihp4zypv5wwgxz8dnghj37pf5bhpi2llg4gbljp1bl2f42c"; 1663 1847 }).outPath; 1664 1848 src = fetchurl { ··· 1666 1850 sha256 = "0x0fg07cg08ybgkpzif7zmzaaq5ga979rxwd9rj95kfws9bbrl0y"; 1667 1851 }; 1668 1852 1669 - disabled = (luaOlder "5.1"); 1853 + disabled = with lua; (luaOlder "5.1"); 1670 1854 propagatedBuildInputs = [ lua ]; 1671 1855 1672 1856 meta = { ··· 1674 1858 description = "Network support for the Lua language"; 1675 1859 license.fullName = "MIT"; 1676 1860 }; 1677 - }; 1861 + }) {}; 1678 1862 1679 - luasql-sqlite3 = buildLuarocksPackage { 1863 + luasql-sqlite3 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1864 + , fetchgit, lua 1865 + }: 1866 + buildLuarocksPackage { 1680 1867 pname = "luasql-sqlite3"; 1681 1868 version = "2.6.0-1"; 1682 1869 knownRockspec = (fetchurl { ··· 1685 1872 }).outPath; 1686 1873 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 1687 1874 "url": "https://github.com/keplerproject/luasql.git", 1688 - "rev": "69f68a858134d6adbe9b65a902dcd3f60cd6a7ce", 1689 - "date": "2021-08-27T15:17:22-03:00", 1690 - "path": "/nix/store/2374agarn72cnlnk2vripfy1zz2y50la-luasql", 1691 - "sha256": "13xs1g67d2p69x4wzxk1h97xh25388h0kkh9bjgw3l1yss9zlxhx", 1875 + "rev": "ce22164f63783afac9c644fd37c231e56fc097cb", 1876 + "date": "2021-10-14T09:38:24-03:00", 1877 + "path": "/nix/store/h8r8axcc76x7y6gwc2jzsmr7h2lqgbxa-luasql", 1878 + "sha256": "10gq3x7vqkafvfk9fs4039rl1xhnqpl2v60z4qpd96wbcy205gnk", 1692 1879 "fetchLFS": false, 1693 1880 "fetchSubmodules": true, 1694 1881 "deepClone": false, ··· 1696 1883 } 1697 1884 '') ["date" "path"]) ; 1698 1885 1699 - disabled = (luaOlder "5.1"); 1886 + disabled = with lua; (luaOlder "5.1"); 1700 1887 propagatedBuildInputs = [ lua ]; 1701 1888 1702 1889 meta = { ··· 1705 1892 maintainers = with lib.maintainers; [ vyp ]; 1706 1893 license.fullName = "MIT/X11"; 1707 1894 }; 1708 - }; 1895 + }) {}; 1709 1896 1710 - luassert = buildLuarocksPackage { 1897 + luassert = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1898 + , fetchurl, lua, say 1899 + }: 1900 + buildLuarocksPackage { 1711 1901 pname = "luassert"; 1712 1902 version = "1.8.0-0"; 1713 1903 knownRockspec = (fetchurl { ··· 1719 1909 sha256 = "0xlwlb32215524bg33svp1ci8mdvh9wykchl8dkhihpxcd526mar"; 1720 1910 }; 1721 1911 1722 - disabled = (luaOlder "5.1"); 1912 + disabled = with lua; (luaOlder "5.1"); 1723 1913 propagatedBuildInputs = [ lua say ]; 1724 1914 1725 1915 meta = { ··· 1727 1917 description = "Lua Assertions Extension"; 1728 1918 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 1729 1919 }; 1730 - }; 1920 + }) {}; 1731 1921 1732 - luasystem = buildLuarocksPackage { 1922 + luasystem = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1923 + , fetchurl, lua 1924 + }: 1925 + buildLuarocksPackage { 1733 1926 pname = "luasystem"; 1734 1927 version = "0.2.1-0"; 1735 1928 knownRockspec = (fetchurl { ··· 1741 1934 sha256 = "150bbklchh02gsvpngv56xrrlxxvwpqwrh0yy6z95fnvks7gd0qb"; 1742 1935 }; 1743 1936 1744 - disabled = (luaOlder "5.1"); 1937 + disabled = with lua; (luaOlder "5.1"); 1745 1938 propagatedBuildInputs = [ lua ]; 1746 1939 1747 1940 meta = { ··· 1749 1942 description = "Platform independent system calls for Lua."; 1750 1943 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 1751 1944 }; 1752 - }; 1945 + }) {}; 1753 1946 1754 - luautf8 = buildLuarocksPackage { 1947 + luautf8 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1948 + , fetchurl, lua 1949 + }: 1950 + buildLuarocksPackage { 1755 1951 pname = "luautf8"; 1756 1952 version = "0.1.3-1"; 1757 1953 knownRockspec = (fetchurl { ··· 1763 1959 sha256 = "02rf8jmazmi8rp3i5v4jsz0d7mrf1747qszsl8i2hv1sl0ik92r0"; 1764 1960 }; 1765 1961 1766 - disabled = (luaOlder "5.1"); 1962 + disabled = with lua; (luaOlder "5.1"); 1767 1963 propagatedBuildInputs = [ lua ]; 1768 1964 1769 1965 meta = { ··· 1772 1968 maintainers = with lib.maintainers; [ pstn ]; 1773 1969 license.fullName = "MIT"; 1774 1970 }; 1775 - }; 1971 + }) {}; 1776 1972 1777 - luazip = buildLuarocksPackage { 1973 + luazip = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 1974 + , fetchgit, lua 1975 + }: 1976 + buildLuarocksPackage { 1778 1977 pname = "luazip"; 1779 1978 version = "1.2.7-1"; 1780 1979 knownRockspec = (fetchurl { ··· 1794 1993 } 1795 1994 '') ["date" "path"]) ; 1796 1995 1797 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 1996 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1798 1997 propagatedBuildInputs = [ lua ]; 1799 1998 1800 1999 meta = { ··· 1802 2001 description = "Library for reading files inside zip files"; 1803 2002 license.fullName = "MIT"; 1804 2003 }; 1805 - }; 2004 + }) {}; 1806 2005 1807 - luuid = buildLuarocksPackage { 2006 + luuid = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2007 + , fetchurl, lua 2008 + }: 2009 + buildLuarocksPackage { 1808 2010 pname = "luuid"; 1809 2011 version = "20120509-2"; 1810 2012 knownRockspec = (fetchurl { ··· 1816 2018 sha256 = "1bfkj613d05yps3fivmz0j1bxf2zkg9g1yl0ifffgw0vy00hpnvm"; 1817 2019 }; 1818 2020 1819 - disabled = (luaOlder "5.2") || (luaAtLeast "5.4"); 2021 + disabled = with lua; (luaOlder "5.2") || (luaAtLeast "5.4"); 1820 2022 propagatedBuildInputs = [ lua ]; 1821 2023 1822 2024 meta = { ··· 1824 2026 description = "A library for UUID generation"; 1825 2027 license.fullName = "Public domain"; 1826 2028 }; 1827 - }; 2029 + }) {}; 1828 2030 1829 - luv = buildLuarocksPackage { 2031 + luv = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2032 + , fetchurl, lua 2033 + }: 2034 + buildLuarocksPackage { 1830 2035 pname = "luv"; 1831 2036 version = "1.42.0-0"; 1832 2037 knownRockspec = (fetchurl { ··· 1838 2043 sha256 = "0dkzjkkm0h516ag6sfz5iji761y9slrcfw325f39zkda1sfql8mm"; 1839 2044 }; 1840 2045 1841 - disabled = (luaOlder "5.1"); 2046 + disabled = with lua; (luaOlder "5.1"); 1842 2047 propagatedBuildInputs = [ lua ]; 1843 2048 1844 2049 meta = { ··· 1846 2051 description = "Bare libuv bindings for lua"; 1847 2052 license.fullName = "Apache 2.0"; 1848 2053 }; 1849 - }; 2054 + }) {}; 1850 2055 1851 - lyaml = buildLuarocksPackage { 2056 + lyaml = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2057 + , fetchurl, lua 2058 + }: 2059 + buildLuarocksPackage { 1852 2060 pname = "lyaml"; 1853 2061 version = "6.2.7-1"; 1854 2062 knownRockspec = (fetchurl { 1855 - url = "https://luarocks.org/lyaml-6.2.7-1.rockspec"; 2063 + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lyaml-6.2.7-1.rockspec"; 1856 2064 sha256 = "0m5bnzg24nyk35gcn4rydgzk0ysk1f6rslxwxd0w3drl1bg64zja"; 1857 2065 }).outPath; 1858 2066 src = fetchurl { ··· 1860 2068 sha256 = "165mr3krf8g8070j4ax9z0j2plfbdwb8x2zk2hydpqaqa0kcdb0c"; 1861 2069 }; 1862 2070 1863 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 2071 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 1864 2072 propagatedBuildInputs = [ lua ]; 1865 2073 1866 2074 meta = { ··· 1869 2077 maintainers = with lib.maintainers; [ lblasc ]; 1870 2078 license.fullName = "MIT/X11"; 1871 2079 }; 1872 - }; 2080 + }) {}; 1873 2081 1874 - markdown = buildLuarocksPackage { 2082 + markdown = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2083 + , fetchgit, lua 2084 + }: 2085 + buildLuarocksPackage { 1875 2086 pname = "markdown"; 1876 2087 version = "0.33-1"; 1877 2088 knownRockspec = (fetchurl { ··· 1891 2102 } 1892 2103 '') ["date" "path"]) ; 1893 2104 1894 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 2105 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 1895 2106 propagatedBuildInputs = [ lua ]; 1896 2107 1897 2108 meta = { ··· 1899 2110 description = "Markdown text-to-html markup system."; 1900 2111 license.fullName = "MIT/X11"; 1901 2112 }; 1902 - }; 2113 + }) {}; 1903 2114 1904 - mediator_lua = buildLuarocksPackage { 2115 + mediator_lua = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2116 + , fetchurl, lua 2117 + }: 2118 + buildLuarocksPackage { 1905 2119 pname = "mediator_lua"; 1906 2120 version = "1.1.2-0"; 1907 2121 knownRockspec = (fetchurl { ··· 1913 2127 sha256 = "16zzzhiy3y35v8advmlkzpryzxv5vji7727vwkly86q8sagqbxgs"; 1914 2128 }; 1915 2129 1916 - disabled = (luaOlder "5.1"); 2130 + disabled = with lua; (luaOlder "5.1"); 1917 2131 propagatedBuildInputs = [ lua ]; 1918 2132 1919 2133 meta = { ··· 1921 2135 description = "Event handling through channels"; 1922 2136 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 1923 2137 }; 1924 - }; 2138 + }) {}; 1925 2139 1926 - moonscript = buildLuarocksPackage { 2140 + moonscript = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2141 + , fetchgit, lua, lpeg, alt-getopt, luafilesystem 2142 + }: 2143 + buildLuarocksPackage { 1927 2144 pname = "moonscript"; 1928 2145 version = "0.5.0-1"; 1929 2146 knownRockspec = (fetchurl { ··· 1943 2160 } 1944 2161 '') ["date" "path"]) ; 1945 2162 1946 - disabled = (luaOlder "5.1"); 2163 + disabled = with lua; (luaOlder "5.1"); 1947 2164 propagatedBuildInputs = [ lua lpeg alt-getopt luafilesystem ]; 1948 2165 1949 2166 meta = { ··· 1952 2169 maintainers = with lib.maintainers; [ arobyn ]; 1953 2170 license.fullName = "MIT"; 1954 2171 }; 1955 - }; 2172 + }) {}; 1956 2173 1957 - mpack = buildLuarocksPackage { 2174 + mpack = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2175 + , fetchurl}: 2176 + buildLuarocksPackage { 1958 2177 pname = "mpack"; 1959 - version = "1.0.8-0"; 2178 + version = "1.0.9-0"; 1960 2179 knownRockspec = (fetchurl { 1961 - url = "https://luarocks.org/mpack-1.0.8-0.rockspec"; 1962 - sha256 = "0hhpamw2bydnfrild274faaan6v48918nhslnw3kvi9y36b4i5ha"; 2180 + url = "https://luarocks.org/mpack-1.0.9-0.rockspec"; 2181 + sha256 = "1v10kmw3qw559bbm142z40ib26bwvcyi64qjrk0vf8v6n1mx8wcn"; 1963 2182 }).outPath; 1964 2183 src = fetchurl { 1965 - url = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.8/libmpack-lua-1.0.8.tar.gz"; 1966 - sha256 = "1sf93ffx7a3y1waknc4994l2yrxilrlf3hcp2cj2cvxmpm5inszd"; 2184 + url = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.9/libmpack-lua-1.0.9.tar.gz"; 2185 + sha256 = "17lyjmnbychacwahqgs128nb00xky777g7zw5wf20vrzkiq7xl0g"; 1967 2186 }; 1968 2187 1969 2188 1970 2189 meta = { 1971 - homepage = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.8/libmpack-lua-1.0.8.tar.gz"; 2190 + homepage = "https://github.com/libmpack/libmpack-lua"; 1972 2191 description = "Lua binding to libmpack"; 1973 2192 license.fullName = "MIT"; 1974 2193 }; 1975 - }; 2194 + }) {}; 1976 2195 1977 - nvim-client = buildLuarocksPackage { 2196 + nvim-client = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2197 + , fetchurl, lua, mpack, luv, coxpcall 2198 + }: 2199 + buildLuarocksPackage { 1978 2200 pname = "nvim-client"; 1979 2201 version = "0.2.2-1"; 1980 2202 ··· 1983 2205 sha256 = "1h736im524lq0vwlpihv9b317jarpkf3j13a25xl5qq8y8asm8mr"; 1984 2206 }; 1985 2207 1986 - disabled = (luaOlder "5.1"); 2208 + disabled = with lua; (luaOlder "5.1"); 1987 2209 propagatedBuildInputs = [ lua mpack luv coxpcall ]; 1988 2210 1989 2211 meta = { ··· 1991 2213 description = "Lua client to Nvim"; 1992 2214 license.fullName = "Apache"; 1993 2215 }; 1994 - }; 2216 + }) {}; 1995 2217 1996 - penlight = buildLuarocksPackage { 2218 + penlight = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2219 + , fetchgit, lua, luafilesystem 2220 + }: 2221 + buildLuarocksPackage { 1997 2222 pname = "penlight"; 1998 2223 version = "dev-1"; 1999 2224 ··· 2010 2235 } 2011 2236 '') ["date" "path"]) ; 2012 2237 2013 - disabled = (luaOlder "5.1"); 2238 + disabled = with lua; (luaOlder "5.1"); 2014 2239 propagatedBuildInputs = [ lua luafilesystem ]; 2015 - checkInputs = [ busted busted ]; 2016 - doCheck = false; 2017 2240 2018 2241 meta = { 2019 2242 homepage = "https://lunarmodules.github.io/penlight"; ··· 2021 2244 maintainers = with lib.maintainers; [ alerque ]; 2022 2245 license.fullName = "MIT/X11"; 2023 2246 }; 2024 - }; 2247 + }) {}; 2025 2248 2026 - plenary-nvim = buildLuarocksPackage { 2249 + plenary-nvim = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2250 + , fetchgit, lua, luassert 2251 + }: 2252 + buildLuarocksPackage { 2027 2253 pname = "plenary.nvim"; 2028 2254 version = "scm-1"; 2029 2255 2030 2256 src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 2031 2257 "url": "https://github.com/nvim-lua/plenary.nvim", 2032 - "rev": "8c6cc07a68b65eb707be44598f0084647d495978", 2033 - "date": "2021-09-26T16:13:25+02:00", 2034 - "path": "/nix/store/j8hmr48blm4brq8rqv7b9m08vmalg8sp-plenary.nvim", 2035 - "sha256": "05h5n7jj33y9vs6gc8hqlfd628j6i33s3c8fmfl6ahxwfygx2wpd", 2258 + "rev": "80bb2b9bb74bdca38a46480b6f2e15af990406e4", 2259 + "date": "2021-10-06T19:20:08+02:00", 2260 + "path": "/nix/store/mw4r562qxr7giy1n43iylp3qb8ch0jqs-plenary.nvim", 2261 + "sha256": "11akcpxcp4m997a2y76ajknnmsifac2hj4nq9i4a8b1j08bxinim", 2036 2262 "fetchLFS": false, 2037 2263 "fetchSubmodules": true, 2038 2264 "deepClone": false, ··· 2040 2266 } 2041 2267 '') ["date" "path"]) ; 2042 2268 2043 - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); 2269 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4"); 2044 2270 propagatedBuildInputs = [ lua luassert ]; 2045 2271 2046 2272 meta = { ··· 2048 2274 description = "lua functions you don't want to write "; 2049 2275 license.fullName = "MIT/X11"; 2050 2276 }; 2051 - }; 2277 + }) {}; 2052 2278 2053 - rapidjson = buildLuarocksPackage { 2279 + rapidjson = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2280 + , fetchgit, lua 2281 + }: 2282 + buildLuarocksPackage { 2054 2283 pname = "rapidjson"; 2055 2284 version = "0.7.1-1"; 2056 2285 ··· 2067 2296 } 2068 2297 '') ["date" "path"]) ; 2069 2298 2070 - disabled = (luaOlder "5.1"); 2299 + disabled = with lua; (luaOlder "5.1"); 2071 2300 propagatedBuildInputs = [ lua ]; 2072 2301 2073 2302 meta = { ··· 2075 2304 description = "Json module based on the very fast RapidJSON."; 2076 2305 license.fullName = "MIT"; 2077 2306 }; 2078 - }; 2307 + }) {}; 2079 2308 2080 - readline = buildLuarocksPackage { 2309 + readline = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2310 + , fetchurl, lua, luaposix 2311 + }: 2312 + buildLuarocksPackage { 2081 2313 pname = "readline"; 2082 2314 version = "3.0-0"; 2083 2315 knownRockspec = (fetchurl { ··· 2089 2321 sha256 = "1rr2b7q8w3i4bm1i634sd6kzhw6v1fpnh53mj09af6xdq1rfhr5n"; 2090 2322 }; 2091 2323 2092 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 2324 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 2093 2325 propagatedBuildInputs = [ lua luaposix ]; 2094 2326 2095 2327 meta = { ··· 2097 2329 description = "Interface to the readline library"; 2098 2330 license.fullName = "MIT/X11"; 2099 2331 }; 2100 - }; 2332 + }) {}; 2101 2333 2102 - say = buildLuarocksPackage { 2334 + say = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2335 + , fetchurl, lua 2336 + }: 2337 + buildLuarocksPackage { 2103 2338 pname = "say"; 2104 2339 version = "1.3-1"; 2105 2340 ··· 2108 2343 sha256 = "1jh76mxq9dcmv7kps2spwcc6895jmj2sf04i4y9idaxlicvwvs13"; 2109 2344 }; 2110 2345 2111 - disabled = (luaOlder "5.1"); 2346 + disabled = with lua; (luaOlder "5.1"); 2112 2347 propagatedBuildInputs = [ lua ]; 2113 2348 2114 2349 meta = { ··· 2116 2351 description = "Lua String Hashing/Indexing Library"; 2117 2352 license.fullName = "MIT <http://opensource.org/licenses/MIT>"; 2118 2353 }; 2119 - }; 2354 + }) {}; 2120 2355 2121 - std-_debug = buildLuarocksPackage { 2356 + std-_debug = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2357 + , fetchgit, lua 2358 + }: 2359 + buildLuarocksPackage { 2122 2360 pname = "std._debug"; 2123 2361 version = "git-1"; 2124 2362 ··· 2135 2373 } 2136 2374 '') ["date" "path"]) ; 2137 2375 2138 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 2376 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 2139 2377 propagatedBuildInputs = [ lua ]; 2140 2378 2141 2379 meta = { ··· 2143 2381 description = "Debug Hints Library"; 2144 2382 license.fullName = "MIT/X11"; 2145 2383 }; 2146 - }; 2384 + }) {}; 2147 2385 2148 - std-normalize = buildLuarocksPackage { 2386 + std-normalize = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2387 + , fetchgit, lua, std-_debug 2388 + }: 2389 + buildLuarocksPackage { 2149 2390 pname = "std.normalize"; 2150 2391 version = "git-1"; 2151 2392 ··· 2162 2403 } 2163 2404 '') ["date" "path"]) ; 2164 2405 2165 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 2406 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 2166 2407 propagatedBuildInputs = [ lua std-_debug ]; 2167 2408 2168 2409 meta = { ··· 2170 2411 description = "Normalized Lua Functions"; 2171 2412 license.fullName = "MIT/X11"; 2172 2413 }; 2173 - }; 2414 + }) {}; 2174 2415 2175 - stdlib = buildLuarocksPackage { 2416 + stdlib = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2417 + , fetchurl, lua 2418 + }: 2419 + buildLuarocksPackage { 2176 2420 pname = "stdlib"; 2177 2421 version = "41.2.2-1"; 2178 2422 knownRockspec = (fetchurl { ··· 2184 2428 sha256 = "0is8i8lk4qq4afnan0vj1bwr8brialyrva7cjy43alzgwdphwynx"; 2185 2429 }; 2186 2430 2187 - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); 2431 + disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5"); 2188 2432 propagatedBuildInputs = [ lua ]; 2189 2433 2190 2434 meta = { ··· 2193 2437 maintainers = with lib.maintainers; [ vyp ]; 2194 2438 license.fullName = "MIT/X11"; 2195 2439 }; 2196 - }; 2440 + }) {}; 2197 2441 2198 - vstruct = buildLuarocksPackage { 2442 + vstruct = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2443 + , fetchgit, lua 2444 + }: 2445 + buildLuarocksPackage { 2199 2446 pname = "vstruct"; 2200 2447 version = "2.1.1-1"; 2201 2448 ··· 2212 2459 } 2213 2460 '') ["date" "path"]) ; 2214 2461 2215 - disabled = (luaOlder "5.1"); 2462 + disabled = with lua; (luaOlder "5.1"); 2216 2463 propagatedBuildInputs = [ lua ]; 2217 2464 2218 2465 meta = { 2219 2466 homepage = "https://github.com/ToxicFrog/vstruct"; 2220 2467 description = "Lua library to manipulate binary data"; 2221 2468 }; 2222 - }; 2469 + }) {}; 2223 2470 2224 2471 2225 2472 }
+12
pkgs/development/lua-modules/lib.nix
··· 5 5 in unique ([lua] ++ modules ++ concatLists (catAttrs "requiredLuaModules" modules)); 6 6 # Check whether a derivation provides a lua module. 7 7 hasLuaModule = drv: drv ? luaModule; 8 + 9 + 10 + /* 11 + Use this to override the arguments passed to buildLuarocksPackage 12 + */ 13 + overrideLuarocks = drv: f: (drv.override (args: args // { 14 + buildLuarocksPackage = drv: (args.buildLuarocksPackage drv).override f; 15 + })) // { 16 + overrideScope = scope: overrideLuarocks (drv.overrideScope scope) f; 17 + }; 18 + 8 19 in 9 20 rec { 21 + inherit overrideLuarocks; 10 22 inherit hasLuaModule requiredLuaModules; 11 23 12 24 luaPathList = [
+56 -58
pkgs/development/lua-modules/overrides.nix
··· 1 - { pkgs, ... }: 2 - self: super: 3 - with super; 1 + { pkgs }: 2 + final: prev: 3 + with prev; 4 4 { 5 5 ##########################################3 6 6 #### manual fixes for generated packages 7 7 ##########################################3 8 - bit32 = super.bit32.override({ 8 + bit32 = prev.bit32.overrideAttrs(oa: { 9 9 # Small patch in order to no longer redefine a Lua 5.2 function that Luajit 10 10 # 2.1 also provides, see https://github.com/LuaJIT/LuaJIT/issues/325 for 11 11 # more ··· 14 14 ]; 15 15 }); 16 16 17 - busted = super.busted.override({ 17 + busted = prev.busted.overrideAttrs(oa: { 18 18 postConfigure = '' 19 19 substituteInPlace ''${rockspecFilename} \ 20 20 --replace "'lua_cliargs = 3.0-1'," "'lua_cliargs >= 3.0-1'," ··· 25 25 ''; 26 26 }); 27 27 28 - cqueues = super.cqueues.override(rec { 29 - # Parse out a version number without the Lua version inserted 30 - version = with pkgs.lib; let 31 - version' = super.cqueues.version; 32 - rel = splitVersion version'; 33 - date = head rel; 34 - rev = last (splitString "-" (last rel)); 35 - in "${date}-${rev}"; 28 + cqueues = (prev.lib.overrideLuarocks prev.cqueues (drv: { 36 29 nativeBuildInputs = [ 37 30 pkgs.gnum4 38 31 ]; ··· 41 34 { name = "OPENSSL"; dep = pkgs.openssl; } 42 35 ]; 43 36 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 37 + })).overrideAttrs(oa: rec { 38 + # Parse out a version number without the Lua version inserted 39 + version = with pkgs.lib; let 40 + version' = prev.cqueues.version; 41 + rel = splitVersion version'; 42 + date = head rel; 43 + rev = last (splitString "-" (last rel)); 44 + in "${date}-${rev}"; 44 45 # Upstream rockspec is pointlessly broken into separate rockspecs, per Lua 45 46 # version, which doesn't work well for us, so modify it 46 - postConfigure = let inherit (super.cqueues) pname; in '' 47 + postConfigure = let inherit (prev.cqueues) pname; in '' 47 48 # 'all' target auto-detects correct Lua version, which is fine for us as 48 49 # we only have the right one available :) 49 50 sed -Ei ''${rockspecFilename} \ ··· 56 57 ''; 57 58 }); 58 59 59 - cyrussasl = super.cyrussasl.override({ 60 + cyrussasl = prev.lib.overrideLuarocks prev.cyrussasl (drv: { 60 61 externalDeps = [ 61 62 { name = "LIBSASL"; dep = pkgs.cyrus_sasl; } 62 63 ]; 63 64 }); 64 65 65 - http = super.http.override({ 66 + http = prev.http.overrideAttrs(oa: { 66 67 patches = [ 67 68 (pkgs.fetchpatch { 68 69 name = "invalid-state-progression.patch"; ··· 76 77 */ 77 78 }); 78 79 79 - ldbus = super.ldbus.override({ 80 + ldbus = prev.lib.overrideLuarocks prev.ldbus (drv: { 80 81 extraVariables = { 81 82 DBUS_DIR="${pkgs.dbus.lib}"; 82 83 DBUS_ARCH_INCDIR="${pkgs.dbus.lib}/lib/dbus-1.0/include"; ··· 87 88 ]; 88 89 }); 89 90 90 - ljsyscall = super.ljsyscall.override(rec { 91 + ljsyscall = prev.ljsyscall.overrideAttrs(oa: rec { 91 92 version = "unstable-20180515"; 92 93 # package hasn't seen any release for a long time 93 94 src = pkgs.fetchFromGitHub { ··· 106 107 propagatedBuildInputs = with pkgs.lib; optional (!isLuaJIT) luaffi; 107 108 }); 108 109 109 - lgi = super.lgi.override({ 110 + lgi = prev.lib.overrideLuarocks prev.lgi (drv: { 110 111 nativeBuildInputs = [ 111 112 pkgs.pkg-config 112 113 ]; ··· 128 129 ''; 129 130 }); 130 131 131 - lrexlib-gnu = super.lrexlib-gnu.override({ 132 + lrexlib-gnu = prev.lib.overrideLuarocks prev.lrexlib-gnu (drv: { 132 133 buildInputs = [ 133 134 pkgs.gnulib 134 135 ]; 135 136 }); 136 137 137 - lrexlib-pcre = super.lrexlib-pcre.override({ 138 + lrexlib-pcre = prev.lib.overrideLuarocks prev.lrexlib-pcre (drv: { 138 139 externalDeps = [ 139 140 { name = "PCRE"; dep = pkgs.pcre; } 140 141 ]; 141 142 }); 142 143 143 - lrexlib-posix = super.lrexlib-posix.override({ 144 + lrexlib-posix = prev.lib.overrideLuarocks prev.lrexlib-posix (drv: { 144 145 buildInputs = [ 145 146 pkgs.glibc.dev 146 147 ]; 147 148 }); 148 149 149 - lua-iconv = super.lua-iconv.override({ 150 + lua-iconv = prev.lib.overrideLuarocks prev.lua-iconv (drv: { 150 151 buildInputs = [ 151 152 pkgs.libiconv 152 153 ]; 153 154 }); 154 155 155 - lua-lsp = super.lua-lsp.override({ 156 + lua-lsp = prev.lua-lsp.overrideAttrs(oa: { 156 157 # until Alloyed/lua-lsp#28 157 158 postConfigure = '' 158 159 substituteInPlace ''${rockspecFilename} \ ··· 160 161 ''; 161 162 }); 162 163 163 - lua-zlib = super.lua-zlib.override({ 164 + lua-zlib = prev.lib.overrideLuarocks prev.lua-zlib (drv: { 164 165 buildInputs = [ 165 166 pkgs.zlib.dev 166 167 ]; 167 168 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 168 169 }); 169 170 170 - luadbi-mysql = super.luadbi-mysql.override({ 171 + luadbi-mysql = prev.lib.overrideLuarocks prev.luadbi-mysql (drv: { 171 172 extraVariables = { 172 173 # Can't just be /include and /lib, unfortunately needs the trailing 'mysql' 173 174 MYSQL_INCDIR="${pkgs.libmysqlclient.dev}/include/mysql"; ··· 179 180 ]; 180 181 }); 181 182 182 - luadbi-postgresql = super.luadbi-postgresql.override({ 183 + luadbi-postgresql = prev.lib.overrideLuarocks prev.luadbi-postgresql (drv: { 183 184 buildInputs = [ 184 185 pkgs.postgresql 185 186 ]; 186 187 }); 187 188 188 - luadbi-sqlite3 = super.luadbi-sqlite3.override({ 189 + luadbi-sqlite3 = prev.lib.overrideLuarocks prev.luadbi-sqlite3 (drv: { 189 190 externalDeps = [ 190 191 { name = "SQLITE"; dep = pkgs.sqlite; } 191 192 ]; 192 193 }); 193 194 194 - luaevent = super.luaevent.override({ 195 + luaevent = prev.lib.overrideLuarocks prev.luaevent (drv: { 195 196 propagatedBuildInputs = [ 196 197 luasocket 197 198 ]; ··· 201 202 disabled = luaOlder "5.1" || luaAtLeast "5.4"; 202 203 }); 203 204 204 - luaexpat = super.luaexpat.override({ 205 + luaexpat = prev.lib.overrideLuarocks prev.luaexpat (drv: { 205 206 externalDeps = [ 206 207 { name = "EXPAT"; dep = pkgs.expat; } 207 208 ]; ··· 212 213 213 214 # TODO Somehow automatically amend buildInputs for things that need luaffi 214 215 # but are in luajitPackages? 215 - luaffi = super.luaffi.override({ 216 + luaffi = prev.lib.overrideLuarocks prev.luaffi (drv: { 216 217 # The packaged .src.rock version is pretty old, and doesn't work with Lua 5.3 217 218 src = pkgs.fetchFromGitHub { 218 219 owner = "facebook"; repo = "luaffifb"; 219 220 rev = "532c757e51c86f546a85730b71c9fef15ffa633d"; 220 221 sha256 = "1nwx6sh56zfq99rcs7sph0296jf6a9z72mxknn0ysw9fd7m1r8ig"; 221 222 }; 222 - knownRockspec = with super.luaffi; "${pname}-${version}.rockspec"; 223 + knownRockspec = with prev.luaffi; "${pname}-${version}.rockspec"; 223 224 disabled = luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT; 224 225 }); 225 226 226 - luaossl = super.luaossl.override({ 227 + luaossl = prev.lib.overrideLuarocks prev.luaossl (drv: { 227 228 externalDeps = [ 228 229 { name = "CRYPTO"; dep = pkgs.openssl; } 229 230 { name = "OPENSSL"; dep = pkgs.openssl; } 230 231 ]; 231 232 }); 232 233 233 - luasec = super.luasec.override({ 234 + luasec = prev.lib.overrideLuarocks prev.luasec (drv: { 234 235 externalDeps = [ 235 236 { name = "OPENSSL"; dep = pkgs.openssl; } 236 237 ]; 237 238 }); 238 239 239 - luasql-sqlite3 = super.luasql-sqlite3.override({ 240 + luasql-sqlite3 = prev.lib.overrideLuarocks prev.luasql-sqlite3 (drv: { 240 241 externalDeps = [ 241 242 { name = "SQLITE"; dep = pkgs.sqlite; } 242 243 ]; 243 244 }); 244 245 245 - luasystem = super.luasystem.override({ 246 - buildInputs = pkgs.lib.optionals pkgs.stdenv.isLinux [ 247 - pkgs.glibc 248 - ]; 249 - }); 246 + luasystem = prev.lib.overrideLuarocks prev.luasystem (drv: { buildInputs = [ pkgs.glibc.out ]; }); 250 247 251 - luazip = super.luazip.override({ 248 + luazip = prev.lib.overrideLuarocks prev.luazip (drv: { 252 249 buildInputs = [ 253 250 pkgs.zziplib 254 251 ]; 255 252 }); 256 253 257 - lua-yajl = super.lua-yajl.override({ 254 + lua-yajl = prev.lib.overrideLuarocks prev.lua-yajl (drv: { 258 255 buildInputs = [ 259 256 pkgs.yajl 260 257 ]; 261 258 }); 262 259 263 - luuid = super.luuid.override(old: { 260 + luuid = (prev.lib.overrideLuarocks prev.luuid (drv: { 264 261 externalDeps = [ 265 262 { name = "LIBUUID"; dep = pkgs.libuuid; } 266 263 ]; 267 - meta = old.meta // { 264 + disabled = luaOlder "5.1" || (luaAtLeast "5.4"); 265 + })).overrideAttrs(oa: { 266 + meta = oa.meta // { 268 267 platforms = pkgs.lib.platforms.linux; 269 268 }; 270 269 # Trivial patch to make it work in both 5.1 and 5.2. Basically just the ··· 276 275 patches = [ 277 276 ./luuid.patch 278 277 ]; 279 - postConfigure = let inherit (super.luuid) version pname; in '' 278 + postConfigure = let inherit (prev.luuid) version pname; in '' 280 279 sed -Ei ''${rockspecFilename} -e 's|lua >= 5.2|lua >= 5.1,|' 281 280 ''; 282 - disabled = luaOlder "5.1" || (luaAtLeast "5.4"); 283 281 }); 284 282 285 - luv = super.luv.override({ 283 + luv = prev.lib.overrideLuarocks prev.luv (drv: { 286 284 # Use system libuv instead of building local and statically linking 287 285 # This is a hacky way to specify -DWITH_SHARED_LIBUV=ON which 288 286 # is not possible with luarocks and the current luv rockspec ··· 296 294 buildInputs = [ pkgs.libuv ]; 297 295 298 296 passthru = { 299 - libluv = self.luv.override ({ 300 - preBuild = self.luv.preBuild + '' 297 + libluv = final.luv.overrideAttrs (oa: { 298 + preBuild = final.luv.preBuild + '' 301 299 sed -i 's,\(option(BUILD_MODULE.*\)ON,\1OFF,' CMakeLists.txt 302 300 sed -i 's,\(option(BUILD_SHARED_LIBS.*\)OFF,\1ON,' CMakeLists.txt 303 301 sed -i 's,${"\${.*INSTALL_INC_DIR}"},${placeholder "out"}/include/luv,' CMakeLists.txt ··· 312 310 }; 313 311 }); 314 312 315 - lyaml = super.lyaml.override({ 313 + lyaml = prev.lib.overrideLuarocks prev.lyaml (oa: { 316 314 buildInputs = [ 317 315 pkgs.libyaml 318 316 ]; 319 317 }); 320 318 321 - mpack = super.mpack.override({ 319 + mpack = prev.lib.overrideLuarocks prev.mpack (drv: { 322 320 buildInputs = [ pkgs.libmpack ]; 323 321 # the rockspec doesn't use the makefile so you may need to export more flags 324 322 USE_SYSTEM_LUA = "yes"; 325 323 USE_SYSTEM_MPACK = "yes"; 326 324 }); 327 325 328 - rapidjson = super.rapidjson.override({ 326 + rapidjson = prev.rapidjson.overrideAttrs(oa: { 329 327 preBuild = '' 330 328 sed -i '/set(CMAKE_CXX_FLAGS/d' CMakeLists.txt 331 329 sed -i '/set(CMAKE_C_FLAGS/d' CMakeLists.txt 332 330 ''; 333 331 }); 334 332 335 - readline = (super.readline.override ({ 333 + readline = (prev.lib.overrideLuarocks prev.readline (drv: { 336 334 unpackCmd = '' 337 335 unzip "$curSrc" 338 336 tar xf *.tar.gz 339 337 ''; 340 - propagatedBuildInputs = super.readline.propagatedBuildInputs ++ [ pkgs.readline ]; 338 + propagatedBuildInputs = prev.readline.propagatedBuildInputs ++ [ pkgs.readline.out ]; 341 339 extraVariables = rec { 342 340 READLINE_INCDIR = "${pkgs.readline.dev}/include"; 343 341 HISTORY_INCDIR = READLINE_INCDIR; ··· 349 347 ''; 350 348 }); 351 349 352 - std-_debug = super.std-_debug.overrideAttrs(oa: { 350 + std-_debug = prev.std-_debug.overrideAttrs(oa: { 353 351 # run make to generate lib/std/_debug/version.lua 354 352 preConfigure = '' 355 353 make all 356 354 ''; 357 355 }); 358 356 359 - std-normalize = super.std-normalize.overrideAttrs(oa: { 357 + std-normalize = prev.std-normalize.overrideAttrs(oa: { 360 358 # run make to generate lib/std/_debug/version.lua 361 359 preConfigure = '' 362 360 make all ··· 365 363 366 364 # TODO just while testing, remove afterwards 367 365 # toVimPlugin should do it instead 368 - gitsigns-nvim = super.gitsigns-nvim.overrideAttrs(oa: { 366 + gitsigns-nvim = prev.gitsigns-nvim.overrideAttrs(oa: { 369 367 nativeBuildInputs = oa.nativeBuildInputs or [] ++ [ pkgs.vimUtils.vimGenDocHook ]; 370 368 }); 371 369 372 370 # aliases 373 - cjson = super.lua-cjson; 371 + cjson = prev.lua-cjson; 374 372 }
+6 -5
pkgs/development/ocaml-modules/yaml/default.nix
··· 1 1 { lib, fetchurl, buildDunePackage 2 2 , dune-configurator 3 - , ppx_sexp_conv 4 - , bos, ctypes, fmt, logs, rresult, sexplib 3 + , bos, ctypes, fmt, logs, rresult 4 + , mdx, alcotest, crowbar, junit_alcotest, ezjsonm 5 5 }: 6 6 7 7 buildDunePackage rec { 8 8 pname = "yaml"; 9 - version = "2.1.0"; 9 + version = "3.0.0"; 10 10 11 11 useDune2 = true; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/avsm/ocaml-yaml/releases/download/v${version}/yaml-v${version}.tbz"; 15 - sha256 = "03g8vsh5jgi1cm5q78v15slgnzifp91fp7n4v1i7pa8yk0bkh585"; 15 + sha256 = "1iws6lbnrrd5hhmm7lczfvqp0aidx5xn7jlqk2s5rjfmj9qf4j2c"; 16 16 }; 17 17 18 18 buildInputs = [ dune-configurator ]; 19 - propagatedBuildInputs = [ bos ctypes fmt logs ppx_sexp_conv rresult sexplib ]; 19 + propagatedBuildInputs = [ bos ctypes rresult ]; 20 + checkInputs = [ fmt logs mdx alcotest crowbar junit_alcotest ezjsonm ]; 20 21 21 22 meta = { 22 23 description = "Parse and generate YAML 1.1 files";
+13
pkgs/development/ocaml-modules/yaml/yaml-sexp.nix
··· 1 + { lib, fetchurl, buildDunePackage, yaml, dune-configurator, ppx_sexp_conv, sexplib }: 2 + 3 + buildDunePackage rec { 4 + pname = "yaml-sexp"; 5 + 6 + inherit (yaml) version src useDune2; 7 + 8 + propagatedBuildInputs = [ yaml ppx_sexp_conv sexplib ]; 9 + 10 + meta = yaml.meta // { 11 + description = "ocaml-yaml with sexp support"; 12 + }; 13 + }
+3 -3
pkgs/development/tools/kustomize/kustomize-sops.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kustomize-sops"; 5 - version = "2.6.0"; 5 + version = "3.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "viaduct-ai"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-3dSWIDPIT4crsJuaB1TDfrUzobn8RfRlFAhqMXzZbKI="; 11 + sha256 = "sha256-ZCEgv+2WC1XLDFdRtigkiWu81zLMHvmB8vvIBWN2UYY="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-+MVViFwaApGZZxCyTwLzIEWTZDbr7WSx7e/yGbJ309Y="; 14 + vendorSha256 = "sha256-LFa0s2FBkw97P0CV+9JBmUAjaKVO+RzCX+iWGPUD9iA="; 15 15 16 16 installPhase = '' 17 17 mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
+2 -2
pkgs/development/tools/misc/luarocks/luarocks-nix.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "nix-community"; 7 7 repo = "luarocks-nix"; 8 - rev = "test-speedup"; 9 - sha256 = "sha256-WfzLSpIp0V7Ib4sjYvoJHF+/vHaieccvfVAr5W47QsQ="; 8 + rev = "standalone"; 9 + sha256 = "sha256-53Zi+GTayO9EQTCIVrzPeRRHeIkHLqy0mHyBDzbcQQk="; 10 10 }; 11 11 patches = []; 12 12
+26 -17
pkgs/development/tools/profiling/pprof/default.nix
··· 1 - # This file was originally generated by https://github.com/kamilchm/go2nix v1.2.1 2 - { lib, buildGoPackage, fetchgit }: 3 - 4 - buildGoPackage rec { 5 - pname = "pprof-unstable"; 6 - version = "2018-08-15"; 7 - rev = "781f11b1fcf71fae9d185e7189b5e686f575075a"; 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 8 5 9 - goPackagePath = "github.com/google/pprof"; 6 + buildGoModule rec { 7 + pname = "pprof"; 8 + version = "unstable-2021-09-30"; 10 9 11 - src = fetchgit { 12 - inherit rev; 13 - url = "git://github.com/google/pprof"; 14 - sha256 = "1nvzwcj6h4q0lsjlri3bym4axgv848w3xz57iz5p0wz9lcd5jsmf"; 10 + src = fetchFromGitHub { 11 + owner = "google"; 12 + repo = "pprof"; 13 + rev = "7fe48b4c820be13151ae35ce5a5e3f54f1b53eef"; 14 + sha256 = "05nr3igdigs1586qplwfm17hfw0v81jy745g6vayq7cbplljfjb1"; 15 15 }; 16 16 17 - goDeps = ./deps.nix; 17 + vendorSha256 = "0yl8y3m2ia3cwxhmg1km8358a0225khimv6hcvras8r2glm69h3f"; 18 18 19 19 meta = with lib; { 20 20 description = "A tool for visualization and analysis of profiling data"; 21 21 homepage = "https://github.com/google/pprof"; 22 22 license = licenses.asl20; 23 23 longDescription = '' 24 - pprof reads a collection of profiling samples in profile.proto format and generates reports to visualize and help analyze the data. It can generate both text and graphical reports (through the use of the dot visualization package). 24 + pprof reads a collection of profiling samples in profile.proto format and 25 + generates reports to visualize and help analyze the data. It can generate 26 + both text and graphical reports (through the use of the dot visualization 27 + package). 25 28 26 - profile.proto is a protocol buffer that describes a set of callstacks and symbolization information. A common usage is to represent a set of sampled callstacks from statistical profiling. The format is described on the proto/profile.proto file. For details on protocol buffers, see https://developers.google.com/protocol-buffers 29 + profile.proto is a protocol buffer that describes a set of callstacks and 30 + symbolization information. A common usage is to represent a set of sampled 31 + callstacks from statistical profiling. The format is described on the 32 + proto/profile.proto file. For details on protocol buffers, see 33 + https://developers.google.com/protocol-buffers 27 34 28 - Profiles can be read from a local file, or over http. Multiple profiles of the same type can be aggregated or compared. 35 + Profiles can be read from a local file, or over http. Multiple profiles of 36 + the same type can be aggregated or compared. 29 37 30 - If the profile samples contain machine addresses, pprof can symbolize them through the use of the native binutils tools (addr2line and nm). 38 + If the profile samples contain machine addresses, pprof can symbolize them 39 + through the use of the native binutils tools (addr2line and nm). 31 40 32 41 This is not an official Google product. 33 42 '';
-21
pkgs/development/tools/profiling/pprof/deps.nix
··· 1 - # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 - [ 3 - { 4 - goPackagePath = "github.com/chzyer/readline"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/chzyer/readline"; 8 - rev = "2972be24d48e78746da79ba8e24e8b488c9880de"; 9 - sha256 = "104q8dazj8yf6b089jjr82fy9h1g80zyyzvp3g8b44a7d8ngjj6r"; 10 - }; 11 - } 12 - { 13 - goPackagePath = "github.com/ianlancetaylor/demangle"; 14 - fetch = { 15 - type = "git"; 16 - url = "https://github.com/ianlancetaylor/demangle"; 17 - rev = "fcd258a6f0b45dc345a407ee5568cf9a4d24a0ae"; 18 - sha256 = "10hdzq6n4mb13g8ddqvwjwx14djfyxhh0gjc888vdihzvhyqhvrp"; 19 - }; 20 - } 21 - ]
-2923
pkgs/development/tools/wasm-bindgen-cli/Cargo.lock
··· 1 - # This file is automatically @generated by Cargo. 2 - # It is not intended for manual editing. 3 - version = 3 4 - 5 - [[package]] 6 - name = "add" 7 - version = "0.1.0" 8 - dependencies = [ 9 - "wasm-bindgen", 10 - ] 11 - 12 - [[package]] 13 - name = "adler32" 14 - version = "1.2.0" 15 - source = "registry+https://github.com/rust-lang/crates.io-index" 16 - checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" 17 - 18 - [[package]] 19 - name = "aho-corasick" 20 - version = "0.7.15" 21 - source = "registry+https://github.com/rust-lang/crates.io-index" 22 - checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5" 23 - dependencies = [ 24 - "memchr", 25 - ] 26 - 27 - [[package]] 28 - name = "ansi_term" 29 - version = "0.11.0" 30 - source = "registry+https://github.com/rust-lang/crates.io-index" 31 - checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 32 - dependencies = [ 33 - "winapi 0.3.9", 34 - ] 35 - 36 - [[package]] 37 - name = "anyhow" 38 - version = "1.0.44" 39 - source = "registry+https://github.com/rust-lang/crates.io-index" 40 - checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1" 41 - 42 - [[package]] 43 - name = "arrayvec" 44 - version = "0.5.2" 45 - source = "registry+https://github.com/rust-lang/crates.io-index" 46 - checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" 47 - 48 - [[package]] 49 - name = "ascii" 50 - version = "1.0.0" 51 - source = "registry+https://github.com/rust-lang/crates.io-index" 52 - checksum = "bbf56136a5198c7b01a49e3afcbef6cf84597273d298f54432926024107b0109" 53 - 54 - [[package]] 55 - name = "askama" 56 - version = "0.10.5" 57 - source = "registry+https://github.com/rust-lang/crates.io-index" 58 - checksum = "d298738b6e47e1034e560e5afe63aa488fea34e25ec11b855a76f0d7b8e73134" 59 - dependencies = [ 60 - "askama_derive", 61 - "askama_escape", 62 - "askama_shared", 63 - ] 64 - 65 - [[package]] 66 - name = "askama_derive" 67 - version = "0.10.5" 68 - source = "registry+https://github.com/rust-lang/crates.io-index" 69 - checksum = "ca2925c4c290382f9d2fa3d1c1b6a63fa1427099721ecca4749b154cc9c25522" 70 - dependencies = [ 71 - "askama_shared", 72 - "proc-macro2", 73 - "syn", 74 - ] 75 - 76 - [[package]] 77 - name = "askama_escape" 78 - version = "0.10.1" 79 - source = "registry+https://github.com/rust-lang/crates.io-index" 80 - checksum = "90c108c1a94380c89d2215d0ac54ce09796823cca0fd91b299cfff3b33e346fb" 81 - 82 - [[package]] 83 - name = "askama_shared" 84 - version = "0.11.1" 85 - source = "registry+https://github.com/rust-lang/crates.io-index" 86 - checksum = "2582b77e0f3c506ec4838a25fa8a5f97b9bed72bb6d3d272ea1c031d8bd373bc" 87 - dependencies = [ 88 - "askama_escape", 89 - "humansize", 90 - "nom 6.2.1", 91 - "num-traits 0.2.14", 92 - "percent-encoding", 93 - "proc-macro2", 94 - "quote", 95 - "serde", 96 - "syn", 97 - "toml", 98 - ] 99 - 100 - [[package]] 101 - name = "assert_cmd" 102 - version = "1.0.8" 103 - source = "registry+https://github.com/rust-lang/crates.io-index" 104 - checksum = "c98233c6673d8601ab23e77eb38f999c51100d46c5703b17288c57fddf3a1ffe" 105 - dependencies = [ 106 - "bstr", 107 - "doc-comment", 108 - "predicates 2.0.3", 109 - "predicates-core", 110 - "predicates-tree", 111 - "wait-timeout", 112 - ] 113 - 114 - [[package]] 115 - name = "atty" 116 - version = "0.2.14" 117 - source = "registry+https://github.com/rust-lang/crates.io-index" 118 - checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 119 - dependencies = [ 120 - "hermit-abi", 121 - "libc", 122 - "winapi 0.3.9", 123 - ] 124 - 125 - [[package]] 126 - name = "autocfg" 127 - version = "1.0.1" 128 - source = "registry+https://github.com/rust-lang/crates.io-index" 129 - checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 130 - 131 - [[package]] 132 - name = "base64" 133 - version = "0.9.3" 134 - source = "registry+https://github.com/rust-lang/crates.io-index" 135 - checksum = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643" 136 - dependencies = [ 137 - "byteorder", 138 - "safemem", 139 - ] 140 - 141 - [[package]] 142 - name = "base64" 143 - version = "0.13.0" 144 - source = "registry+https://github.com/rust-lang/crates.io-index" 145 - checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" 146 - 147 - [[package]] 148 - name = "bitflags" 149 - version = "0.7.0" 150 - source = "registry+https://github.com/rust-lang/crates.io-index" 151 - checksum = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d" 152 - 153 - [[package]] 154 - name = "bitflags" 155 - version = "1.3.2" 156 - source = "registry+https://github.com/rust-lang/crates.io-index" 157 - checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 158 - 159 - [[package]] 160 - name = "bitvec" 161 - version = "0.19.5" 162 - source = "registry+https://github.com/rust-lang/crates.io-index" 163 - checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321" 164 - dependencies = [ 165 - "funty", 166 - "radium", 167 - "tap", 168 - "wyz", 169 - ] 170 - 171 - [[package]] 172 - name = "bstr" 173 - version = "0.2.15" 174 - source = "registry+https://github.com/rust-lang/crates.io-index" 175 - checksum = "a40b47ad93e1a5404e6c18dec46b628214fee441c70f4ab5d6942142cc268a3d" 176 - dependencies = [ 177 - "lazy_static", 178 - "memchr", 179 - "regex-automata", 180 - ] 181 - 182 - [[package]] 183 - name = "buf_redux" 184 - version = "0.8.4" 185 - source = "registry+https://github.com/rust-lang/crates.io-index" 186 - checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" 187 - dependencies = [ 188 - "memchr", 189 - "safemem", 190 - ] 191 - 192 - [[package]] 193 - name = "bumpalo" 194 - version = "3.7.1" 195 - source = "registry+https://github.com/rust-lang/crates.io-index" 196 - checksum = "d9df67f7bf9ef8498769f994239c45613ef0c5899415fb58e9add412d2c1a538" 197 - 198 - [[package]] 199 - name = "byteorder" 200 - version = "1.4.3" 201 - source = "registry+https://github.com/rust-lang/crates.io-index" 202 - checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 203 - 204 - [[package]] 205 - name = "bytes" 206 - version = "0.5.6" 207 - source = "registry+https://github.com/rust-lang/crates.io-index" 208 - checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" 209 - 210 - [[package]] 211 - name = "bytes" 212 - version = "1.1.0" 213 - source = "registry+https://github.com/rust-lang/crates.io-index" 214 - checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" 215 - 216 - [[package]] 217 - name = "canvas" 218 - version = "0.1.0" 219 - dependencies = [ 220 - "js-sys", 221 - "wasm-bindgen", 222 - "web-sys", 223 - ] 224 - 225 - [[package]] 226 - name = "cc" 227 - version = "1.0.71" 228 - source = "registry+https://github.com/rust-lang/crates.io-index" 229 - checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd" 230 - 231 - [[package]] 232 - name = "cfg-if" 233 - version = "0.1.10" 234 - source = "registry+https://github.com/rust-lang/crates.io-index" 235 - checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 236 - 237 - [[package]] 238 - name = "cfg-if" 239 - version = "1.0.0" 240 - source = "registry+https://github.com/rust-lang/crates.io-index" 241 - checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 242 - 243 - [[package]] 244 - name = "char" 245 - version = "0.1.0" 246 - dependencies = [ 247 - "wasm-bindgen", 248 - ] 249 - 250 - [[package]] 251 - name = "chrono" 252 - version = "0.4.19" 253 - source = "registry+https://github.com/rust-lang/crates.io-index" 254 - checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 255 - dependencies = [ 256 - "libc", 257 - "num-integer", 258 - "num-traits 0.2.14", 259 - "time 0.1.43", 260 - "winapi 0.3.9", 261 - ] 262 - 263 - [[package]] 264 - name = "chunked_transfer" 265 - version = "1.4.0" 266 - source = "registry+https://github.com/rust-lang/crates.io-index" 267 - checksum = "fff857943da45f546682664a79488be82e69e43c1a7a2307679ab9afb3a66d2e" 268 - 269 - [[package]] 270 - name = "clap" 271 - version = "2.33.3" 272 - source = "registry+https://github.com/rust-lang/crates.io-index" 273 - checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" 274 - dependencies = [ 275 - "ansi_term", 276 - "atty", 277 - "bitflags 1.3.2", 278 - "strsim 0.8.0", 279 - "textwrap", 280 - "unicode-width", 281 - "vec_map", 282 - ] 283 - 284 - [[package]] 285 - name = "closures" 286 - version = "0.1.0" 287 - dependencies = [ 288 - "js-sys", 289 - "wasm-bindgen", 290 - "web-sys", 291 - ] 292 - 293 - [[package]] 294 - name = "color_quant" 295 - version = "1.1.0" 296 - source = "registry+https://github.com/rust-lang/crates.io-index" 297 - checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" 298 - 299 - [[package]] 300 - name = "console_error_panic_hook" 301 - version = "0.1.7" 302 - source = "registry+https://github.com/rust-lang/crates.io-index" 303 - checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" 304 - dependencies = [ 305 - "cfg-if 1.0.0", 306 - "wasm-bindgen", 307 - ] 308 - 309 - [[package]] 310 - name = "console_log" 311 - version = "0.1.0" 312 - dependencies = [ 313 - "wasm-bindgen", 314 - "web-sys", 315 - ] 316 - 317 - [[package]] 318 - name = "core-foundation" 319 - version = "0.9.2" 320 - source = "registry+https://github.com/rust-lang/crates.io-index" 321 - checksum = "6888e10551bb93e424d8df1d07f1a8b4fceb0001a3a4b048bfc47554946f47b3" 322 - dependencies = [ 323 - "core-foundation-sys", 324 - "libc", 325 - ] 326 - 327 - [[package]] 328 - name = "core-foundation-sys" 329 - version = "0.8.3" 330 - source = "registry+https://github.com/rust-lang/crates.io-index" 331 - checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" 332 - 333 - [[package]] 334 - name = "crossbeam-channel" 335 - version = "0.5.1" 336 - source = "registry+https://github.com/rust-lang/crates.io-index" 337 - checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" 338 - dependencies = [ 339 - "cfg-if 1.0.0", 340 - "crossbeam-utils", 341 - ] 342 - 343 - [[package]] 344 - name = "crossbeam-deque" 345 - version = "0.8.1" 346 - source = "registry+https://github.com/rust-lang/crates.io-index" 347 - checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" 348 - dependencies = [ 349 - "cfg-if 1.0.0", 350 - "crossbeam-epoch", 351 - "crossbeam-utils", 352 - ] 353 - 354 - [[package]] 355 - name = "crossbeam-epoch" 356 - version = "0.9.5" 357 - source = "registry+https://github.com/rust-lang/crates.io-index" 358 - checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" 359 - dependencies = [ 360 - "cfg-if 1.0.0", 361 - "crossbeam-utils", 362 - "lazy_static", 363 - "memoffset", 364 - "scopeguard", 365 - ] 366 - 367 - [[package]] 368 - name = "crossbeam-utils" 369 - version = "0.8.5" 370 - source = "registry+https://github.com/rust-lang/crates.io-index" 371 - checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" 372 - dependencies = [ 373 - "cfg-if 1.0.0", 374 - "lazy_static", 375 - ] 376 - 377 - [[package]] 378 - name = "curl" 379 - version = "0.4.39" 380 - source = "registry+https://github.com/rust-lang/crates.io-index" 381 - checksum = "aaa3b8db7f3341ddef15786d250106334d4a6c4b0ae4a46cd77082777d9849b9" 382 - dependencies = [ 383 - "curl-sys", 384 - "libc", 385 - "openssl-probe", 386 - "openssl-sys", 387 - "schannel", 388 - "socket2 0.4.2", 389 - "winapi 0.3.9", 390 - ] 391 - 392 - [[package]] 393 - name = "curl-sys" 394 - version = "0.4.49+curl-7.79.1" 395 - source = "registry+https://github.com/rust-lang/crates.io-index" 396 - checksum = "e0f44960aea24a786a46907b8824ebc0e66ca06bf4e4978408c7499620343483" 397 - dependencies = [ 398 - "cc", 399 - "libc", 400 - "libz-sys", 401 - "openssl-sys", 402 - "pkg-config", 403 - "vcpkg", 404 - "winapi 0.3.9", 405 - ] 406 - 407 - [[package]] 408 - name = "deflate" 409 - version = "0.7.20" 410 - source = "registry+https://github.com/rust-lang/crates.io-index" 411 - checksum = "707b6a7b384888a70c8d2e8650b3e60170dfc6a67bb4aa67b6dfca57af4bedb4" 412 - dependencies = [ 413 - "adler32", 414 - "byteorder", 415 - ] 416 - 417 - [[package]] 418 - name = "deno" 419 - version = "0.1.0" 420 - dependencies = [ 421 - "wasm-bindgen", 422 - ] 423 - 424 - [[package]] 425 - name = "diff" 426 - version = "0.1.12" 427 - source = "registry+https://github.com/rust-lang/crates.io-index" 428 - checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" 429 - 430 - [[package]] 431 - name = "difference" 432 - version = "2.0.0" 433 - source = "registry+https://github.com/rust-lang/crates.io-index" 434 - checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" 435 - 436 - [[package]] 437 - name = "difflib" 438 - version = "0.4.0" 439 - source = "registry+https://github.com/rust-lang/crates.io-index" 440 - checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" 441 - 442 - [[package]] 443 - name = "doc-comment" 444 - version = "0.3.3" 445 - source = "registry+https://github.com/rust-lang/crates.io-index" 446 - checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" 447 - 448 - [[package]] 449 - name = "docopt" 450 - version = "1.1.1" 451 - source = "registry+https://github.com/rust-lang/crates.io-index" 452 - checksum = "7f3f119846c823f9eafcf953a8f6ffb6ed69bf6240883261a7f13b634579a51f" 453 - dependencies = [ 454 - "lazy_static", 455 - "regex", 456 - "serde", 457 - "strsim 0.10.0", 458 - ] 459 - 460 - [[package]] 461 - name = "dom" 462 - version = "0.1.0" 463 - dependencies = [ 464 - "wasm-bindgen", 465 - "web-sys", 466 - ] 467 - 468 - [[package]] 469 - name = "either" 470 - version = "1.6.1" 471 - source = "registry+https://github.com/rust-lang/crates.io-index" 472 - checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 473 - 474 - [[package]] 475 - name = "encoding_rs" 476 - version = "0.8.28" 477 - source = "registry+https://github.com/rust-lang/crates.io-index" 478 - checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065" 479 - dependencies = [ 480 - "cfg-if 1.0.0", 481 - ] 482 - 483 - [[package]] 484 - name = "enum_primitive" 485 - version = "0.1.1" 486 - source = "registry+https://github.com/rust-lang/crates.io-index" 487 - checksum = "be4551092f4d519593039259a9ed8daedf0da12e5109c5280338073eaeb81180" 488 - dependencies = [ 489 - "num-traits 0.1.43", 490 - ] 491 - 492 - [[package]] 493 - name = "env_logger" 494 - version = "0.8.4" 495 - source = "registry+https://github.com/rust-lang/crates.io-index" 496 - checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" 497 - dependencies = [ 498 - "atty", 499 - "humantime", 500 - "log", 501 - "regex", 502 - "termcolor", 503 - ] 504 - 505 - [[package]] 506 - name = "fetch" 507 - version = "0.1.0" 508 - dependencies = [ 509 - "js-sys", 510 - "serde", 511 - "serde_derive", 512 - "wasm-bindgen", 513 - "wasm-bindgen-futures", 514 - "web-sys", 515 - ] 516 - 517 - [[package]] 518 - name = "filetime" 519 - version = "0.2.15" 520 - source = "registry+https://github.com/rust-lang/crates.io-index" 521 - checksum = "975ccf83d8d9d0d84682850a38c8169027be83368805971cc4f238c2b245bc98" 522 - dependencies = [ 523 - "cfg-if 1.0.0", 524 - "libc", 525 - "redox_syscall", 526 - "winapi 0.3.9", 527 - ] 528 - 529 - [[package]] 530 - name = "float-cmp" 531 - version = "0.8.0" 532 - source = "registry+https://github.com/rust-lang/crates.io-index" 533 - checksum = "e1267f4ac4f343772758f7b1bdcbe767c218bbab93bb432acbf5162bbf85a6c4" 534 - dependencies = [ 535 - "num-traits 0.2.14", 536 - ] 537 - 538 - [[package]] 539 - name = "fnv" 540 - version = "1.0.7" 541 - source = "registry+https://github.com/rust-lang/crates.io-index" 542 - checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 543 - 544 - [[package]] 545 - name = "foreign-types" 546 - version = "0.3.2" 547 - source = "registry+https://github.com/rust-lang/crates.io-index" 548 - checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 549 - dependencies = [ 550 - "foreign-types-shared", 551 - ] 552 - 553 - [[package]] 554 - name = "foreign-types-shared" 555 - version = "0.1.1" 556 - source = "registry+https://github.com/rust-lang/crates.io-index" 557 - checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 558 - 559 - [[package]] 560 - name = "form_urlencoded" 561 - version = "1.0.1" 562 - source = "registry+https://github.com/rust-lang/crates.io-index" 563 - checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" 564 - dependencies = [ 565 - "matches", 566 - "percent-encoding", 567 - ] 568 - 569 - [[package]] 570 - name = "fuchsia-zircon" 571 - version = "0.3.3" 572 - source = "registry+https://github.com/rust-lang/crates.io-index" 573 - checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" 574 - dependencies = [ 575 - "bitflags 1.3.2", 576 - "fuchsia-zircon-sys", 577 - ] 578 - 579 - [[package]] 580 - name = "fuchsia-zircon-sys" 581 - version = "0.3.3" 582 - source = "registry+https://github.com/rust-lang/crates.io-index" 583 - checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" 584 - 585 - [[package]] 586 - name = "funty" 587 - version = "1.1.0" 588 - source = "registry+https://github.com/rust-lang/crates.io-index" 589 - checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" 590 - 591 - [[package]] 592 - name = "futures" 593 - version = "0.3.17" 594 - source = "registry+https://github.com/rust-lang/crates.io-index" 595 - checksum = "a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca" 596 - dependencies = [ 597 - "futures-channel", 598 - "futures-core", 599 - "futures-executor", 600 - "futures-io", 601 - "futures-sink", 602 - "futures-task", 603 - "futures-util", 604 - ] 605 - 606 - [[package]] 607 - name = "futures-channel" 608 - version = "0.3.17" 609 - source = "registry+https://github.com/rust-lang/crates.io-index" 610 - checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" 611 - dependencies = [ 612 - "futures-core", 613 - "futures-sink", 614 - ] 615 - 616 - [[package]] 617 - name = "futures-channel-preview" 618 - version = "0.3.0-alpha.19" 619 - source = "registry+https://github.com/rust-lang/crates.io-index" 620 - checksum = "d5e5f4df964fa9c1c2f8bddeb5c3611631cacd93baf810fc8bb2fb4b495c263a" 621 - dependencies = [ 622 - "futures-core-preview", 623 - ] 624 - 625 - [[package]] 626 - name = "futures-core" 627 - version = "0.3.17" 628 - source = "registry+https://github.com/rust-lang/crates.io-index" 629 - checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d" 630 - 631 - [[package]] 632 - name = "futures-core-preview" 633 - version = "0.3.0-alpha.19" 634 - source = "registry+https://github.com/rust-lang/crates.io-index" 635 - checksum = "b35b6263fb1ef523c3056565fa67b1d16f0a8604ff12b11b08c25f28a734c60a" 636 - 637 - [[package]] 638 - name = "futures-executor" 639 - version = "0.3.17" 640 - source = "registry+https://github.com/rust-lang/crates.io-index" 641 - checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c" 642 - dependencies = [ 643 - "futures-core", 644 - "futures-task", 645 - "futures-util", 646 - ] 647 - 648 - [[package]] 649 - name = "futures-io" 650 - version = "0.3.17" 651 - source = "registry+https://github.com/rust-lang/crates.io-index" 652 - checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377" 653 - 654 - [[package]] 655 - name = "futures-lite" 656 - version = "1.12.0" 657 - source = "registry+https://github.com/rust-lang/crates.io-index" 658 - checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" 659 - dependencies = [ 660 - "futures-core", 661 - "pin-project-lite 0.2.7", 662 - ] 663 - 664 - [[package]] 665 - name = "futures-macro" 666 - version = "0.3.17" 667 - source = "registry+https://github.com/rust-lang/crates.io-index" 668 - checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb" 669 - dependencies = [ 670 - "autocfg", 671 - "proc-macro-hack", 672 - "proc-macro2", 673 - "quote", 674 - "syn", 675 - ] 676 - 677 - [[package]] 678 - name = "futures-sink" 679 - version = "0.3.17" 680 - source = "registry+https://github.com/rust-lang/crates.io-index" 681 - checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" 682 - 683 - [[package]] 684 - name = "futures-task" 685 - version = "0.3.17" 686 - source = "registry+https://github.com/rust-lang/crates.io-index" 687 - checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99" 688 - 689 - [[package]] 690 - name = "futures-util" 691 - version = "0.3.17" 692 - source = "registry+https://github.com/rust-lang/crates.io-index" 693 - checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481" 694 - dependencies = [ 695 - "autocfg", 696 - "futures-channel", 697 - "futures-core", 698 - "futures-io", 699 - "futures-macro", 700 - "futures-sink", 701 - "futures-task", 702 - "memchr", 703 - "pin-project-lite 0.2.7", 704 - "pin-utils", 705 - "proc-macro-hack", 706 - "proc-macro-nested", 707 - "slab", 708 - ] 709 - 710 - [[package]] 711 - name = "getrandom" 712 - version = "0.2.3" 713 - source = "registry+https://github.com/rust-lang/crates.io-index" 714 - checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" 715 - dependencies = [ 716 - "cfg-if 1.0.0", 717 - "libc", 718 - "wasi", 719 - ] 720 - 721 - [[package]] 722 - name = "gif" 723 - version = "0.9.2" 724 - source = "registry+https://github.com/rust-lang/crates.io-index" 725 - checksum = "e2e41945ba23db3bf51b24756d73d81acb4f28d85c3dccc32c6fae904438c25f" 726 - dependencies = [ 727 - "color_quant", 728 - "lzw", 729 - ] 730 - 731 - [[package]] 732 - name = "glob" 733 - version = "0.3.0" 734 - source = "registry+https://github.com/rust-lang/crates.io-index" 735 - checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" 736 - 737 - [[package]] 738 - name = "gloo" 739 - version = "0.2.1" 740 - source = "registry+https://github.com/rust-lang/crates.io-index" 741 - checksum = "68ce6f2dfa9f57f15b848efa2aade5e1850dc72986b87a2b0752d44ca08f4967" 742 - dependencies = [ 743 - "gloo-console-timer", 744 - "gloo-events", 745 - "gloo-file", 746 - "gloo-timers", 747 - ] 748 - 749 - [[package]] 750 - name = "gloo-console-timer" 751 - version = "0.1.0" 752 - source = "registry+https://github.com/rust-lang/crates.io-index" 753 - checksum = "b48675544b29ac03402c6dffc31a912f716e38d19f7e74b78b7e900ec3c941ea" 754 - dependencies = [ 755 - "web-sys", 756 - ] 757 - 758 - [[package]] 759 - name = "gloo-events" 760 - version = "0.1.1" 761 - source = "registry+https://github.com/rust-lang/crates.io-index" 762 - checksum = "088514ec8ef284891c762c88a66b639b3a730134714692ee31829765c5bc814f" 763 - dependencies = [ 764 - "wasm-bindgen", 765 - "web-sys", 766 - ] 767 - 768 - [[package]] 769 - name = "gloo-file" 770 - version = "0.1.0" 771 - source = "registry+https://github.com/rust-lang/crates.io-index" 772 - checksum = "8f9fecfe46b5dc3cc46f58e98ba580cc714f2c93860796d002eb3527a465ef49" 773 - dependencies = [ 774 - "gloo-events", 775 - "js-sys", 776 - "wasm-bindgen", 777 - "web-sys", 778 - ] 779 - 780 - [[package]] 781 - name = "gloo-timers" 782 - version = "0.2.1" 783 - source = "registry+https://github.com/rust-lang/crates.io-index" 784 - checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f" 785 - dependencies = [ 786 - "js-sys", 787 - "wasm-bindgen", 788 - "web-sys", 789 - ] 790 - 791 - [[package]] 792 - name = "guide-supported-types-examples" 793 - version = "0.1.0" 794 - dependencies = [ 795 - "js-sys", 796 - "wasm-bindgen", 797 - ] 798 - 799 - [[package]] 800 - name = "h2" 801 - version = "0.2.7" 802 - source = "registry+https://github.com/rust-lang/crates.io-index" 803 - checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" 804 - dependencies = [ 805 - "bytes 0.5.6", 806 - "fnv", 807 - "futures-core", 808 - "futures-sink", 809 - "futures-util", 810 - "http", 811 - "indexmap", 812 - "slab", 813 - "tokio", 814 - "tokio-util", 815 - "tracing", 816 - "tracing-futures", 817 - ] 818 - 819 - [[package]] 820 - name = "hashbrown" 821 - version = "0.11.2" 822 - source = "registry+https://github.com/rust-lang/crates.io-index" 823 - checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" 824 - 825 - [[package]] 826 - name = "heck" 827 - version = "0.3.3" 828 - source = "registry+https://github.com/rust-lang/crates.io-index" 829 - checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" 830 - dependencies = [ 831 - "unicode-segmentation", 832 - ] 833 - 834 - [[package]] 835 - name = "hello_world" 836 - version = "0.1.0" 837 - dependencies = [ 838 - "wasm-bindgen", 839 - ] 840 - 841 - [[package]] 842 - name = "hermit-abi" 843 - version = "0.1.19" 844 - source = "registry+https://github.com/rust-lang/crates.io-index" 845 - checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 846 - dependencies = [ 847 - "libc", 848 - ] 849 - 850 - [[package]] 851 - name = "http" 852 - version = "0.2.5" 853 - source = "registry+https://github.com/rust-lang/crates.io-index" 854 - checksum = "1323096b05d41827dadeaee54c9981958c0f94e670bc94ed80037d1a7b8b186b" 855 - dependencies = [ 856 - "bytes 1.1.0", 857 - "fnv", 858 - "itoa", 859 - ] 860 - 861 - [[package]] 862 - name = "http-body" 863 - version = "0.3.1" 864 - source = "registry+https://github.com/rust-lang/crates.io-index" 865 - checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" 866 - dependencies = [ 867 - "bytes 0.5.6", 868 - "http", 869 - ] 870 - 871 - [[package]] 872 - name = "httparse" 873 - version = "1.5.1" 874 - source = "registry+https://github.com/rust-lang/crates.io-index" 875 - checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503" 876 - 877 - [[package]] 878 - name = "httpdate" 879 - version = "0.3.2" 880 - source = "registry+https://github.com/rust-lang/crates.io-index" 881 - checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" 882 - 883 - [[package]] 884 - name = "humansize" 885 - version = "1.1.1" 886 - source = "registry+https://github.com/rust-lang/crates.io-index" 887 - checksum = "02296996cb8796d7c6e3bc2d9211b7802812d36999a51bb754123ead7d37d026" 888 - 889 - [[package]] 890 - name = "humantime" 891 - version = "2.1.0" 892 - source = "registry+https://github.com/rust-lang/crates.io-index" 893 - checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 894 - 895 - [[package]] 896 - name = "hyper" 897 - version = "0.13.10" 898 - source = "registry+https://github.com/rust-lang/crates.io-index" 899 - checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" 900 - dependencies = [ 901 - "bytes 0.5.6", 902 - "futures-channel", 903 - "futures-core", 904 - "futures-util", 905 - "h2", 906 - "http", 907 - "http-body", 908 - "httparse", 909 - "httpdate", 910 - "itoa", 911 - "pin-project", 912 - "socket2 0.3.19", 913 - "tokio", 914 - "tower-service", 915 - "tracing", 916 - "want", 917 - ] 918 - 919 - [[package]] 920 - name = "hyper-tls" 921 - version = "0.4.3" 922 - source = "registry+https://github.com/rust-lang/crates.io-index" 923 - checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed" 924 - dependencies = [ 925 - "bytes 0.5.6", 926 - "hyper", 927 - "native-tls", 928 - "tokio", 929 - "tokio-tls", 930 - ] 931 - 932 - [[package]] 933 - name = "id-arena" 934 - version = "2.2.1" 935 - source = "registry+https://github.com/rust-lang/crates.io-index" 936 - checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005" 937 - dependencies = [ 938 - "rayon", 939 - ] 940 - 941 - [[package]] 942 - name = "idna" 943 - version = "0.2.3" 944 - source = "registry+https://github.com/rust-lang/crates.io-index" 945 - checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" 946 - dependencies = [ 947 - "matches", 948 - "unicode-bidi", 949 - "unicode-normalization", 950 - ] 951 - 952 - [[package]] 953 - name = "image" 954 - version = "0.12.4" 955 - source = "registry+https://github.com/rust-lang/crates.io-index" 956 - checksum = "d95816db758249fe16f23a4e23f1a3a817fe11892dbfd1c5836f625324702158" 957 - dependencies = [ 958 - "byteorder", 959 - "enum_primitive", 960 - "gif", 961 - "jpeg-decoder", 962 - "num-iter", 963 - "num-rational", 964 - "num-traits 0.1.43", 965 - "png", 966 - "scoped_threadpool", 967 - ] 968 - 969 - [[package]] 970 - name = "import_js" 971 - version = "0.1.0" 972 - dependencies = [ 973 - "wasm-bindgen", 974 - ] 975 - 976 - [[package]] 977 - name = "indexmap" 978 - version = "1.7.0" 979 - source = "registry+https://github.com/rust-lang/crates.io-index" 980 - checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" 981 - dependencies = [ 982 - "autocfg", 983 - "hashbrown", 984 - ] 985 - 986 - [[package]] 987 - name = "inflate" 988 - version = "0.1.1" 989 - source = "registry+https://github.com/rust-lang/crates.io-index" 990 - checksum = "e7e0062d2dc2f17d2f13750d95316ae8a2ff909af0fda957084f5defd87c43bb" 991 - 992 - [[package]] 993 - name = "iovec" 994 - version = "0.1.4" 995 - source = "registry+https://github.com/rust-lang/crates.io-index" 996 - checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" 997 - dependencies = [ 998 - "libc", 999 - ] 1000 - 1001 - [[package]] 1002 - name = "ipnet" 1003 - version = "2.3.1" 1004 - source = "registry+https://github.com/rust-lang/crates.io-index" 1005 - checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" 1006 - 1007 - [[package]] 1008 - name = "itertools" 1009 - version = "0.10.1" 1010 - source = "registry+https://github.com/rust-lang/crates.io-index" 1011 - checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" 1012 - dependencies = [ 1013 - "either", 1014 - ] 1015 - 1016 - [[package]] 1017 - name = "itoa" 1018 - version = "0.4.8" 1019 - source = "registry+https://github.com/rust-lang/crates.io-index" 1020 - checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" 1021 - 1022 - [[package]] 1023 - name = "jpeg-decoder" 1024 - version = "0.1.22" 1025 - source = "registry+https://github.com/rust-lang/crates.io-index" 1026 - checksum = "229d53d58899083193af11e15917b5640cd40b29ff475a1fe4ef725deb02d0f2" 1027 - dependencies = [ 1028 - "rayon", 1029 - ] 1030 - 1031 - [[package]] 1032 - name = "js-sys" 1033 - version = "0.3.55" 1034 - dependencies = [ 1035 - "wasm-bindgen", 1036 - "wasm-bindgen-futures", 1037 - "wasm-bindgen-test", 1038 - ] 1039 - 1040 - [[package]] 1041 - name = "json" 1042 - version = "0.12.4" 1043 - source = "registry+https://github.com/rust-lang/crates.io-index" 1044 - checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd" 1045 - 1046 - [[package]] 1047 - name = "julia_set" 1048 - version = "0.1.0" 1049 - dependencies = [ 1050 - "wasm-bindgen", 1051 - "web-sys", 1052 - ] 1053 - 1054 - [[package]] 1055 - name = "kernel32-sys" 1056 - version = "0.2.2" 1057 - source = "registry+https://github.com/rust-lang/crates.io-index" 1058 - checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" 1059 - dependencies = [ 1060 - "winapi 0.2.8", 1061 - "winapi-build", 1062 - ] 1063 - 1064 - [[package]] 1065 - name = "lazy_static" 1066 - version = "1.4.0" 1067 - source = "registry+https://github.com/rust-lang/crates.io-index" 1068 - checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1069 - 1070 - [[package]] 1071 - name = "leb128" 1072 - version = "0.2.5" 1073 - source = "registry+https://github.com/rust-lang/crates.io-index" 1074 - checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" 1075 - 1076 - [[package]] 1077 - name = "lexical-core" 1078 - version = "0.7.6" 1079 - source = "registry+https://github.com/rust-lang/crates.io-index" 1080 - checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" 1081 - dependencies = [ 1082 - "arrayvec", 1083 - "bitflags 1.3.2", 1084 - "cfg-if 1.0.0", 1085 - "ryu", 1086 - "static_assertions", 1087 - ] 1088 - 1089 - [[package]] 1090 - name = "libc" 1091 - version = "0.2.103" 1092 - source = "registry+https://github.com/rust-lang/crates.io-index" 1093 - checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6" 1094 - 1095 - [[package]] 1096 - name = "libz-sys" 1097 - version = "1.1.3" 1098 - source = "registry+https://github.com/rust-lang/crates.io-index" 1099 - checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" 1100 - dependencies = [ 1101 - "cc", 1102 - "libc", 1103 - "pkg-config", 1104 - "vcpkg", 1105 - ] 1106 - 1107 - [[package]] 1108 - name = "log" 1109 - version = "0.4.14" 1110 - source = "registry+https://github.com/rust-lang/crates.io-index" 1111 - checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 1112 - dependencies = [ 1113 - "cfg-if 1.0.0", 1114 - ] 1115 - 1116 - [[package]] 1117 - name = "lzw" 1118 - version = "0.10.0" 1119 - source = "registry+https://github.com/rust-lang/crates.io-index" 1120 - checksum = "7d947cbb889ed21c2a84be6ffbaebf5b4e0f4340638cba0444907e38b56be084" 1121 - 1122 - [[package]] 1123 - name = "matches" 1124 - version = "0.1.9" 1125 - source = "registry+https://github.com/rust-lang/crates.io-index" 1126 - checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" 1127 - 1128 - [[package]] 1129 - name = "memchr" 1130 - version = "2.3.4" 1131 - source = "registry+https://github.com/rust-lang/crates.io-index" 1132 - checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" 1133 - 1134 - [[package]] 1135 - name = "memoffset" 1136 - version = "0.6.4" 1137 - source = "registry+https://github.com/rust-lang/crates.io-index" 1138 - checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" 1139 - dependencies = [ 1140 - "autocfg", 1141 - ] 1142 - 1143 - [[package]] 1144 - name = "mime" 1145 - version = "0.3.16" 1146 - source = "registry+https://github.com/rust-lang/crates.io-index" 1147 - checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" 1148 - 1149 - [[package]] 1150 - name = "mime_guess" 1151 - version = "2.0.3" 1152 - source = "registry+https://github.com/rust-lang/crates.io-index" 1153 - checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212" 1154 - dependencies = [ 1155 - "mime", 1156 - "unicase", 1157 - ] 1158 - 1159 - [[package]] 1160 - name = "mio" 1161 - version = "0.6.23" 1162 - source = "registry+https://github.com/rust-lang/crates.io-index" 1163 - checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" 1164 - dependencies = [ 1165 - "cfg-if 0.1.10", 1166 - "fuchsia-zircon", 1167 - "fuchsia-zircon-sys", 1168 - "iovec", 1169 - "kernel32-sys", 1170 - "libc", 1171 - "log", 1172 - "miow", 1173 - "net2", 1174 - "slab", 1175 - "winapi 0.2.8", 1176 - ] 1177 - 1178 - [[package]] 1179 - name = "miow" 1180 - version = "0.2.2" 1181 - source = "registry+https://github.com/rust-lang/crates.io-index" 1182 - checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" 1183 - dependencies = [ 1184 - "kernel32-sys", 1185 - "net2", 1186 - "winapi 0.2.8", 1187 - "ws2_32-sys", 1188 - ] 1189 - 1190 - [[package]] 1191 - name = "multipart" 1192 - version = "0.18.0" 1193 - source = "registry+https://github.com/rust-lang/crates.io-index" 1194 - checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" 1195 - dependencies = [ 1196 - "buf_redux", 1197 - "httparse", 1198 - "log", 1199 - "mime", 1200 - "mime_guess", 1201 - "quick-error", 1202 - "rand", 1203 - "safemem", 1204 - "tempfile", 1205 - "twoway", 1206 - ] 1207 - 1208 - [[package]] 1209 - name = "native-tls" 1210 - version = "0.2.8" 1211 - source = "registry+https://github.com/rust-lang/crates.io-index" 1212 - checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d" 1213 - dependencies = [ 1214 - "lazy_static", 1215 - "libc", 1216 - "log", 1217 - "openssl", 1218 - "openssl-probe", 1219 - "openssl-sys", 1220 - "schannel", 1221 - "security-framework", 1222 - "security-framework-sys", 1223 - "tempfile", 1224 - ] 1225 - 1226 - [[package]] 1227 - name = "net2" 1228 - version = "0.2.37" 1229 - source = "registry+https://github.com/rust-lang/crates.io-index" 1230 - checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" 1231 - dependencies = [ 1232 - "cfg-if 0.1.10", 1233 - "libc", 1234 - "winapi 0.3.9", 1235 - ] 1236 - 1237 - [[package]] 1238 - name = "no-std" 1239 - version = "0.1.0" 1240 - dependencies = [ 1241 - "wasm-bindgen", 1242 - ] 1243 - 1244 - [[package]] 1245 - name = "nom" 1246 - version = "5.1.2" 1247 - source = "registry+https://github.com/rust-lang/crates.io-index" 1248 - checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" 1249 - dependencies = [ 1250 - "memchr", 1251 - "version_check", 1252 - ] 1253 - 1254 - [[package]] 1255 - name = "nom" 1256 - version = "6.2.1" 1257 - source = "registry+https://github.com/rust-lang/crates.io-index" 1258 - checksum = "9c5c51b9083a3c620fa67a2a635d1ce7d95b897e957d6b28ff9a5da960a103a6" 1259 - dependencies = [ 1260 - "bitvec", 1261 - "funty", 1262 - "lexical-core", 1263 - "memchr", 1264 - "version_check", 1265 - ] 1266 - 1267 - [[package]] 1268 - name = "normalize-line-endings" 1269 - version = "0.3.0" 1270 - source = "registry+https://github.com/rust-lang/crates.io-index" 1271 - checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" 1272 - 1273 - [[package]] 1274 - name = "num-integer" 1275 - version = "0.1.44" 1276 - source = "registry+https://github.com/rust-lang/crates.io-index" 1277 - checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" 1278 - dependencies = [ 1279 - "autocfg", 1280 - "num-traits 0.2.14", 1281 - ] 1282 - 1283 - [[package]] 1284 - name = "num-iter" 1285 - version = "0.1.42" 1286 - source = "registry+https://github.com/rust-lang/crates.io-index" 1287 - checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59" 1288 - dependencies = [ 1289 - "autocfg", 1290 - "num-integer", 1291 - "num-traits 0.2.14", 1292 - ] 1293 - 1294 - [[package]] 1295 - name = "num-rational" 1296 - version = "0.1.42" 1297 - source = "registry+https://github.com/rust-lang/crates.io-index" 1298 - checksum = "ee314c74bd753fc86b4780aa9475da469155f3848473a261d2d18e35245a784e" 1299 - dependencies = [ 1300 - "num-integer", 1301 - "num-traits 0.2.14", 1302 - ] 1303 - 1304 - [[package]] 1305 - name = "num-traits" 1306 - version = "0.1.43" 1307 - source = "registry+https://github.com/rust-lang/crates.io-index" 1308 - checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31" 1309 - dependencies = [ 1310 - "num-traits 0.2.14", 1311 - ] 1312 - 1313 - [[package]] 1314 - name = "num-traits" 1315 - version = "0.2.14" 1316 - source = "registry+https://github.com/rust-lang/crates.io-index" 1317 - checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" 1318 - dependencies = [ 1319 - "autocfg", 1320 - ] 1321 - 1322 - [[package]] 1323 - name = "num_cpus" 1324 - version = "1.13.0" 1325 - source = "registry+https://github.com/rust-lang/crates.io-index" 1326 - checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 1327 - dependencies = [ 1328 - "hermit-abi", 1329 - "libc", 1330 - ] 1331 - 1332 - [[package]] 1333 - name = "once_cell" 1334 - version = "1.8.0" 1335 - source = "registry+https://github.com/rust-lang/crates.io-index" 1336 - checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" 1337 - 1338 - [[package]] 1339 - name = "openssl" 1340 - version = "0.10.36" 1341 - source = "registry+https://github.com/rust-lang/crates.io-index" 1342 - checksum = "8d9facdb76fec0b73c406f125d44d86fdad818d66fef0531eec9233ca425ff4a" 1343 - dependencies = [ 1344 - "bitflags 1.3.2", 1345 - "cfg-if 1.0.0", 1346 - "foreign-types", 1347 - "libc", 1348 - "once_cell", 1349 - "openssl-sys", 1350 - ] 1351 - 1352 - [[package]] 1353 - name = "openssl-probe" 1354 - version = "0.1.4" 1355 - source = "registry+https://github.com/rust-lang/crates.io-index" 1356 - checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" 1357 - 1358 - [[package]] 1359 - name = "openssl-src" 1360 - version = "111.16.0+1.1.1l" 1361 - source = "registry+https://github.com/rust-lang/crates.io-index" 1362 - checksum = "7ab2173f69416cf3ec12debb5823d244127d23a9b127d5a5189aa97c5fa2859f" 1363 - dependencies = [ 1364 - "cc", 1365 - ] 1366 - 1367 - [[package]] 1368 - name = "openssl-sys" 1369 - version = "0.9.67" 1370 - source = "registry+https://github.com/rust-lang/crates.io-index" 1371 - checksum = "69df2d8dfc6ce3aaf44b40dec6f487d5a886516cf6879c49e98e0710f310a058" 1372 - dependencies = [ 1373 - "autocfg", 1374 - "cc", 1375 - "libc", 1376 - "openssl-src", 1377 - "pkg-config", 1378 - "vcpkg", 1379 - ] 1380 - 1381 - [[package]] 1382 - name = "percent-encoding" 1383 - version = "2.1.0" 1384 - source = "registry+https://github.com/rust-lang/crates.io-index" 1385 - checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" 1386 - 1387 - [[package]] 1388 - name = "performance" 1389 - version = "0.1.0" 1390 - dependencies = [ 1391 - "humantime", 1392 - "wasm-bindgen", 1393 - "web-sys", 1394 - ] 1395 - 1396 - [[package]] 1397 - name = "pin-project" 1398 - version = "1.0.8" 1399 - source = "registry+https://github.com/rust-lang/crates.io-index" 1400 - checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08" 1401 - dependencies = [ 1402 - "pin-project-internal", 1403 - ] 1404 - 1405 - [[package]] 1406 - name = "pin-project-internal" 1407 - version = "1.0.8" 1408 - source = "registry+https://github.com/rust-lang/crates.io-index" 1409 - checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" 1410 - dependencies = [ 1411 - "proc-macro2", 1412 - "quote", 1413 - "syn", 1414 - ] 1415 - 1416 - [[package]] 1417 - name = "pin-project-lite" 1418 - version = "0.1.12" 1419 - source = "registry+https://github.com/rust-lang/crates.io-index" 1420 - checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" 1421 - 1422 - [[package]] 1423 - name = "pin-project-lite" 1424 - version = "0.2.7" 1425 - source = "registry+https://github.com/rust-lang/crates.io-index" 1426 - checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" 1427 - 1428 - [[package]] 1429 - name = "pin-utils" 1430 - version = "0.1.0" 1431 - source = "registry+https://github.com/rust-lang/crates.io-index" 1432 - checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1433 - 1434 - [[package]] 1435 - name = "pkg-config" 1436 - version = "0.3.20" 1437 - source = "registry+https://github.com/rust-lang/crates.io-index" 1438 - checksum = "7c9b1041b4387893b91ee6746cddfc28516aff326a3519fb2adf820932c5e6cb" 1439 - 1440 - [[package]] 1441 - name = "png" 1442 - version = "0.6.2" 1443 - source = "registry+https://github.com/rust-lang/crates.io-index" 1444 - checksum = "3cb773e9a557edb568ce9935cf783e3cdcabe06a9449d41b3e5506d88e582c82" 1445 - dependencies = [ 1446 - "bitflags 0.7.0", 1447 - "deflate", 1448 - "inflate", 1449 - "num-iter", 1450 - ] 1451 - 1452 - [[package]] 1453 - name = "ppv-lite86" 1454 - version = "0.2.10" 1455 - source = "registry+https://github.com/rust-lang/crates.io-index" 1456 - checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" 1457 - 1458 - [[package]] 1459 - name = "predicates" 1460 - version = "1.0.8" 1461 - source = "registry+https://github.com/rust-lang/crates.io-index" 1462 - checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" 1463 - dependencies = [ 1464 - "difference", 1465 - "float-cmp", 1466 - "normalize-line-endings", 1467 - "predicates-core", 1468 - "regex", 1469 - ] 1470 - 1471 - [[package]] 1472 - name = "predicates" 1473 - version = "2.0.3" 1474 - source = "registry+https://github.com/rust-lang/crates.io-index" 1475 - checksum = "5c6ce811d0b2e103743eec01db1c50612221f173084ce2f7941053e94b6bb474" 1476 - dependencies = [ 1477 - "difflib", 1478 - "itertools", 1479 - "predicates-core", 1480 - ] 1481 - 1482 - [[package]] 1483 - name = "predicates-core" 1484 - version = "1.0.2" 1485 - source = "registry+https://github.com/rust-lang/crates.io-index" 1486 - checksum = "57e35a3326b75e49aa85f5dc6ec15b41108cf5aee58eabb1f274dd18b73c2451" 1487 - 1488 - [[package]] 1489 - name = "predicates-tree" 1490 - version = "1.0.4" 1491 - source = "registry+https://github.com/rust-lang/crates.io-index" 1492 - checksum = "338c7be2905b732ae3984a2f40032b5e94fd8f52505b186c7d4d68d193445df7" 1493 - dependencies = [ 1494 - "predicates-core", 1495 - "termtree", 1496 - ] 1497 - 1498 - [[package]] 1499 - name = "proc-macro-error" 1500 - version = "1.0.4" 1501 - source = "registry+https://github.com/rust-lang/crates.io-index" 1502 - checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 1503 - dependencies = [ 1504 - "proc-macro-error-attr", 1505 - "proc-macro2", 1506 - "quote", 1507 - "syn", 1508 - "version_check", 1509 - ] 1510 - 1511 - [[package]] 1512 - name = "proc-macro-error-attr" 1513 - version = "1.0.4" 1514 - source = "registry+https://github.com/rust-lang/crates.io-index" 1515 - checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 1516 - dependencies = [ 1517 - "proc-macro2", 1518 - "quote", 1519 - "version_check", 1520 - ] 1521 - 1522 - [[package]] 1523 - name = "proc-macro-hack" 1524 - version = "0.5.19" 1525 - source = "registry+https://github.com/rust-lang/crates.io-index" 1526 - checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" 1527 - 1528 - [[package]] 1529 - name = "proc-macro-nested" 1530 - version = "0.1.7" 1531 - source = "registry+https://github.com/rust-lang/crates.io-index" 1532 - checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" 1533 - 1534 - [[package]] 1535 - name = "proc-macro2" 1536 - version = "1.0.30" 1537 - source = "registry+https://github.com/rust-lang/crates.io-index" 1538 - checksum = "edc3358ebc67bc8b7fa0c007f945b0b18226f78437d61bec735a9eb96b61ee70" 1539 - dependencies = [ 1540 - "unicode-xid", 1541 - ] 1542 - 1543 - [[package]] 1544 - name = "quick-error" 1545 - version = "1.2.3" 1546 - source = "registry+https://github.com/rust-lang/crates.io-index" 1547 - checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" 1548 - 1549 - [[package]] 1550 - name = "quote" 1551 - version = "1.0.10" 1552 - source = "registry+https://github.com/rust-lang/crates.io-index" 1553 - checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" 1554 - dependencies = [ 1555 - "proc-macro2", 1556 - ] 1557 - 1558 - [[package]] 1559 - name = "radium" 1560 - version = "0.5.3" 1561 - source = "registry+https://github.com/rust-lang/crates.io-index" 1562 - checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" 1563 - 1564 - [[package]] 1565 - name = "rand" 1566 - version = "0.8.4" 1567 - source = "registry+https://github.com/rust-lang/crates.io-index" 1568 - checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" 1569 - dependencies = [ 1570 - "libc", 1571 - "rand_chacha", 1572 - "rand_core", 1573 - "rand_hc", 1574 - ] 1575 - 1576 - [[package]] 1577 - name = "rand_chacha" 1578 - version = "0.3.1" 1579 - source = "registry+https://github.com/rust-lang/crates.io-index" 1580 - checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1581 - dependencies = [ 1582 - "ppv-lite86", 1583 - "rand_core", 1584 - ] 1585 - 1586 - [[package]] 1587 - name = "rand_core" 1588 - version = "0.6.3" 1589 - source = "registry+https://github.com/rust-lang/crates.io-index" 1590 - checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 1591 - dependencies = [ 1592 - "getrandom", 1593 - ] 1594 - 1595 - [[package]] 1596 - name = "rand_hc" 1597 - version = "0.3.1" 1598 - source = "registry+https://github.com/rust-lang/crates.io-index" 1599 - checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" 1600 - dependencies = [ 1601 - "rand_core", 1602 - ] 1603 - 1604 - [[package]] 1605 - name = "rayon" 1606 - version = "1.5.1" 1607 - source = "registry+https://github.com/rust-lang/crates.io-index" 1608 - checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" 1609 - dependencies = [ 1610 - "autocfg", 1611 - "crossbeam-deque", 1612 - "either", 1613 - "rayon-core", 1614 - ] 1615 - 1616 - [[package]] 1617 - name = "rayon-core" 1618 - version = "1.9.1" 1619 - source = "registry+https://github.com/rust-lang/crates.io-index" 1620 - checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" 1621 - dependencies = [ 1622 - "crossbeam-channel", 1623 - "crossbeam-deque", 1624 - "crossbeam-utils", 1625 - "lazy_static", 1626 - "num_cpus", 1627 - ] 1628 - 1629 - [[package]] 1630 - name = "raytrace-parallel" 1631 - version = "0.1.0" 1632 - dependencies = [ 1633 - "console_error_panic_hook", 1634 - "futures-channel-preview", 1635 - "js-sys", 1636 - "rayon", 1637 - "rayon-core", 1638 - "raytracer", 1639 - "wasm-bindgen", 1640 - "wasm-bindgen-futures", 1641 - "web-sys", 1642 - ] 1643 - 1644 - [[package]] 1645 - name = "raytracer" 1646 - version = "0.1.0" 1647 - source = "git+https://github.com/alexcrichton/raytracer?branch=update-deps#42faa13859f7d8d47fd18be785c108003a207786" 1648 - dependencies = [ 1649 - "image", 1650 - "serde", 1651 - "serde_derive", 1652 - ] 1653 - 1654 - [[package]] 1655 - name = "redox_syscall" 1656 - version = "0.2.10" 1657 - source = "registry+https://github.com/rust-lang/crates.io-index" 1658 - checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" 1659 - dependencies = [ 1660 - "bitflags 1.3.2", 1661 - ] 1662 - 1663 - [[package]] 1664 - name = "regex" 1665 - version = "1.4.6" 1666 - source = "registry+https://github.com/rust-lang/crates.io-index" 1667 - checksum = "2a26af418b574bd56588335b3a3659a65725d4e636eb1016c2f9e3b38c7cc759" 1668 - dependencies = [ 1669 - "aho-corasick", 1670 - "memchr", 1671 - "regex-syntax", 1672 - ] 1673 - 1674 - [[package]] 1675 - name = "regex-automata" 1676 - version = "0.1.10" 1677 - source = "registry+https://github.com/rust-lang/crates.io-index" 1678 - checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 1679 - 1680 - [[package]] 1681 - name = "regex-syntax" 1682 - version = "0.6.25" 1683 - source = "registry+https://github.com/rust-lang/crates.io-index" 1684 - checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" 1685 - 1686 - [[package]] 1687 - name = "remove_dir_all" 1688 - version = "0.5.3" 1689 - source = "registry+https://github.com/rust-lang/crates.io-index" 1690 - checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" 1691 - dependencies = [ 1692 - "winapi 0.3.9", 1693 - ] 1694 - 1695 - [[package]] 1696 - name = "request-animation-frame" 1697 - version = "0.1.0" 1698 - dependencies = [ 1699 - "wasm-bindgen", 1700 - "web-sys", 1701 - ] 1702 - 1703 - [[package]] 1704 - name = "reqwest" 1705 - version = "0.10.10" 1706 - source = "registry+https://github.com/rust-lang/crates.io-index" 1707 - checksum = "0718f81a8e14c4dbb3b34cf23dc6aaf9ab8a0dfec160c534b3dbca1aaa21f47c" 1708 - dependencies = [ 1709 - "base64 0.13.0", 1710 - "bytes 0.5.6", 1711 - "encoding_rs", 1712 - "futures-core", 1713 - "futures-util", 1714 - "http", 1715 - "http-body", 1716 - "hyper", 1717 - "hyper-tls", 1718 - "ipnet", 1719 - "js-sys", 1720 - "lazy_static", 1721 - "log", 1722 - "mime", 1723 - "mime_guess", 1724 - "native-tls", 1725 - "percent-encoding", 1726 - "pin-project-lite 0.2.7", 1727 - "serde", 1728 - "serde_urlencoded", 1729 - "tokio", 1730 - "tokio-tls", 1731 - "url", 1732 - "wasm-bindgen", 1733 - "wasm-bindgen-futures", 1734 - "web-sys", 1735 - "winreg", 1736 - ] 1737 - 1738 - [[package]] 1739 - name = "rouille" 1740 - version = "3.3.1" 1741 - source = "registry+https://github.com/rust-lang/crates.io-index" 1742 - checksum = "dfc1bcf3b32bd9ef568402e750404c369ff172a6a34597c858f8ccf5f3bed013" 1743 - dependencies = [ 1744 - "base64 0.13.0", 1745 - "chrono", 1746 - "filetime", 1747 - "multipart", 1748 - "num_cpus", 1749 - "percent-encoding", 1750 - "rand", 1751 - "serde", 1752 - "serde_derive", 1753 - "serde_json", 1754 - "sha1", 1755 - "threadpool", 1756 - "time 0.3.3", 1757 - "tiny_http", 1758 - "url", 1759 - ] 1760 - 1761 - [[package]] 1762 - name = "rust-duck-typed-interfaces" 1763 - version = "0.1.0" 1764 - dependencies = [ 1765 - "wasm-bindgen", 1766 - ] 1767 - 1768 - [[package]] 1769 - name = "rust-webassembly-weather-reports" 1770 - version = "0.1.1" 1771 - dependencies = [ 1772 - "chrono", 1773 - "gloo", 1774 - "json", 1775 - "reqwest", 1776 - "wasm-bindgen", 1777 - "wasm-bindgen-futures", 1778 - "web-sys", 1779 - ] 1780 - 1781 - [[package]] 1782 - name = "rustc-demangle" 1783 - version = "0.1.21" 1784 - source = "registry+https://github.com/rust-lang/crates.io-index" 1785 - checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" 1786 - 1787 - [[package]] 1788 - name = "ryu" 1789 - version = "1.0.5" 1790 - source = "registry+https://github.com/rust-lang/crates.io-index" 1791 - checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" 1792 - 1793 - [[package]] 1794 - name = "safemem" 1795 - version = "0.3.3" 1796 - source = "registry+https://github.com/rust-lang/crates.io-index" 1797 - checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" 1798 - 1799 - [[package]] 1800 - name = "sample" 1801 - version = "0.1.0" 1802 - dependencies = [ 1803 - "js-sys", 1804 - "wasm-bindgen", 1805 - "wasm-bindgen-futures", 1806 - "wasm-bindgen-test", 1807 - ] 1808 - 1809 - [[package]] 1810 - name = "schannel" 1811 - version = "0.1.19" 1812 - source = "registry+https://github.com/rust-lang/crates.io-index" 1813 - checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" 1814 - dependencies = [ 1815 - "lazy_static", 1816 - "winapi 0.3.9", 1817 - ] 1818 - 1819 - [[package]] 1820 - name = "scoped-tls" 1821 - version = "1.0.0" 1822 - source = "registry+https://github.com/rust-lang/crates.io-index" 1823 - checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" 1824 - 1825 - [[package]] 1826 - name = "scoped_threadpool" 1827 - version = "0.1.9" 1828 - source = "registry+https://github.com/rust-lang/crates.io-index" 1829 - checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8" 1830 - 1831 - [[package]] 1832 - name = "scopeguard" 1833 - version = "1.1.0" 1834 - source = "registry+https://github.com/rust-lang/crates.io-index" 1835 - checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 1836 - 1837 - [[package]] 1838 - name = "security-framework" 1839 - version = "2.4.2" 1840 - source = "registry+https://github.com/rust-lang/crates.io-index" 1841 - checksum = "525bc1abfda2e1998d152c45cf13e696f76d0a4972310b22fac1658b05df7c87" 1842 - dependencies = [ 1843 - "bitflags 1.3.2", 1844 - "core-foundation", 1845 - "core-foundation-sys", 1846 - "libc", 1847 - "security-framework-sys", 1848 - ] 1849 - 1850 - [[package]] 1851 - name = "security-framework-sys" 1852 - version = "2.4.2" 1853 - source = "registry+https://github.com/rust-lang/crates.io-index" 1854 - checksum = "a9dd14d83160b528b7bfd66439110573efcfbe281b17fc2ca9f39f550d619c7e" 1855 - dependencies = [ 1856 - "core-foundation-sys", 1857 - "libc", 1858 - ] 1859 - 1860 - [[package]] 1861 - name = "serde" 1862 - version = "1.0.130" 1863 - source = "registry+https://github.com/rust-lang/crates.io-index" 1864 - checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" 1865 - dependencies = [ 1866 - "serde_derive", 1867 - ] 1868 - 1869 - [[package]] 1870 - name = "serde_derive" 1871 - version = "1.0.130" 1872 - source = "registry+https://github.com/rust-lang/crates.io-index" 1873 - checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" 1874 - dependencies = [ 1875 - "proc-macro2", 1876 - "quote", 1877 - "syn", 1878 - ] 1879 - 1880 - [[package]] 1881 - name = "serde_json" 1882 - version = "1.0.68" 1883 - source = "registry+https://github.com/rust-lang/crates.io-index" 1884 - checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8" 1885 - dependencies = [ 1886 - "itoa", 1887 - "ryu", 1888 - "serde", 1889 - ] 1890 - 1891 - [[package]] 1892 - name = "serde_urlencoded" 1893 - version = "0.7.0" 1894 - source = "registry+https://github.com/rust-lang/crates.io-index" 1895 - checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9" 1896 - dependencies = [ 1897 - "form_urlencoded", 1898 - "itoa", 1899 - "ryu", 1900 - "serde", 1901 - ] 1902 - 1903 - [[package]] 1904 - name = "sha1" 1905 - version = "0.6.0" 1906 - source = "registry+https://github.com/rust-lang/crates.io-index" 1907 - checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" 1908 - 1909 - [[package]] 1910 - name = "slab" 1911 - version = "0.4.5" 1912 - source = "registry+https://github.com/rust-lang/crates.io-index" 1913 - checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" 1914 - 1915 - [[package]] 1916 - name = "socket2" 1917 - version = "0.3.19" 1918 - source = "registry+https://github.com/rust-lang/crates.io-index" 1919 - checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" 1920 - dependencies = [ 1921 - "cfg-if 1.0.0", 1922 - "libc", 1923 - "winapi 0.3.9", 1924 - ] 1925 - 1926 - [[package]] 1927 - name = "socket2" 1928 - version = "0.4.2" 1929 - source = "registry+https://github.com/rust-lang/crates.io-index" 1930 - checksum = "5dc90fe6c7be1a323296982db1836d1ea9e47b6839496dde9a541bc496df3516" 1931 - dependencies = [ 1932 - "libc", 1933 - "winapi 0.3.9", 1934 - ] 1935 - 1936 - [[package]] 1937 - name = "sourcefile" 1938 - version = "0.1.4" 1939 - source = "registry+https://github.com/rust-lang/crates.io-index" 1940 - checksum = "4bf77cb82ba8453b42b6ae1d692e4cdc92f9a47beaf89a847c8be83f4e328ad3" 1941 - 1942 - [[package]] 1943 - name = "static_assertions" 1944 - version = "1.1.0" 1945 - source = "registry+https://github.com/rust-lang/crates.io-index" 1946 - checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 1947 - 1948 - [[package]] 1949 - name = "strsim" 1950 - version = "0.8.0" 1951 - source = "registry+https://github.com/rust-lang/crates.io-index" 1952 - checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 1953 - 1954 - [[package]] 1955 - name = "strsim" 1956 - version = "0.10.0" 1957 - source = "registry+https://github.com/rust-lang/crates.io-index" 1958 - checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 1959 - 1960 - [[package]] 1961 - name = "structopt" 1962 - version = "0.3.23" 1963 - source = "registry+https://github.com/rust-lang/crates.io-index" 1964 - checksum = "bf9d950ef167e25e0bdb073cf1d68e9ad2795ac826f2f3f59647817cf23c0bfa" 1965 - dependencies = [ 1966 - "clap", 1967 - "lazy_static", 1968 - "structopt-derive", 1969 - ] 1970 - 1971 - [[package]] 1972 - name = "structopt-derive" 1973 - version = "0.4.16" 1974 - source = "registry+https://github.com/rust-lang/crates.io-index" 1975 - checksum = "134d838a2c9943ac3125cf6df165eda53493451b719f3255b2a26b85f772d0ba" 1976 - dependencies = [ 1977 - "heck", 1978 - "proc-macro-error", 1979 - "proc-macro2", 1980 - "quote", 1981 - "syn", 1982 - ] 1983 - 1984 - [[package]] 1985 - name = "syn" 1986 - version = "1.0.80" 1987 - source = "registry+https://github.com/rust-lang/crates.io-index" 1988 - checksum = "d010a1623fbd906d51d650a9916aaefc05ffa0e4053ff7fe601167f3e715d194" 1989 - dependencies = [ 1990 - "proc-macro2", 1991 - "quote", 1992 - "unicode-xid", 1993 - ] 1994 - 1995 - [[package]] 1996 - name = "tap" 1997 - version = "1.0.1" 1998 - source = "registry+https://github.com/rust-lang/crates.io-index" 1999 - checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 2000 - 2001 - [[package]] 2002 - name = "tempfile" 2003 - version = "3.2.0" 2004 - source = "registry+https://github.com/rust-lang/crates.io-index" 2005 - checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" 2006 - dependencies = [ 2007 - "cfg-if 1.0.0", 2008 - "libc", 2009 - "rand", 2010 - "redox_syscall", 2011 - "remove_dir_all", 2012 - "winapi 0.3.9", 2013 - ] 2014 - 2015 - [[package]] 2016 - name = "termcolor" 2017 - version = "1.1.2" 2018 - source = "registry+https://github.com/rust-lang/crates.io-index" 2019 - checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" 2020 - dependencies = [ 2021 - "winapi-util", 2022 - ] 2023 - 2024 - [[package]] 2025 - name = "termtree" 2026 - version = "0.2.1" 2027 - source = "registry+https://github.com/rust-lang/crates.io-index" 2028 - checksum = "78fbf2dd23e79c28ccfa2472d3e6b3b189866ffef1aeb91f17c2d968b6586378" 2029 - 2030 - [[package]] 2031 - name = "textwrap" 2032 - version = "0.11.0" 2033 - source = "registry+https://github.com/rust-lang/crates.io-index" 2034 - checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 2035 - dependencies = [ 2036 - "unicode-width", 2037 - ] 2038 - 2039 - [[package]] 2040 - name = "threadpool" 2041 - version = "1.8.1" 2042 - source = "registry+https://github.com/rust-lang/crates.io-index" 2043 - checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" 2044 - dependencies = [ 2045 - "num_cpus", 2046 - ] 2047 - 2048 - [[package]] 2049 - name = "time" 2050 - version = "0.1.43" 2051 - source = "registry+https://github.com/rust-lang/crates.io-index" 2052 - checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" 2053 - dependencies = [ 2054 - "libc", 2055 - "winapi 0.3.9", 2056 - ] 2057 - 2058 - [[package]] 2059 - name = "time" 2060 - version = "0.3.3" 2061 - source = "registry+https://github.com/rust-lang/crates.io-index" 2062 - checksum = "cde1cf55178e0293453ba2cca0d5f8392a922e52aa958aee9c28ed02becc6d03" 2063 - dependencies = [ 2064 - "libc", 2065 - ] 2066 - 2067 - [[package]] 2068 - name = "tiny_http" 2069 - version = "0.8.2" 2070 - source = "registry+https://github.com/rust-lang/crates.io-index" 2071 - checksum = "9ce51b50006056f590c9b7c3808c3bd70f0d1101666629713866c227d6e58d39" 2072 - dependencies = [ 2073 - "ascii", 2074 - "chrono", 2075 - "chunked_transfer", 2076 - "log", 2077 - "url", 2078 - ] 2079 - 2080 - [[package]] 2081 - name = "tinyvec" 2082 - version = "1.5.0" 2083 - source = "registry+https://github.com/rust-lang/crates.io-index" 2084 - checksum = "f83b2a3d4d9091d0abd7eba4dc2710b1718583bd4d8992e2190720ea38f391f7" 2085 - dependencies = [ 2086 - "tinyvec_macros", 2087 - ] 2088 - 2089 - [[package]] 2090 - name = "tinyvec_macros" 2091 - version = "0.1.0" 2092 - source = "registry+https://github.com/rust-lang/crates.io-index" 2093 - checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" 2094 - 2095 - [[package]] 2096 - name = "todomvc" 2097 - version = "0.1.0" 2098 - dependencies = [ 2099 - "askama", 2100 - "console_error_panic_hook", 2101 - "js-sys", 2102 - "wasm-bindgen", 2103 - "web-sys", 2104 - ] 2105 - 2106 - [[package]] 2107 - name = "tokio" 2108 - version = "0.2.25" 2109 - source = "registry+https://github.com/rust-lang/crates.io-index" 2110 - checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092" 2111 - dependencies = [ 2112 - "bytes 0.5.6", 2113 - "fnv", 2114 - "futures-core", 2115 - "iovec", 2116 - "lazy_static", 2117 - "memchr", 2118 - "mio", 2119 - "pin-project-lite 0.1.12", 2120 - "slab", 2121 - ] 2122 - 2123 - [[package]] 2124 - name = "tokio-tls" 2125 - version = "0.3.1" 2126 - source = "registry+https://github.com/rust-lang/crates.io-index" 2127 - checksum = "9a70f4fcd7b3b24fb194f837560168208f669ca8cb70d0c4b862944452396343" 2128 - dependencies = [ 2129 - "native-tls", 2130 - "tokio", 2131 - ] 2132 - 2133 - [[package]] 2134 - name = "tokio-util" 2135 - version = "0.3.1" 2136 - source = "registry+https://github.com/rust-lang/crates.io-index" 2137 - checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" 2138 - dependencies = [ 2139 - "bytes 0.5.6", 2140 - "futures-core", 2141 - "futures-sink", 2142 - "log", 2143 - "pin-project-lite 0.1.12", 2144 - "tokio", 2145 - ] 2146 - 2147 - [[package]] 2148 - name = "toml" 2149 - version = "0.5.8" 2150 - source = "registry+https://github.com/rust-lang/crates.io-index" 2151 - checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" 2152 - dependencies = [ 2153 - "serde", 2154 - ] 2155 - 2156 - [[package]] 2157 - name = "tower-service" 2158 - version = "0.3.1" 2159 - source = "registry+https://github.com/rust-lang/crates.io-index" 2160 - checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" 2161 - 2162 - [[package]] 2163 - name = "tracing" 2164 - version = "0.1.29" 2165 - source = "registry+https://github.com/rust-lang/crates.io-index" 2166 - checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" 2167 - dependencies = [ 2168 - "cfg-if 1.0.0", 2169 - "log", 2170 - "pin-project-lite 0.2.7", 2171 - "tracing-core", 2172 - ] 2173 - 2174 - [[package]] 2175 - name = "tracing-core" 2176 - version = "0.1.21" 2177 - source = "registry+https://github.com/rust-lang/crates.io-index" 2178 - checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" 2179 - dependencies = [ 2180 - "lazy_static", 2181 - ] 2182 - 2183 - [[package]] 2184 - name = "tracing-futures" 2185 - version = "0.2.5" 2186 - source = "registry+https://github.com/rust-lang/crates.io-index" 2187 - checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" 2188 - dependencies = [ 2189 - "pin-project", 2190 - "tracing", 2191 - ] 2192 - 2193 - [[package]] 2194 - name = "try-lock" 2195 - version = "0.2.3" 2196 - source = "registry+https://github.com/rust-lang/crates.io-index" 2197 - checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" 2198 - 2199 - [[package]] 2200 - name = "trybuild" 2201 - version = "1.0.50" 2202 - source = "registry+https://github.com/rust-lang/crates.io-index" 2203 - checksum = "dbaccfa9796293406a02ec790614628c88d0b3246249a620ac1ee7076274716b" 2204 - dependencies = [ 2205 - "glob", 2206 - "lazy_static", 2207 - "serde", 2208 - "serde_json", 2209 - "termcolor", 2210 - "toml", 2211 - ] 2212 - 2213 - [[package]] 2214 - name = "twoway" 2215 - version = "0.1.8" 2216 - source = "registry+https://github.com/rust-lang/crates.io-index" 2217 - checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1" 2218 - dependencies = [ 2219 - "memchr", 2220 - ] 2221 - 2222 - [[package]] 2223 - name = "typescript-tests" 2224 - version = "0.1.0" 2225 - dependencies = [ 2226 - "js-sys", 2227 - "wasm-bindgen", 2228 - "wasm-bindgen-futures", 2229 - "web-sys", 2230 - ] 2231 - 2232 - [[package]] 2233 - name = "unicase" 2234 - version = "2.6.0" 2235 - source = "registry+https://github.com/rust-lang/crates.io-index" 2236 - checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" 2237 - dependencies = [ 2238 - "version_check", 2239 - ] 2240 - 2241 - [[package]] 2242 - name = "unicode-bidi" 2243 - version = "0.3.7" 2244 - source = "registry+https://github.com/rust-lang/crates.io-index" 2245 - checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" 2246 - 2247 - [[package]] 2248 - name = "unicode-normalization" 2249 - version = "0.1.19" 2250 - source = "registry+https://github.com/rust-lang/crates.io-index" 2251 - checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" 2252 - dependencies = [ 2253 - "tinyvec", 2254 - ] 2255 - 2256 - [[package]] 2257 - name = "unicode-segmentation" 2258 - version = "1.8.0" 2259 - source = "registry+https://github.com/rust-lang/crates.io-index" 2260 - checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" 2261 - 2262 - [[package]] 2263 - name = "unicode-width" 2264 - version = "0.1.9" 2265 - source = "registry+https://github.com/rust-lang/crates.io-index" 2266 - checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" 2267 - 2268 - [[package]] 2269 - name = "unicode-xid" 2270 - version = "0.2.2" 2271 - source = "registry+https://github.com/rust-lang/crates.io-index" 2272 - checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" 2273 - 2274 - [[package]] 2275 - name = "url" 2276 - version = "2.2.2" 2277 - source = "registry+https://github.com/rust-lang/crates.io-index" 2278 - checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" 2279 - dependencies = [ 2280 - "form_urlencoded", 2281 - "idna", 2282 - "matches", 2283 - "percent-encoding", 2284 - ] 2285 - 2286 - [[package]] 2287 - name = "vcpkg" 2288 - version = "0.2.15" 2289 - source = "registry+https://github.com/rust-lang/crates.io-index" 2290 - checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 2291 - 2292 - [[package]] 2293 - name = "vec_map" 2294 - version = "0.8.2" 2295 - source = "registry+https://github.com/rust-lang/crates.io-index" 2296 - checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 2297 - 2298 - [[package]] 2299 - name = "version_check" 2300 - version = "0.9.3" 2301 - source = "registry+https://github.com/rust-lang/crates.io-index" 2302 - checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" 2303 - 2304 - [[package]] 2305 - name = "wait-timeout" 2306 - version = "0.2.0" 2307 - source = "registry+https://github.com/rust-lang/crates.io-index" 2308 - checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" 2309 - dependencies = [ 2310 - "libc", 2311 - ] 2312 - 2313 - [[package]] 2314 - name = "walrus" 2315 - version = "0.19.0" 2316 - source = "registry+https://github.com/rust-lang/crates.io-index" 2317 - checksum = "4eb08e48cde54c05f363d984bb54ce374f49e242def9468d2e1b6c2372d291f8" 2318 - dependencies = [ 2319 - "anyhow", 2320 - "id-arena", 2321 - "leb128", 2322 - "log", 2323 - "rayon", 2324 - "walrus-macro", 2325 - "wasmparser 0.77.0", 2326 - ] 2327 - 2328 - [[package]] 2329 - name = "walrus-macro" 2330 - version = "0.19.0" 2331 - source = "registry+https://github.com/rust-lang/crates.io-index" 2332 - checksum = "0a6e5bd22c71e77d60140b0bd5be56155a37e5bd14e24f5f87298040d0cc40d7" 2333 - dependencies = [ 2334 - "heck", 2335 - "proc-macro2", 2336 - "quote", 2337 - "syn", 2338 - ] 2339 - 2340 - [[package]] 2341 - name = "want" 2342 - version = "0.3.0" 2343 - source = "registry+https://github.com/rust-lang/crates.io-index" 2344 - checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" 2345 - dependencies = [ 2346 - "log", 2347 - "try-lock", 2348 - ] 2349 - 2350 - [[package]] 2351 - name = "wasi" 2352 - version = "0.10.2+wasi-snapshot-preview1" 2353 - source = "registry+https://github.com/rust-lang/crates.io-index" 2354 - checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" 2355 - 2356 - [[package]] 2357 - name = "wasm-bindgen" 2358 - version = "0.2.78" 2359 - dependencies = [ 2360 - "cfg-if 1.0.0", 2361 - "js-sys", 2362 - "serde", 2363 - "serde_derive", 2364 - "serde_json", 2365 - "wasm-bindgen-futures", 2366 - "wasm-bindgen-macro", 2367 - "wasm-bindgen-test", 2368 - "wasm-bindgen-test-crate-a", 2369 - "wasm-bindgen-test-crate-b", 2370 - ] 2371 - 2372 - [[package]] 2373 - name = "wasm-bindgen-backend" 2374 - version = "0.2.78" 2375 - dependencies = [ 2376 - "bumpalo", 2377 - "lazy_static", 2378 - "log", 2379 - "proc-macro2", 2380 - "quote", 2381 - "syn", 2382 - "wasm-bindgen-shared", 2383 - ] 2384 - 2385 - [[package]] 2386 - name = "wasm-bindgen-benchmark" 2387 - version = "0.1.0" 2388 - dependencies = [ 2389 - "wasm-bindgen", 2390 - "web-sys", 2391 - ] 2392 - 2393 - [[package]] 2394 - name = "wasm-bindgen-cli" 2395 - version = "0.2.78" 2396 - dependencies = [ 2397 - "anyhow", 2398 - "assert_cmd", 2399 - "curl", 2400 - "diff", 2401 - "docopt", 2402 - "env_logger", 2403 - "log", 2404 - "openssl", 2405 - "predicates 1.0.8", 2406 - "rayon", 2407 - "rouille", 2408 - "serde", 2409 - "serde_derive", 2410 - "serde_json", 2411 - "tempfile", 2412 - "walrus", 2413 - "wasm-bindgen-cli-support", 2414 - "wasm-bindgen-shared", 2415 - "wit-printer", 2416 - "wit-text", 2417 - "wit-validator", 2418 - "wit-walrus", 2419 - ] 2420 - 2421 - [[package]] 2422 - name = "wasm-bindgen-cli-support" 2423 - version = "0.2.78" 2424 - dependencies = [ 2425 - "anyhow", 2426 - "base64 0.9.3", 2427 - "log", 2428 - "rustc-demangle", 2429 - "serde_json", 2430 - "tempfile", 2431 - "walrus", 2432 - "wasm-bindgen-externref-xform", 2433 - "wasm-bindgen-multi-value-xform", 2434 - "wasm-bindgen-shared", 2435 - "wasm-bindgen-threads-xform", 2436 - "wasm-bindgen-wasm-conventions", 2437 - "wasm-bindgen-wasm-interpreter", 2438 - "wit-text", 2439 - "wit-validator", 2440 - "wit-walrus", 2441 - ] 2442 - 2443 - [[package]] 2444 - name = "wasm-bindgen-externref-xform" 2445 - version = "0.2.78" 2446 - dependencies = [ 2447 - "anyhow", 2448 - "rayon", 2449 - "walrus", 2450 - "wasmprinter", 2451 - "wast 21.0.0", 2452 - "wat", 2453 - ] 2454 - 2455 - [[package]] 2456 - name = "wasm-bindgen-futures" 2457 - version = "0.4.28" 2458 - dependencies = [ 2459 - "cfg-if 1.0.0", 2460 - "futures-channel-preview", 2461 - "futures-core", 2462 - "futures-lite", 2463 - "js-sys", 2464 - "wasm-bindgen", 2465 - "wasm-bindgen-test", 2466 - "web-sys", 2467 - ] 2468 - 2469 - [[package]] 2470 - name = "wasm-bindgen-macro" 2471 - version = "0.2.78" 2472 - dependencies = [ 2473 - "quote", 2474 - "trybuild", 2475 - "wasm-bindgen", 2476 - "wasm-bindgen-futures", 2477 - "wasm-bindgen-macro-support", 2478 - ] 2479 - 2480 - [[package]] 2481 - name = "wasm-bindgen-macro-support" 2482 - version = "0.2.78" 2483 - dependencies = [ 2484 - "proc-macro2", 2485 - "quote", 2486 - "syn", 2487 - "wasm-bindgen-backend", 2488 - "wasm-bindgen-shared", 2489 - ] 2490 - 2491 - [[package]] 2492 - name = "wasm-bindgen-multi-value-xform" 2493 - version = "0.2.78" 2494 - dependencies = [ 2495 - "anyhow", 2496 - "rayon", 2497 - "walrus", 2498 - "wasmprinter", 2499 - "wast 21.0.0", 2500 - "wat", 2501 - ] 2502 - 2503 - [[package]] 2504 - name = "wasm-bindgen-paint" 2505 - version = "0.1.0" 2506 - dependencies = [ 2507 - "js-sys", 2508 - "wasm-bindgen", 2509 - "web-sys", 2510 - ] 2511 - 2512 - [[package]] 2513 - name = "wasm-bindgen-shared" 2514 - version = "0.2.78" 2515 - 2516 - [[package]] 2517 - name = "wasm-bindgen-test" 2518 - version = "0.3.28" 2519 - dependencies = [ 2520 - "console_error_panic_hook", 2521 - "js-sys", 2522 - "scoped-tls", 2523 - "wasm-bindgen", 2524 - "wasm-bindgen-futures", 2525 - "wasm-bindgen-test-macro", 2526 - ] 2527 - 2528 - [[package]] 2529 - name = "wasm-bindgen-test-crate-a" 2530 - version = "0.1.0" 2531 - dependencies = [ 2532 - "wasm-bindgen", 2533 - ] 2534 - 2535 - [[package]] 2536 - name = "wasm-bindgen-test-crate-b" 2537 - version = "0.1.0" 2538 - dependencies = [ 2539 - "wasm-bindgen", 2540 - ] 2541 - 2542 - [[package]] 2543 - name = "wasm-bindgen-test-macro" 2544 - version = "0.3.28" 2545 - dependencies = [ 2546 - "proc-macro2", 2547 - "quote", 2548 - ] 2549 - 2550 - [[package]] 2551 - name = "wasm-bindgen-threads-xform" 2552 - version = "0.2.78" 2553 - dependencies = [ 2554 - "anyhow", 2555 - "walrus", 2556 - "wasm-bindgen-wasm-conventions", 2557 - ] 2558 - 2559 - [[package]] 2560 - name = "wasm-bindgen-wasm-conventions" 2561 - version = "0.2.78" 2562 - dependencies = [ 2563 - "anyhow", 2564 - "walrus", 2565 - ] 2566 - 2567 - [[package]] 2568 - name = "wasm-bindgen-wasm-interpreter" 2569 - version = "0.2.78" 2570 - dependencies = [ 2571 - "anyhow", 2572 - "log", 2573 - "tempfile", 2574 - "walrus", 2575 - "wasm-bindgen-wasm-conventions", 2576 - "wat", 2577 - ] 2578 - 2579 - [[package]] 2580 - name = "wasm-bindgen-webidl" 2581 - version = "0.2.76" 2582 - dependencies = [ 2583 - "anyhow", 2584 - "env_logger", 2585 - "heck", 2586 - "lazy_static", 2587 - "log", 2588 - "proc-macro2", 2589 - "quote", 2590 - "sourcefile", 2591 - "structopt", 2592 - "syn", 2593 - "wasm-bindgen-backend", 2594 - "weedle", 2595 - ] 2596 - 2597 - [[package]] 2598 - name = "wasm-in-wasm" 2599 - version = "0.1.0" 2600 - dependencies = [ 2601 - "js-sys", 2602 - "wasm-bindgen", 2603 - "wasm-bindgen-futures", 2604 - ] 2605 - 2606 - [[package]] 2607 - name = "wasm-in-wasm-imports" 2608 - version = "0.1.0" 2609 - dependencies = [ 2610 - "js-sys", 2611 - "wasm-bindgen", 2612 - "wasm-bindgen-futures", 2613 - ] 2614 - 2615 - [[package]] 2616 - name = "wasm-in-web-worker" 2617 - version = "0.1.0" 2618 - dependencies = [ 2619 - "console_error_panic_hook", 2620 - "wasm-bindgen", 2621 - "web-sys", 2622 - ] 2623 - 2624 - [[package]] 2625 - name = "wasm2js" 2626 - version = "0.1.0" 2627 - dependencies = [ 2628 - "wasm-bindgen", 2629 - ] 2630 - 2631 - [[package]] 2632 - name = "wasmparser" 2633 - version = "0.59.0" 2634 - source = "registry+https://github.com/rust-lang/crates.io-index" 2635 - checksum = "a950e6a618f62147fd514ff445b2a0b53120d382751960797f85f058c7eda9b9" 2636 - 2637 - [[package]] 2638 - name = "wasmparser" 2639 - version = "0.77.0" 2640 - source = "registry+https://github.com/rust-lang/crates.io-index" 2641 - checksum = "b35c86d22e720a07d954ebbed772d01180501afe7d03d464f413bb5f8914a8d6" 2642 - 2643 - [[package]] 2644 - name = "wasmparser" 2645 - version = "0.80.2" 2646 - source = "registry+https://github.com/rust-lang/crates.io-index" 2647 - checksum = "449167e2832691a1bff24cde28d2804e90e09586a448c8e76984792c44334a6b" 2648 - 2649 - [[package]] 2650 - name = "wasmprinter" 2651 - version = "0.2.30" 2652 - source = "registry+https://github.com/rust-lang/crates.io-index" 2653 - checksum = "bf83acd0a74a68f7b96acddc6035af45a09659d53f877b73aa22c816ed3e71e7" 2654 - dependencies = [ 2655 - "anyhow", 2656 - "wasmparser 0.80.2", 2657 - ] 2658 - 2659 - [[package]] 2660 - name = "wast" 2661 - version = "21.0.0" 2662 - source = "registry+https://github.com/rust-lang/crates.io-index" 2663 - checksum = "0b1844f66a2bc8526d71690104c0e78a8e59ffa1597b7245769d174ebb91deb5" 2664 - dependencies = [ 2665 - "leb128", 2666 - ] 2667 - 2668 - [[package]] 2669 - name = "wast" 2670 - version = "38.0.1" 2671 - source = "registry+https://github.com/rust-lang/crates.io-index" 2672 - checksum = "ae0d7b256bef26c898fa7344a2d627e8499f5a749432ce0a05eae1a64ff0c271" 2673 - dependencies = [ 2674 - "leb128", 2675 - ] 2676 - 2677 - [[package]] 2678 - name = "wat" 2679 - version = "1.0.40" 2680 - source = "registry+https://github.com/rust-lang/crates.io-index" 2681 - checksum = "adcfaeb27e2578d2c6271a45609f4a055e6d7ba3a12eff35b1fd5ba147bdf046" 2682 - dependencies = [ 2683 - "wast 38.0.1", 2684 - ] 2685 - 2686 - [[package]] 2687 - name = "web-sys" 2688 - version = "0.3.55" 2689 - dependencies = [ 2690 - "js-sys", 2691 - "wasm-bindgen", 2692 - "wasm-bindgen-futures", 2693 - "wasm-bindgen-test", 2694 - ] 2695 - 2696 - [[package]] 2697 - name = "webaudio" 2698 - version = "0.1.0" 2699 - dependencies = [ 2700 - "wasm-bindgen", 2701 - "web-sys", 2702 - ] 2703 - 2704 - [[package]] 2705 - name = "webgl" 2706 - version = "0.1.0" 2707 - dependencies = [ 2708 - "js-sys", 2709 - "wasm-bindgen", 2710 - "web-sys", 2711 - ] 2712 - 2713 - [[package]] 2714 - name = "webidl-tests" 2715 - version = "0.1.0" 2716 - dependencies = [ 2717 - "js-sys", 2718 - "wasm-bindgen", 2719 - "wasm-bindgen-futures", 2720 - "wasm-bindgen-test", 2721 - "wasm-bindgen-webidl", 2722 - ] 2723 - 2724 - [[package]] 2725 - name = "webrtc_datachannel" 2726 - version = "0.1.0" 2727 - dependencies = [ 2728 - "js-sys", 2729 - "wasm-bindgen", 2730 - "wasm-bindgen-futures", 2731 - "web-sys", 2732 - ] 2733 - 2734 - [[package]] 2735 - name = "websockets" 2736 - version = "0.1.0" 2737 - dependencies = [ 2738 - "js-sys", 2739 - "wasm-bindgen", 2740 - "web-sys", 2741 - ] 2742 - 2743 - [[package]] 2744 - name = "webxr" 2745 - version = "0.1.0" 2746 - dependencies = [ 2747 - "futures", 2748 - "js-sys", 2749 - "serde", 2750 - "serde_derive", 2751 - "wasm-bindgen", 2752 - "wasm-bindgen-futures", 2753 - "web-sys", 2754 - ] 2755 - 2756 - [[package]] 2757 - name = "weedle" 2758 - version = "0.12.0" 2759 - source = "registry+https://github.com/rust-lang/crates.io-index" 2760 - checksum = "610950904727748ca09682e857f0d6d6437f0ca862f32f9229edba8cec8b2635" 2761 - dependencies = [ 2762 - "nom 5.1.2", 2763 - ] 2764 - 2765 - [[package]] 2766 - name = "winapi" 2767 - version = "0.2.8" 2768 - source = "registry+https://github.com/rust-lang/crates.io-index" 2769 - checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" 2770 - 2771 - [[package]] 2772 - name = "winapi" 2773 - version = "0.3.9" 2774 - source = "registry+https://github.com/rust-lang/crates.io-index" 2775 - checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2776 - dependencies = [ 2777 - "winapi-i686-pc-windows-gnu", 2778 - "winapi-x86_64-pc-windows-gnu", 2779 - ] 2780 - 2781 - [[package]] 2782 - name = "winapi-build" 2783 - version = "0.1.1" 2784 - source = "registry+https://github.com/rust-lang/crates.io-index" 2785 - checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" 2786 - 2787 - [[package]] 2788 - name = "winapi-i686-pc-windows-gnu" 2789 - version = "0.4.0" 2790 - source = "registry+https://github.com/rust-lang/crates.io-index" 2791 - checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2792 - 2793 - [[package]] 2794 - name = "winapi-util" 2795 - version = "0.1.5" 2796 - source = "registry+https://github.com/rust-lang/crates.io-index" 2797 - checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 2798 - dependencies = [ 2799 - "winapi 0.3.9", 2800 - ] 2801 - 2802 - [[package]] 2803 - name = "winapi-x86_64-pc-windows-gnu" 2804 - version = "0.4.0" 2805 - source = "registry+https://github.com/rust-lang/crates.io-index" 2806 - checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2807 - 2808 - [[package]] 2809 - name = "winreg" 2810 - version = "0.7.0" 2811 - source = "registry+https://github.com/rust-lang/crates.io-index" 2812 - checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" 2813 - dependencies = [ 2814 - "winapi 0.3.9", 2815 - ] 2816 - 2817 - [[package]] 2818 - name = "wit-parser" 2819 - version = "0.2.0" 2820 - source = "registry+https://github.com/rust-lang/crates.io-index" 2821 - checksum = "3f5fd97866f4b9c8e1ed57bcf9446f3d0d8ba37e2dd01c3c612c046c053b06f7" 2822 - dependencies = [ 2823 - "anyhow", 2824 - "leb128", 2825 - "wit-schema-version", 2826 - ] 2827 - 2828 - [[package]] 2829 - name = "wit-printer" 2830 - version = "0.2.0" 2831 - source = "registry+https://github.com/rust-lang/crates.io-index" 2832 - checksum = "93f19ca44555a3c14d69acee6447a6e4f52771b0c6e5d8db3e42db3b90f6fce9" 2833 - dependencies = [ 2834 - "anyhow", 2835 - "wasmprinter", 2836 - "wit-parser", 2837 - "wit-schema-version", 2838 - ] 2839 - 2840 - [[package]] 2841 - name = "wit-schema-version" 2842 - version = "0.1.0" 2843 - source = "registry+https://github.com/rust-lang/crates.io-index" 2844 - checksum = "bfee4a6a4716eefa0682e7a3b836152e894a3e4f34a9d6c2c3e1c94429bfe36a" 2845 - 2846 - [[package]] 2847 - name = "wit-text" 2848 - version = "0.8.0" 2849 - source = "registry+https://github.com/rust-lang/crates.io-index" 2850 - checksum = "33358e95c77d660f1c7c07f4a93c2bd89768965e844e3c50730bb4b42658df5f" 2851 - dependencies = [ 2852 - "anyhow", 2853 - "wast 21.0.0", 2854 - "wit-writer", 2855 - ] 2856 - 2857 - [[package]] 2858 - name = "wit-validator" 2859 - version = "0.2.1" 2860 - source = "registry+https://github.com/rust-lang/crates.io-index" 2861 - checksum = "3c11d93d925420e7872b226c4161849c32be38385ccab026b88df99d8ddc6ba6" 2862 - dependencies = [ 2863 - "anyhow", 2864 - "wasmparser 0.59.0", 2865 - "wit-parser", 2866 - "wit-schema-version", 2867 - ] 2868 - 2869 - [[package]] 2870 - name = "wit-walrus" 2871 - version = "0.6.0" 2872 - source = "registry+https://github.com/rust-lang/crates.io-index" 2873 - checksum = "ad559e3e4c6404b2a6a675d44129d62a3836e3b951b90112fa1c5feb852757cd" 2874 - dependencies = [ 2875 - "anyhow", 2876 - "id-arena", 2877 - "walrus", 2878 - "wit-parser", 2879 - "wit-schema-version", 2880 - "wit-writer", 2881 - ] 2882 - 2883 - [[package]] 2884 - name = "wit-writer" 2885 - version = "0.2.0" 2886 - source = "registry+https://github.com/rust-lang/crates.io-index" 2887 - checksum = "c2ad01ba5e9cbcff799a0689e56a153776ea694cec777f605938cb9880d41a09" 2888 - dependencies = [ 2889 - "leb128", 2890 - "wit-schema-version", 2891 - ] 2892 - 2893 - [[package]] 2894 - name = "without-a-bundler" 2895 - version = "0.1.0" 2896 - dependencies = [ 2897 - "wasm-bindgen", 2898 - "web-sys", 2899 - ] 2900 - 2901 - [[package]] 2902 - name = "without-a-bundler-no-modules" 2903 - version = "0.1.0" 2904 - dependencies = [ 2905 - "wasm-bindgen", 2906 - "web-sys", 2907 - ] 2908 - 2909 - [[package]] 2910 - name = "ws2_32-sys" 2911 - version = "0.2.1" 2912 - source = "registry+https://github.com/rust-lang/crates.io-index" 2913 - checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" 2914 - dependencies = [ 2915 - "winapi 0.2.8", 2916 - "winapi-build", 2917 - ] 2918 - 2919 - [[package]] 2920 - name = "wyz" 2921 - version = "0.2.0" 2922 - source = "registry+https://github.com/rust-lang/crates.io-index" 2923 - checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
+19 -23
pkgs/development/tools/wasm-bindgen-cli/default.nix
··· 1 - { rustPlatform 2 - , fetchFromGitHub 3 - , lib 1 + { lib 2 + , rustPlatform 3 + , fetchCrate 4 + , nodejs 5 + , pkg-config 4 6 , openssl 5 - , pkg-config 6 7 , stdenv 7 8 , curl 8 9 , Security ··· 13 14 pname = "wasm-bindgen-cli"; 14 15 version = "0.2.78"; 15 16 16 - src = 17 - let 18 - tarball = fetchFromGitHub { 19 - owner = "rustwasm"; 20 - repo = "wasm-bindgen"; 21 - rev = version; 22 - hash = "sha256-1Z5d4gjZUic6Yrd+O8oLWYpJqAYGcByZYP0H1iInXHA="; 23 - }; 24 - in 25 - runCommand "source" { } '' 26 - cp -R ${tarball} $out 27 - chmod -R +w $out 28 - cp ${./Cargo.lock} $out/Cargo.lock 29 - ''; 17 + src = fetchCrate { 18 + inherit pname version; 19 + sha256 = "sha256-5s+HidnVfDV0AXA+/YcXNGVjv/E9JeK0Ttng4mCVX8M="; 20 + }; 21 + 22 + cargoSha256 = "sha256-CbtjUFwowP/QqyAMCzmUiSib4EpRhQAmO4ekX00xYGE="; 30 23 31 - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ]; 32 24 nativeBuildInputs = [ pkg-config ]; 33 25 34 - cargoHash = "sha256-RixIEat7EzGzgSQTnPennePpiucmAatrDGhbFSfTajo="; 35 - cargoBuildFlags = [ "-p" pname ]; 26 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl Security ]; 27 + 28 + checkInputs = [ nodejs ]; 29 + 30 + # other tests require it to be ran in the wasm-bindgen monorepo 31 + cargoTestFlags = [ "--test=interface-types" ]; 36 32 37 33 meta = with lib; { 38 34 homepage = "https://rustwasm.github.io/docs/wasm-bindgen/"; 39 - license = licenses.asl20; 35 + license = with licenses; [ asl20 /* or */ mit ]; 40 36 description = "Facilitating high-level interactions between wasm modules and JavaScript"; 41 37 maintainers = with maintainers; [ ma27 nitsky rizary ]; 42 - platforms = platforms.unix; 38 + mainProgram = "wasm-bindgen"; 43 39 }; 44 40 }
+103
pkgs/games/runescape-launcher/default.nix
··· 1 + { stdenv, lib, buildFHSUserEnv, dpkg, glibc, gcc-unwrapped, autoPatchelfHook, fetchurl, wrapGAppsHook 2 + , gnome2, xorg 3 + , libSM, libXxf86vm, libX11, glib, pango, cairo, gtk2-x11, zlib, openssl 4 + , libpulseaudio 5 + , SDL2, xorg_sys_opengl, libGL 6 + }: 7 + let 8 + 9 + runescape = stdenv.mkDerivation rec { 10 + pname = "runescape-launcher"; 11 + version = "2.2.9"; 12 + 13 + src = fetchurl { 14 + url = "https://content.runescape.com/downloads/ubuntu/pool/non-free/r/${pname}/${pname}_${version}_amd64.deb"; 15 + sha256 = "0r5v1pwh0aas31b1d3pkrc8lqmqz9b4fml2b4kxmg5xzp677h271"; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + autoPatchelfHook 20 + wrapGAppsHook 21 + dpkg 22 + ]; 23 + 24 + buildInputs = [ 25 + glibc 26 + gcc-unwrapped 27 + libSM 28 + libXxf86vm 29 + libX11 30 + glib 31 + pango 32 + cairo 33 + gtk2-x11 34 + zlib 35 + openssl 36 + ]; 37 + 38 + runtimeDependencies = [ 39 + libpulseaudio 40 + libGL 41 + SDL2 42 + xorg_sys_opengl 43 + openssl 44 + zlib 45 + ]; 46 + 47 + dontUnpack = true; 48 + 49 + preBuild = '' 50 + export DH_VERBOSE=1 51 + ''; 52 + 53 + envVarsWithXmodifiers = '' 54 + export MESA_GLSL_CACHE_DIR=~/Jagex 55 + export GDK_SCALE=2 56 + unset XMODIFIERS 57 + ''; 58 + 59 + installPhase = '' 60 + mkdir -p $out/bin $out/share 61 + dpkg -x $src $out 62 + 63 + patchShebangs $out/usr/bin/runescape-launcher 64 + substituteInPlace $out/usr/bin/runescape-launcher \ 65 + --replace "unset XMODIFIERS" "$envVarsWithXmodifiers" \ 66 + --replace "/usr/share/games/runescape-launcher/runescape" "$out/share/games/runescape-launcher/runescape" 67 + 68 + cp -r $out/usr/bin $out/ 69 + cp -r $out/usr/share $out/ 70 + 71 + rm -r $out/usr 72 + ''; 73 + 74 + 75 + meta = with lib; { 76 + description = "Launcher for RuneScape 3, the current main RuneScape"; 77 + homepage = "https://www.runescape.com/"; 78 + license = licenses.unfree; 79 + maintainers = with lib.maintainers; [ grburst ]; 80 + platforms = [ "x86_64-linux" ]; 81 + }; 82 + }; 83 + 84 + in 85 + 86 + /* 87 + * We can patch the runescape launcher, but it downloads a client at runtime and checks it for changes. 88 + * For that we need use a buildFHSUserEnv. 89 + * FHS simulates a classic linux shell 90 + */ 91 + buildFHSUserEnv { 92 + name = "RuneScape"; 93 + targetPkgs = pkgs: [ 94 + runescape 95 + dpkg glibc gcc-unwrapped 96 + libSM libXxf86vm libX11 glib pango cairo gtk2-x11 zlib openssl 97 + libpulseaudio 98 + xorg.libX11 99 + SDL2 xorg_sys_opengl libGL 100 + ]; 101 + multiPkgs = pkgs: [ libGL ]; 102 + runScript = "runescape-launcher"; 103 + }
+68 -68
pkgs/misc/vim-plugins/generated.nix
··· 329 329 330 330 better-escape-nvim = buildVimPluginFrom2Nix { 331 331 pname = "better-escape.nvim"; 332 - version = "2021-10-09"; 332 + version = "2021-10-18"; 333 333 src = fetchFromGitHub { 334 334 owner = "max397574"; 335 335 repo = "better-escape.nvim"; 336 - rev = "a644df43e4607df2e645cb7b6f50ede79fffe477"; 337 - sha256 = "1kjc1h35xfqgsqbg00hsvg52wkjskfilxxsxnnlimcsv9v8iadmh"; 336 + rev = "bbb8b0e3d1b1088a1db6b5ece776a41709929128"; 337 + sha256 = "1xiaywjy12rj25qdq5ys8ayrwlw9p9frpjzzagx1p6zgp03jpq63"; 338 338 }; 339 339 meta.homepage = "https://github.com/max397574/better-escape.nvim/"; 340 340 }; ··· 461 461 462 462 chadtree = buildVimPluginFrom2Nix { 463 463 pname = "chadtree"; 464 - version = "2021-10-17"; 464 + version = "2021-10-18"; 465 465 src = fetchFromGitHub { 466 466 owner = "ms-jpq"; 467 467 repo = "chadtree"; 468 - rev = "63259154cae7c01a877cd493c7ff53d8bbaf36a8"; 469 - sha256 = "0072yqwcs23j1q5akybc9q933lg3davrbh10rjqs690b8p69rz0p"; 468 + rev = "47071cacfb9bcd5ac86dddb1e3ef272ca7ac254d"; 469 + sha256 = "1b2dx5j44441xgfk3dj8f135kim38fnp2s8rpf098q8r2gn3zv8d"; 470 470 }; 471 471 meta.homepage = "https://github.com/ms-jpq/chadtree/"; 472 472 }; ··· 870 870 871 871 comment-nvim = buildVimPluginFrom2Nix { 872 872 pname = "comment.nvim"; 873 - version = "2021-10-17"; 873 + version = "2021-10-18"; 874 874 src = fetchFromGitHub { 875 875 owner = "numtostr"; 876 876 repo = "comment.nvim"; 877 - rev = "a86384dc153e86a9a3cbec1436a8acfa4b07690d"; 878 - sha256 = "043nczs67sa7i2nmmadhrd52d3yzjr1kcm3bgb4q5zig1a7r4dcj"; 877 + rev = "5365cc7f1fc2522ffa1b560830d3125372928d6a"; 878 + sha256 = "0lvcl3pykcry35r6c9fxmjklzvzz7lpxfchbz1qgadpq45pidyir"; 879 879 }; 880 880 meta.homepage = "https://github.com/numtostr/comment.nvim/"; 881 881 }; ··· 1014 1014 1015 1015 conflict-marker-vim = buildVimPluginFrom2Nix { 1016 1016 pname = "conflict-marker.vim"; 1017 - version = "2020-09-23"; 1017 + version = "2021-10-18"; 1018 1018 src = fetchFromGitHub { 1019 1019 owner = "rhysd"; 1020 1020 repo = "conflict-marker.vim"; 1021 - rev = "6a9b8f92a57ea8a90cbf62c960db9e5894be2d7a"; 1022 - sha256 = "0vw5kvnmwwia65gni97vk42b9s47r3p5bglrhpcxsvs3f4s250vq"; 1021 + rev = "22b6133116795ea8fb6705ddca981aa8faecedda"; 1022 + sha256 = "0rh3c1sl145hwyh6idwgyqbrgnwvd91spxc5qs2hfr1xsh53ssx2"; 1023 1023 }; 1024 1024 meta.homepage = "https://github.com/rhysd/conflict-marker.vim/"; 1025 1025 }; ··· 1907 1907 1908 1908 floobits-neovim = buildVimPluginFrom2Nix { 1909 1909 pname = "floobits-neovim"; 1910 - version = "2018-08-01"; 1910 + version = "2021-10-18"; 1911 1911 src = fetchFromGitHub { 1912 1912 owner = "floobits"; 1913 1913 repo = "floobits-neovim"; 1914 - rev = "29ab2ed4bd5c879df0bd6df313a776155eb98ad8"; 1915 - sha256 = "0bnncn3waw9birpd51j27hrzlriz8dk4naxdajmbwznwcnbkkgwx"; 1914 + rev = "dbfa051e4f097dfa3f46997a2019556a62861258"; 1915 + sha256 = "1zsr1536qf7zqdskpshf366m333w66hfjrfdw3ws5yz2l7kq5bcm"; 1916 1916 }; 1917 1917 meta.homepage = "https://github.com/floobits/floobits-neovim/"; 1918 1918 }; ··· 2159 2159 2160 2160 gitlinker-nvim = buildVimPluginFrom2Nix { 2161 2161 pname = "gitlinker.nvim"; 2162 - version = "2021-10-12"; 2162 + version = "2021-10-18"; 2163 2163 src = fetchFromGitHub { 2164 2164 owner = "ruifm"; 2165 2165 repo = "gitlinker.nvim"; 2166 - rev = "a727080a527cb0f01843b59e9c445d7c4dce0f12"; 2167 - sha256 = "0mbnbiikavl6p0jsaal7vmxafrzdcn59xngwszx16qw8f00l76hw"; 2166 + rev = "a6fb6d1ec2746fc18f81433648416edfb1a96d43"; 2167 + sha256 = "0c417li0jx970h8qkgrww7ifzjjknfi26i7n13qx96c5axjxady5"; 2168 2168 }; 2169 2169 meta.homepage = "https://github.com/ruifm/gitlinker.nvim/"; 2170 2170 }; ··· 2964 2964 2965 2965 lightspeed-nvim = buildVimPluginFrom2Nix { 2966 2966 pname = "lightspeed.nvim"; 2967 - version = "2021-10-09"; 2967 + version = "2021-10-18"; 2968 2968 src = fetchFromGitHub { 2969 2969 owner = "ggandor"; 2970 2970 repo = "lightspeed.nvim"; 2971 - rev = "0836af9ad0c4bb913c8e00595bb25620c894fb97"; 2972 - sha256 = "0vj84656vifg5c47m2pj7sfp9gz5ikpq9n0p57047d8r1arw50xg"; 2971 + rev = "d2d47534b00d6fcd16cabab8ec8a6cd15c40ebf3"; 2972 + sha256 = "13yb0srx7g9yf6rrr0bycxr4kac1ip1a1nzz27hamfkq3l9rcgn5"; 2973 2973 }; 2974 2974 meta.homepage = "https://github.com/ggandor/lightspeed.nvim/"; 2975 2975 }; ··· 3900 3900 3901 3901 null-ls-nvim = buildVimPluginFrom2Nix { 3902 3902 pname = "null-ls.nvim"; 3903 - version = "2021-10-15"; 3903 + version = "2021-10-17"; 3904 3904 src = fetchFromGitHub { 3905 3905 owner = "jose-elias-alvarez"; 3906 3906 repo = "null-ls.nvim"; 3907 - rev = "f9d3acd1a4e3b7e6d84951754fbdaadb196ae0fd"; 3908 - sha256 = "15jk540qb2zwpq3vh31skdl1gn9v6y28vqv9jrw78fjmhrs99lld"; 3907 + rev = "9534bda66ec8e919bace771bec74678b50b87a88"; 3908 + sha256 = "0n61rf8qg8kqxa9hmf7jvnrj36xqi5ml9h3kfwszzbjmq89533kw"; 3909 3909 }; 3910 3910 meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; 3911 3911 }; ··· 4008 4008 4009 4009 nvim-cmp = buildVimPluginFrom2Nix { 4010 4010 pname = "nvim-cmp"; 4011 - version = "2021-10-16"; 4011 + version = "2021-10-18"; 4012 4012 src = fetchFromGitHub { 4013 4013 owner = "hrsh7th"; 4014 4014 repo = "nvim-cmp"; 4015 - rev = "4ecf2a24265626a2c00427394deb4747c7b9d5dc"; 4016 - sha256 = "1p134wb9g2ki0gn7aqhsh64frcx5n00npkcj1lgnzcc4cc95p7d4"; 4015 + rev = "a6a98856c3986de675bc40c9c98b7458fb19e95c"; 4016 + sha256 = "0x0hzymvna939iscz0llm64ic28iinh4bn6xihv8afgm693j3jbi"; 4017 4017 }; 4018 4018 meta.homepage = "https://github.com/hrsh7th/nvim-cmp/"; 4019 4019 }; ··· 4212 4212 4213 4213 nvim-lsp-ts-utils = buildVimPluginFrom2Nix { 4214 4214 pname = "nvim-lsp-ts-utils"; 4215 - version = "2021-10-03"; 4215 + version = "2021-10-18"; 4216 4216 src = fetchFromGitHub { 4217 4217 owner = "jose-elias-alvarez"; 4218 4218 repo = "nvim-lsp-ts-utils"; 4219 - rev = "efa321ad03fbffeca699bc04ca1a59db0c54d16f"; 4220 - sha256 = "1bxj37jfcq6vrxpl5cslzmg03aqf2i13i71birvcvlw6n4p3kbbm"; 4219 + rev = "cae4c06308c1ba4f2fdde31836fd98de3fc3e2b5"; 4220 + sha256 = "1s2jbl4wpylvqfc4mrycd211xsi1p97r8r579fccjxpswvsm4bbk"; 4221 4221 }; 4222 4222 meta.homepage = "https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/"; 4223 4223 }; ··· 4228 4228 src = fetchFromGitHub { 4229 4229 owner = "neovim"; 4230 4230 repo = "nvim-lspconfig"; 4231 - rev = "9661d267f64a872a451dab0453b2b951e55cef27"; 4232 - sha256 = "0hv77ridsxi5n2qibrp9a66kbmlw1c9yl8gpakr1iz2hhazq58x9"; 4231 + rev = "7f902f952944aa708c78138f6536c0dc55aec3a2"; 4232 + sha256 = "1n8srlrfliak2587r30la87x3jgl9iq1x8jdxlhrx7i874ha3ykp"; 4233 4233 }; 4234 4234 meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; 4235 4235 }; ··· 4704 4704 4705 4705 plenary-nvim = buildVimPluginFrom2Nix { 4706 4706 pname = "plenary.nvim"; 4707 - version = "2021-10-06"; 4707 + version = "2021-10-18"; 4708 4708 src = fetchFromGitHub { 4709 4709 owner = "nvim-lua"; 4710 4710 repo = "plenary.nvim"; 4711 - rev = "80bb2b9bb74bdca38a46480b6f2e15af990406e4"; 4712 - sha256 = "11akcpxcp4m997a2y76ajknnmsifac2hj4nq9i4a8b1j08bxinim"; 4711 + rev = "901b96d37a30be0504c97cc2c05d3a99b4cca842"; 4712 + sha256 = "14nkpj4x9213waqsy93sdgnll42s4dxxpq5kv6g8w015drjrbwhv"; 4713 4713 }; 4714 4714 meta.homepage = "https://github.com/nvim-lua/plenary.nvim/"; 4715 4715 }; ··· 4897 4897 4898 4898 rainbow = buildVimPluginFrom2Nix { 4899 4899 pname = "rainbow"; 4900 - version = "2020-05-28"; 4900 + version = "2021-10-18"; 4901 4901 src = fetchFromGitHub { 4902 4902 owner = "luochen1990"; 4903 4903 repo = "rainbow"; 4904 - rev = "4d15633cdaf61602e1d9fd216a77fc02e0881b2d"; 4905 - sha256 = "168mbdf2h3zhkqrdyyhh0pbkjdvxwida80rdwk8ml97mxxii8ziw"; 4904 + rev = "e96f502eb0e88968858a2cb0348c8e2253637bcc"; 4905 + sha256 = "02lj86yrqjpcs83z4qfh3nhiy4nsq1fdrrcy3x56701zsiml511i"; 4906 4906 }; 4907 4907 meta.homepage = "https://github.com/luochen1990/rainbow/"; 4908 4908 }; ··· 4993 4993 4994 4994 registers-nvim = buildVimPluginFrom2Nix { 4995 4995 pname = "registers.nvim"; 4996 - version = "2021-10-16"; 4996 + version = "2021-10-18"; 4997 4997 src = fetchFromGitHub { 4998 4998 owner = "tversteeg"; 4999 4999 repo = "registers.nvim"; 5000 - rev = "6445f9131d872d6bf2236ea301e5d400a96f961d"; 5001 - sha256 = "0g60vks084jcajv1rsjnkn4idcwvzfbwqwnpkcw0xh009p71wyjd"; 5000 + rev = "35227ec930cfa836f9a82bfdc3afc302b68a372f"; 5001 + sha256 = "1pcc5bhacs6h0bxr3ksr6bwdgl75irqwmiwk4l3dwifdj1arhvq7"; 5002 5002 }; 5003 5003 meta.homepage = "https://github.com/tversteeg/registers.nvim/"; 5004 5004 }; ··· 5595 5595 5596 5596 syntastic = buildVimPluginFrom2Nix { 5597 5597 pname = "syntastic"; 5598 - version = "2021-09-06"; 5598 + version = "2021-10-18"; 5599 5599 src = fetchFromGitHub { 5600 5600 owner = "vim-syntastic"; 5601 5601 repo = "syntastic"; 5602 - rev = "97bf9ec720662af51ae403b6dfe720d4a24bfcbc"; 5603 - sha256 = "0rcivwwvb6hmd420jkgy8gnzyv78z0bb8gw6232qrwf9m2lskzad"; 5602 + rev = "d086f49d389e1c2d58211b1f92cf20c9f63dc325"; 5603 + sha256 = "0cnd2m1dnx69657dpckiiy1slx2fpnpggm3qs0nzm5rm3qpzx185"; 5604 5604 }; 5605 5605 meta.homepage = "https://github.com/vim-syntastic/syntastic/"; 5606 5606 }; ··· 7638 7638 7639 7639 vim-fugitive = buildVimPluginFrom2Nix { 7640 7640 pname = "vim-fugitive"; 7641 - version = "2021-10-17"; 7641 + version = "2021-10-18"; 7642 7642 src = fetchFromGitHub { 7643 7643 owner = "tpope"; 7644 7644 repo = "vim-fugitive"; 7645 - rev = "93f41ace7dc068cf89314bcea23bdf8da686407a"; 7646 - sha256 = "0hbif3hndmn7jll4w1kci6x3j7379wmpp9rnxg8rlbbnyxl2fpxj"; 7645 + rev = "4d29c1d6a0def18923b4762c8f85ca3ee5ae6c83"; 7646 + sha256 = "1m8qw6pqgyvfnbph8xwpsvgwdyapsg2abxbpqvsjhcg6ylbxfx17"; 7647 7647 }; 7648 7648 meta.homepage = "https://github.com/tpope/vim-fugitive/"; 7649 7649 }; ··· 7770 7770 7771 7771 vim-go = buildVimPluginFrom2Nix { 7772 7772 pname = "vim-go"; 7773 - version = "2021-10-11"; 7773 + version = "2021-10-17"; 7774 7774 src = fetchFromGitHub { 7775 7775 owner = "fatih"; 7776 7776 repo = "vim-go"; 7777 - rev = "f75762b6252fcdcfe6167e895e8171fb1ecfcd34"; 7778 - sha256 = "0xgzl4ms1x9gp6pa5krasks106958cr69kza1ybqy56kbngghzq0"; 7777 + rev = "66ce1595569513a23e3e0dc7aeb8bcacec3b220c"; 7778 + sha256 = "0bcbrbyqbn993g1i5py2ix8rnsvcxzyhn9fbk7c08257l2i7cc6x"; 7779 7779 }; 7780 7780 meta.homepage = "https://github.com/fatih/vim-go/"; 7781 7781 }; ··· 8504 8504 8505 8505 vim-lsp-cxx-highlight = buildVimPluginFrom2Nix { 8506 8506 pname = "vim-lsp-cxx-highlight"; 8507 - version = "2021-04-29"; 8507 + version = "2021-10-18"; 8508 8508 src = fetchFromGitHub { 8509 8509 owner = "jackguo380"; 8510 8510 repo = "vim-lsp-cxx-highlight"; 8511 - rev = "9e42350272a413a51ce9a93b00c98682815ff7c1"; 8512 - sha256 = "1nsac8f2c0lj42a77wxcv3k6i8sbpm5ghip6nx7yz0dj7zd4xm10"; 8511 + rev = "679db721db12c2a1c3ae7addf2cc17ae9a26cf08"; 8512 + sha256 = "064sqa11hnnxj6fnnp9dvd7m367ywg6vzwvqxawqv3cwvgr7123w"; 8513 8513 }; 8514 8514 meta.homepage = "https://github.com/jackguo380/vim-lsp-cxx-highlight/"; 8515 8515 }; ··· 9717 9717 9718 9718 vim-sneak = buildVimPluginFrom2Nix { 9719 9719 pname = "vim-sneak"; 9720 - version = "2021-07-11"; 9720 + version = "2021-10-17"; 9721 9721 src = fetchFromGitHub { 9722 9722 owner = "justinmk"; 9723 9723 repo = "vim-sneak"; 9724 - rev = "95374ad3e4b5ef902854e8f4bcfa9a7a31a91d71"; 9725 - sha256 = "0ns80kjirk72l5lapl7m32ybyr5q71p2mr8a45ihh1k2dlc2wv06"; 9724 + rev = "94c2de47ab301d476a2baec9ffda07367046bec9"; 9725 + sha256 = "110f06rf1m6p0asr5h4sr80wpwji3krwna5vdn6aakvcr8a7qqdi"; 9726 9726 }; 9727 9727 meta.homepage = "https://github.com/justinmk/vim-sneak/"; 9728 9728 }; ··· 9982 9982 9983 9983 vim-test = buildVimPluginFrom2Nix { 9984 9984 pname = "vim-test"; 9985 - version = "2021-10-15"; 9985 + version = "2021-10-17"; 9986 9986 src = fetchFromGitHub { 9987 9987 owner = "vim-test"; 9988 9988 repo = "vim-test"; 9989 - rev = "5fe8ada99a3c711c8db65eb341c3f631043c4a26"; 9990 - sha256 = "1vz28llgmjybg2hgxlv6d9q69f7lhj32id531p2hlnhxl49s9jbn"; 9989 + rev = "2052bd926c37b5c828dd07c47ac676102ca34a0e"; 9990 + sha256 = "1lyx57jryxx5r9s60hg3v6y0kx5p2qc408nl8zhffqhzzmxvkgp9"; 9991 9991 }; 9992 9992 meta.homepage = "https://github.com/vim-test/vim-test/"; 9993 9993 }; ··· 10222 10222 10223 10223 vim-ultest = buildVimPluginFrom2Nix { 10224 10224 pname = "vim-ultest"; 10225 - version = "2021-10-05"; 10225 + version = "2021-10-17"; 10226 10226 src = fetchFromGitHub { 10227 10227 owner = "rcarriga"; 10228 10228 repo = "vim-ultest"; 10229 - rev = "7861d1925baef8fe3fa313affdfbdcaa6b2af26f"; 10230 - sha256 = "165klmixdch1nc9cxdldl5yg4q79q58riw0mg0mahqvvr5m1yrw3"; 10229 + rev = "71290da8930cddb946758e108f01a9546c5dda75"; 10230 + sha256 = "0jjb8b20dy65rjfmhhxq4jlcpdfqvmi4ianc6h2m6n08h5a4iw61"; 10231 10231 }; 10232 10232 meta.homepage = "https://github.com/rcarriga/vim-ultest/"; 10233 10233 }; ··· 10246 10246 10247 10247 vim-unimpaired = buildVimPluginFrom2Nix { 10248 10248 pname = "vim-unimpaired"; 10249 - version = "2021-09-24"; 10249 + version = "2021-10-18"; 10250 10250 src = fetchFromGitHub { 10251 10251 owner = "tpope"; 10252 10252 repo = "vim-unimpaired"; 10253 - rev = "39f195d7e66141d7f1fa683927547026501e9961"; 10254 - sha256 = "0bbiv32brznns82v8s0s2fylcn4j5d3vw4x2kp5h6zb4lqgya30q"; 10253 + rev = "e4006d68cd4f390efef935bc09be0ce3bd022e72"; 10254 + sha256 = "048n8p7bjpcwdk924glqkwkp10fl813ffrjsagwwzsnakax3da5f"; 10255 10255 }; 10256 10256 meta.homepage = "https://github.com/tpope/vim-unimpaired/"; 10257 10257 }; ··· 10655 10655 10656 10656 vimtex = buildVimPluginFrom2Nix { 10657 10657 pname = "vimtex"; 10658 - version = "2021-10-13"; 10658 + version = "2021-10-17"; 10659 10659 src = fetchFromGitHub { 10660 10660 owner = "lervag"; 10661 10661 repo = "vimtex"; 10662 - rev = "4b3ceb9eb7f0e12c239d7ef4262728491aee89ba"; 10663 - sha256 = "1q3ygk39pbm2bhq463c0rc7zqm5zzg2ln2k1qka1v2i4ghngaszi"; 10662 + rev = "0824ade4187472fcdc1634f462da84b3cfc5931f"; 10663 + sha256 = "0p7308x3yy9n43jhpggqb1vmz39k00ckx3svpxbckwh9y21hjxnc"; 10664 10664 }; 10665 10665 meta.homepage = "https://github.com/lervag/vimtex/"; 10666 10666 };
+2 -2
pkgs/servers/http/nginx/quic.nix
··· 6 6 callPackage ./generic.nix args { 7 7 src = fetchhg { 8 8 url = "https://hg.nginx.org/nginx-quic"; 9 - rev = "5b0c229ba5fe"; # branch=quic 10 - sha256 = "1bb6n6b4nkc1cfllj75lwr4gjijl8883bkcvq8ncg7r4s5xs7r90"; 9 + rev = "404de224517e"; # branch=quic 10 + sha256 = "00x8djp3hqnq60jzpddfrj0v23j2fbl27jyw609ha3wqkkbxrip9"; 11 11 }; 12 12 13 13 preConfigure = ''
+34 -7
pkgs/tools/backup/btrbk/default.nix
··· 1 - { lib, stdenv, fetchurl, bash, btrfs-progs, openssh, perl, perlPackages 2 - , util-linux, asciidoc, asciidoctor, mbuffer, makeWrapper, nixosTests }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , bash 5 + , btrfs-progs 6 + , openssh 7 + , perl 8 + , perlPackages 9 + , util-linux 10 + , asciidoc 11 + , asciidoctor 12 + , mbuffer 13 + , makeWrapper 14 + , genericUpdater 15 + , curl 16 + , writeShellScript 17 + , nixosTests 18 + }: 3 19 4 20 stdenv.mkDerivation rec { 5 21 pname = "btrbk"; 6 - version = "0.29.1"; 22 + version = "0.31.3"; 7 23 8 24 src = fetchurl { 9 25 url = "https://digint.ch/download/btrbk/releases/${pname}-${version}.tar.xz"; 10 - sha256 = "153inyvvnl17hq1w3nsa783havznaykdam2yrj775bmi2wg6fvwn"; 26 + sha256 = "1lx7vnf386nsik8mxrrfyx1h7mkqk5zs26sy0s0lynfxcm4lkxb2"; 11 27 }; 12 28 13 29 nativeBuildInputs = [ asciidoc asciidoctor makeWrapper ]; ··· 22 38 done 23 39 24 40 # Tainted Mode disables PERL5LIB 25 - substituteInPlace btrbk --replace "perl -T" "perl" 41 + substituteInPlace btrbk \ 42 + --replace "perl -T" "perl" \ 43 + --replace "\$0" "\$ENV{'program_name'}" 26 44 27 45 # Fix SSH filter script 28 46 sed -i '/^export PATH/d' ssh_filter_btrbk.sh ··· 30 48 ''; 31 49 32 50 preFixup = '' 33 - wrapProgram $out/sbin/btrbk \ 51 + wrapProgram $out/bin/btrbk \ 34 52 --set PERL5LIB $PERL5LIB \ 53 + --run 'export program_name=$0' \ 35 54 --prefix PATH ':' "${lib.makeBinPath [ btrfs-progs bash mbuffer openssh ]}" 36 55 ''; 37 56 38 57 passthru.tests.btrbk = nixosTests.btrbk; 39 58 59 + passthru.updateScript = genericUpdater { 60 + inherit pname version; 61 + versionLister = writeShellScript "btrbk-versionLister" '' 62 + echo "# Versions for $1:" >> "$2" 63 + ${curl}/bin/curl -s https://digint.ch/download/btrbk/releases/ | ${perl}/bin/perl -lne 'print $1 if /btrbk-([0-9.]*)\.tar/' 64 + ''; 65 + }; 66 + 40 67 meta = with lib; { 41 68 description = "A backup tool for btrfs subvolumes"; 42 69 homepage = "https://digint.ch/btrbk"; 43 - license = licenses.gpl3; 70 + license = licenses.gpl3Only; 44 71 platforms = platforms.unix; 45 72 maintainers = with maintainers; [ asymmetric ]; 46 73 };
+2 -2
pkgs/tools/misc/bandwidth/default.nix
··· 6 6 in 7 7 stdenv.mkDerivation rec { 8 8 pname = "bandwidth"; 9 - version = "1.10.1"; 9 + version = "1.10.4"; 10 10 11 11 src = fetchurl { 12 12 url = "https://zsmith.co/archives/${pname}-${version}.tar.gz"; 13 - sha256 = "sha256-trya+/cBNIittQAc5tcykZbImeISqIolO/Y8uOI0jGk="; 13 + sha256 = "sha256-e/eP2rA7ElFrh2Z4qTzRGR/cxY1UI6s+LQ9Og1x46/I="; 14 14 }; 15 15 16 16 postPatch = ''
+11 -3
pkgs/tools/misc/lesspipe/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, substituteAll, perl, file, ncurses }: 1 + { lib, stdenv, fetchFromGitHub, substituteAll, perl, file, ncurses, bash }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lesspipe"; 5 5 version = "1.85"; 6 6 7 - buildInputs = [ perl ]; 8 - preConfigure = "patchShebangs ."; 7 + nativeBuildInputs = [ perl ]; 8 + buildInputs = [ perl bash ]; 9 + strictDeps = true; 10 + preConfigure = '' 11 + patchShebangs --build configure 12 + ''; 13 + configureFlags = [ "--shell=${bash}/bin/bash" "--yes" ]; 14 + configurePlatforms = []; 15 + dontBuild = true; 9 16 10 17 src = fetchFromGitHub { 11 18 owner = "wofr06"; ··· 20 27 file = "${file}/bin/file"; 21 28 tput = "${ncurses}/bin/tput"; 22 29 }) 30 + ./override-shell-detection.patch 23 31 ]; 24 32 25 33 meta = with lib; {
+12
pkgs/tools/misc/lesspipe/override-shell-detection.patch
··· 1 + --- a/configure 2 + +++ b/configure 3 + @@ -101,7 +101,8 @@ 4 + open OUT, ">lesspipe.sh.tmp"; 5 + my $in = 1; 6 + my $anyin; 7 + -my $shell = check_shell_vers(); 8 + +my $shell = $opt_shell; 9 + +print OUT "#!$shell\n"; 10 + # ask if syntax highlighting should be included 11 + $ifsyntax = ''; 12 + if ($opt_yes) {
+24
pkgs/tools/networking/vopono/default.nix
··· 1 + { lib 2 + , fetchCrate 3 + , rustPlatform 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "vopono"; 8 + version = "0.8.6"; 9 + 10 + src = fetchCrate { 11 + inherit pname version; 12 + sha256 = "0dsyav755mggnsybj7iwvdqbqzz0gfd3j9vh0hmg5b7pbffanzvy"; 13 + }; 14 + 15 + cargoHash = "sha256:187mi36dgr2f1klqclci175zqgyrm0b6awrcnav63vira7hqz076"; 16 + 17 + meta = with lib; { 18 + description = "Run applications through VPN connections in network namespaces"; 19 + homepage = "https://github.com/jamesmcm/vopono"; 20 + license = licenses.gpl3Plus; 21 + platforms = platforms.linux; 22 + maintainers = [ maintainers.romildo ]; 23 + }; 24 + }
+2 -2
pkgs/tools/networking/ytcc/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "ytcc"; 5 - version = "2.5.0"; 5 + version = "2.5.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "woefe"; 9 9 repo = "ytcc"; 10 10 rev = "v${version}"; 11 - sha256 = "0d5zlj5c9n8kq38sq2napc2pnqq866v8jpsyg07q5yjcjwlmihap"; 11 + sha256 = "1w2frcy51kwsvd486awhpl5kkm11zj1nw3nnv9337316gfs213nw"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gettext ];
+2 -2
pkgs/tools/system/auto-cpufreq/default.nix
··· 2 2 3 3 python3Packages.buildPythonPackage rec { 4 4 pname = "auto-cpufreq"; 5 - version = "1.7.0"; 5 + version = "1.7.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "AdnanHodzic"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0b6j26glg1ffihdr2h7dlr1lrbhkclgp17dxmkjgg5gk4mhz799r"; 11 + sha256 = "1r27ydv258c6pc82za0wq8q8fj0j3r50c8wxc6r7dwr6wx8q3asx"; 12 12 }; 13 13 14 14 propagatedBuildInputs = with python3Packages; [ click distro psutil ];
+30 -28
pkgs/tools/wayland/swaycwd/default.nix
··· 1 - { lib, nimPackages, fetchFromGitLab 1 + { lib 2 + , nimPackages 3 + , fetchFromGitLab 2 4 , enableShells ? [ "bash" "zsh" "fish" "sh" "posh" ] 3 5 }: 6 + nimPackages.buildNimPackage rec{ 4 7 5 - nimPackages.buildNimPackage { 6 - name = "swaycwd"; 7 - version = "0.0.1"; 8 + name = "swaycwd"; 9 + version = "0.0.2"; 8 10 9 - src = fetchFromGitLab { 10 - owner = "cab404"; 11 - repo = "swaycwd"; 12 - rev = "aca81695ec2102b9bca6f5bae364f69a8b9d399f"; 13 - hash = "sha256-MkyY3wWByQo0l0J28xKDfGtxfazVPRyZHCObl9Fszh4="; 14 - }; 11 + src = fetchFromGitLab { 12 + owner = "cab404"; 13 + repo = name; 14 + rev = "v${version}"; 15 + hash = "sha256-OZWOPtOqcX+fVQCxWntrn98EzFu70WH55rfYCPDMSKk="; 16 + }; 15 17 16 - preConfigure = '' 17 - { 18 - echo 'let enabledShells: seq[string] = @${builtins.toJSON enableShells}' 19 - echo 'export enabledShells' 20 - } > shells.nim 21 - cat << EOF > swaycwd.nimble 22 - srcDir = "." 23 - bin = "swaycwd" 24 - EOF 25 - ''; 18 + preConfigure = '' 19 + { 20 + echo 'let enabledShells: seq[string] = @${builtins.toJSON enableShells}' 21 + echo 'export enabledShells' 22 + } > shells.nim 23 + cat << EOF > swaycwd.nimble 24 + srcDir = "." 25 + bin = "swaycwd" 26 + EOF 27 + ''; 26 28 27 - nimFlags = [ "--opt:speed" ]; 29 + nimFlags = [ "--opt:speed" ]; 28 30 29 - meta = with lib; { 30 - homepage = "https://gitlab.com/cab404/swaycwd"; 31 - description = "Returns cwd for shell in currently focused sway window, or home directory if cannot find shell"; 32 - maintainers = with maintainers; [ cab404 ]; 33 - platforms = platforms.linux; 34 - license = licenses.gpl3Only; 35 - }; 31 + meta = with lib; { 32 + homepage = "https://gitlab.com/cab404/swaycwd"; 33 + description = "Returns cwd for shell in currently focused sway window, or home directory if cannot find shell"; 34 + maintainers = with maintainers; [ cab404 ]; 35 + platforms = platforms.linux; 36 + license = licenses.gpl3Only; 37 + }; 36 38 }
+4
pkgs/top-level/aliases.nix
··· 333 333 google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # added 2021-03-07 334 334 googleAuthenticator = google-authenticator; # added 2016-10-16 335 335 grantlee5 = libsForQt5.grantlee; # added 2015-12-19 336 + graalvm8 = graalvm8-ce; 337 + graalvm11 = graalvm11-ce; 336 338 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25 337 339 gtk_doc = gtk-doc; # added 2018-02-25 338 340 guileCairo = guile-cairo; # added 2017-09-24 ··· 374 376 jbuilder = dune_1; # added 2018-09-09 375 377 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream"; 376 378 joseki = apache-jena-fuseki; # added 2016-02-28 379 + jvmci8 = throw "graalvm8 and its tools were deprecated in favor of graalvm8-ce"; # added 2021-10-15 377 380 json_glib = json-glib; # added 2018-02-25 378 381 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16 379 382 k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06 ··· 569 572 mpv-with-scripts = self.wrapMpv self.mpv-unwrapped { }; # added 2020-05-22 570 573 multipath_tools = multipath-tools; # added 2016-01-21 571 574 mupen64plus1_5 = mupen64plus; # added 2016-02-12 575 + mx = throw "graalvm8 and its tools were deprecated in favor of graalvm8-ce"; # added 2021-10-15 572 576 mxisd = throw "mxisd has been removed from nixpkgs as it has reached end of life, see https://github.com/kamax-matrix/mxisd/blob/535e0a5b96ab63cb0ddef90f6f42c5866407df95/EOL.md#end-of-life-notice . ma1sd may be a suitable alternative."; # added 2021-04-15 573 577 mysqlWorkbench = mysql-workbench; # added 2017-01-19 574 578 nagiosPluginsOfficial = monitoring-plugins;
+8 -9
pkgs/top-level/all-packages.nix
··· 968 968 969 969 ventoy-bin = callPackage ../tools/cd-dvd/ventoy-bin { }; 970 970 971 + vopono = callPackage ../tools/networking/vopono { }; 972 + 971 973 xcd = callPackage ../tools/misc/xcd { }; 972 974 973 975 xtrt = callPackage ../tools/archivers/xtrt { }; ··· 5467 5469 5468 5470 git-fame = callPackage ../applications/version-management/git-and-tools/git-fame {}; 5469 5471 5470 - git-fast-export = callPackage ../applications/version-management/git-and-tools/fast-export { mercurial = mercurial_4; }; 5472 + git-fast-export = callPackage ../applications/version-management/git-and-tools/fast-export { }; 5471 5473 5472 5474 git-filter-repo = callPackage ../applications/version-management/git-and-tools/git-filter-repo { 5473 5475 pythonPackages = python3Packages; ··· 8996 8998 8997 8999 runelite = callPackage ../games/runelite { }; 8998 9000 9001 + runescape = callPackage ../games/runescape-launcher { }; 9002 + 8999 9003 runningx = callPackage ../tools/X11/runningx { }; 9000 9004 9001 9005 rund = callPackage ../development/tools/rund { }; ··· 10311 10315 10312 10316 wasm-bindgen-cli = callPackage ../development/tools/wasm-bindgen-cli { 10313 10317 inherit (darwin.apple_sdk.frameworks) Security; 10318 + nodejs = nodejs_latest; 10314 10319 }; 10315 10320 10316 10321 welkin = callPackage ../tools/graphics/welkin {}; ··· 12095 12100 12096 12101 openjdk = openjdk16; 12097 12102 openjdk_headless = openjdk16_headless; 12098 - 12099 - inherit (callPackages ../development/compilers/graalvm { 12100 - gcc = if stdenv.targetPlatform.isDarwin then gcc8 else gcc; 12101 - inherit (darwin.apple_sdk.frameworks) 12102 - CoreFoundation Foundation JavaNativeFoundation 12103 - JavaVM JavaRuntimeSupport Cocoa; 12104 - inherit (darwin) libiconv libobjc libresolv; 12105 - }) mx jvmci8 graalvm8; 12106 12103 12107 12104 graalvmCEPackages = 12108 12105 recurseIntoAttrs (callPackage ../development/compilers/graalvm/community-edition { ··· 23409 23406 23410 23407 ucs-fonts = callPackage ../data/fonts/ucs-fonts 23411 23408 { inherit (buildPackages.xorg) fonttosfnt mkfontscale; }; 23409 + 23410 + bront_fonts = callPackage ../data/fonts/bront { }; 23412 23411 23413 23412 ultimate-oldschool-pc-font-pack = callPackage ../data/fonts/ultimate-oldschool-pc-font-pack { }; 23414 23413
+2
pkgs/top-level/ocaml-packages.nix
··· 1408 1408 1409 1409 yaml = callPackage ../development/ocaml-modules/yaml { }; 1410 1410 1411 + yaml-sexp = callPackage ../development/ocaml-modules/yaml/yaml-sexp.nix { }; 1412 + 1411 1413 yojson = callPackage ../development/ocaml-modules/yojson { }; 1412 1414 1413 1415 z3 = callPackage ../development/ocaml-modules/z3 {
+14 -13
pkgs/top-level/release-haskell.nix
··· 48 48 compilerNames = lib.mapAttrs (name: _: name) pkgs.haskell.packages; 49 49 50 50 # list of all compilers to test specific packages on 51 - all = with compilerNames; [ 51 + released = with compilerNames; [ 52 52 ghc884 53 53 ghc8107 54 54 ghc901 ··· 304 304 # and to confirm that critical packages for the 305 305 # package sets (like Cabal, jailbreak-cabal) are 306 306 # working as expected. 307 - cabal-install = all; 308 - Cabal_3_6_2_0 = with compilerNames; [ ghc884 ghc8107 ghc901 ghc921 ]; 309 - cabal2nix-unstable = all; 310 - funcmp = all; 311 - haskell-language-server = all; 312 - hoogle = all; 313 - hsdns = all; 314 - jailbreak-cabal = all; 315 - language-nix = all; 316 - nix-paths = all; 317 - titlecase = all; 318 - ghc-api-compat = all; 307 + cabal-install = released ++ [ compilerNames.ghc921 ]; 308 + Cabal_3_6_2_0 = released ++ [ compilerNames.ghc921 ]; 309 + cabal2nix = released ++ [ compilerNames.ghc921 ]; 310 + cabal2nix-unstable = released ++ [ compilerNames.ghc921 ]; 311 + funcmp = released ++ [ compilerNames.ghc921 ]; 312 + haskell-language-server = released; 313 + hoogle = released; 314 + hsdns = released ++ [ compilerNames.ghc921 ]; 315 + jailbreak-cabal = released ++ [ compilerNames.ghc921 ]; 316 + language-nix = released ++ [ compilerNames.ghc921 ]; 317 + nix-paths = released ++ [ compilerNames.ghc921 ]; 318 + titlecase = released ++ [ compilerNames.ghc921 ]; 319 + ghc-api-compat = released; 319 320 }) 320 321 { 321 322 mergeable = pkgs.releaseTools.aggregate {