Merge master into staging-nixos
This commit is contained in:
@@ -23,7 +23,11 @@ let
|
||||
restrict 127.0.0.1
|
||||
restrict -6 ::1
|
||||
|
||||
${toString (map (server: "server " + server + " iburst\n") cfg.servers)}
|
||||
${toString (
|
||||
map (
|
||||
server: "${if lib.strings.hasInfix "pool" server then "pool" else "server"} " + server + " iburst\n"
|
||||
) cfg.servers
|
||||
)}
|
||||
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "brainflow";
|
||||
version = "5.18.1";
|
||||
version = "5.19.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brainflow-dev";
|
||||
repo = "brainflow";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-VcWYH7DXpm0I8IgeDUTFs/13NfEIR5Q74iKFbFWReIA=";
|
||||
hash = "sha256-XoTd7pEsY2RuMQFj5zo9NhlYgiG0J0aEMdKuxtDuaFg=";
|
||||
};
|
||||
|
||||
patches = [ ];
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "motoc";
|
||||
version = "0.3.4";
|
||||
version = "0.3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "galister";
|
||||
repo = "motoc";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CAKgh9uddDhaFp2O62o1nNZ/ZWJbCR/7dMaI9V992Xk=";
|
||||
hash = "sha256-ozC7Az7G7qGsGURJ6UaM6VZH4PEUTknYDPShtXEKmrA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-RDzPvHlXuNLv3GiaGSYCyvbhdmxQkjUtwPq/e5NloOg=";
|
||||
cargoHash = "sha256-Owv0OTbBpsd6xvadVOu3F3JAmo6SPdwzT3MOAP54nPY=";
|
||||
|
||||
buildInputs = [
|
||||
openxr-loader
|
||||
|
||||
@@ -11,35 +11,38 @@
|
||||
stdenv,
|
||||
}:
|
||||
let
|
||||
dotnet = dotnetCorePackages.dotnet_9;
|
||||
electron = electron_37;
|
||||
dotnet = dotnetCorePackages.dotnet_9;
|
||||
in
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "vrcx";
|
||||
version = "2025.09.10";
|
||||
version = "2025.10.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vrcx-team";
|
||||
repo = "VRCX";
|
||||
rev = "b233bbc299fca9a956db387b83d90a4dbba61175";
|
||||
hash = "sha256-7axYnsImG+VllQE1rhr8NmuMCm5t3bgNYGIIn9j2wMk=";
|
||||
owner = "vrcx-team";
|
||||
rev = "cb6bc979d9371b89b289b6cb0bb8b6f60b350bc7";
|
||||
hash = "sha256-0LnFXSLyby5b2gSIse7Qld4cQlwNAFHSuGGqk6B9TZY=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-VFYWXPhZrg3q2PW4kWfVr5/DY8W6Uf1mvnwfB4mVBrs=";
|
||||
npmFlags = [ "--ignore-scripts" ];
|
||||
makeCacheWritable = true;
|
||||
npmFlags = [ "--ignore-scripts" ];
|
||||
npmDepsHash = "sha256-giWeXrsiFaZOh5zs7L4L0w3wcnD/F3TyrMM/POfOTvE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
# Build fails at executing dart from sass-embedded
|
||||
rm -r node_modules/sass-embedded*
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
# need to run vue-demi postinstall for pinia
|
||||
node ./node_modules/vue-demi/scripts/postinstall.js
|
||||
env PLATFORM=linux npm exec webpack -- --config webpack.config.js --mode production
|
||||
env PLATFORM=linux npm exec vite build src
|
||||
node ./src-electron/patch-package-version.js
|
||||
npm exec electron-builder -- --dir \
|
||||
-c.electronDist=${electron.dist} \
|
||||
@@ -64,7 +67,7 @@ buildNpmPackage (finalAttrs: {
|
||||
--set DOTNET_ROOT ${dotnet.runtime}/share/dotnet \
|
||||
--prefix PATH : ${lib.makeBinPath [ dotnet.runtime ]}
|
||||
|
||||
install -Dm644 VRCX.png "$out/share/icons/hicolor/256x256/apps/vrcx.png"
|
||||
install -Dm644 images/VRCX.png "$out/share/icons/hicolor/256x256/apps/vrcx.png"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -20,9 +20,6 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildAndTestSubdir = "worker-build";
|
||||
|
||||
# missing some module upstream to run the tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project";
|
||||
mainProgram = "worker-build";
|
||||
|
||||
@@ -76,12 +76,13 @@
|
||||
withLibsecret ? true,
|
||||
systemdSupport ? lib.meta.availableOn clangStdenv.hostPlatform systemd,
|
||||
testers,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
# https://webkitgtk.org/2024/10/04/webkitgtk-2.46.html recommends building with clang.
|
||||
clangStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "webkitgtk";
|
||||
version = "2.50.0";
|
||||
version = "2.50.1";
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}+abi=${
|
||||
if lib.versionAtLeast gtk3.version "4.0" then
|
||||
"6.0"
|
||||
@@ -101,7 +102,7 @@ clangStdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://webkitgtk.org/releases/webkitgtk-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-5WS4CZ+aOuMkCVObKQu9KtCE6ZttItSqxeUeRVTfi8I=";
|
||||
hash = "sha256-M+kS7m4820uYA3FfUGhq+Fpgr0fxz3KmrMai2xuz2f4=";
|
||||
};
|
||||
|
||||
patches = lib.optionals clangStdenv.hostPlatform.isLinux [
|
||||
@@ -109,6 +110,15 @@ clangStdenv.mkDerivation (finalAttrs: {
|
||||
inherit (builtins) storeDir;
|
||||
inherit (addDriverRunpath) driverLink;
|
||||
})
|
||||
|
||||
# Workaround to fix cross-compilation for RiscV
|
||||
# error: ‘toB3Type’ was not declared in this scope
|
||||
# See: https://bugs.webkit.org/show_bug.cgi?id=271371
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/webkit-team/webkit/-/raw/debian/2.44.1-1/debian/patches/fix-ftbfs-riscv64.patch";
|
||||
hash = "sha256-MgaSpXq9l6KCLQdQyel6bQFHG53l3GY277WePpYXdjA=";
|
||||
name = "fix_ftbfs_riscv64.patch";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
cython,
|
||||
eventlet,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
geomet,
|
||||
gevent,
|
||||
gremlinpython,
|
||||
@@ -21,7 +22,6 @@
|
||||
twisted,
|
||||
setuptools,
|
||||
distutils,
|
||||
pythonAtLeast,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -36,6 +36,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-RX9GLk2admzRasmP7LCwIfsJIt8TC/9rWhIcoTqS0qc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/datastax/python-driver/pull/1242
|
||||
(fetchpatch {
|
||||
name = "Maintain-compatibility-with-CPython-3.13.patch";
|
||||
url = "https://github.com/datastax/python-driver/commit/b144a84a1f97002c4545b335efaac719519cd9fa.patch";
|
||||
hash = "sha256-60ki6i1SiGxK+J4x/8voS7Hh2x249ykpjU9EMYKD8kc=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "geomet" ];
|
||||
|
||||
build-system = [
|
||||
@@ -62,6 +71,10 @@ buildPythonPackage rec {
|
||||
# This is used to determine the version of cython that can be used
|
||||
CASS_DRIVER_ALLOWED_CYTHON_VERSION = cython.version;
|
||||
|
||||
preBuild = ''
|
||||
export CASS_DRIVER_BUILD_CONCURRENCY=$NIX_BUILD_CORES
|
||||
'';
|
||||
|
||||
# Make /etc/protocols accessible to allow socket.getprotobyname('tcp') in sandbox,
|
||||
# also /etc/resolv.conf is referenced by some tests
|
||||
preCheck =
|
||||
@@ -116,8 +129,6 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
# cassandra/io/libevwrapper.c:668:10: error: implicit declaration of function ‘PyEval_ThreadsInitialized’ []
|
||||
broken = pythonAtLeast "3.13";
|
||||
description = "Python client driver for Apache Cassandra";
|
||||
homepage = "http://datastax.github.io/python-driver";
|
||||
changelog = "https://github.com/datastax/python-driver/blob/${version}/CHANGELOG.rst";
|
||||
|
||||
@@ -32,6 +32,8 @@ buildPythonPackage rec {
|
||||
mercurial
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "dulwich" ];
|
||||
|
||||
pythonImportsCheck = [ "hggit" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user