Merge staging-next into staging
This commit is contained in:
commit
1e902c10ad
@ -77,6 +77,7 @@ lualogging,,,,,,
|
|||||||
luaossl,,,,,5.1,
|
luaossl,,,,,5.1,
|
||||||
luaposix,,,,34.1.1-1,,vyp lblasc
|
luaposix,,,,34.1.1-1,,vyp lblasc
|
||||||
luarepl,,,,,,
|
luarepl,,,,,,
|
||||||
|
luarocks,,,,,,mrcjkb teto
|
||||||
luarocks-build-rust-mlua,,,,,,mrcjkb
|
luarocks-build-rust-mlua,,,,,,mrcjkb
|
||||||
luarocks-build-treesitter-parser,,,,,,mrcjkb
|
luarocks-build-treesitter-parser,,,,,,mrcjkb
|
||||||
luasec,,,,,,flosse
|
luasec,,,,,,flosse
|
||||||
|
|
@ -83,7 +83,7 @@ in
|
|||||||
# These assertions can be removed in NixOS 24.11, when all users have been
|
# These assertions can be removed in NixOS 24.11, when all users have been
|
||||||
# warned once.
|
# warned once.
|
||||||
{
|
{
|
||||||
assertion = (cfg.settings ? replication_factor || cfg.settings ? replication_mode) || lib.versionOlder cfg.package "1.0.0";
|
assertion = (cfg.settings ? replication_factor || cfg.settings ? replication_mode) || lib.versionOlder cfg.package.version "1.0.0";
|
||||||
message = ''
|
message = ''
|
||||||
Garage 1.0.0 requires an explicit replication factor to be set.
|
Garage 1.0.0 requires an explicit replication factor to be set.
|
||||||
Please set replication_factor to 1 explicitly to preserve the previous behavior.
|
Please set replication_factor to 1 explicitly to preserve the previous behavior.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
@ -22,7 +22,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
options.services.nginx.tailscaleAuth = {
|
options.services.nginx.tailscaleAuth = {
|
||||||
enable = mkEnableOption "Enable tailscale.nginx-auth, to authenticate nginx users via tailscale.";
|
enable = mkEnableOption "tailscale.nginx-auth, to authenticate nginx users via tailscale";
|
||||||
|
|
||||||
expectedTailnet = mkOption {
|
expectedTailnet = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
|
@ -19,7 +19,7 @@ let
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
|
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
|
||||||
hash = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
|
hash = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
|
||||||
aarch64-linux = "sha512-U3Az5MtsHup+aNO6lVHeAXRAnNLUbQkL5qMTpYZTaLgiZEFQCUigBJXNPaiUiHA1rJAsFh6wpv20iRMcqRr9gA==";
|
aarch64-linux = "sha512-CFkL7vVYz6cS3iHyfG026+c4T3h9y3yDhNkwMKhbrt7hK33Yj1yLQUBw826DUmUNOgwomRwubz5jigCl2724bw==";
|
||||||
x86_64-linux = "sha512-JgcnCiq/ozrYDMH7zIns5c6x7TwtpJ6VVg6PUkcoDDgmr9ngIJmAdb+/v9mJUv98WNAPKmhCt0/H9DY2qWJ2Bg==";
|
x86_64-linux = "sha512-JgcnCiq/ozrYDMH7zIns5c6x7TwtpJ6VVg6PUkcoDDgmr9ngIJmAdb+/v9mJUv98WNAPKmhCt0/H9DY2qWJ2Bg==";
|
||||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
};
|
};
|
||||||
|
@ -5,23 +5,24 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "tuigreet";
|
pname = "tuigreet";
|
||||||
version = "0.9.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "apognu";
|
owner = "apognu";
|
||||||
repo = pname;
|
repo = "tuigreet";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-o1NPwZ2gvFxq988RhLz/6ucL4qb2dGtMdhNvAbQzIvg=";
|
sha256 = "sha256-e0YtpakEaaWdgu+bMr2VFoUc6+SUMFk4hYtSyk5aApY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-dfzNRs3NOtHoWBq6tx3DjL2knNwsdxBmjqJbPzQJifQ=";
|
cargoSha256 = "sha256-RkJjAmZ++4nc/lLh8g0LxGq2DjZGxQEjFOl8Yzx116A=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Graphical console greeter for greetd";
|
description = "Graphical console greeter for greetd";
|
||||||
homepage = "https://github.com/apognu/tuigreet";
|
homepage = "https://github.com/apognu/tuigreet";
|
||||||
license = licenses.gpl3Plus;
|
changelog = "https://github.com/apognu/tuigreet/releases/tag/${version}";
|
||||||
maintainers = with maintainers; [ luc65r ivar ];
|
license = lib.licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
maintainers = with lib.maintainers; [ luc65r ivar ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
mainProgram = "tuigreet";
|
mainProgram = "tuigreet";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3943,8 +3943,8 @@ let
|
|||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "code-spell-checker";
|
name = "code-spell-checker";
|
||||||
publisher = "streetsidesoftware";
|
publisher = "streetsidesoftware";
|
||||||
version = "4.0.1";
|
version = "4.0.2";
|
||||||
hash = "sha256-Vxk+PpwwRV7dH8A9hI+DSzPMqH2l//VtrgUV+w8at4g=";
|
hash = "sha256-k3FxRAtW9Fdhm7jD3ingFXONiBsOia1Whs7OPeDmlSw=";
|
||||||
};
|
};
|
||||||
meta = {
|
meta = {
|
||||||
changelog = "https://marketplace.visualstudio.com/items/streetsidesoftware.code-spell-checker/changelog";
|
changelog = "https://marketplace.visualstudio.com/items/streetsidesoftware.code-spell-checker/changelog";
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
buildDotnetGlobalTool {
|
buildDotnetGlobalTool {
|
||||||
pname = "fantomas";
|
pname = "fantomas";
|
||||||
version = "6.3.4";
|
version = "6.3.7";
|
||||||
|
|
||||||
nugetSha256 = "sha256-1aWqZynBkQoznenGoP0sbf1PcUXAbcHiWyECuv89xa0=";
|
nugetSha256 = "sha256-tEW1qQTcAqMVwH5tYeyukFQrjel7PrcteubzffgqKvw=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "F# source code formatter";
|
description = "F# source code formatter";
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "icloudpd";
|
pname = "icloudpd";
|
||||||
version = "1.18.0";
|
version = "1.19.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "icloud-photos-downloader";
|
owner = "icloud-photos-downloader";
|
||||||
repo = "icloud_photos_downloader";
|
repo = "icloud_photos_downloader";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-QVfzGL/W7EmJvGXM8ge4sxWhSyshHYPykudMO1IcZJs=";
|
hash = "sha256-VUa/VWLyGSuI+DRdrwXfvakB9/QD6qJik/XAfGtUubU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = true;
|
pythonRelaxDeps = true;
|
||||||
|
@ -30,13 +30,13 @@
|
|||||||
let
|
let
|
||||||
pname = "ollama";
|
pname = "ollama";
|
||||||
# don't forget to invalidate all hashes each update
|
# don't forget to invalidate all hashes each update
|
||||||
version = "0.1.39";
|
version = "0.1.41";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ollama";
|
owner = "ollama";
|
||||||
repo = "ollama";
|
repo = "ollama";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-OYWHpPvnIgdjDjpcV8BKnr5cq6eJzBsAOGZmaVBBalQ=";
|
hash = "sha256-rwJf/DbqTOD2TIS0YHK8CaIEC93CfeDg08qV9ydaNe4=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ let
|
|||||||
(preparePatch "02-clip-log.diff" "sha256-rMWbl3QgrPlhisTeHwD7EnGRJyOhLB4UeS7rqa0tdXM=")
|
(preparePatch "02-clip-log.diff" "sha256-rMWbl3QgrPlhisTeHwD7EnGRJyOhLB4UeS7rqa0tdXM=")
|
||||||
(preparePatch "03-load_exception.diff" "sha256-0XfMtMyg17oihqSFDBakBtAF0JwhsR188D+cOodgvDk=")
|
(preparePatch "03-load_exception.diff" "sha256-0XfMtMyg17oihqSFDBakBtAF0JwhsR188D+cOodgvDk=")
|
||||||
(preparePatch "04-metal.diff" "sha256-Ne8J9R8NndUosSK0qoMvFfKNwqV5xhhce1nSoYrZo7Y=")
|
(preparePatch "04-metal.diff" "sha256-Ne8J9R8NndUosSK0qoMvFfKNwqV5xhhce1nSoYrZo7Y=")
|
||||||
(preparePatch "05-default-pretokenizer.diff" "sha256-8ffYnl9kMHEZ05e5CqryYJLdJ6/EEQJSlW6e/IgaU2Q=")
|
(preparePatch "05-default-pretokenizer.diff" "sha256-NrQ0Fv5DAZYtRM0NBEeM2JLVTLFmb4Fs9RhwXhdMCC4=")
|
||||||
];
|
];
|
||||||
|
|
||||||
preparePatch = patch: hash: fetchpatch {
|
preparePatch = patch: hash: fetchpatch {
|
||||||
|
@ -5,16 +5,16 @@
|
|||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "rofi-obsidian";
|
pname = "rofi-obsidian";
|
||||||
version = "0.1.0";
|
version = "0.1.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Nydragon";
|
owner = "Nydragon";
|
||||||
repo = "rofi-obsidian";
|
repo = "rofi-obsidian";
|
||||||
rev = "c8f34e424a59b8a15bc77152462d59cfff7fc20e";
|
rev = "0.1.5";
|
||||||
hash = "sha256-t/neFiLdrA37jknLEsHmWhCug5BS40HgQpQ5a1svtQw=";
|
hash = "sha256-EQ7OGW5FTgfuJ/xJzOhl1eb3XNORUfs0efP17A6yp7g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-Eikzn7ZMsrujBdzmsiHGSYAJ+kGBgQAaiVJzixHknWM=";
|
cargoHash = "sha256-hAiBSAvnMRchH49bku2oPhoCK3+bcWiZW4YbcMuAiqU=";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Launch your Obsidian vaults from the comfort of rofi";
|
description = "Launch your Obsidian vaults from the comfort of rofi";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, lua
|
, lua
|
||||||
, wrapLua
|
, wrapLua
|
||||||
, luarocks
|
, luarocks_bootstrap
|
||||||
, writeTextFile
|
, writeTextFile
|
||||||
|
|
||||||
# Whether the derivation provides a lua module or not.
|
# Whether the derivation provides a lua module or not.
|
||||||
@ -91,7 +91,7 @@ let
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
lua # for lua.h
|
lua # for lua.h
|
||||||
wrapLua
|
wrapLua
|
||||||
luarocks
|
luarocks_bootstrap
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit doCheck extraConfig rockspecFilename knownRockspec externalDeps nativeCheckInputs;
|
inherit doCheck extraConfig rockspecFilename knownRockspec externalDeps nativeCheckInputs;
|
||||||
@ -99,7 +99,7 @@ let
|
|||||||
buildInputs = let
|
buildInputs = let
|
||||||
# example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ]
|
# example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ]
|
||||||
externalDeps' = lib.filter (dep: !lib.isDerivation dep) self.externalDeps;
|
externalDeps' = lib.filter (dep: !lib.isDerivation dep) self.externalDeps;
|
||||||
in [ lua.pkgs.luarocks ]
|
in [ luarocks_bootstrap ]
|
||||||
++ buildInputs
|
++ buildInputs
|
||||||
++ lib.optionals self.doCheck ([ luarocksCheckHook ] ++ self.nativeCheckInputs)
|
++ lib.optionals self.doCheck ([ luarocksCheckHook ] ++ self.nativeCheckInputs)
|
||||||
++ (map (d: d.dep) externalDeps')
|
++ (map (d: d.dep) externalDeps')
|
||||||
|
@ -1913,6 +1913,30 @@ buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
luarocks = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
|
||||||
|
buildLuarocksPackage {
|
||||||
|
pname = "luarocks";
|
||||||
|
version = "3.11.0-1";
|
||||||
|
knownRockspec = (fetchurl {
|
||||||
|
url = "mirror://luarocks/luarocks-3.11.0-1.rockspec";
|
||||||
|
sha256 = "0pi55445dskpw6nhrq52589h4v39fsf23c0kp8d4zg2qaf6y2n38";
|
||||||
|
}).outPath;
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "luarocks";
|
||||||
|
repo = "luarocks";
|
||||||
|
rev = "v3.11.0";
|
||||||
|
hash = "sha256-mSwwBuLWoMT38iYaV/BTdDmmBz4heTRJzxBHC0Vrvc4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.luarocks.org";
|
||||||
|
description = "A package manager for Lua modules.";
|
||||||
|
maintainers = with lib.maintainers; [ mrcjkb teto ];
|
||||||
|
license.fullName = "MIT";
|
||||||
|
};
|
||||||
|
}) {};
|
||||||
|
|
||||||
luarocks-build-rust-mlua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
|
luarocks-build-rust-mlua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }:
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "luarocks-build-rust-mlua";
|
pname = "luarocks-build-rust-mlua";
|
||||||
|
@ -54,6 +54,8 @@
|
|||||||
, vimPlugins
|
, vimPlugins
|
||||||
, vimUtils
|
, vimUtils
|
||||||
, yajl
|
, yajl
|
||||||
|
, zip
|
||||||
|
, unzip
|
||||||
, zlib
|
, zlib
|
||||||
, zziplib
|
, zziplib
|
||||||
}:
|
}:
|
||||||
@ -407,6 +409,34 @@ in
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
# As a nix user, use this derivation instead of "luarocks_bootstrap"
|
||||||
|
luarocks = prev.luarocks.overrideAttrs (oa: {
|
||||||
|
|
||||||
|
nativeBuildInputs = oa.nativeBuildInputs ++ [ installShellFiles lua unzip ];
|
||||||
|
# cmake is just to compile packages with "cmake" buildType, not luarocks itself
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ zip unzip cmake ];
|
||||||
|
|
||||||
|
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
|
installShellCompletion --cmd luarocks \
|
||||||
|
--bash <($out/bin/luarocks completion bash) \
|
||||||
|
--fish <($out/bin/luarocks completion fish) \
|
||||||
|
--zsh <($out/bin/luarocks completion zsh)
|
||||||
|
|
||||||
|
installShellCompletion --cmd luarocks-admin \
|
||||||
|
--bash <($out/bin/luarocks-admin completion bash) \
|
||||||
|
--fish <($out/bin/luarocks-admin completion fish) \
|
||||||
|
--zsh <($out/bin/luarocks-admin completion zsh)
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = oa.meta // {
|
||||||
|
mainProgram = "luarocks";
|
||||||
|
};
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
luasec = prev.luasec.overrideAttrs (oa: {
|
luasec = prev.luasec.overrideAttrs (oa: {
|
||||||
externalDeps = [
|
externalDeps = [
|
||||||
{ name = "OPENSSL"; dep = openssl; }
|
{ name = "OPENSSL"; dep = openssl; }
|
||||||
|
@ -36,13 +36,13 @@ assert !lapack.isILP64;
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "meep";
|
pname = "meep";
|
||||||
version = "1.28.0";
|
version = "1.29.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NanoComp";
|
owner = "NanoComp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-o/Xrd/Gn1RsbB+ZfggGH6/ugdsGtfTe2RgaHdpY5AyE=";
|
hash = "sha256-TB85obdk8pSWRaz3+3I6P6+dQtCHosWHRnKGck/wG9Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -12,23 +12,45 @@ let
|
|||||||
modules = builtins.fromJSON (builtins.readFile lockfile);
|
modules = builtins.fromJSON (builtins.readFile lockfile);
|
||||||
modulesVersion = modules.lockFileVersion;
|
modulesVersion = modules.lockFileVersion;
|
||||||
|
|
||||||
# a foldl' for json values
|
# A foldl' for moduleDepGraph repoSpecs.
|
||||||
foldlJSON = op: acc: value:
|
# We take any RepoSpec object under .moduleDepGraph.<moduleName>.repoSpec
|
||||||
let
|
foldlModuleDepGraph = op: acc: value:
|
||||||
# preorder, visit the current node first
|
if builtins.isAttrs value && value ? moduleDepGraph && builtins.isAttrs value.moduleDepGraph
|
||||||
acc' = op acc value;
|
then
|
||||||
|
lib.foldlAttrs
|
||||||
|
(_acc: moduleDepGraphName: module: (
|
||||||
|
if builtins.isAttrs module && module ? repoSpec
|
||||||
|
then op _acc { inherit moduleDepGraphName; } module.repoSpec
|
||||||
|
else _acc
|
||||||
|
))
|
||||||
|
acc
|
||||||
|
value.moduleDepGraph
|
||||||
|
else acc;
|
||||||
|
|
||||||
# then visit child values, ignoring attribute names
|
# a foldl' for moduleExtensions generatedRepoSpecs
|
||||||
children =
|
# We take any RepoSpec object under .moduleExtensions.<moduleExtensionName>.general.generatedRepoSpecs.<generatedRepoName>
|
||||||
if builtins.isList value then
|
foldlGeneratedRepoSpecs = op: acc: value:
|
||||||
lib.foldl' (foldlJSON op) acc' value
|
if builtins.isAttrs value && value ? moduleExtensions
|
||||||
else if builtins.isAttrs value then
|
then
|
||||||
lib.foldlAttrs (_acc: _name: foldlJSON op _acc) acc' value
|
lib.foldlAttrs
|
||||||
else
|
(_acc: moduleExtensionName: moduleExtension: (
|
||||||
acc';
|
if builtins.isAttrs moduleExtension
|
||||||
in
|
&& moduleExtension ? general
|
||||||
# like foldl', force evaluation of intermediate results
|
&& builtins.isAttrs moduleExtension.general
|
||||||
builtins.seq acc' children;
|
&& moduleExtension.general ? generatedRepoSpecs
|
||||||
|
&& builtins.isAttrs moduleExtension.general.generatedRepoSpecs
|
||||||
|
then
|
||||||
|
lib.foldlAttrs
|
||||||
|
(__acc: moduleExtensionGeneratedRepoName: repoSpec: (
|
||||||
|
op __acc { inherit moduleExtensionName moduleExtensionGeneratedRepoName; } repoSpec
|
||||||
|
))
|
||||||
|
_acc
|
||||||
|
moduleExtension.general.generatedRepoSpecs
|
||||||
|
else _acc
|
||||||
|
))
|
||||||
|
acc
|
||||||
|
value.moduleExtensions
|
||||||
|
else acc;
|
||||||
|
|
||||||
# remove the "--" prefix, abusing undocumented negative substring length
|
# remove the "--" prefix, abusing undocumented negative substring length
|
||||||
sanitize = str:
|
sanitize = str:
|
||||||
@ -36,6 +58,22 @@ let
|
|||||||
then builtins.substring 2 (-1) str
|
then builtins.substring 2 (-1) str
|
||||||
else str;
|
else str;
|
||||||
|
|
||||||
|
unmangleName = mangledName:
|
||||||
|
if mangledName ? moduleDepGraphName
|
||||||
|
then builtins.replaceStrings [ "@" ] [ "~" ] mangledName.moduleDepGraphName
|
||||||
|
else
|
||||||
|
# given moduleExtensionName = "@scope~//path/to:extension.bzl%extension"
|
||||||
|
# and moduleExtensionGeneratedRepoName = "repoName"
|
||||||
|
# return "scope~extension~repoName"
|
||||||
|
let
|
||||||
|
isMainModule = lib.strings.hasPrefix "//" mangledName.moduleExtensionName;
|
||||||
|
moduleExtensionParts = builtins.split "^@*([a-zA-Z0-9_~]*)//.*%(.*)$" mangledName.moduleExtensionName;
|
||||||
|
match = if (builtins.length moduleExtensionParts >= 2) then builtins.elemAt moduleExtensionParts 1 else [ "unknownPrefix" "unknownScope" "unknownExtension" ];
|
||||||
|
scope = if isMainModule then "_main" else builtins.elemAt match 0;
|
||||||
|
extension = builtins.elemAt match 1;
|
||||||
|
in
|
||||||
|
"${scope}~${extension}~${mangledName.moduleExtensionGeneratedRepoName}";
|
||||||
|
|
||||||
# We take any "attributes" object that has a "sha256" field. Every value
|
# We take any "attributes" object that has a "sha256" field. Every value
|
||||||
# under "attributes" is assumed to be an object, and all the "attributes"
|
# under "attributes" is assumed to be an object, and all the "attributes"
|
||||||
# with a "sha256" field are assumed to have either a "urls" or "url" field.
|
# with a "sha256" field are assumed to have either a "urls" or "url" field.
|
||||||
@ -55,9 +93,10 @@ let
|
|||||||
#
|
#
|
||||||
# !REMINDER! This works on a best-effort basis, so try to keep it from
|
# !REMINDER! This works on a best-effort basis, so try to keep it from
|
||||||
# failing loudly. Prefer warning traces.
|
# failing loudly. Prefer warning traces.
|
||||||
extract_source = f: acc: value:
|
extract_source = f: acc: mangledName: value:
|
||||||
let
|
let
|
||||||
attrs = value.attributes;
|
attrs = value.attributes;
|
||||||
|
name = unmangleName mangledName;
|
||||||
entry = hash: urls: name: {
|
entry = hash: urls: name: {
|
||||||
${hash} = fetchurl {
|
${hash} = fetchurl {
|
||||||
name = "source"; # just like fetch*, to get some deduplication
|
name = "source"; # just like fetch*, to get some deduplication
|
||||||
@ -72,11 +111,10 @@ let
|
|||||||
let
|
let
|
||||||
validUrls = builtins.isList urls
|
validUrls = builtins.isList urls
|
||||||
&& builtins.all (url: builtins.isString url && builtins.substring 0 4 url == "http") urls;
|
&& builtins.all (url: builtins.isString url && builtins.substring 0 4 url == "http") urls;
|
||||||
validName = builtins.isString attrs.name;
|
|
||||||
validHash = builtins.isString hash;
|
validHash = builtins.isString hash;
|
||||||
valid = validUrls && validName && validHash;
|
valid = validUrls && validHash;
|
||||||
in
|
in
|
||||||
if valid then acc // entry hash urls attrs.name
|
if valid then acc // entry hash urls name
|
||||||
else acc;
|
else acc;
|
||||||
withToplevelValue = acc: insert acc
|
withToplevelValue = acc: insert acc
|
||||||
(attrs.integrity or attrs.sha256)
|
(attrs.integrity or attrs.sha256)
|
||||||
@ -94,15 +132,16 @@ let
|
|||||||
addSources = acc: withToplevelValue (withRemotePatches (withArchives acc));
|
addSources = acc: withToplevelValue (withRemotePatches (withArchives acc));
|
||||||
in
|
in
|
||||||
if builtins.isAttrs value && value ? attributes
|
if builtins.isAttrs value && value ? attributes
|
||||||
&& builtins.isAttrs attrs && attrs ? name
|
&& value ? ruleClassName
|
||||||
|
&& builtins.isAttrs attrs
|
||||||
&& (attrs ? sha256 || attrs ? integrity)
|
&& (attrs ? sha256 || attrs ? integrity)
|
||||||
&& (attrs ? urls || attrs ? url)
|
&& (attrs ? urls || attrs ? url)
|
||||||
&& f attrs.name
|
&& f name
|
||||||
then addSources acc
|
then addSources acc
|
||||||
else acc;
|
else acc;
|
||||||
|
|
||||||
requiredSourcePredicate = n: requiredDepNamePredicate (sanitize n);
|
requiredSourcePredicate = n: requiredDepNamePredicate (sanitize n);
|
||||||
requiredDeps = foldlJSON (extract_source requiredSourcePredicate) { } modules;
|
requiredDeps = foldlModuleDepGraph (extract_source requiredSourcePredicate) { } modules // foldlGeneratedRepoSpecs (extract_source requiredSourcePredicate) { } modules;
|
||||||
|
|
||||||
command = ''
|
command = ''
|
||||||
mkdir -p $out/content_addressable/sha256
|
mkdir -p $out/content_addressable/sha256
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"lockFileVersion": 6,
|
"lockFileVersion": 6,
|
||||||
"moduleFileHash": "80605390be5478a274618e3f8fd7c7a7e1ce3036e086e1e1593ceba1b132b7f2",
|
"moduleFileHash": "88511df1b260515dce141aec0a1990a64de221731dfb656746b7ae1395acf57f",
|
||||||
"flags": {
|
"flags": {
|
||||||
"cmdRegistries": [
|
"cmdRegistries": [
|
||||||
"https://bcr.bazel.build/"
|
"https://bcr.bazel.build/"
|
||||||
@ -25,157 +25,10 @@
|
|||||||
"toolchainsToRegister": [],
|
"toolchainsToRegister": [],
|
||||||
"extensionUsages": [],
|
"extensionUsages": [],
|
||||||
"deps": {
|
"deps": {
|
||||||
"rules_proto": "rules_proto@5.3.0-21.7",
|
|
||||||
"protobuf": "protobuf@21.7",
|
|
||||||
"zlib": "zlib@1.3",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
"bazel_tools": "bazel_tools@_",
|
||||||
"local_config_platform": "local_config_platform@_"
|
"local_config_platform": "local_config_platform@_"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rules_proto@5.3.0-21.7": {
|
|
||||||
"name": "rules_proto",
|
|
||||||
"version": "5.3.0-21.7",
|
|
||||||
"key": "rules_proto@5.3.0-21.7",
|
|
||||||
"repoName": "rules_proto",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [],
|
|
||||||
"extensionUsages": [],
|
|
||||||
"deps": {
|
|
||||||
"bazel_skylib": "bazel_skylib@1.3.0",
|
|
||||||
"com_google_protobuf": "protobuf@21.7",
|
|
||||||
"rules_cc": "rules_cc@0.0.9",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=",
|
|
||||||
"strip_prefix": "rules_proto-5.3.0-21.7",
|
|
||||||
"remote_patches": {},
|
|
||||||
"remote_patch_strip": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"protobuf@21.7": {
|
|
||||||
"name": "protobuf",
|
|
||||||
"version": "21.7",
|
|
||||||
"key": "protobuf@21.7",
|
|
||||||
"repoName": "protobuf",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [],
|
|
||||||
"extensionUsages": [
|
|
||||||
{
|
|
||||||
"extensionBzlFile": "@rules_jvm_external//:extensions.bzl",
|
|
||||||
"extensionName": "maven",
|
|
||||||
"usingModule": "protobuf@21.7",
|
|
||||||
"location": {
|
|
||||||
"file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
|
|
||||||
"line": 22,
|
|
||||||
"column": 22
|
|
||||||
},
|
|
||||||
"imports": {
|
|
||||||
"maven": "maven"
|
|
||||||
},
|
|
||||||
"devImports": [],
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"tagName": "install",
|
|
||||||
"attributeValues": {
|
|
||||||
"name": "maven",
|
|
||||||
"artifacts": [
|
|
||||||
"com.google.code.findbugs:jsr305:3.0.2",
|
|
||||||
"com.google.code.gson:gson:2.8.9",
|
|
||||||
"com.google.errorprone:error_prone_annotations:2.3.2",
|
|
||||||
"com.google.j2objc:j2objc-annotations:1.3",
|
|
||||||
"com.google.guava:guava:31.1-jre",
|
|
||||||
"com.google.guava:guava-testlib:31.1-jre",
|
|
||||||
"com.google.truth:truth:1.1.2",
|
|
||||||
"junit:junit:4.13.2",
|
|
||||||
"org.mockito:mockito-core:4.3.1"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"devDependency": false,
|
|
||||||
"location": {
|
|
||||||
"file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
|
|
||||||
"line": 24,
|
|
||||||
"column": 14
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"hasDevUseExtension": false,
|
|
||||||
"hasNonDevUseExtension": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"deps": {
|
|
||||||
"bazel_skylib": "bazel_skylib@1.3.0",
|
|
||||||
"rules_python": "rules_python@0.22.1",
|
|
||||||
"rules_cc": "rules_cc@0.0.9",
|
|
||||||
"rules_proto": "rules_proto@5.3.0-21.7",
|
|
||||||
"rules_java": "rules_java@7.4.0",
|
|
||||||
"rules_pkg": "rules_pkg@0.7.0",
|
|
||||||
"com_google_abseil": "abseil-cpp@20211102.0",
|
|
||||||
"zlib": "zlib@1.3",
|
|
||||||
"upb": "upb@0.0.0-20220923-a547704",
|
|
||||||
"rules_jvm_external": "rules_jvm_external@4.4.2",
|
|
||||||
"com_google_googletest": "googletest@1.11.0",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protobuf-all-21.7.zip"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=",
|
|
||||||
"strip_prefix": "protobuf-21.7",
|
|
||||||
"remote_patches": {
|
|
||||||
"https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=",
|
|
||||||
"https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=",
|
|
||||||
"https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=",
|
|
||||||
"https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY="
|
|
||||||
},
|
|
||||||
"remote_patch_strip": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"zlib@1.3": {
|
|
||||||
"name": "zlib",
|
|
||||||
"version": "1.3",
|
|
||||||
"key": "zlib@1.3",
|
|
||||||
"repoName": "zlib",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [],
|
|
||||||
"extensionUsages": [],
|
|
||||||
"deps": {
|
|
||||||
"platforms": "platforms@0.0.7",
|
|
||||||
"rules_cc": "rules_cc@0.0.9",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=",
|
|
||||||
"strip_prefix": "zlib-1.3",
|
|
||||||
"remote_patches": {
|
|
||||||
"https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=",
|
|
||||||
"https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk="
|
|
||||||
},
|
|
||||||
"remote_patch_strip": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"bazel_tools@_": {
|
"bazel_tools@_": {
|
||||||
"name": "bazel_tools",
|
"name": "bazel_tools",
|
||||||
"version": "",
|
"version": "",
|
||||||
@ -341,36 +194,6 @@
|
|||||||
"bazel_tools": "bazel_tools@_"
|
"bazel_tools": "bazel_tools@_"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bazel_skylib@1.3.0": {
|
|
||||||
"name": "bazel_skylib",
|
|
||||||
"version": "1.3.0",
|
|
||||||
"key": "bazel_skylib@1.3.0",
|
|
||||||
"repoName": "bazel_skylib",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [
|
|
||||||
"//toolchains/unittest:cmd_toolchain",
|
|
||||||
"//toolchains/unittest:bash_toolchain"
|
|
||||||
],
|
|
||||||
"extensionUsages": [],
|
|
||||||
"deps": {
|
|
||||||
"platforms": "platforms@0.0.7",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-dNVE2W9KW7Yw1GXKi7z+Ix41lOWq5X4e2/F6brPKJQY=",
|
|
||||||
"strip_prefix": "",
|
|
||||||
"remote_patches": {},
|
|
||||||
"remote_patch_strip": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rules_cc@0.0.9": {
|
"rules_cc@0.0.9": {
|
||||||
"name": "rules_cc",
|
"name": "rules_cc",
|
||||||
"version": "0.0.9",
|
"version": "0.0.9",
|
||||||
@ -420,6 +243,161 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rules_java@7.4.0": {
|
||||||
|
"name": "rules_java",
|
||||||
|
"version": "7.4.0",
|
||||||
|
"key": "rules_java@7.4.0",
|
||||||
|
"repoName": "rules_java",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [
|
||||||
|
"//toolchains:all",
|
||||||
|
"@local_jdk//:runtime_toolchain_definition",
|
||||||
|
"@local_jdk//:bootstrap_runtime_toolchain_definition",
|
||||||
|
"@remotejdk11_linux_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_linux_aarch64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_linux_ppc64le_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_linux_s390x_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_macos_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_macos_aarch64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_win_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk11_win_arm64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_linux_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_linux_aarch64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_linux_ppc64le_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_linux_s390x_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_macos_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_macos_aarch64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_win_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk17_win_arm64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk21_linux_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk21_linux_aarch64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk21_macos_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk21_macos_aarch64_toolchain_config_repo//:all",
|
||||||
|
"@remotejdk21_win_toolchain_config_repo//:all"
|
||||||
|
],
|
||||||
|
"extensionUsages": [
|
||||||
|
{
|
||||||
|
"extensionBzlFile": "@rules_java//java:extensions.bzl",
|
||||||
|
"extensionName": "toolchains",
|
||||||
|
"usingModule": "rules_java@7.4.0",
|
||||||
|
"location": {
|
||||||
|
"file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel",
|
||||||
|
"line": 19,
|
||||||
|
"column": 27
|
||||||
|
},
|
||||||
|
"imports": {
|
||||||
|
"remote_java_tools": "remote_java_tools",
|
||||||
|
"remote_java_tools_linux": "remote_java_tools_linux",
|
||||||
|
"remote_java_tools_windows": "remote_java_tools_windows",
|
||||||
|
"remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64",
|
||||||
|
"remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64",
|
||||||
|
"local_jdk": "local_jdk",
|
||||||
|
"remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo",
|
||||||
|
"remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo",
|
||||||
|
"remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo",
|
||||||
|
"remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo",
|
||||||
|
"remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo",
|
||||||
|
"remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo",
|
||||||
|
"remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo",
|
||||||
|
"remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo",
|
||||||
|
"remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo",
|
||||||
|
"remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo",
|
||||||
|
"remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo",
|
||||||
|
"remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo",
|
||||||
|
"remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo",
|
||||||
|
"remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo",
|
||||||
|
"remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo",
|
||||||
|
"remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo",
|
||||||
|
"remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo",
|
||||||
|
"remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo",
|
||||||
|
"remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo",
|
||||||
|
"remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo",
|
||||||
|
"remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo"
|
||||||
|
},
|
||||||
|
"devImports": [],
|
||||||
|
"tags": [],
|
||||||
|
"hasDevUseExtension": false,
|
||||||
|
"hasNonDevUseExtension": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"deps": {
|
||||||
|
"platforms": "platforms@0.0.7",
|
||||||
|
"rules_cc": "rules_cc@0.0.9",
|
||||||
|
"bazel_skylib": "bazel_skylib@1.3.0",
|
||||||
|
"rules_proto": "rules_proto@5.3.0-21.7",
|
||||||
|
"rules_license": "rules_license@0.0.7",
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=",
|
||||||
|
"strip_prefix": "",
|
||||||
|
"remote_patches": {},
|
||||||
|
"remote_patch_strip": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rules_license@0.0.7": {
|
||||||
|
"name": "rules_license",
|
||||||
|
"version": "0.0.7",
|
||||||
|
"key": "rules_license@0.0.7",
|
||||||
|
"repoName": "rules_license",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [],
|
||||||
|
"extensionUsages": [],
|
||||||
|
"deps": {
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=",
|
||||||
|
"strip_prefix": "",
|
||||||
|
"remote_patches": {},
|
||||||
|
"remote_patch_strip": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rules_proto@5.3.0-21.7": {
|
||||||
|
"name": "rules_proto",
|
||||||
|
"version": "5.3.0-21.7",
|
||||||
|
"key": "rules_proto@5.3.0-21.7",
|
||||||
|
"repoName": "rules_proto",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [],
|
||||||
|
"extensionUsages": [],
|
||||||
|
"deps": {
|
||||||
|
"bazel_skylib": "bazel_skylib@1.3.0",
|
||||||
|
"com_google_protobuf": "protobuf@21.7",
|
||||||
|
"rules_cc": "rules_cc@0.0.9",
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=",
|
||||||
|
"strip_prefix": "rules_proto-5.3.0-21.7",
|
||||||
|
"remote_patches": {},
|
||||||
|
"remote_patch_strip": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"rules_python@0.22.1": {
|
"rules_python@0.22.1": {
|
||||||
"name": "rules_python",
|
"name": "rules_python",
|
||||||
"version": "0.22.1",
|
"version": "0.22.1",
|
||||||
@ -528,88 +506,81 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rules_java@7.4.0": {
|
"buildozer@6.4.0.2": {
|
||||||
"name": "rules_java",
|
"name": "buildozer",
|
||||||
"version": "7.4.0",
|
"version": "6.4.0.2",
|
||||||
"key": "rules_java@7.4.0",
|
"key": "buildozer@6.4.0.2",
|
||||||
"repoName": "rules_java",
|
"repoName": "buildozer",
|
||||||
"executionPlatformsToRegister": [],
|
"executionPlatformsToRegister": [],
|
||||||
"toolchainsToRegister": [
|
"toolchainsToRegister": [],
|
||||||
"//toolchains:all",
|
|
||||||
"@local_jdk//:runtime_toolchain_definition",
|
|
||||||
"@local_jdk//:bootstrap_runtime_toolchain_definition",
|
|
||||||
"@remotejdk11_linux_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_linux_aarch64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_linux_ppc64le_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_linux_s390x_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_macos_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_macos_aarch64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_win_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk11_win_arm64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_linux_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_linux_aarch64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_linux_ppc64le_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_linux_s390x_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_macos_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_macos_aarch64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_win_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk17_win_arm64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk21_linux_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk21_linux_aarch64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk21_macos_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk21_macos_aarch64_toolchain_config_repo//:all",
|
|
||||||
"@remotejdk21_win_toolchain_config_repo//:all"
|
|
||||||
],
|
|
||||||
"extensionUsages": [
|
"extensionUsages": [
|
||||||
{
|
{
|
||||||
"extensionBzlFile": "@rules_java//java:extensions.bzl",
|
"extensionBzlFile": "@buildozer//:buildozer_binary.bzl",
|
||||||
"extensionName": "toolchains",
|
"extensionName": "buildozer_binary",
|
||||||
"usingModule": "rules_java@7.4.0",
|
"usingModule": "buildozer@6.4.0.2",
|
||||||
"location": {
|
"location": {
|
||||||
"file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel",
|
"file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel",
|
||||||
"line": 19,
|
"line": 7,
|
||||||
"column": 27
|
"column": 33
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"remote_java_tools": "remote_java_tools",
|
"buildozer_binary": "buildozer_binary"
|
||||||
"remote_java_tools_linux": "remote_java_tools_linux",
|
|
||||||
"remote_java_tools_windows": "remote_java_tools_windows",
|
|
||||||
"remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64",
|
|
||||||
"remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64",
|
|
||||||
"local_jdk": "local_jdk",
|
|
||||||
"remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo",
|
|
||||||
"remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo",
|
|
||||||
"remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo",
|
|
||||||
"remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo",
|
|
||||||
"remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo",
|
|
||||||
"remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo",
|
|
||||||
"remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo",
|
|
||||||
"remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo",
|
|
||||||
"remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo",
|
|
||||||
"remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo",
|
|
||||||
"remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo",
|
|
||||||
"remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo",
|
|
||||||
"remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo",
|
|
||||||
"remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo",
|
|
||||||
"remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo",
|
|
||||||
"remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo",
|
|
||||||
"remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo",
|
|
||||||
"remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo",
|
|
||||||
"remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo",
|
|
||||||
"remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo",
|
|
||||||
"remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo"
|
|
||||||
},
|
},
|
||||||
"devImports": [],
|
"devImports": [],
|
||||||
"tags": [],
|
"tags": [
|
||||||
|
{
|
||||||
|
"tagName": "buildozer",
|
||||||
|
"attributeValues": {
|
||||||
|
"sha256": {
|
||||||
|
"darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e",
|
||||||
|
"darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d",
|
||||||
|
"linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119",
|
||||||
|
"linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa",
|
||||||
|
"windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b"
|
||||||
|
},
|
||||||
|
"version": "6.4.0"
|
||||||
|
},
|
||||||
|
"devDependency": false,
|
||||||
|
"location": {
|
||||||
|
"file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel",
|
||||||
|
"line": 8,
|
||||||
|
"column": 27
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"hasDevUseExtension": false,
|
"hasDevUseExtension": false,
|
||||||
"hasNonDevUseExtension": true
|
"hasNonDevUseExtension": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"deps": {
|
"deps": {
|
||||||
"platforms": "platforms@0.0.7",
|
"bazel_tools": "bazel_tools@_",
|
||||||
"rules_cc": "rules_cc@0.0.9",
|
"local_config_platform": "local_config_platform@_"
|
||||||
"bazel_skylib": "bazel_skylib@1.3.0",
|
},
|
||||||
"rules_proto": "rules_proto@5.3.0-21.7",
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=",
|
||||||
|
"strip_prefix": "buildozer-6.4.0.2",
|
||||||
|
"remote_patches": {
|
||||||
|
"https://bcr.bazel.build/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU="
|
||||||
|
},
|
||||||
|
"remote_patch_strip": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"platforms@0.0.7": {
|
||||||
|
"name": "platforms",
|
||||||
|
"version": "0.0.7",
|
||||||
|
"key": "platforms@0.0.7",
|
||||||
|
"repoName": "platforms",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [],
|
||||||
|
"extensionUsages": [],
|
||||||
|
"deps": {
|
||||||
"rules_license": "rules_license@0.0.7",
|
"rules_license": "rules_license@0.0.7",
|
||||||
"bazel_tools": "bazel_tools@_",
|
"bazel_tools": "bazel_tools@_",
|
||||||
"local_config_platform": "local_config_platform@_"
|
"local_config_platform": "local_config_platform@_"
|
||||||
@ -619,9 +590,203 @@
|
|||||||
"ruleClassName": "http_archive",
|
"ruleClassName": "http_archive",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"urls": [
|
"urls": [
|
||||||
"https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz"
|
"https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz"
|
||||||
],
|
],
|
||||||
"integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=",
|
"integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=",
|
||||||
|
"strip_prefix": "",
|
||||||
|
"remote_patches": {},
|
||||||
|
"remote_patch_strip": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"protobuf@21.7": {
|
||||||
|
"name": "protobuf",
|
||||||
|
"version": "21.7",
|
||||||
|
"key": "protobuf@21.7",
|
||||||
|
"repoName": "protobuf",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [],
|
||||||
|
"extensionUsages": [
|
||||||
|
{
|
||||||
|
"extensionBzlFile": "@rules_jvm_external//:extensions.bzl",
|
||||||
|
"extensionName": "maven",
|
||||||
|
"usingModule": "protobuf@21.7",
|
||||||
|
"location": {
|
||||||
|
"file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
|
||||||
|
"line": 22,
|
||||||
|
"column": 22
|
||||||
|
},
|
||||||
|
"imports": {
|
||||||
|
"maven": "maven"
|
||||||
|
},
|
||||||
|
"devImports": [],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"tagName": "install",
|
||||||
|
"attributeValues": {
|
||||||
|
"name": "maven",
|
||||||
|
"artifacts": [
|
||||||
|
"com.google.code.findbugs:jsr305:3.0.2",
|
||||||
|
"com.google.code.gson:gson:2.8.9",
|
||||||
|
"com.google.errorprone:error_prone_annotations:2.3.2",
|
||||||
|
"com.google.j2objc:j2objc-annotations:1.3",
|
||||||
|
"com.google.guava:guava:31.1-jre",
|
||||||
|
"com.google.guava:guava-testlib:31.1-jre",
|
||||||
|
"com.google.truth:truth:1.1.2",
|
||||||
|
"junit:junit:4.13.2",
|
||||||
|
"org.mockito:mockito-core:4.3.1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"devDependency": false,
|
||||||
|
"location": {
|
||||||
|
"file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel",
|
||||||
|
"line": 24,
|
||||||
|
"column": 14
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"hasDevUseExtension": false,
|
||||||
|
"hasNonDevUseExtension": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"deps": {
|
||||||
|
"bazel_skylib": "bazel_skylib@1.3.0",
|
||||||
|
"rules_python": "rules_python@0.22.1",
|
||||||
|
"rules_cc": "rules_cc@0.0.9",
|
||||||
|
"rules_proto": "rules_proto@5.3.0-21.7",
|
||||||
|
"rules_java": "rules_java@7.4.0",
|
||||||
|
"rules_pkg": "rules_pkg@0.7.0",
|
||||||
|
"com_google_abseil": "abseil-cpp@20211102.0",
|
||||||
|
"zlib": "zlib@1.3",
|
||||||
|
"upb": "upb@0.0.0-20220923-a547704",
|
||||||
|
"rules_jvm_external": "rules_jvm_external@4.4.2",
|
||||||
|
"com_google_googletest": "googletest@1.11.0",
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protobuf-all-21.7.zip"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=",
|
||||||
|
"strip_prefix": "protobuf-21.7",
|
||||||
|
"remote_patches": {
|
||||||
|
"https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=",
|
||||||
|
"https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=",
|
||||||
|
"https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=",
|
||||||
|
"https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY="
|
||||||
|
},
|
||||||
|
"remote_patch_strip": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zlib@1.3": {
|
||||||
|
"name": "zlib",
|
||||||
|
"version": "1.3",
|
||||||
|
"key": "zlib@1.3",
|
||||||
|
"repoName": "zlib",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [],
|
||||||
|
"extensionUsages": [],
|
||||||
|
"deps": {
|
||||||
|
"platforms": "platforms@0.0.7",
|
||||||
|
"rules_cc": "rules_cc@0.0.9",
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=",
|
||||||
|
"strip_prefix": "zlib-1.3",
|
||||||
|
"remote_patches": {
|
||||||
|
"https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=",
|
||||||
|
"https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk="
|
||||||
|
},
|
||||||
|
"remote_patch_strip": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"apple_support@1.5.0": {
|
||||||
|
"name": "apple_support",
|
||||||
|
"version": "1.5.0",
|
||||||
|
"key": "apple_support@1.5.0",
|
||||||
|
"repoName": "build_bazel_apple_support",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [
|
||||||
|
"@local_config_apple_cc_toolchains//:all"
|
||||||
|
],
|
||||||
|
"extensionUsages": [
|
||||||
|
{
|
||||||
|
"extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl",
|
||||||
|
"extensionName": "apple_cc_configure_extension",
|
||||||
|
"usingModule": "apple_support@1.5.0",
|
||||||
|
"location": {
|
||||||
|
"file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel",
|
||||||
|
"line": 17,
|
||||||
|
"column": 35
|
||||||
|
},
|
||||||
|
"imports": {
|
||||||
|
"local_config_apple_cc": "local_config_apple_cc",
|
||||||
|
"local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains"
|
||||||
|
},
|
||||||
|
"devImports": [],
|
||||||
|
"tags": [],
|
||||||
|
"hasDevUseExtension": false,
|
||||||
|
"hasNonDevUseExtension": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"deps": {
|
||||||
|
"bazel_skylib": "bazel_skylib@1.3.0",
|
||||||
|
"platforms": "platforms@0.0.7",
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=",
|
||||||
|
"strip_prefix": "",
|
||||||
|
"remote_patches": {},
|
||||||
|
"remote_patch_strip": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bazel_skylib@1.3.0": {
|
||||||
|
"name": "bazel_skylib",
|
||||||
|
"version": "1.3.0",
|
||||||
|
"key": "bazel_skylib@1.3.0",
|
||||||
|
"repoName": "bazel_skylib",
|
||||||
|
"executionPlatformsToRegister": [],
|
||||||
|
"toolchainsToRegister": [
|
||||||
|
"//toolchains/unittest:cmd_toolchain",
|
||||||
|
"//toolchains/unittest:bash_toolchain"
|
||||||
|
],
|
||||||
|
"extensionUsages": [],
|
||||||
|
"deps": {
|
||||||
|
"platforms": "platforms@0.0.7",
|
||||||
|
"bazel_tools": "bazel_tools@_",
|
||||||
|
"local_config_platform": "local_config_platform@_"
|
||||||
|
},
|
||||||
|
"repoSpec": {
|
||||||
|
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
||||||
|
"ruleClassName": "http_archive",
|
||||||
|
"attributes": {
|
||||||
|
"urls": [
|
||||||
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz"
|
||||||
|
],
|
||||||
|
"integrity": "sha256-dNVE2W9KW7Yw1GXKi7z+Ix41lOWq5X4e2/F6brPKJQY=",
|
||||||
"strip_prefix": "",
|
"strip_prefix": "",
|
||||||
"remote_patches": {},
|
"remote_patches": {},
|
||||||
"remote_patch_strip": 0
|
"remote_patch_strip": 0
|
||||||
@ -837,174 +1002,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"platforms@0.0.7": {
|
|
||||||
"name": "platforms",
|
|
||||||
"version": "0.0.7",
|
|
||||||
"key": "platforms@0.0.7",
|
|
||||||
"repoName": "platforms",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [],
|
|
||||||
"extensionUsages": [],
|
|
||||||
"deps": {
|
|
||||||
"rules_license": "rules_license@0.0.7",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=",
|
|
||||||
"strip_prefix": "",
|
|
||||||
"remote_patches": {},
|
|
||||||
"remote_patch_strip": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rules_license@0.0.7": {
|
|
||||||
"name": "rules_license",
|
|
||||||
"version": "0.0.7",
|
|
||||||
"key": "rules_license@0.0.7",
|
|
||||||
"repoName": "rules_license",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [],
|
|
||||||
"extensionUsages": [],
|
|
||||||
"deps": {
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=",
|
|
||||||
"strip_prefix": "",
|
|
||||||
"remote_patches": {},
|
|
||||||
"remote_patch_strip": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"buildozer@6.4.0.2": {
|
|
||||||
"name": "buildozer",
|
|
||||||
"version": "6.4.0.2",
|
|
||||||
"key": "buildozer@6.4.0.2",
|
|
||||||
"repoName": "buildozer",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [],
|
|
||||||
"extensionUsages": [
|
|
||||||
{
|
|
||||||
"extensionBzlFile": "@buildozer//:buildozer_binary.bzl",
|
|
||||||
"extensionName": "buildozer_binary",
|
|
||||||
"usingModule": "buildozer@6.4.0.2",
|
|
||||||
"location": {
|
|
||||||
"file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel",
|
|
||||||
"line": 7,
|
|
||||||
"column": 33
|
|
||||||
},
|
|
||||||
"imports": {
|
|
||||||
"buildozer_binary": "buildozer_binary"
|
|
||||||
},
|
|
||||||
"devImports": [],
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"tagName": "buildozer",
|
|
||||||
"attributeValues": {
|
|
||||||
"sha256": {
|
|
||||||
"darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e",
|
|
||||||
"darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d",
|
|
||||||
"linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119",
|
|
||||||
"linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa",
|
|
||||||
"windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b"
|
|
||||||
},
|
|
||||||
"version": "6.4.0"
|
|
||||||
},
|
|
||||||
"devDependency": false,
|
|
||||||
"location": {
|
|
||||||
"file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel",
|
|
||||||
"line": 8,
|
|
||||||
"column": 27
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"hasDevUseExtension": false,
|
|
||||||
"hasNonDevUseExtension": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"deps": {
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=",
|
|
||||||
"strip_prefix": "buildozer-6.4.0.2",
|
|
||||||
"remote_patches": {
|
|
||||||
"https://bcr.bazel.build/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU="
|
|
||||||
},
|
|
||||||
"remote_patch_strip": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"apple_support@1.5.0": {
|
|
||||||
"name": "apple_support",
|
|
||||||
"version": "1.5.0",
|
|
||||||
"key": "apple_support@1.5.0",
|
|
||||||
"repoName": "build_bazel_apple_support",
|
|
||||||
"executionPlatformsToRegister": [],
|
|
||||||
"toolchainsToRegister": [
|
|
||||||
"@local_config_apple_cc_toolchains//:all"
|
|
||||||
],
|
|
||||||
"extensionUsages": [
|
|
||||||
{
|
|
||||||
"extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl",
|
|
||||||
"extensionName": "apple_cc_configure_extension",
|
|
||||||
"usingModule": "apple_support@1.5.0",
|
|
||||||
"location": {
|
|
||||||
"file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel",
|
|
||||||
"line": 17,
|
|
||||||
"column": 35
|
|
||||||
},
|
|
||||||
"imports": {
|
|
||||||
"local_config_apple_cc": "local_config_apple_cc",
|
|
||||||
"local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains"
|
|
||||||
},
|
|
||||||
"devImports": [],
|
|
||||||
"tags": [],
|
|
||||||
"hasDevUseExtension": false,
|
|
||||||
"hasNonDevUseExtension": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"deps": {
|
|
||||||
"bazel_skylib": "bazel_skylib@1.3.0",
|
|
||||||
"platforms": "platforms@0.0.7",
|
|
||||||
"bazel_tools": "bazel_tools@_",
|
|
||||||
"local_config_platform": "local_config_platform@_"
|
|
||||||
},
|
|
||||||
"repoSpec": {
|
|
||||||
"bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl",
|
|
||||||
"ruleClassName": "http_archive",
|
|
||||||
"attributes": {
|
|
||||||
"urls": [
|
|
||||||
"https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz"
|
|
||||||
],
|
|
||||||
"integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=",
|
|
||||||
"strip_prefix": "",
|
|
||||||
"remote_patches": {},
|
|
||||||
"remote_patch_strip": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stardoc@0.5.1": {
|
"stardoc@0.5.1": {
|
||||||
"name": "stardoc",
|
"name": "stardoc",
|
||||||
"version": "0.5.1",
|
"version": "0.5.1",
|
||||||
@ -1066,7 +1063,7 @@
|
|||||||
},
|
},
|
||||||
"@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": {
|
"@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "S0n86BFe4SJ3lRaZiRA5D46oH52UO2hP1T50t/zldOw=",
|
"bzlTransitiveDigest": "ZggrqnDIPRFCqT9XaCYOxLiJx1XuMtOZNG1jvKYZ5lA=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -1155,7 +1152,7 @@
|
|||||||
},
|
},
|
||||||
"@@bazel_tools//tools/test:extensions.bzl%remote_coverage_tools_extension": {
|
"@@bazel_tools//tools/test:extensions.bzl%remote_coverage_tools_extension": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "l5mcjH2gWmbmIycx97bzI2stD0Q0M5gpDc0aLOHKIm8=",
|
"bzlTransitiveDigest": "7n9r2sWPYvn/OzUdHUoiJN/1hgIqWKOFCEQFVwHZGU0=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -1201,7 +1198,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_java~//java:extensions.bzl%toolchains": {
|
"@@rules_java~//java:extensions.bzl%toolchains": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "tJHbmWnq7m+9eUBnUdv7jZziQ26FmcGL9C5/hU3Q9UQ=",
|
"bzlTransitiveDigest": "0N5b5J9fUzo0sgvH4F3kIEaeXunz4Wy2/UtSFV/eXUY=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -1706,7 +1703,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_jvm_external~//:extensions.bzl%maven": {
|
"@@rules_jvm_external~//:extensions.bzl%maven": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "v8HssW6WP6B8s0BwuAMJuQCz6cQ9jlhOfx4dKBtPYB4=",
|
"bzlTransitiveDigest": "9ol/f6R1HONuabXvQTFIEvT1pWikli+mTIbvGRmDubk=",
|
||||||
"recordedFileInputs": {
|
"recordedFileInputs": {
|
||||||
"@@rules_jvm_external~//rules_jvm_external_deps_install.json": "10442a5ae27d9ff4c2003e5ab71643bf0d8b48dcf968b4173fa274c3232a8c06"
|
"@@rules_jvm_external~//rules_jvm_external_deps_install.json": "10442a5ae27d9ff4c2003e5ab71643bf0d8b48dcf968b4173fa274c3232a8c06"
|
||||||
},
|
},
|
||||||
@ -2729,7 +2726,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": {
|
"@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "DqBh3ObkOvjDFKv8VTy6J2qr7hXsJm9/sES7bha7ftA=",
|
"bzlTransitiveDigest": "Fq6CvJMzD0/LbttG5TUaCtEm/pFvTgO5X9tCUH87Fb0=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -2756,7 +2753,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_python~//python/extensions:python.bzl%python": {
|
"@@rules_python~//python/extensions:python.bzl%python": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "31xtOi5rmBJ3jSHeziLzV7KKKgCc6tMnRUZ1BQLBeao=",
|
"bzlTransitiveDigest": "2Az37kOCPyZmcfbxYv3bex98d5KhE/dEXOXLzid2XhA=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -2785,7 +2782,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": {
|
"@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "fUb5iKCtPgjhclraX+//BnJ+LOcG6I6+O9UUxT+gZ50=",
|
"bzlTransitiveDigest": "6qzMi1W/Ln/TUQ7+HG3HnNFz+oFeaWSDOnjCcoByfhI=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
|
@ -24,8 +24,8 @@ let
|
|||||||
# Take all the rules_ deps, bazel_ deps and their transitive dependencies,
|
# Take all the rules_ deps, bazel_ deps and their transitive dependencies,
|
||||||
# but none of the platform-specific binaries, as they are large and useless.
|
# but none of the platform-specific binaries, as they are large and useless.
|
||||||
requiredDepNamePredicate = name:
|
requiredDepNamePredicate = name:
|
||||||
null == builtins.match ".*(macos|osx|linux|win|apple|android|maven).*" name
|
null == builtins.match ".*(macos|osx|linux|win|android|maven).*" name
|
||||||
&& null != builtins.match "(platforms|com_google_|protobuf|rules_|bazel_).*" name ;
|
&& null != builtins.match "(platforms|com_google_|protobuf|rules_|bazel_|apple_support).*" name;
|
||||||
};
|
};
|
||||||
|
|
||||||
mergedDistDir = symlinkJoin {
|
mergedDistDir = symlinkJoin {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
# Always assume all markers valid (this is needed because we remove markers; they are non-deterministic).
|
# Always assume all markers valid (this is needed because we remove markers; they are non-deterministic).
|
||||||
# Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers).
|
# Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers).
|
||||||
, enableNixHacks ? false
|
, enableNixHacks ? false
|
||||||
, version ? "7.1.0",
|
, version ? "7.1.2"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -51,7 +51,7 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
|
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
|
||||||
hash = "sha256-HiDQyJ98nRtKOBqMWGtKQ1qWv8Qfu880osKUlOs4Z6E=";
|
hash = "sha256-nPbtIxnIFpGdlwFe720MWULNGu1I4DxzuggV2VPtYas=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use builtins.fetchurl to avoid IFD, in particular on hydra
|
# Use builtins.fetchurl to avoid IFD, in particular on hydra
|
||||||
|
@ -1066,7 +1066,7 @@
|
|||||||
},
|
},
|
||||||
"@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": {
|
"@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "S0n86BFe4SJ3lRaZiRA5D46oH52UO2hP1T50t/zldOw=",
|
"bzlTransitiveDigest": "ZggrqnDIPRFCqT9XaCYOxLiJx1XuMtOZNG1jvKYZ5lA=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -1155,7 +1155,7 @@
|
|||||||
},
|
},
|
||||||
"@@bazel_tools//tools/test:extensions.bzl%remote_coverage_tools_extension": {
|
"@@bazel_tools//tools/test:extensions.bzl%remote_coverage_tools_extension": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "l5mcjH2gWmbmIycx97bzI2stD0Q0M5gpDc0aLOHKIm8=",
|
"bzlTransitiveDigest": "7n9r2sWPYvn/OzUdHUoiJN/1hgIqWKOFCEQFVwHZGU0=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -1201,7 +1201,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_java~//java:extensions.bzl%toolchains": {
|
"@@rules_java~//java:extensions.bzl%toolchains": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "tJHbmWnq7m+9eUBnUdv7jZziQ26FmcGL9C5/hU3Q9UQ=",
|
"bzlTransitiveDigest": "0N5b5J9fUzo0sgvH4F3kIEaeXunz4Wy2/UtSFV/eXUY=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -1706,7 +1706,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_jvm_external~//:extensions.bzl%maven": {
|
"@@rules_jvm_external~//:extensions.bzl%maven": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "v8HssW6WP6B8s0BwuAMJuQCz6cQ9jlhOfx4dKBtPYB4=",
|
"bzlTransitiveDigest": "9ol/f6R1HONuabXvQTFIEvT1pWikli+mTIbvGRmDubk=",
|
||||||
"recordedFileInputs": {
|
"recordedFileInputs": {
|
||||||
"@@rules_jvm_external~//rules_jvm_external_deps_install.json": "10442a5ae27d9ff4c2003e5ab71643bf0d8b48dcf968b4173fa274c3232a8c06"
|
"@@rules_jvm_external~//rules_jvm_external_deps_install.json": "10442a5ae27d9ff4c2003e5ab71643bf0d8b48dcf968b4173fa274c3232a8c06"
|
||||||
},
|
},
|
||||||
@ -2729,7 +2729,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": {
|
"@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "DqBh3ObkOvjDFKv8VTy6J2qr7hXsJm9/sES7bha7ftA=",
|
"bzlTransitiveDigest": "Fq6CvJMzD0/LbttG5TUaCtEm/pFvTgO5X9tCUH87Fb0=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -2756,7 +2756,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_python~//python/extensions:python.bzl%python": {
|
"@@rules_python~//python/extensions:python.bzl%python": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "31xtOi5rmBJ3jSHeziLzV7KKKgCc6tMnRUZ1BQLBeao=",
|
"bzlTransitiveDigest": "2Az37kOCPyZmcfbxYv3bex98d5KhE/dEXOXLzid2XhA=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
@ -2785,7 +2785,7 @@
|
|||||||
},
|
},
|
||||||
"@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": {
|
"@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": {
|
||||||
"general": {
|
"general": {
|
||||||
"bzlTransitiveDigest": "fUb5iKCtPgjhclraX+//BnJ+LOcG6I6+O9UUxT+gZ50=",
|
"bzlTransitiveDigest": "6qzMi1W/Ln/TUQ7+HG3HnNFz+oFeaWSDOnjCcoByfhI=",
|
||||||
"recordedFileInputs": {},
|
"recordedFileInputs": {},
|
||||||
"recordedDirentsInputs": {},
|
"recordedDirentsInputs": {},
|
||||||
"envVariables": {},
|
"envVariables": {},
|
||||||
|
@ -22,13 +22,13 @@ assert builtins.all (x: builtins.elem x [ "node20" ]) nodeRuntimes;
|
|||||||
|
|
||||||
buildDotnetModule rec {
|
buildDotnetModule rec {
|
||||||
pname = "github-runner";
|
pname = "github-runner";
|
||||||
version = "2.316.1";
|
version = "2.317.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "actions";
|
owner = "actions";
|
||||||
repo = "runner";
|
repo = "runner";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-y7HU71Pk0SrZ+IPaVa/XyMeHylfjUSEju+gp1vyVKtQ=";
|
hash = "sha256-+VwEH4hmEjeYFWm7TOndD5SOJwsyPZEhKkCSyl7x8cE=";
|
||||||
leaveDotGit = true;
|
leaveDotGit = true;
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
git -C $out rev-parse --short HEAD > $out/.git-revision
|
git -C $out rev-parse --short HEAD > $out/.git-revision
|
||||||
|
@ -258,13 +258,13 @@
|
|||||||
(fetchNuGet { pname = "System.Xml.XDocument"; version = "4.3.0"; sha256 = "08h8fm4l77n0nd4i4fk2386y809bfbwqb7ih9d7564ifcxr5ssxd"; })
|
(fetchNuGet { pname = "System.Xml.XDocument"; version = "4.3.0"; sha256 = "08h8fm4l77n0nd4i4fk2386y809bfbwqb7ih9d7564ifcxr5ssxd"; })
|
||||||
(fetchNuGet { pname = "System.Xml.XmlDocument"; version = "4.3.0"; sha256 = "0bmz1l06dihx52jxjr22dyv5mxv6pj4852lx68grjm7bivhrbfwi"; })
|
(fetchNuGet { pname = "System.Xml.XmlDocument"; version = "4.3.0"; sha256 = "0bmz1l06dihx52jxjr22dyv5mxv6pj4852lx68grjm7bivhrbfwi"; })
|
||||||
(fetchNuGet { pname = "System.Xml.XmlSerializer"; version = "4.3.0"; sha256 = "07pa4sx196vxkgl3csvdmw94nydlsm9ir38xxcs84qjn8cycd912"; })
|
(fetchNuGet { pname = "System.Xml.XmlSerializer"; version = "4.3.0"; sha256 = "07pa4sx196vxkgl3csvdmw94nydlsm9ir38xxcs84qjn8cycd912"; })
|
||||||
(fetchNuGet { pname = "xunit"; version = "2.4.1"; sha256 = "0xf3kaywpg15flqaqfgywqyychzk15kz0kz34j21rcv78q9ywq20"; })
|
(fetchNuGet { pname = "xunit"; version = "2.7.1"; sha256 = "18bvbmqzkyia862x0jaj3ax5zlnlgsdpl52ai53g0fn8hcnnzzvi"; })
|
||||||
(fetchNuGet { pname = "xunit.abstractions"; version = "2.0.3"; sha256 = "00wl8qksgkxld76fgir3ycc5rjqv1sqds6x8yx40927q5py74gfh"; })
|
(fetchNuGet { pname = "xunit.abstractions"; version = "2.0.3"; sha256 = "00wl8qksgkxld76fgir3ycc5rjqv1sqds6x8yx40927q5py74gfh"; })
|
||||||
(fetchNuGet { pname = "xunit.analyzers"; version = "0.10.0"; sha256 = "15n02q3akyqbvkp8nq75a8rd66d4ax0rx8fhdcn8j78pi235jm7j"; })
|
(fetchNuGet { pname = "xunit.analyzers"; version = "1.12.0"; sha256 = "1shs5afb00r3ipnq7wnyvxyp4hnfcmbbf89qcpn4awhd355cv9k6"; })
|
||||||
(fetchNuGet { pname = "xunit.assert"; version = "2.4.1"; sha256 = "1imynzh80wxq2rp9sc4gxs4x1nriil88f72ilhj5q0m44qqmqpc6"; })
|
(fetchNuGet { pname = "xunit.assert"; version = "2.7.1"; sha256 = "1nz05bh78d6ilz2g2vqp3jgxag5p3h1cnidwr9qxzgr89nj2fas6"; })
|
||||||
(fetchNuGet { pname = "xunit.core"; version = "2.4.1"; sha256 = "1nnb3j4kzmycaw1g76ii4rfqkvg6l8gqh18falwp8g28h802019a"; })
|
(fetchNuGet { pname = "xunit.core"; version = "2.7.1"; sha256 = "1lr7dm4f9i6xcjq1d8sj3a11y1kj50z43wmr84m8aj6lkwqkbv6z"; })
|
||||||
(fetchNuGet { pname = "xunit.extensibility.core"; version = "2.4.1"; sha256 = "103qsijmnip2pnbhciqyk2jyhdm6snindg5z2s57kqf5pcx9a050"; })
|
(fetchNuGet { pname = "xunit.extensibility.core"; version = "2.7.1"; sha256 = "00pjk2i95kzjqm6j86i589vf265cmczk748xl4qcqalwrzhhc1g8"; })
|
||||||
(fetchNuGet { pname = "xunit.extensibility.execution"; version = "2.4.1"; sha256 = "1pbilxh1gp2ywm5idfl0klhl4gb16j86ib4x83p8raql1dv88qia"; })
|
(fetchNuGet { pname = "xunit.extensibility.execution"; version = "2.7.1"; sha256 = "1s90pc6fm3i5r3wjip9jkk2m5giyimik9f05b77yylknl9yipcfw"; })
|
||||||
(fetchNuGet { pname = "xunit.runner.visualstudio"; version = "2.4.1"; sha256 = "0fln5pk18z98gp0zfshy1p9h6r9wc55nyqhap34k89yran646vhn"; })
|
(fetchNuGet { pname = "xunit.runner.visualstudio"; version = "2.4.1"; sha256 = "0fln5pk18z98gp0zfshy1p9h6r9wc55nyqhap34k89yran646vhn"; })
|
||||||
(fetchNuGet { pname = "YamlDotNet.Signed"; version = "5.3.0"; sha256 = "1gnp5aa2zzg7v61bbn2ra1npy0p07szp5w8vqk44fdj3fcvrdxib"; })
|
(fetchNuGet { pname = "YamlDotNet.Signed"; version = "5.3.0"; sha256 = "1gnp5aa2zzg7v61bbn2ra1npy0p07szp5w8vqk44fdj3fcvrdxib"; })
|
||||||
]
|
]
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
/*
|
||||||
|
This is a minimal/manual luarocks derivation used by `buildLuarocksPackage` to install lua packages.
|
||||||
|
|
||||||
|
As a nix user, you should use the generated lua.pkgs.luarocks that contains a luarocks manifest
|
||||||
|
which makes it recognizable to luarocks.
|
||||||
|
Generating the manifest for luarocks_bootstrap seemed too hackish, which is why we end up
|
||||||
|
with two "luarocks" derivations.
|
||||||
|
|
||||||
|
*/
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -14,16 +14,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-dist";
|
pname = "cargo-dist";
|
||||||
version = "0.14.1";
|
version = "0.15.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "axodotdev";
|
owner = "axodotdev";
|
||||||
repo = "cargo-dist";
|
repo = "cargo-dist";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-4NsEvmIvgyv186WwMVxjo/PM4ccUtcIVCde4pwXUX98=";
|
hash = "sha256-p8acrP09/m3pdw24j8KUoZnqWMt2KwhVro9kNIABngw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-89YN0P6dsmliOf8mv5ugyWPbg/aflACfkDaZp8f1HBo=";
|
cargoHash = "sha256-ecGtY6IpAiFjcN/E43STsEjbHXqSC4Vo6z3mH01rTI4=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "cargo-llvm-cov";
|
pname = "cargo-llvm-cov";
|
||||||
version = "0.6.9";
|
version = "0.6.10";
|
||||||
|
|
||||||
owner = "taiki-e";
|
owner = "taiki-e";
|
||||||
homepage = "https://github.com/${owner}/${pname}";
|
homepage = "https://github.com/${owner}/${pname}";
|
||||||
@ -37,7 +37,7 @@ let
|
|||||||
cargoLock = fetchurl {
|
cargoLock = fetchurl {
|
||||||
name = "Cargo.lock";
|
name = "Cargo.lock";
|
||||||
url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
|
url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
|
||||||
sha256 = "sha256-r4C7z2/z4OVEf+IhFe061E7FzSx0VzADmg56Lb+DO/g=";
|
sha256 = "sha256-mlmvM/7FQkhSjLtueEJqZU3D86lL8Kf1EFXiY1+b/Oo=";
|
||||||
downloadToTemp = true;
|
downloadToTemp = true;
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
tar xzf $downloadedFile ${pname}-${version}/Cargo.lock
|
tar xzf $downloadedFile ${pname}-${version}/Cargo.lock
|
||||||
@ -55,7 +55,7 @@ rustPlatform.buildRustPackage {
|
|||||||
inherit owner;
|
inherit owner;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-fZrYmsulKOvgW/WtsYL7r4Cby+m9ShgXozxj1ZQ5ZAY=";
|
sha256 = "sha256-yF4i1V50TpR3pEqHQfAK4VTUW+GmT+XU6WVTWMzCUwo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Upstream doesn't include the lockfile so we need to add it back
|
# Upstream doesn't include the lockfile so we need to add it back
|
||||||
@ -63,7 +63,7 @@ rustPlatform.buildRustPackage {
|
|||||||
cp ${cargoLock} source/Cargo.lock
|
cp ${cargoLock} source/Cargo.lock
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoSha256 = "sha256-pfNb5P3IG1fQdhiQE3FGW8s4Rt2YyLxTejuzs3nqZUU=";
|
cargoSha256 = "sha256-6VQEu38g5a8bfbs8P/nOa3Zg2bSYnEOClzoMF95LAHI=";
|
||||||
|
|
||||||
# `cargo-llvm-cov` reads these environment variables to find these binaries,
|
# `cargo-llvm-cov` reads these environment variables to find these binaries,
|
||||||
# which are needed to run the tests
|
# which are needed to run the tests
|
||||||
|
@ -21,16 +21,16 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minio";
|
pname = "minio";
|
||||||
version = "2024-05-27T19-17-46Z";
|
version = "2024-05-28T17-19-04Z";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minio";
|
owner = "minio";
|
||||||
repo = "minio";
|
repo = "minio";
|
||||||
rev = "RELEASE.${version}";
|
rev = "RELEASE.${version}";
|
||||||
hash = "sha256-8ZoTRYsY8aXy0wxN38xFhi7EskBin5s9xOG0sXUC4gU=";
|
hash = "sha256-BOJWbUizwtoOxSL2DVZsmKoyLNvR1nvnIZq+DcO94Ws=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-hiy1pzB+DOjbs/eUv6zXYIrGzSXfVp36jrcs+Bw8Mrs=";
|
vendorHash = "sha256-B7ZlXvyn/ae5BnwYSp/A8JYiW0ZzME64DqUGQYCtrjY=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "zigbee2mqtt";
|
pname = "zigbee2mqtt";
|
||||||
version = "1.37.1";
|
version = "1.38.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Koenkk";
|
owner = "Koenkk";
|
||||||
repo = "zigbee2mqtt";
|
repo = "zigbee2mqtt";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-rpFx3OveHhurwb08jl0WHf121v0L/r0FQCIpHRJ1V24=";
|
hash = "sha256-h++IXL1y6f52mSBRP3TiqLMKkFXP/QKaNlpM2PCgT5k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-AjCeRU/Ew9UquqGPuJeGRC48kCi9uRZaI5Bam365Wwk=";
|
npmDepsHash = "sha256-OsG9FCdlSQYWrne/jaklNIsCT0M4+vt8DxZ9CGPfbzM=";
|
||||||
|
|
||||||
buildInputs = lib.optionals withSystemd [
|
buildInputs = lib.optionals withSystemd [
|
||||||
systemdMinimal
|
systemdMinimal
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ lib, stdenv, runCommand, fetchFromSavannah, fetchpatch, flex, bison, python3, autoconf, automake, libtool, bash
|
{ lib, stdenv, runCommand, fetchFromSavannah, fetchpatch, flex, bison, python3, autoconf, automake, libtool, bash
|
||||||
, rsync, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkg-config
|
, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkg-config
|
||||||
|
, fetchzip
|
||||||
, buildPackages
|
, buildPackages
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, fuse # only needed for grub-mount
|
, fuse # only needed for grub-mount
|
||||||
@ -53,22 +54,13 @@ let
|
|||||||
hash = "sha256-lathsBb2f7urh8R86ihpTdwo3h1hAHnRiHd5gCLVpBc=";
|
hash = "sha256-lathsBb2f7urh8R86ihpTdwo3h1hAHnRiHd5gCLVpBc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# HACK: the translations are stored on a different server,
|
# The locales are fetched from translationproject.org at build time,
|
||||||
# not versioned and not included in the git repo, so fetch them
|
# but those translations are not versioned/stable. For that reason
|
||||||
# and hope they don't change often
|
# we take them from the nearest release tarball instead:
|
||||||
locales = runCommand "grub-locales" {
|
locales = fetchzip {
|
||||||
nativeBuildInputs = [rsync];
|
url = "https://ftp.gnu.org/gnu/grub/grub-2.12.tar.gz";
|
||||||
|
hash = "sha256-IoRiJHNQ58y0UhCAD0CrpFiI8Mz1upzAtyh5K4Njh/w=";
|
||||||
outputHashAlgo = "sha256";
|
};
|
||||||
outputHashMode = "recursive";
|
|
||||||
outputHash = "sha256-XzW2e7Xe7Pi297eV/fD2B/6uONEz9UjL2EHDCY0huTA=";
|
|
||||||
}
|
|
||||||
''
|
|
||||||
mkdir -p po
|
|
||||||
${src}/linguas.sh
|
|
||||||
|
|
||||||
mv po $out
|
|
||||||
'';
|
|
||||||
in (
|
in (
|
||||||
|
|
||||||
assert efiSupport -> canEfi;
|
assert efiSupport -> canEfi;
|
||||||
@ -134,7 +126,7 @@ stdenv.mkDerivation rec {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -f --no-preserve=mode ${locales}/* po
|
cp -f --no-preserve=mode ${locales}/po/LINGUAS ${locales}/po/*.po po
|
||||||
|
|
||||||
./bootstrap --no-git --gnulib-srcdir=${gnulib}
|
./bootstrap --no-git --gnulib-srcdir=${gnulib}
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ rec {
|
|||||||
inherit (pkgs.buildPackages) makeSetupHook makeWrapper;
|
inherit (pkgs.buildPackages) makeSetupHook makeWrapper;
|
||||||
};
|
};
|
||||||
|
|
||||||
luarocks = toLuaModule (callPackage ../development/tools/misc/luarocks/default.nix { });
|
luarocks_bootstrap = toLuaModule (callPackage ../development/tools/misc/luarocks/default.nix { });
|
||||||
|
|
||||||
# a fork of luarocks used to generate nix lua derivations from rockspecs
|
# a fork of luarocks used to generate nix lua derivations from rockspecs
|
||||||
luarocks-nix = toLuaModule (callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { });
|
luarocks-nix = toLuaModule (callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { });
|
||||||
|
Loading…
Reference in New Issue
Block a user