Merge staging-next into staging
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "ast-grep";
|
||||
version = "0.44.0";
|
||||
version = "0.44.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ast-grep";
|
||||
repo = "ast-grep";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-KTVyG2z2Vx4mLmkiwou4X04Z6qzpQxmwRCtcmG4euVA=";
|
||||
hash = "sha256-C6JwLx6z+/xSm9kMF48hfd3WTRax8Bdy3zgGeYxGyg8=";
|
||||
};
|
||||
|
||||
# error: linker `aarch64-linux-gnu-gcc` not found
|
||||
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-slFovLzLaK6DlTF/LKI74PUWXi9xkpy9hC9WWGmypcM=";
|
||||
cargoHash = "sha256-waeAXcxnvTWbuAhVWdA5wPdWvS1aSSptGerFoGEtFUE=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dashy-ui";
|
||||
version = "4.3.11";
|
||||
version = "4.4.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lissy93";
|
||||
repo = "dashy";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-BAzeS484udZ4Llgyx1pruKsgPOpI3i3XMTWy5cf2I1Q=";
|
||||
hash = "sha256-4AJx/BoRVYA8dU6HrIvGYWflvppxNsi2PWSpnJLWR0w=";
|
||||
};
|
||||
yarnOfflineCache = fetchYarnDeps {
|
||||
yarnLock = finalAttrs.src + "/yarn.lock";
|
||||
hash = "sha256-PCJxn3qXOZBHVJifa6xTYu1quW6zelt162fIgyH9g8g=";
|
||||
hash = "sha256-oxVxzdap3dWi1ORP+eviFabO+G8GcFd0ZM3/a20Qbog=";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.309.1";
|
||||
version = "0.311.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evcc-io";
|
||||
repo = "evcc";
|
||||
tag = version;
|
||||
hash = "sha256-fMWLr8UrwejLlPiPdcs5lLd//81iqvuE5Ia9Ne0d3l4=";
|
||||
hash = "sha256-dxP28NPW+V30XIzh2w++Glrb2xfZ0tpp4H+qOM13yt8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-lCXIgJuUg5NG8E/iYobGxtvxfTk77Y8ZzVi0GsjbbHw=";
|
||||
vendorHash = "sha256-Eh07T9FAoeoUfhJsK6DPmwE2rJX55Ijzp4ydxJc8/bQ=";
|
||||
|
||||
commonMeta = {
|
||||
license = lib.licenses.mit;
|
||||
@@ -40,7 +40,7 @@ buildGo126Module rec {
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit src;
|
||||
hash = "sha256-ypBg2TQ3qbc8cIBfFqICbNSCsIdokOtaFOqFD9bnMQM=";
|
||||
hash = "sha256-MhLc5RUjn8FYXiFQbGchRnf132QXwG0kSyyPsRRzu1A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -65,7 +65,6 @@ buildGo126Module rec {
|
||||
|
||||
tags = [
|
||||
"release"
|
||||
"test"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
@@ -88,6 +87,10 @@ buildGo126Module rec {
|
||||
"TestOctopusConfigParse"
|
||||
"TestSessionHandlerTimezoneFilter"
|
||||
"TestTemplates"
|
||||
# network access: mdns fails to start Avahi provider
|
||||
"TestControlBoxGridGuardHeartbeat"
|
||||
"TestEEBus"
|
||||
"TestShipPairing"
|
||||
];
|
||||
in
|
||||
[ "-skip=^${lib.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hdrhistogram_c";
|
||||
version = "0.11.10";
|
||||
version = "0.11.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HdrHistogram";
|
||||
repo = "HdrHistogram_c";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-LMZj7vuxOA1bgU/J10IKnyNe3R0dk2AA1ydLTHun4vg=";
|
||||
hash = "sha256-9Xp+gPqJpB7xZr5dzyc9Via9gxG9q/EriCx3cm++0kU=";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
@@ -34,11 +34,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lighttpd";
|
||||
version = "1.4.84";
|
||||
version = "1.4.85";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor finalAttrs.version}.x/lighttpd-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-B23UO+yPK6nObbfnyn6K1yJxzVKYBerSQAtW76oCb3A=";
|
||||
sha256 = "sha256-GN5Rs5O6xKaCeHnhp/83fBaeQUuuks0kUJHYD8JgHRM=";
|
||||
};
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
xcbuild,
|
||||
lld,
|
||||
llvm,
|
||||
python3,
|
||||
ninja,
|
||||
git,
|
||||
@@ -139,6 +141,10 @@ stdenv.mkDerivation {
|
||||
--replace-fail "rtc_static_library" "rtc_shared_library" \
|
||||
--replace-fail "complete_static_lib = true" ""
|
||||
|
||||
# Remove the libcxx hardening config to avoid clashes with nixpkgs' own compiler wrapper,
|
||||
# which already defines the hardening macros.
|
||||
sed -i '/config("libcxx_hardening") {/,/^}/c\config("libcxx_hardening") {}' build/config/compiler/BUILD.gn
|
||||
|
||||
substituteInPlace webrtc.gni \
|
||||
--replace-fail "!build_with_chromium && is_component_build" "false"
|
||||
|
||||
@@ -178,7 +184,18 @@ stdenv.mkDerivation {
|
||||
ln -sf ${lib.getExe gn} buildtools/mac/gn
|
||||
chmod +x build/toolchain/apple/linker_driver.py
|
||||
patchShebangs build/toolchain/apple/linker_driver.py
|
||||
substituteInPlace build/toolchain/apple/toolchain.gni --replace-fail "/bin/cp -Rc" "cp -a"
|
||||
|
||||
# When 'use_lld=true' is set, llvm-ar is used instead of ar.
|
||||
# The build config expects llvm-ar to be inside the provided clang base path,
|
||||
# but this is not the case in nixpkgs.
|
||||
substituteInPlace build/toolchain/apple/toolchain.gni \
|
||||
--replace-fail "/bin/cp -Rc" "cp -a" \
|
||||
--replace-fail '${"$"}{prefix}llvm-ar' '${lib.getExe' llvm "llvm-ar"}'
|
||||
|
||||
# nixpkgs calls the target "darwin" instead of "macos", and passing a different target
|
||||
# results in warnings by the nixpkgs compiler wrapper
|
||||
substituteInPlace build/config/mac/BUILD.gn \
|
||||
--replace-fail '$clang_arch-apple-macos' '$clang_arch-apple-darwin'
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
@@ -201,7 +218,10 @@ stdenv.mkDerivation {
|
||||
cpio
|
||||
pkg-config
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild ];
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
xcbuild
|
||||
lld
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
nasm
|
||||
@@ -270,7 +290,8 @@ stdenv.mkDerivation {
|
||||
"rtc_enable_objc_symbol_export=true"
|
||||
"rtc_include_dav1d_in_internal_decoder_factory=true"
|
||||
"clang_use_chrome_plugins=false"
|
||||
"use_lld=false"
|
||||
# ld64 traps on linking because of C++ hardening
|
||||
"use_lld=true"
|
||||
''clang_base_path="${clang}"''
|
||||
]);
|
||||
|
||||
@@ -288,6 +309,12 @@ stdenv.mkDerivation {
|
||||
"desktop_capture_objc"
|
||||
];
|
||||
|
||||
env = {
|
||||
# ensure install_name_tool has enough space in binary headers
|
||||
# to replace rpaths with very long nix store paths
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-headerpad_max_install_names";
|
||||
};
|
||||
|
||||
postBuild =
|
||||
lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
objcopy --redefine-syms="${boringSslSymbols}" "libwebrtc.so"
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "nerva";
|
||||
version = "1.39.0";
|
||||
version = "1.40.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praetorian-inc";
|
||||
repo = "nerva";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-SdSgBjbxsrnFuHVVa3yewzT9LTh6E2lW1rmZoWftVyg=";
|
||||
hash = "sha256-7KN8RlQyfKF55AX9xzdNnUiDoTWHlEb9dMoyT38PU4M=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Z0MSD+1/1VzrJ+pz5x0JvxrCxtJe59ckaTqHK/+TVN8=";
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "vunnel";
|
||||
version = "0.61.1";
|
||||
version = "0.62.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "vunnel";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-rxA+BVu+TkegZ6RXirzlxPxpURXdFT6KvSNSPPlef7U=";
|
||||
hash = "sha256-Np80Yj8zazMBgeHu27N97K543GmKw8gf9Muixu4WBVQ=";
|
||||
leaveDotGit = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user