commit
fe71877bbd
@ -0,0 +1,106 @@ |
|||||||
|
{ config, lib, pkgs, ... }: |
||||||
|
|
||||||
|
with lib; |
||||||
|
|
||||||
|
let |
||||||
|
cfg = config.services.uptermd; |
||||||
|
in |
||||||
|
{ |
||||||
|
options = { |
||||||
|
services.uptermd = { |
||||||
|
enable = mkEnableOption "uptermd"; |
||||||
|
|
||||||
|
openFirewall = mkOption { |
||||||
|
type = types.bool; |
||||||
|
default = false; |
||||||
|
description = '' |
||||||
|
Whether to open the firewall for the port in <option>services.uptermd.port</option>. |
||||||
|
''; |
||||||
|
}; |
||||||
|
|
||||||
|
port = mkOption { |
||||||
|
type = types.port; |
||||||
|
default = 2222; |
||||||
|
description = '' |
||||||
|
Port the server will listen on. |
||||||
|
''; |
||||||
|
}; |
||||||
|
|
||||||
|
listenAddress = mkOption { |
||||||
|
type = types.str; |
||||||
|
default = "[::]"; |
||||||
|
example = "127.0.0.1"; |
||||||
|
description = '' |
||||||
|
Address the server will listen on. |
||||||
|
''; |
||||||
|
}; |
||||||
|
|
||||||
|
hostKey = mkOption { |
||||||
|
type = types.nullOr types.path; |
||||||
|
default = null; |
||||||
|
example = "/run/keys/upterm_host_ed25519_key"; |
||||||
|
description = '' |
||||||
|
Path to SSH host key. If not defined, an ed25519 keypair is generated automatically. |
||||||
|
''; |
||||||
|
}; |
||||||
|
|
||||||
|
extraFlags = mkOption { |
||||||
|
type = types.listOf types.str; |
||||||
|
default = []; |
||||||
|
example = [ "--debug" ]; |
||||||
|
description = '' |
||||||
|
Extra flags passed to the uptermd command. |
||||||
|
''; |
||||||
|
}; |
||||||
|
}; |
||||||
|
}; |
||||||
|
|
||||||
|
config = mkIf cfg.enable { |
||||||
|
networking.firewall = mkIf cfg.openFirewall { |
||||||
|
allowedTCPPorts = [ cfg.port ]; |
||||||
|
}; |
||||||
|
|
||||||
|
systemd.services.uptermd = { |
||||||
|
description = "Upterm Daemon"; |
||||||
|
wantedBy = [ "multi-user.target" ]; |
||||||
|
after = [ "network.target" ]; |
||||||
|
|
||||||
|
path = [ pkgs.openssh ]; |
||||||
|
|
||||||
|
preStart = mkIf (cfg.hostKey == null) '' |
||||||
|
if ! [ -f ssh_host_ed25519_key ]; then |
||||||
|
ssh-keygen \ |
||||||
|
-t ed25519 \ |
||||||
|
-f ssh_host_ed25519_key \ |
||||||
|
-N "" |
||||||
|
fi |
||||||
|
''; |
||||||
|
|
||||||
|
serviceConfig = { |
||||||
|
StateDirectory = "uptermd"; |
||||||
|
WorkingDirectory = "/var/lib/uptermd"; |
||||||
|
ExecStart = "${pkgs.upterm}/bin/uptermd --ssh-addr ${cfg.listenAddress}:${toString cfg.port} --private-key ${if cfg.hostKey == null then "ssh_host_ed25519_key" else cfg.hostKey} ${concatStringsSep " " cfg.extraFlags}"; |
||||||
|
|
||||||
|
# Hardening |
||||||
|
AmbientCapabilities = mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ]; |
||||||
|
CapabilityBoundingSet = mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ]; |
||||||
|
PrivateUsers = cfg.port >= 1024; |
||||||
|
LockPersonality = true; |
||||||
|
MemoryDenyWriteExecute = true; |
||||||
|
PrivateDevices = true; |
||||||
|
ProtectClock = true; |
||||||
|
ProtectControlGroups = true; |
||||||
|
ProtectHome = true; |
||||||
|
ProtectHostname = true; |
||||||
|
ProtectKernelLogs = true; |
||||||
|
ProtectKernelModules = true; |
||||||
|
ProtectKernelTunables = true; |
||||||
|
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ]; |
||||||
|
RestrictNamespaces = true; |
||||||
|
RestrictRealtime = true; |
||||||
|
SystemCallArchitectures = "native"; |
||||||
|
SystemCallFilter = "@system-service"; |
||||||
|
}; |
||||||
|
}; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,62 @@ |
|||||||
|
import ./make-test-python.nix ({ pkgs, ...}: |
||||||
|
|
||||||
|
let |
||||||
|
client = {pkgs, ...}:{ |
||||||
|
environment.systemPackages = [ pkgs.upterm ]; |
||||||
|
}; |
||||||
|
in |
||||||
|
{ |
||||||
|
name = "uptermd"; |
||||||
|
meta = with pkgs.lib.maintainers; { |
||||||
|
maintainers = [ fleaz ]; |
||||||
|
}; |
||||||
|
|
||||||
|
nodes = { |
||||||
|
server = {config, ...}: { |
||||||
|
services.uptermd = { |
||||||
|
enable = true; |
||||||
|
openFirewall = true; |
||||||
|
port = 1337; |
||||||
|
}; |
||||||
|
}; |
||||||
|
client1 = client; |
||||||
|
client2 = client; |
||||||
|
}; |
||||||
|
|
||||||
|
|
||||||
|
testScript = '' |
||||||
|
start_all() |
||||||
|
|
||||||
|
server.wait_for_unit("uptermd.service") |
||||||
|
server.wait_for_unit("network-online.target") |
||||||
|
|
||||||
|
# Add SSH hostkeys from the server to both clients |
||||||
|
# uptermd needs an '@cert-authority entry so we need to modify the known_hosts file |
||||||
|
client1.execute("sleep 3; mkdir -p ~/.ssh && ssh -o StrictHostKeyChecking=no -p 1337 server ls") |
||||||
|
client1.execute("echo @cert-authority $(cat ~/.ssh/known_hosts) > ~/.ssh/known_hosts") |
||||||
|
client2.execute("sleep 3; mkdir -p ~/.ssh && ssh -o StrictHostKeyChecking=no -p 1337 server ls") |
||||||
|
client2.execute("echo @cert-authority $(cat ~/.ssh/known_hosts) > ~/.ssh/known_hosts") |
||||||
|
|
||||||
|
client1.wait_for_unit("multi-user.target") |
||||||
|
client1.wait_until_succeeds("pgrep -f 'agetty.*tty1'") |
||||||
|
client1.wait_until_tty_matches(1, "login: ") |
||||||
|
client1.send_chars("root\n") |
||||||
|
client1.wait_until_succeeds("pgrep -u root bash") |
||||||
|
|
||||||
|
client1.execute("ssh-keygen -t ed25519 -N \"\" -f /root/.ssh/id_ed25519") |
||||||
|
client1.send_chars("TERM=xterm upterm host --server ssh://server:1337 --force-command hostname -- bash > /tmp/session-details\n") |
||||||
|
client1.wait_for_file("/tmp/session-details") |
||||||
|
client1.send_key("q") |
||||||
|
|
||||||
|
# uptermd can't connect if we don't have a keypair |
||||||
|
client2.execute("ssh-keygen -t ed25519 -N \"\" -f /root/.ssh/id_ed25519") |
||||||
|
|
||||||
|
# Grep the ssh connect command from the output of 'upterm host' |
||||||
|
ssh_command = client1.succeed("grep 'SSH Session' /tmp/session-details | cut -d':' -f2-").strip() |
||||||
|
|
||||||
|
# Connect with client2. Because we used '--force-command hostname' we should get "client1" as the output |
||||||
|
output = client2.succeed(ssh_command) |
||||||
|
|
||||||
|
assert output.strip() == "client1" |
||||||
|
''; |
||||||
|
}) |
@ -1,19 +1,19 @@ |
|||||||
{ |
{ |
||||||
"name": "rust-analyzer", |
"name": "rust-analyzer", |
||||||
"version": "0.2.975", |
"version": "0.2.1048", |
||||||
"dependencies": { |
"dependencies": { |
||||||
"vscode-languageclient": "8.0.0-next.8", |
"vscode-languageclient": "8.0.0-next.14", |
||||||
"d3": "^7.3.0", |
"d3": "^7.3.0", |
||||||
"d3-graphviz": "^4.0.0", |
"d3-graphviz": "^4.1.0", |
||||||
"@types/node": "~14.17.5", |
"@types/node": "~14.17.5", |
||||||
"@types/vscode": "~1.63.0", |
"@types/vscode": "~1.66.0", |
||||||
"@typescript-eslint/eslint-plugin": "^5.10.0", |
"@typescript-eslint/eslint-plugin": "^5.16.0", |
||||||
"@typescript-eslint/parser": "^5.10.0", |
"@typescript-eslint/parser": "^5.16.0", |
||||||
"@vscode/test-electron": "^2.1.1", |
"@vscode/test-electron": "^2.1.3", |
||||||
"eslint": "^8.7.0", |
"eslint": "^8.11.0", |
||||||
"tslib": "^2.3.0", |
"tslib": "^2.3.0", |
||||||
"typescript": "^4.5.5", |
"typescript": "^4.6.3", |
||||||
"typescript-formatter": "^7.2.2", |
"typescript-formatter": "^7.2.2", |
||||||
"vsce": "^2.6.7" |
"vsce": "^2.7.0" |
||||||
} |
} |
||||||
} |
} |
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,24 @@ |
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 276ae4e..5e56176 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1304,9 +1304,9 @@ if (LINALG STREQUAL "MKL")
|
||||||
|
endif ()
|
||||||
|
else ()
|
||||||
|
if (ADDRMODE EQUAL 64)
|
||||||
|
- set (libpath "${MKLROOT}/lib/intel64")
|
||||||
|
+ set (libpath "${MKLROOT}/lib")
|
||||||
|
elseif (ADDRMODE EQUAL 32)
|
||||||
|
- set (libpath "${MKLROOT}/lib/ia32")
|
||||||
|
+ set (libpath "${MKLROOT}/lib")
|
||||||
|
endif ()
|
||||||
|
endif ()
|
||||||
|
set (MKL_LIBRARY_PATH ${libpath} CACHE PATH "location of MKL libraries." FORCE)
|
||||||
|
@@ -1380,7 +1380,7 @@ if (LINALG STREQUAL "MKL")
|
||||||
|
find_library (LIBMKL_BLACS NAMES "mkl_blacs_intelmpi_ilp64"
|
||||||
|
PATHS ${MKL_LIBRARY_PATH} NO_DEFAULT_PATH)
|
||||||
|
elseif (MPI_IMPLEMENTATION STREQUAL "mpich")
|
||||||
|
- find_library (LIBMKL_BLACS NAMES "mkl_blacs_ilp64"
|
||||||
|
+ find_library (LIBMKL_BLACS NAMES "mkl_blacs_intelmpi_ilp64"
|
||||||
|
PATHS ${MKL_LIBRARY_PATH} NO_DEFAULT_PATH)
|
||||||
|
endif ()
|
@ -0,0 +1,192 @@ |
|||||||
|
{ addOpenGLRunpath |
||||||
|
, autoPatchelfHook |
||||||
|
, lib |
||||||
|
, makeWrapper |
||||||
|
, requireFile |
||||||
|
, runCommand |
||||||
|
, stdenv |
||||||
|
, symlinkJoin |
||||||
|
# arguments from default.nix |
||||||
|
, lang |
||||||
|
, meta |
||||||
|
, name |
||||||
|
, src |
||||||
|
, version |
||||||
|
# dependencies |
||||||
|
, alsa-lib |
||||||
|
, cudaPackages |
||||||
|
, cups |
||||||
|
, dbus |
||||||
|
, flite |
||||||
|
, fontconfig |
||||||
|
, freetype |
||||||
|
, gcc-unwrapped |
||||||
|
, glib |
||||||
|
, gmpxx |
||||||
|
, keyutils |
||||||
|
, libGL |
||||||
|
, libGLU |
||||||
|
, libpcap |
||||||
|
, libtins |
||||||
|
, libuuid |
||||||
|
, libxkbcommon |
||||||
|
, libxml2 |
||||||
|
, llvmPackages_12 |
||||||
|
, matio |
||||||
|
, mpfr |
||||||
|
, ncurses |
||||||
|
, opencv4 |
||||||
|
, openjdk11 |
||||||
|
, openssl |
||||||
|
, pciutils |
||||||
|
, tre |
||||||
|
, unixODBC |
||||||
|
, xkeyboard_config |
||||||
|
, xorg |
||||||
|
, zlib |
||||||
|
# options |
||||||
|
, cudaSupport |
||||||
|
}: |
||||||
|
|
||||||
|
let cudaEnv = symlinkJoin { |
||||||
|
name = "mathematica-cuda-env"; |
||||||
|
paths = with cudaPackages; [ |
||||||
|
cuda_cudart cuda_nvcc libcublas libcufft libcurand libcusparse |
||||||
|
]; |
||||||
|
postBuild = '' |
||||||
|
ln -s ${addOpenGLRunpath.driverLink}/lib/libcuda.so $out/lib |
||||||
|
ln -s lib $out/lib64 |
||||||
|
''; |
||||||
|
}; |
||||||
|
|
||||||
|
in stdenv.mkDerivation { |
||||||
|
inherit meta name src version; |
||||||
|
|
||||||
|
nativeBuildInputs = [ |
||||||
|
autoPatchelfHook |
||||||
|
makeWrapper |
||||||
|
] ++ lib.optional cudaSupport addOpenGLRunpath; |
||||||
|
|
||||||
|
buildInputs = [ |
||||||
|
alsa-lib |
||||||
|
cups.lib |
||||||
|
dbus |
||||||
|
flite |
||||||
|
fontconfig |
||||||
|
freetype |
||||||
|
glib |
||||||
|
gmpxx |
||||||
|
keyutils.lib |
||||||
|
libGL |
||||||
|
libGLU |
||||||
|
libpcap |
||||||
|
libtins |
||||||
|
libuuid |
||||||
|
libxkbcommon |
||||||
|
libxml2 |
||||||
|
llvmPackages_12.libllvm.lib |
||||||
|
matio |
||||||
|
mpfr |
||||||
|
ncurses |
||||||
|
opencv4 |
||||||
|
openjdk11 |
||||||
|
openssl |
||||||
|
pciutils |
||||||
|
tre |
||||||
|
unixODBC |
||||||
|
xkeyboard_config |
||||||
|
] ++ (with xorg; [ |
||||||
|
libICE |
||||||
|
libSM |
||||||
|
libX11 |
||||||
|
libXScrnSaver |
||||||
|
libXcomposite |
||||||
|
libXcursor |
||||||
|
libXdamage |
||||||
|
libXext |
||||||
|
libXfixes |
||||||
|
libXi |
||||||
|
libXinerama |
||||||
|
libXmu |
||||||
|
libXrandr |
||||||
|
libXrender |
||||||
|
libXtst |
||||||
|
libxcb |
||||||
|
]) ++ lib.optional cudaSupport cudaEnv; |
||||||
|
|
||||||
|
wrapProgramFlags = [ |
||||||
|
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gcc-unwrapped.lib zlib ]}" |
||||||
|
"--prefix PATH : ${lib.makeBinPath [ stdenv.cc ]}" |
||||||
|
# Fix libQt errors - #96490 |
||||||
|
"--set USE_WOLFRAM_LD_LIBRARY_PATH 1" |
||||||
|
# Fix xkeyboard config path for Qt |
||||||
|
"--set QT_XKB_CONFIG_ROOT ${xkeyboard_config}/share/X11/xkb" |
||||||
|
] ++ lib.optionals cudaSupport [ |
||||||
|
"--set CUDA_PATH ${cudaEnv}" |
||||||
|
"--set NVIDIA_DRIVER_LIBRARY_PATH ${addOpenGLRunpath.driverLink}/lib/libnvidia-tls.so" |
||||||
|
"--set CUDA_LIBRARY_PATH ${addOpenGLRunpath.driverLink}/lib/libcuda.so" |
||||||
|
]; |
||||||
|
|
||||||
|
unpackPhase = '' |
||||||
|
runHook preUnpack |
||||||
|
|
||||||
|
# Find offset from file |
||||||
|
offset=$(${stdenv.shell} -c "$(grep -axm1 -e 'offset=.*' $src); echo \$offset" $src) |
||||||
|
tail -c +$(($offset + 1)) $src | tar -xf - |
||||||
|
|
||||||
|
runHook postUnpack |
||||||
|
''; |
||||||
|
|
||||||
|
installPhase = '' |
||||||
|
runHook preInstall |
||||||
|
|
||||||
|
cd "$TMPDIR/Unix/Installer" |
||||||
|
|
||||||
|
mkdir -p "$out/lib/udev/rules.d" |
||||||
|
|
||||||
|
# Patch MathInstaller's shebangs and udev rules dir |
||||||
|
patchShebangs MathInstaller |
||||||
|
substituteInPlace MathInstaller \ |
||||||
|
--replace /etc/udev/rules.d $out/lib/udev/rules.d |
||||||
|
|
||||||
|
# Remove PATH restriction, root and avahi daemon checks, and hostname call |
||||||
|
sed -i ' |
||||||
|
s/^PATH=/# &/ |
||||||
|
s/isRoot="false"/# &/ |
||||||
|
s/^checkAvahiDaemon$/# &/ |
||||||
|
s/`hostname`/""/ |
||||||
|
' MathInstaller |
||||||
|
|
||||||
|
# NOTE: some files placed under HOME may be useful |
||||||
|
XDG_DATA_HOME="$out/share" HOME="$TMPDIR/home" vernierLink=y \ |
||||||
|
./MathInstaller -execdir="$out/bin" -targetdir="$out/libexec/Mathematica" -auto -verbose -createdir=y |
||||||
|
|
||||||
|
# Check if MathInstaller produced any errors |
||||||
|
errLog="$out/libexec/Mathematica/InstallErrors" |
||||||
|
if [ -f "$errLog" ]; then |
||||||
|
echo "Installation errors:" |
||||||
|
cat "$errLog" |
||||||
|
return 1 |
||||||
|
fi |
||||||
|
|
||||||
|
runHook postInstall |
||||||
|
''; |
||||||
|
|
||||||
|
preFixup = '' |
||||||
|
for bin in $out/libexec/Mathematica/Executables/*; do |
||||||
|
wrapProgram "$bin" ''${wrapProgramFlags[@]} |
||||||
|
done |
||||||
|
''; |
||||||
|
|
||||||
|
dontConfigure = true; |
||||||
|
dontBuild = true; |
||||||
|
|
||||||
|
# This is primarily an IO bound build; there's little benefit to building remotely |
||||||
|
preferLocalBuild = true; |
||||||
|
|
||||||
|
# All binaries are already stripped |
||||||
|
dontStrip = true; |
||||||
|
|
||||||
|
# NOTE: Some deps are still not found; ignore for now |
||||||
|
autoPatchelfIgnoreMissingDeps = true; |
||||||
|
} |
@ -1,106 +0,0 @@ |
|||||||
{ lib |
|
||||||
, requireFile |
|
||||||
, lang |
|
||||||
, majorVersion ? null |
|
||||||
}: |
|
||||||
|
|
||||||
let allVersions = with lib; flip map |
|
||||||
# N.B. Versions in this list should be ordered from newest to oldest. |
|
||||||
[ |
|
||||||
{ |
|
||||||
version = "13.0.1"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "3672a920c1b4af1afd480733f6d67665baf8258757dfe59a6ed6d7440cf26dba"; |
|
||||||
installer = "Mathematica_13.0.1_BNDL_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "13.0.0"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "15bbad39a5995031325d1d178f63b00e71706d3ec9001eba6d1681fbc991d3e1"; |
|
||||||
installer = "Mathematica_13.0.0_BNDL_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "12.3.1"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "51b9cab12fd91b009ea7ad4968a2c8a59e94dc55d2e6cc1d712acd5ba2c4d509"; |
|
||||||
installer = "Mathematica_12.3.1_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "12.3.0"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "045df045f6e796ded59f64eb2e0f1949ac88dcba1d5b6e05fb53ea0a4aed7215"; |
|
||||||
installer = "Mathematica_12.3.0_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "12.2.0"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "3b6676a203c6adb7e9c418a5484b037974287b5be09c64e7dfea74ddc0e400d7"; |
|
||||||
installer = "Mathematica_12.2.0_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "12.1.1"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "02mk8gmv8idnakva1nc7r7mx8ld02lk7jgsj1zbn962aps3bhixd"; |
|
||||||
installer = "Mathematica_12.1.1_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "12.1.0"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "15m9l20jvkxh5w6mbp81ys7mx2lx5j8acw5gz0il89lklclgb8z7"; |
|
||||||
installer = "Mathematica_12.1.0_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "12.0.0"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "b9fb71e1afcc1d72c200196ffa434512d208fa2920e207878433f504e58ae9d7"; |
|
||||||
installer = "Mathematica_12.0.0_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "11.3.0"; |
|
||||||
lang = "en"; |
|
||||||
language = "English"; |
|
||||||
sha256 = "0fcfe208c1eac8448e7be3af0bdb84370b17bd9c5d066c013928c8ee95aed10e"; |
|
||||||
installer = "Mathematica_11.3.0_LINUX.sh"; |
|
||||||
} |
|
||||||
{ |
|
||||||
version = "11.2.0"; |
|
||||||
lang = "ja"; |
|
||||||
language = "Japanese"; |
|
||||||
sha256 = "916392edd32bed8622238df435dd8e86426bb043038a3336f30df10d819b49b1"; |
|
||||||
installer = "Mathematica_11.2.0_ja_LINUX.sh"; |
|
||||||
} |
|
||||||
] |
|
||||||
({ version, lang, language, sha256, installer }: { |
|
||||||
inherit version lang; |
|
||||||
name = "mathematica-${version}" + optionalString (lang != "en") "-${lang}"; |
|
||||||
src = requireFile { |
|
||||||
name = installer; |
|
||||||
message = '' |
|
||||||
This nix expression requires that ${installer} is |
|
||||||
already part of the store. Find the file on your Mathematica CD |
|
||||||
and add it to the nix store with nix-store --add-fixed sha256 <FILE>. |
|
||||||
''; |
|
||||||
inherit sha256; |
|
||||||
}; |
|
||||||
}); |
|
||||||
minVersion = |
|
||||||
with lib; |
|
||||||
if majorVersion == null |
|
||||||
then elemAt (builtins.splitVersion (elemAt allVersions 0).version) 0 |
|
||||||
else majorVersion; |
|
||||||
maxVersion = toString (1 + builtins.fromJSON minVersion); |
|
||||||
in |
|
||||||
with lib; |
|
||||||
findFirst (l: (l.lang == lang |
|
||||||
&& l.version >= minVersion |
|
||||||
&& l.version < maxVersion)) |
|
||||||
(throw "Version ${minVersion} in language ${lang} not supported") |
|
||||||
allVersions |
|
@ -0,0 +1,103 @@ |
|||||||
|
{ lib, requireFile }: |
||||||
|
|
||||||
|
let versions = [ |
||||||
|
{ |
||||||
|
version = "13.0.1"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-NnKpIMG0rxr9SAcz9tZ2Zbr4JYdX3+WabtbXRAzybbo="; |
||||||
|
installer = "Mathematica_13.0.1_BNDL_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "13.0.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-FbutOaWZUDEyXR0Xj2OwDnFwbT7JAB66bRaB+8mR0+E="; |
||||||
|
installer = "Mathematica_13.0.0_BNDL_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "12.3.1"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-UbnKsS/ZGwCep61JaKLIpZ6U3FXS5swdcSrNW6LE1Qk="; |
||||||
|
installer = "Mathematica_12.3.1_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "12.3.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-BF3wRfbnlt7Vn2TrLg8ZSayI3LodW24F+1PqCkrtchU="; |
||||||
|
installer = "Mathematica_12.3.0_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "12.2.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-O2Z2ogPGrbfpxBilSEsDeXQoe1vgnGTn3+p03cDkANc="; |
||||||
|
installer = "Mathematica_12.2.0_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "12.1.1"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-rUe4hr5KmGTXD1I/eSYVoFHU68mH2aD2VLZFtOtDswo="; |
||||||
|
installer = "Mathematica_12.1.1_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "12.1.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-56P1KKOTJkQj+K9wppAsnYpej/YB3VUNL7DPLYGgqZY="; |
||||||
|
installer = "Mathematica_12.1.0_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "12.0.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-uftx4a/MHXLCABlv+kNFEtII+ikg4geHhDP1BOWK6dc="; |
||||||
|
installer = "Mathematica_12.0.0_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "11.3.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-D8/iCMHqyESOe+OvC9uENwsXvZxdBmwBOSjI7pWu0Q4="; |
||||||
|
installer = "Mathematica_11.3.0_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "11.2.0"; |
||||||
|
lang = "ja"; |
||||||
|
language = "Japanese"; |
||||||
|
sha256 = "sha256-kWOS7dMr7YYiI430Nd2OhkJrsEMDijM28w3xDYGbSbE="; |
||||||
|
installer = "Mathematica_11.2.0_ja_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "9.0.0"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-mKgxdd7dLWa5EOuR5C37SeU+UC9Cv5YTbY5xSK9y34A="; |
||||||
|
installer = "Mathematica_9.0.0_LINUX.sh"; |
||||||
|
} |
||||||
|
{ |
||||||
|
version = "10.0.2"; |
||||||
|
lang = "en"; |
||||||
|
language = "English"; |
||||||
|
sha256 = "sha256-NHUg1jzLos1EsIr8TdYdNaA5+3jEcFqVZIr9GVVUXrQ="; |
||||||
|
installer = "Mathematica_10.0.2_LINUX.sh"; |
||||||
|
} |
||||||
|
]; |
||||||
|
|
||||||
|
in |
||||||
|
|
||||||
|
lib.flip map versions ({ version, lang, language, sha256, installer }: { |
||||||
|
inherit version lang; |
||||||
|
src = requireFile { |
||||||
|
name = installer; |
||||||
|
message = '' |
||||||
|
This nix expression requires that ${installer} is |
||||||
|
already part of the store. Find the file on your Mathematica CD |
||||||
|
and add it to the nix store with nix-store --add-fixed sha256 <FILE>. |
||||||
|
''; |
||||||
|
inherit sha256; |
||||||
|
}; |
||||||
|
}) |
@ -0,0 +1,14 @@ |
|||||||
|
{ callPackage, fetchurl, fetchpatch, ... } @ args: |
||||||
|
|
||||||
|
callPackage ./generic.nix (args // rec { |
||||||
|
version = "1.79.0"; |
||||||
|
|
||||||
|
src = fetchurl { |
||||||
|
urls = [ |
||||||
|
"mirror://sourceforge/boost/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2" |
||||||
|
"https://dl.bintray.com/boostorg/release/${version}/source/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2" |
||||||
|
]; |
||||||
|
# SHA256 from http://www.boost.org/users/history/version_1_79_0.html |
||||||
|
sha256 = "475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39"; |
||||||
|
}; |
||||||
|
}) |
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.10.1"; |
|
||||||
sha256 = "1kbi2i1m5c7ss02ip8h0bdzvns4dgxx30a5c0iiph8g2ns02lr33"; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.12.4"; |
|
||||||
sha256 = "1gzvnd0g5hmx5ln39w7p4z4qphw87ksgsa1fgbpvi8d0asmwab2p"; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.13.0.1"; |
|
||||||
sha256 = "1r3hvbvjjww6pdk0mlg1lym7avxn8851xm8dg98bf4zq4vyrcw12"; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.14.0"; |
|
||||||
sha256 = "1k4kkb78kdbz732wsph07v3zy3cz7l1msk2byrfvp0nb02sfl3a4"; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.15.8"; |
|
||||||
sha256 = "1q3k8axhq6g8fqczmd6kbgzpdplrrgygppym4x1l99lzhplx9rqv"; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.16.1"; |
|
||||||
sha256 = "sha256-eOwUyZtrmyh3HwLQ1kLnk+briaXQPrlUqtbFol/nGBo="; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.18.2"; |
|
||||||
sha256 = "sha256-IXxVTZOAKVMuGCJtD32rVQRBJRWUJMEK2d+fPEmgzRU="; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.6.1.3"; |
|
||||||
sha256 = "1spj0d4flx6h3phxx3sg9r00yv734hina3365avkcz9brnm089c1"; |
|
||||||
} |
|
@ -1,6 +0,0 @@ |
|||||||
{ callPackage, ... }: |
|
||||||
|
|
||||||
callPackage ./generic-v3.nix { |
|
||||||
version = "3.9.2"; |
|
||||||
sha256 = "080zxa9w1pxp5y05aiwc0c8mlqkkh98wmid4l7m99cliphsd4qnn"; |
|
||||||
} |
|
@ -0,0 +1,34 @@ |
|||||||
|
{ batteries |
||||||
|
, buildDunePackage |
||||||
|
, cohttp-lwt-unix |
||||||
|
, fetchFromGitHub |
||||||
|
, lib |
||||||
|
, logs |
||||||
|
, yojson |
||||||
|
}: |
||||||
|
|
||||||
|
buildDunePackage rec { |
||||||
|
pname = "telegraml"; |
||||||
|
version = "unstable-2021-06-17"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "nv-vn"; |
||||||
|
repo = "TelegraML"; |
||||||
|
rev = "3e28933a287e5eacd34c46b434c487f155397abc"; |
||||||
|
sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
batteries |
||||||
|
cohttp-lwt-unix |
||||||
|
logs |
||||||
|
yojson |
||||||
|
]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "An OCaml library implementing the Telegram bot API"; |
||||||
|
homepage = "https://github.com/nv-vn/TelegraML/"; |
||||||
|
license = licenses.mit; |
||||||
|
maintainers = with maintainers; [ superherointj ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,43 @@ |
|||||||
|
{ lib |
||||||
|
, argcomplete |
||||||
|
, buildPythonPackage |
||||||
|
, fetchFromGitHub |
||||||
|
, pytestCheckHook |
||||||
|
, pythonOlder |
||||||
|
, typeguard |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "enhancements"; |
||||||
|
version = "0.4.0"; |
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
disabled = pythonOlder "3.7"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "ssh-mitm"; |
||||||
|
repo = "python-enhancements"; |
||||||
|
rev = version; |
||||||
|
hash = "sha256-Nff44WAQwSbkRpUHb9ANsQWWH2B819gtwQdXAjWJJls="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
argcomplete |
||||||
|
typeguard |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
pytestCheckHook |
||||||
|
]; |
||||||
|
|
||||||
|
pythonImportsCheck = [ |
||||||
|
"enhancements" |
||||||
|
]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "Library which extends various Python classes"; |
||||||
|
homepage = "https://enhancements.readthedocs.io"; |
||||||
|
license = licenses.lgpl3Only; |
||||||
|
maintainers = with maintainers; [ fab ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,58 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, fetchFromGitHub |
||||||
|
, pythonOlder |
||||||
|
, colored |
||||||
|
, enhancements |
||||||
|
, packaging |
||||||
|
, paramiko |
||||||
|
, pytz |
||||||
|
, pyyaml |
||||||
|
, requests |
||||||
|
, rich |
||||||
|
, sshpubkeys |
||||||
|
, typeguard |
||||||
|
, pytestCheckHook |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "ssh-mitm"; |
||||||
|
version = "2.0.0"; |
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
disabled = pythonOlder "3.7"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = pname; |
||||||
|
repo = pname; |
||||||
|
rev = version; |
||||||
|
hash = "sha256-1Vx68ISsT2Vrzy3YBqDqcGEHXHzdKR8jTtBH9SNXT2s="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
colored |
||||||
|
enhancements |
||||||
|
packaging |
||||||
|
paramiko |
||||||
|
pytz |
||||||
|
pyyaml |
||||||
|
requests |
||||||
|
rich |
||||||
|
sshpubkeys |
||||||
|
typeguard |
||||||
|
]; |
||||||
|
|
||||||
|
# Module has no tests |
||||||
|
doCheck = false; |
||||||
|
|
||||||
|
pythonImportsCheck = [ |
||||||
|
"sshmitm" |
||||||
|
]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "Tool for SSH security audits"; |
||||||
|
homepage = "https://github.com/ssh-mitm/ssh-mitm"; |
||||||
|
license = licenses.lgpl3Only; |
||||||
|
maintainers = with maintainers; [ fab ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,58 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, fetchFromGitHub |
||||||
|
|
||||||
|
# build time |
||||||
|
, setuptools-scm |
||||||
|
|
||||||
|
# propagates |
||||||
|
, aiohttp |
||||||
|
|
||||||
|
# tests |
||||||
|
, pytestCheckHook |
||||||
|
}: |
||||||
|
|
||||||
|
let |
||||||
|
pname = "uasiren"; |
||||||
|
version = "0.0.1"; |
||||||
|
in |
||||||
|
|
||||||
|
buildPythonPackage { |
||||||
|
inherit pname version; |
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "PaulAnnekov"; |
||||||
|
repo = pname; |
||||||
|
rev = "v${version}"; |
||||||
|
hash = "sha256-NHrnG5Vhz+JZgcTJyfIgGz0Ye+3dFVv2zLCCqw2++oM="; |
||||||
|
}; |
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = version; |
||||||
|
|
||||||
|
nativeBuildInputs = [ |
||||||
|
setuptools-scm |
||||||
|
]; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
aiohttp |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
pytestCheckHook |
||||||
|
]; |
||||||
|
|
||||||
|
pythonImportsCheck = [ |
||||||
|
"uasiren" |
||||||
|
"uasiren.client" |
||||||
|
]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
changelog = "https://github.com/PaulAnnekov/uasiren/releases/tag/v${version}"; |
||||||
|
description = "Implements siren.pp.ua API - public wrapper for api.ukrainealarm.com API that returns info about Ukraine air-raid alarms"; |
||||||
|
homepage = "https://github.com/PaulAnnekov/uasiren"; |
||||||
|
license = licenses.mit; |
||||||
|
maintainers = with maintainers; [ hexa ]; |
||||||
|
}; |
||||||
|
} |
||||||
|
|
@ -0,0 +1,751 @@ |
|||||||
|
# This file is automatically @generated by Cargo. |
||||||
|
# It is not intended for manual editing. |
||||||
|
version = 3 |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "addr2line" |
||||||
|
version = "0.17.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" |
||||||
|
dependencies = [ |
||||||
|
"gimli", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "adler" |
||||||
|
version = "1.0.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "ansi_term" |
||||||
|
version = "0.12.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" |
||||||
|
dependencies = [ |
||||||
|
"winapi", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "anyhow" |
||||||
|
version = "1.0.57" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "atty" |
||||||
|
version = "0.2.14" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" |
||||||
|
dependencies = [ |
||||||
|
"hermit-abi", |
||||||
|
"libc", |
||||||
|
"winapi", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "autocfg" |
||||||
|
version = "1.1.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "backtrace" |
||||||
|
version = "0.3.65" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61" |
||||||
|
dependencies = [ |
||||||
|
"addr2line", |
||||||
|
"cc", |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"libc", |
||||||
|
"miniz_oxide", |
||||||
|
"object", |
||||||
|
"rustc-demangle", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bit-set" |
||||||
|
version = "0.5.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de" |
||||||
|
dependencies = [ |
||||||
|
"bit-vec", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bit-vec" |
||||||
|
version = "0.6.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bitflags" |
||||||
|
version = "1.3.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"bolero-afl", |
||||||
|
"bolero-engine", |
||||||
|
"bolero-generator", |
||||||
|
"bolero-honggfuzz", |
||||||
|
"bolero-libfuzzer", |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"libtest-mimic", |
||||||
|
"rand", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero-afl" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"bolero-engine", |
||||||
|
"cc", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero-engine" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"anyhow", |
||||||
|
"backtrace", |
||||||
|
"bolero-generator", |
||||||
|
"lazy_static", |
||||||
|
"pretty-hex", |
||||||
|
"rand", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero-generator" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"bolero-generator-derive", |
||||||
|
"byteorder", |
||||||
|
"either", |
||||||
|
"rand", |
||||||
|
"rand_core", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero-generator-derive" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"proc-macro2", |
||||||
|
"quote", |
||||||
|
"syn", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero-honggfuzz" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"bolero-engine", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "bolero-libfuzzer" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"bolero-engine", |
||||||
|
"cc", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "byteorder" |
||||||
|
version = "1.4.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "cargo-bolero" |
||||||
|
version = "0.6.2" |
||||||
|
dependencies = [ |
||||||
|
"anyhow", |
||||||
|
"bit-set", |
||||||
|
"bolero", |
||||||
|
"bolero-afl", |
||||||
|
"bolero-honggfuzz", |
||||||
|
"humantime", |
||||||
|
"rustc_version", |
||||||
|
"serde", |
||||||
|
"serde_json", |
||||||
|
"structopt", |
||||||
|
"tempfile", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "cc" |
||||||
|
version = "1.0.73" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "cfg-if" |
||||||
|
version = "0.1.10" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "cfg-if" |
||||||
|
version = "1.0.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "clap" |
||||||
|
version = "2.34.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" |
||||||
|
dependencies = [ |
||||||
|
"ansi_term", |
||||||
|
"atty", |
||||||
|
"bitflags", |
||||||
|
"strsim", |
||||||
|
"textwrap", |
||||||
|
"unicode-width", |
||||||
|
"vec_map", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "crossbeam-channel" |
||||||
|
version = "0.4.4" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "b153fe7cbef478c567df0f972e02e6d736db11affe43dfc9c56a9374d1adfb87" |
||||||
|
dependencies = [ |
||||||
|
"crossbeam-utils 0.7.2", |
||||||
|
"maybe-uninit", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "crossbeam-channel" |
||||||
|
version = "0.5.4" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53" |
||||||
|
dependencies = [ |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"crossbeam-utils 0.8.8", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "crossbeam-deque" |
||||||
|
version = "0.8.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" |
||||||
|
dependencies = [ |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"crossbeam-epoch", |
||||||
|
"crossbeam-utils 0.8.8", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "crossbeam-epoch" |
||||||
|
version = "0.9.8" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c" |
||||||
|
dependencies = [ |
||||||
|
"autocfg", |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"crossbeam-utils 0.8.8", |
||||||
|
"lazy_static", |
||||||
|
"memoffset", |
||||||
|
"scopeguard", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "crossbeam-utils" |
||||||
|
version = "0.7.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" |
||||||
|
dependencies = [ |
||||||
|
"autocfg", |
||||||
|
"cfg-if 0.1.10", |
||||||
|
"lazy_static", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "crossbeam-utils" |
||||||
|
version = "0.8.8" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" |
||||||
|
dependencies = [ |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"lazy_static", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "either" |
||||||
|
version = "1.6.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "fastrand" |
||||||
|
version = "1.7.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" |
||||||
|
dependencies = [ |
||||||
|
"instant", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "getrandom" |
||||||
|
version = "0.2.6" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad" |
||||||
|
dependencies = [ |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"libc", |
||||||
|
"wasi", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "gimli" |
||||||
|
version = "0.26.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "heck" |
||||||
|
version = "0.3.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" |
||||||
|
dependencies = [ |
||||||
|
"unicode-segmentation", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "hermit-abi" |
||||||
|
version = "0.1.19" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" |
||||||
|
dependencies = [ |
||||||
|
"libc", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "humantime" |
||||||
|
version = "2.1.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "instant" |
||||||
|
version = "0.1.12" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" |
||||||
|
dependencies = [ |
||||||
|
"cfg-if 1.0.0", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "itoa" |
||||||
|
version = "1.0.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "lazy_static" |
||||||
|
version = "1.4.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "libc" |
||||||
|
version = "0.2.125" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "libtest-mimic" |
||||||
|
version = "0.3.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "08a7b8ac1f53f7be8d895ce6f7f534e49581c85c499b47429634b2cb2995e2ae" |
||||||
|
dependencies = [ |
||||||
|
"crossbeam-channel 0.4.4", |
||||||
|
"rayon", |
||||||
|
"structopt", |
||||||
|
"termcolor", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "maybe-uninit" |
||||||
|
version = "2.0.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "memchr" |
||||||
|
version = "2.5.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "memoffset" |
||||||
|
version = "0.6.5" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" |
||||||
|
dependencies = [ |
||||||
|
"autocfg", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "miniz_oxide" |
||||||
|
version = "0.5.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d2b29bd4bc3f33391105ebee3589c19197c4271e3e5a9ec9bfe8127eeff8f082" |
||||||
|
dependencies = [ |
||||||
|
"adler", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "num_cpus" |
||||||
|
version = "1.13.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" |
||||||
|
dependencies = [ |
||||||
|
"hermit-abi", |
||||||
|
"libc", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "object" |
||||||
|
version = "0.28.4" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424" |
||||||
|
dependencies = [ |
||||||
|
"memchr", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "ppv-lite86" |
||||||
|
version = "0.2.16" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "pretty-hex" |
||||||
|
version = "0.2.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "bc5c99d529f0d30937f6f4b8a86d988047327bb88d04d2c4afc356de74722131" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "proc-macro-error" |
||||||
|
version = "1.0.4" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" |
||||||
|
dependencies = [ |
||||||
|
"proc-macro-error-attr", |
||||||
|
"proc-macro2", |
||||||
|
"quote", |
||||||
|
"syn", |
||||||
|
"version_check", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "proc-macro-error-attr" |
||||||
|
version = "1.0.4" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" |
||||||
|
dependencies = [ |
||||||
|
"proc-macro2", |
||||||
|
"quote", |
||||||
|
"version_check", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "proc-macro2" |
||||||
|
version = "1.0.38" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa" |
||||||
|
dependencies = [ |
||||||
|
"unicode-xid", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "quote" |
||||||
|
version = "1.0.18" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1" |
||||||
|
dependencies = [ |
||||||
|
"proc-macro2", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rand" |
||||||
|
version = "0.8.5" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" |
||||||
|
dependencies = [ |
||||||
|
"libc", |
||||||
|
"rand_chacha", |
||||||
|
"rand_core", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rand_chacha" |
||||||
|
version = "0.3.1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" |
||||||
|
dependencies = [ |
||||||
|
"ppv-lite86", |
||||||
|
"rand_core", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rand_core" |
||||||
|
version = "0.6.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" |
||||||
|
dependencies = [ |
||||||
|
"getrandom", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rayon" |
||||||
|
version = "1.5.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "fd249e82c21598a9a426a4e00dd7adc1d640b22445ec8545feef801d1a74c221" |
||||||
|
dependencies = [ |
||||||
|
"autocfg", |
||||||
|
"crossbeam-deque", |
||||||
|
"either", |
||||||
|
"rayon-core", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rayon-core" |
||||||
|
version = "1.9.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "9f51245e1e62e1f1629cbfec37b5793bbabcaeb90f30e94d2ba03564687353e4" |
||||||
|
dependencies = [ |
||||||
|
"crossbeam-channel 0.5.4", |
||||||
|
"crossbeam-deque", |
||||||
|
"crossbeam-utils 0.8.8", |
||||||
|
"num_cpus", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "redox_syscall" |
||||||
|
version = "0.2.13" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" |
||||||
|
dependencies = [ |
||||||
|
"bitflags", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "remove_dir_all" |
||||||
|
version = "0.5.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" |
||||||
|
dependencies = [ |
||||||
|
"winapi", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rustc-demangle" |
||||||
|
version = "0.1.21" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "rustc_version" |
||||||
|
version = "0.4.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" |
||||||
|
dependencies = [ |
||||||
|
"semver", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "ryu" |
||||||
|
version = "1.0.9" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "scopeguard" |
||||||
|
version = "1.1.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "semver" |
||||||
|
version = "1.0.9" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "serde" |
||||||
|
version = "1.0.137" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1" |
||||||
|
dependencies = [ |
||||||
|
"serde_derive", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "serde_derive" |
||||||
|
version = "1.0.137" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be" |
||||||
|
dependencies = [ |
||||||
|
"proc-macro2", |
||||||
|
"quote", |
||||||
|
"syn", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "serde_json" |
||||||
|
version = "1.0.81" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" |
||||||
|
dependencies = [ |
||||||
|
"itoa", |
||||||
|
"ryu", |
||||||
|
"serde", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "strsim" |
||||||
|
version = "0.8.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "structopt" |
||||||
|
version = "0.3.26" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" |
||||||
|
dependencies = [ |
||||||
|
"clap", |
||||||
|
"lazy_static", |
||||||
|
"structopt-derive", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "structopt-derive" |
||||||
|
version = "0.4.18" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" |
||||||
|
dependencies = [ |
||||||
|
"heck", |
||||||
|
"proc-macro-error", |
||||||
|
"proc-macro2", |
||||||
|
"quote", |
||||||
|
"syn", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "syn" |
||||||
|
version = "1.0.93" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "04066589568b72ec65f42d65a1a52436e954b168773148893c020269563decf2" |
||||||
|
dependencies = [ |
||||||
|
"proc-macro2", |
||||||
|
"quote", |
||||||
|
"unicode-xid", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "tempfile" |
||||||
|
version = "3.3.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" |
||||||
|
dependencies = [ |
||||||
|
"cfg-if 1.0.0", |
||||||
|
"fastrand", |
||||||
|
"libc", |
||||||
|
"redox_syscall", |
||||||
|
"remove_dir_all", |
||||||
|
"winapi", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "termcolor" |
||||||
|
version = "1.1.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" |
||||||
|
dependencies = [ |
||||||
|
"winapi-util", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "textwrap" |
||||||
|
version = "0.11.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" |
||||||
|
dependencies = [ |
||||||
|
"unicode-width", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "unicode-segmentation" |
||||||
|
version = "1.9.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "unicode-width" |
||||||
|
version = "0.1.9" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "unicode-xid" |
||||||
|
version = "0.2.3" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "vec_map" |
||||||
|
version = "0.8.2" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "version_check" |
||||||
|
version = "0.9.4" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "wasi" |
||||||
|
version = "0.10.2+wasi-snapshot-preview1" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "winapi" |
||||||
|
version = "0.3.9" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" |
||||||
|
dependencies = [ |
||||||
|
"winapi-i686-pc-windows-gnu", |
||||||
|
"winapi-x86_64-pc-windows-gnu", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "winapi-i686-pc-windows-gnu" |
||||||
|
version = "0.4.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "winapi-util" |
||||||
|
version = "0.1.5" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" |
||||||
|
dependencies = [ |
||||||
|
"winapi", |
||||||
|
] |
||||||
|
|
||||||
|
[[package]] |
||||||
|
name = "winapi-x86_64-pc-windows-gnu" |
||||||
|
version = "0.4.0" |
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index" |
||||||
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" |
@ -0,0 +1,25 @@ |
|||||||
|
{ lib, fetchFromGitHub, rustPlatform, stdenv, libbfd, libopcodes, libunwind }: |
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec { |
||||||
|
pname = "cargo-bolero"; |
||||||
|
version = "0.6.2"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "camshaft"; |
||||||
|
repo = "bolero"; |
||||||
|
rev = "${pname}-v${version}"; |
||||||
|
sha256 = "1p8g8av0l1qsmq09m0nwyyryk1v5bbah5izl4hf80ivi41mywkyi"; |
||||||
|
}; |
||||||
|
|
||||||
|
cargoLock.lockFile = ./Cargo.lock; |
||||||
|
postPatch = "cp ${./Cargo.lock} Cargo.lock"; |
||||||
|
|
||||||
|
buildInputs = [ libbfd libopcodes libunwind ]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "Fuzzing and property testing front-end framework for Rust"; |
||||||
|
homepage = "https://github.com/camshaft/cargo-bolero"; |
||||||
|
license = with licenses; [ mit ]; |
||||||
|
maintainers = [ maintainers.ekleog ]; |
||||||
|
}; |
||||||
|
} |
@ -1,12 +1,12 @@ |
|||||||
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: |
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: |
||||||
|
|
||||||
buildLinux (args // rec { |
buildLinux (args // rec { |
||||||
version = "4.9.312"; |
version = "4.9.313"; |
||||||
extraMeta.branch = "4.9"; |
extraMeta.branch = "4.9"; |
||||||
extraMeta.broken = stdenv.isAarch64; |
extraMeta.broken = stdenv.isAarch64; |
||||||
|
|
||||||
src = fetchurl { |
src = fetchurl { |
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; |
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; |
||||||
sha256 = "09y6wl4j3y46fza6kmssibmxspxx0i44fqrhc2cyvrm2bgxv2bzs"; |
sha256 = "1p3vr1h01ph6x0pxrr6y6k5c4nrhvq650dfngv5mkrgsc5w7ffz0"; |
||||||
}; |
}; |
||||||
} // (args.argsOverride or {})) |
} // (args.argsOverride or {})) |
||||||
|
@ -1,4 +1,4 @@ |
|||||||
# frozen_string_literal: true |
# frozen_string_literal: true |
||||||
source "https://rubygems.org" |
source "https://rubygems.org" |
||||||
|
|
||||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.41" |
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.42" |
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue