Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-11-07 00:14:40 +00:00 committed by GitHub
commit 91a300acbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
50 changed files with 3862 additions and 489 deletions

View File

@ -162,9 +162,10 @@ rustPlatform.buildRustPackage {
}
```
Note that setting `cargoLock.lockFile` or `cargoLock.lockFileContents`
doesn't add a `Cargo.lock` to your `src`, and a `Cargo.lock` is still
required to build a rust package. A simple fix is to use:
If the upstream source repository lacks a `Cargo.lock` file, you must add one
to `src`, as it is essential for building a Rust package. Setting
`cargoLock.lockFile` or `cargoLock.lockFileContents` will not automatically add
a `Cargo.lock` file to `src`. A straightforward solution is to use:
```nix
{

View File

@ -870,6 +870,12 @@
githubId = 56970006;
keys = [ { fingerprint = "50E2 669C AB38 2F4A 5F72 1667 0D6B FC01 D45E DADD"; } ];
};
akotro = {
name = "Antonis Kotronakis";
email = "mail@akotro.dev";
github = "akotro";
githubId = 20772540;
};
akru = {
email = "mail@akru.me";
github = "akru";
@ -2351,7 +2357,7 @@
email = "baduhai@pm.me";
github = "baduhai";
githubId = 31864305;
name = "William";
name = "William Hai";
};
baitinq = {
email = "manuelpalenzuelamerino@gmail.com";

View File

@ -80,6 +80,8 @@ in {
'';
};
package = lib.options.mkPackageOption pkgs "snapcast" { };
listenAddress = lib.mkOption {
type = lib.types.str;
default = "::";
@ -286,7 +288,7 @@ in {
serviceConfig = {
DynamicUser = true;
ExecStart = "${pkgs.snapcast}/bin/snapserver --daemon ${optionString}";
ExecStart = "${cfg.package}/bin/snapserver --daemon ${optionString}";
Type = "forking";
LimitRTPRIO = 50;
LimitRTTIME = "infinity";

View File

@ -406,8 +406,8 @@ let
mktplcRef = {
name = "vscode-neovim";
publisher = "asvetliakov";
version = "1.18.13";
hash = "sha256-FFgleWhzFaAE0UdKQ6lZsszBtJ46UZ3bfx1V3SopDNc=";
version = "1.18.14";
hash = "sha256-Db49bLX0QLr7fS7ZUyeWOustN63LpaJ6IBTKMqAz8uc=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/asvetliakov.vscode-neovim/changelog";

View File

@ -1,15 +1,15 @@
{ lib
, stdenv
, fetchFromGitHub
, zip
, copyDesktopItems
, libpng
, SDL2
, SDL2_image
, darwin
{
lib,
stdenv,
fetchFromGitHub,
zip,
copyDesktopItems,
libpng,
SDL2,
SDL2_image,
# Optionally bundle a ROM file
, rom ? null
rom ? null,
}:
stdenv.mkDerivation (finalAttrs: {
@ -43,8 +43,6 @@ stdenv.mkDerivation (finalAttrs: {
libpng
SDL2
SDL2_image
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
];
makeFlags = [
@ -56,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
"CC=${stdenv.cc.targetPrefix}cc"
];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-framework CoreFoundation";
};
desktopItems = [ "linux/tamatool.desktop" ];
installPhase = ''

View File

@ -1,9 +1,6 @@
{
stdenv,
lib,
openexr,
jemalloc,
c-blosc,
binutils,
fetchFromGitHub,
cmake,
@ -55,17 +52,6 @@ let
"--enable-debug=no"
];
});
openvdb' = openvdb.overrideAttrs (old: {
buildInputs = [
openexr
boost179
tbb_2021_11
jemalloc
c-blosc
ilmbase
];
});
in
stdenv.mkDerivation rec {
pname = "bambu-studio";
@ -111,7 +97,7 @@ stdenv.mkDerivation rec {
mpfr
nlopt
opencascade-occt_7_6
openvdb'
openvdb
pcre
tbb_2021_11
webkitgtk_4_0

View File

@ -26,6 +26,7 @@
, Cocoa
, Foundation
, OpenGL
, unstableGitUpdater
}:
let
@ -148,6 +149,8 @@ stdenv.mkDerivation (finalAttrs: {
nixosTest = nixosTests.ladybird;
};
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Browser using the SerenityOS LibWeb engine with a Qt or Cocoa GUI";
homepage = "https://ladybird.org";

View File

@ -34,13 +34,13 @@ let
in
buildGoModule rec {
pname = "argo";
version = "3.5.11";
version = "3.5.12";
src = fetchFromGitHub {
owner = "argoproj";
repo = "argo";
rev = "refs/tags/v${version}";
hash = "sha256-Yw61BCcMLl/zkmPm79SI0AdT6Nj2bxQkt6IKRBu0FmQ=";
hash = "sha256-WJh6YP5WICgqJMPug3AIqxgrzH5Pp+rVtt5RfMjS9IU=";
};
vendorHash = "sha256-QwQasJMSEnHvBxyxCjLuinPt47XAhERch3j60KXGxa4=";

View File

@ -14,13 +14,13 @@
let
package = buildGoModule rec {
pname = "opentofu";
version = "1.8.4";
version = "1.8.5";
src = fetchFromGitHub {
owner = "opentofu";
repo = "opentofu";
rev = "v${version}";
hash = "sha256-YUN+JBYn8Bq4glZNBdlr++WJgGpGSKK1PjWqaduF8bg=";
hash = "sha256-sZGKM6Dxz0bZkHIITujojSsKtRD4E+q1uReWRg5EfC8=";
};
vendorHash = "sha256-cM2DSP2ss3vleUhPBIdyxKeWJxtHpdjL5b5HVS/iC6o=";

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "popeye";
version = "0.21.3";
version = "0.21.5";
src = fetchFromGitHub {
rev = "v${version}";
owner = "derailed";
repo = "popeye";
sha256 = "sha256-2+AV2gt67zLa7bRIfsxQIeB82iJba8Y4P0fq9273r7Q=";
sha256 = "sha256-2Ooh8yk6sD0VuHHxgkyIwqbJ9ynEUFDW3ti9ZzBOPX0=";
};
ldflags = [
@ -17,7 +17,7 @@ buildGoModule rec {
"-X github.com/derailed/popeye/cmd.commit=${version}"
];
vendorHash = "sha256-qrw/7fauMVb3Ai5E5MXL84yXHcReJZZ1oioB/Cv32Is=";
vendorHash = "sha256-uTuDI9cQFE5Fdf5wcCAwjO1p/niSNHnXmWF6QhLkDUk=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -38,7 +38,6 @@ let
meta = with lib; {
description = "Low-latency, high quality voice chat software";
mainProgram = "mumble-server";
homepage = "https://mumble.info";
license = licenses.bsd3;
maintainers = with maintainers; [ felixsinger lilacious ];
@ -117,6 +116,6 @@ let
];
};
in {
mumble = client source;
murmur = server source;
mumble = lib.recursiveUpdate (client source) {meta.mainProgram = "mumble";};
murmur = lib.recursiveUpdate (server source) {meta.mainProgram = "mumble-server";};
}

View File

@ -24,6 +24,7 @@ let
else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64"
else if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm64"
else if stdenv.hostPlatform.system == "x86_64-darwin" then "macos64"
else if stdenv.hostPlatform.system == "aarch64-darwin" then "macos-aarch64"
else throw "Unsupported system: ${stdenv.hostPlatform.system}";
desktopItem = makeDesktopItem {
@ -57,7 +58,7 @@ stdenv.mkDerivation rec {
# and is not able to build the application itself
buildPhase = ''
runHook preBuild
ant -f build -Dsystem.version=${version} init compile jar
ant -f build -Dsystem.version=${version} init compile jar ${lib.optionalString stdenv.hostPlatform.isDarwin "zip lib"}
runHook postBuild
'';
@ -75,6 +76,13 @@ stdenv.mkDerivation rec {
install -Dm644 plugin.xml $out/share/java/
install -Dm644 build/jameica-icon.png $out/share/pixmaps/jameica.png
cp ${desktopItem}/share/applications/* $out/share/applications/
'' + lib.optionalString stdenv.hostPlatform.isDarwin ''
# Create .app bundle for macOS
mkdir -p $out/Applications
chmod +x releases/${_version}-${_build}-${_build}/tmp/jameica.app/jameica*.sh
cp -r releases/${_version}-${_build}-${_build}/tmp/jameica.app $out/Applications/Jameica.app
'' + ''
runHook postInstall
'';
@ -101,7 +109,7 @@ stdenv.mkDerivation rec {
binaryBytecode # source bundles dependencies as jars
];
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
platforms = platforms.unix;
maintainers = with maintainers; [ flokli r3dl3g ];
mainProgram = "jameica";
};

View File

@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
nix-update-script,
cmake,
ninja,
@ -15,33 +16,48 @@
procps,
qtbase,
stdenv,
tesseract,
websocketpp,
libXScrnSaver,
libusb1,
pkg-config,
fetchpatch,
# #FIXME: Could not get cmake to pick up on these dependencies
# Prevents cmake from building the OCR video capabilities
# Everything else should work just missing this on plugin
# tesseract,
# leptonica,
}:
let
httplib-src = fetchFromGitHub {
owner = "yhirose";
repo = "cpp-httplib";
rev = "v0.17.3";
hash = "sha256-yvaPIbRqJGkiob3Nrv3H1ieFAC5b+h1tTncJWTy4dmk=";
rev = "v0.13.3";
hash = "sha256-ESaH0+n7ycpOKM+Mnv/UgT16UEx86eFMQDHB3RVmgBw=";
};
in
stdenv.mkDerivation rec {
pname = "advanced-scene-switcher";
version = "1.27.2";
version = "1.28.1";
src = fetchFromGitHub {
owner = "WarmUpTill";
repo = "SceneSwitcher";
rev = version;
hash = "sha256-7IciHCe2KemKNJpD9QcYK4AtxHlYuWaPsBCcVuPVvgA=";
hash = "sha256-1U5quhfdhEBcCbEzW0uEpimYgvdbsIwaL2EdQ4cLF/M=";
};
nativeBuildInputs = [
cmake
ninja
pkg-config
];
patches = [
# https://github.com/WarmUpTill/SceneSwitcher/pull/1244
(fetchpatch {
url = "https://github.com/WarmUpTill/SceneSwitcher/commit/e0c650574f9f7f6cae5626afa9abf8a838dc0858.diff";
hash = "sha256-eXO8LdGYf60sd/kyxWVDSEpwyzp4Uu9TpPADg5ED4yU=";
})
];
buildInputs = [
@ -52,11 +68,13 @@ stdenv.mkDerivation rec {
nlohmann_json
obs-studio
opencv
# tesseract
# leptonica
procps
qtbase
tesseract
websocketpp
libXScrnSaver
libusb1
];
dontWrapQtApps = true;
@ -68,13 +86,14 @@ stdenv.mkDerivation rec {
chmod -R +w $sourceRoot/deps/libremidi
'';
env.NIX_CFLAGS_COMPILE = "-Wno-error=stringop-overflow";
env.NIX_CFLAGS_COMPILE = "-Wno-error=stringop-overflow -Wno-error=deprecated-declarations";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Automated scene switcher for OBS Studio";
homepage = "https://github.com/WarmUpTill/SceneSwitcher";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
maintainers = with lib.maintainers; [ patrickdag ];
};
}

File diff suppressed because it is too large Load Diff

View File

@ -5,23 +5,25 @@
, pkg-config
, openssl
, pcsclite
, PCSC
, Foundation
, IOKit
}:
rustPlatform.buildRustPackage rec {
pname = "age-plugin-yubikey";
version = "0.5.0";
version = "0.5.0-unstable-2024-11-02";
src = fetchFromGitHub {
owner = "str4d";
repo = pname;
rev = "v${version}";
hash = "sha256-9ghnPe83K+qixaFKCdM2FCPoENTNJnZA+OmmpD0E5LE=";
rev = "36290c74ebd2723832aae684d43b927c9104f744";
hash = "sha256-vfemYGQnn3IzG7Y6iVKHZlYN+55/+A+N/GMG3TLs1h0=";
};
cargoHash = "sha256-8petNuCJ1qS6XKt+24Lg/bZh96yj9oO6fu/z65Xhi4k=";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"age-core-0.10.0" = "sha256-Iw1KPYhUwfAvLGpYAGuSRhynrRJhD3EqOIS4UY6qC6c=";
};
};
nativeBuildInputs = [
pkg-config
@ -30,12 +32,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
]
++ lib.optional stdenv.hostPlatform.isLinux pcsclite
++ lib.optionals stdenv.hostPlatform.isDarwin [
IOKit
Foundation
PCSC
];
++ lib.optionals stdenv.hostPlatform.isLinux [ pcsclite ];
meta = with lib; {
description = "YubiKey plugin for age";
@ -43,6 +40,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/str4d/age-plugin-yubikey";
changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ kranzes vtuan10 ];
maintainers = with maintainers; [ kranzes vtuan10 adamcstephens ];
};
}

View File

@ -18,14 +18,14 @@
python3Packages.buildPythonApplication rec {
pname = "alpaca";
version = "2.6.5";
version = "2.7.0";
pyproject = false; # Built with meson
src = fetchFromGitHub {
owner = "Jeffser";
repo = "Alpaca";
rev = "refs/tags/${version}";
hash = "sha256-tXUM2XxYXUTXsycfq0hmkzc4quHKh7+0qit1YuKdCeQ=";
hash = "sha256-gEQUVSNf8u92qIg0+5fsLIOPgIASdYdlTRDpzl61P+Q=";
};
nativeBuildInputs = [
@ -51,6 +51,7 @@ python3Packages.buildPythonApplication rec {
pypdf
pytube
html2text
youtube-transcript-api
];
dontWrapGApps = true;

View File

@ -0,0 +1,88 @@
{
lib,
stdenvNoCC,
fetchurl,
nodejs,
makeBinaryWrapper,
runCommand,
angular-language-server,
writeShellApplication,
curl,
common-updater-scripts,
unzip,
}:
let
owner = "angular";
repo = "vscode-ng-language-service";
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "angular-language-server";
version = "18.2.0";
src = fetchurl {
name = "${finalAttrs.pname}-${finalAttrs.version}.zip";
url = "https://github.com/${owner}/${repo}/releases/download/v${finalAttrs.version}/ng-template.vsix";
hash = "sha256-rl04nqSSBMjZfPW8Y+UtFLFLDFd5FSxJs3S937mhDWE=";
};
nativeBuildInputs = [
unzip
makeBinaryWrapper
];
buildInputs = [ nodejs ];
installPhase = ''
runHook preInstall
install -Dm755 server/bin/ngserver $out/lib/bin/ngserver
install -Dm755 server/index.js $out/lib/index.js
cp -r node_modules $out/lib/node_modules
runHook postInstall
'';
postFixup = ''
patchShebangs $out/lib/bin/ngserver $out/lib/index.js $out/lib/node_modules
makeWrapper $out/lib/bin/ngserver $out/bin/ngserver \
--prefix PATH : ${lib.makeBinPath [ nodejs ]} \
--add-flags "--tsProbeLocations $out/lib/node_modules --ngProbeLocations $out/lib/node_modules"
'';
passthru = {
tests = {
start-ok = runCommand "${finalAttrs.pname}-test" { } ''
${lib.getExe angular-language-server} --stdio --help &> $out
cat $out | grep "Angular Language Service that implements the Language Server Protocol (LSP)"
'';
};
updateScript = lib.getExe (writeShellApplication {
name = "update-${finalAttrs.pname}";
runtimeInputs = [
curl
common-updater-scripts
];
text = ''
if [ -z "''${GITHUB_TOKEN:-}" ]; then
echo "no GITHUB_TOKEN provided - you could meet API request limiting" >&2
fi
LATEST_VERSION=$(curl -H "Accept: application/vnd.github+json" \
''${GITHUB_TOKEN:+-H "Authorization: bearer $GITHUB_TOKEN"} \
-Lsf https://api.github.com/repos/${owner}/${repo}/releases/latest | \
jq -r .tag_name | cut -c 2-)
update-source-version ${finalAttrs.pname} "$LATEST_VERSION"
'';
});
};
meta = {
description = "LSP for angular completions, AOT diagnostic, quick info and go to definitions";
homepage = "https://github.com/angular/vscode-ng-language-service";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
changelog = "https://github.com/angular/vscode-ng-language-service/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
mainProgram = "ngserver";
maintainers = with lib.maintainers; [ tricktron ];
};
})

View File

@ -1,39 +1,39 @@
{ lib
, stdenv
, fetchFromGitLab
, buildPackages
, cargo
, meson
, ninja
, pkg-config
, desktop-file-utils
, rustPlatform
, rustc
, wrapGAppsHook4
, darwin
, gettext
, glib
, gtk4
, libadwaita
, libiconv
{
lib,
stdenv,
fetchFromGitLab,
buildPackages,
cargo,
meson,
ninja,
pkg-config,
desktop-file-utils,
rustPlatform,
rustc,
wrapGAppsHook4,
darwin,
gettext,
glib,
gtk4,
libadwaita,
libiconv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bustle";
version = "0.9.2";
version = "0.10.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "bustle";
rev = finalAttrs.version;
hash = "sha256-/B1rY8epcP0OFv+kVgv4Jx6x/oK3XpNnZcpSGvdIPx0=";
hash = "sha256-5ZZiRD64OOMtTNxI0uvilGM22rsJv7vU3yPDY8ROrxU=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
name = "bustle-${finalAttrs.version}";
hash = "sha256-r29Z+6P+yuCpOBUE3vkESd15lcGXs5+ZTBiQ9nW6DJ4=";
inherit (finalAttrs) pname version src;
hash = "sha256-tUSGldWeCLEHi35bDLMnfjnfofF2Qse5uBu2mDGJrsE=";
};
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
@ -60,17 +60,17 @@ stdenv.mkDerivation (finalAttrs: {
glib
gtk4
libadwaita
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Foundation
libiconv
];
meta = with lib; {
meta = {
description = "Graphical D-Bus message analyser and profiler";
homepage = "https://gitlab.gnome.org/World/bustle";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [
jtojnar
aleksana
];
mainProgram = "bustle";
platforms = platforms.all;
platforms = lib.platforms.all;
};
})

View File

@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4b2b789..48d9be0 100644
index 54e2012..a9b6b0e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,6 +92,7 @@ find_package(pugixml REQUIRED)
@@ -149,6 +149,7 @@ find_package(pugixml REQUIRED)
find_package(RapidJSON REQUIRED)
find_package(Boost COMPONENTS program_options filesystem nowide REQUIRED)
find_package(libzip REQUIRED)

View File

@ -0,0 +1,13 @@
diff --git a/src/Cafe/CMakeLists.txt.orig b/src/Cafe/CMakeLists.txt
index 91d257b..cff779a 100644
--- a/src/Cafe/CMakeLists.txt
+++ b/src/Cafe/CMakeLists.txt
@@ -545,7 +545,7 @@ target_link_libraries(CemuCafe PRIVATE
Boost::nowide
CURL::libcurl
fmt::fmt
- glslang::SPIRV
+ glslang::glslang
ih264d
OpenSSL::Crypto
OpenSSL::SSL

View File

@ -47,15 +47,16 @@ let
hash = "sha256-gf47uLeNiXQic43buB5ZnMqiotlUfIyAsP+3H7yJuFg=";
};
};
in stdenv.mkDerivation (finalAttrs: {
in
stdenv.mkDerivation (finalAttrs: {
pname = "cemu";
version = "2.0-92";
version = "2.2";
src = fetchFromGitHub {
owner = "cemu-project";
repo = "Cemu";
rev = "v${finalAttrs.version}";
hash = "sha256-bjt+2RzmG8iKcdyka4HsHM5NEzCwGah4s9eiywSHXbw=";
hash = "sha256-d4FMAj99SPj5S1p5nAUFNo386ZJvWxOKD9iGxHJYVBI=";
};
patches = [
@ -63,6 +64,7 @@ in stdenv.mkDerivation (finalAttrs: {
# > The following imported targets are referenced, but are missing:
# > SPIRV-Tools-opt
./0000-spirv-tools-opt-cmakelists.patch
./0001-glslang-cmake-target.patch
];
nativeBuildInputs = [
@ -113,13 +115,18 @@ in stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
preConfigure = let
tag = lib.last (lib.splitString "-" finalAttrs.version);
in ''
preConfigure =
let
tag = lib.splitString "." (lib.last (lib.splitString "-" finalAttrs.version));
majorv = builtins.elemAt tag 0;
minorv = builtins.elemAt tag 1;
in
''
rm -rf dependencies/imgui
# cemu expects imgui source code, not just header files
ln -s ${imgui'.src} dependencies/imgui
substituteInPlace src/Common/version.h --replace-fail " (experimental)" "-${tag} (experimental)"
substituteInPlace CMakeLists.txt --replace-fail "EMULATOR_VERSION_MAJOR \"0\"" "EMULATOR_VERSION_MAJOR \"${majorv}\""
substituteInPlace CMakeLists.txt --replace-fail "EMULATOR_VERSION_MINOR \"0\"" "EMULATOR_VERSION_MINOR \"${minorv}\""
substituteInPlace dependencies/gamemode/lib/gamemode_client.h --replace-fail "libgamemode.so.0" "${gamemode.lib}/lib/libgamemode.so.0"
'';
@ -139,9 +146,11 @@ in stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
preFixup = let
preFixup =
let
libs = [ vulkan-loader ] ++ cubeb.passthru.backendLibs;
in ''
in
''
gappsWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath libs}"
)
@ -161,7 +170,11 @@ in stdenv.mkDerivation (finalAttrs: {
homepage = "https://cemu.info";
license = lib.licenses.mpl20;
mainProgram = "cemu";
maintainers = with lib.maintainers; [ zhaofengli baduhai AndersonTorres ];
maintainers = with lib.maintainers; [
zhaofengli
baduhai
AndersonTorres
];
platforms = [ "x86_64-linux" ];
};
})

View File

@ -1,12 +1,13 @@
{
buildGoModule,
dependabot-cli,
dockerTools,
fetchFromGitHub,
installShellFiles,
lib,
testers,
dockerTools,
makeWrapper,
symlinkJoin,
testers,
}:
let
pname = "dependabot-cli";
@ -65,13 +66,6 @@ buildGoModule {
--bash <($out/bin/dependabot completion bash) \
--fish <($out/bin/dependabot completion fish) \
--zsh <($out/bin/dependabot completion zsh)
# Create a wrapper that pins the docker images that are depended upon
makeWrapper $out/bin/dependabot $out/bin/dependabot-pinned \
--run "docker load --input ${updateJobProxy}" \
--add-flags "--proxy-image=dependabot-update-job-proxy:${tag}" \
--run "docker load --input ${updaterGitHubActions}" \
--add-flags "--updater-image=dependabot-updater-github-actions:${tag}"
'';
checkFlags = [
@ -83,6 +77,20 @@ buildGoModule {
$out/bin/dependabot --help
'';
passthru.withDockerImages = symlinkJoin {
name = "dependabot-cli-with-docker-images";
paths = [ dependabot-cli ];
buildInputs = [ makeWrapper ];
postBuild = ''
# Create a wrapper that pins the docker images that are depended upon
wrapProgram $out/bin/dependabot \
--run "docker load --input ${updateJobProxy} >&2" \
--add-flags "--proxy-image=dependabot-update-job-proxy:${tag}" \
--run "docker load --input ${updaterGitHubActions} >&2" \
--add-flags "--updater-image=dependabot-updater-github-actions:${tag}"
'';
};
passthru.tests.version = testers.testVersion {
package = dependabot-cli;
command = "dependabot --version";

View File

@ -0,0 +1,30 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "efmt";
version = "0.18.2";
src = fetchFromGitHub {
owner = "sile";
repo = "efmt";
rev = version;
hash = "sha256-sS6OqcVuRZXGjrTv5gYz3ECrHNOsu/1eN7Jqs9QRm3Q=";
};
cargoHash = "sha256-gcgKOgWdQwSFN9WMTJ/PBob+iuAqG+yTrSnbevM+csI=";
meta = {
description = "Erlang code formatter";
homepage = "https://github.com/sile/efmt";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ haruki7049 ];
mainProgram = "efmt";
};
}

View File

@ -1,33 +1,34 @@
{ stdenv
, lib
, fetchFromGitLab
, gitUpdater
, appstream-glib
, desktop-file-utils
, fwupd
, gettext
, glib
, gtk4
, libadwaita
, libxmlb
, meson
, ninja
, pkg-config
, systemd
, help2man
, wrapGAppsHook4
{
stdenv,
lib,
fetchFromGitLab,
gitUpdater,
appstream-glib,
desktop-file-utils,
fwupd,
gettext,
glib,
gtk4,
libadwaita,
libxmlb,
meson,
ninja,
pkg-config,
systemd,
help2man,
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-firmware";
version = "46.0";
version = "47.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "gnome-firmware";
rev = version;
sha256 = "sha256-tEMSlKsqqPMZA0Gr89+u3dmAmZ7ffQm/2i1AB93y05E=";
rev = finalAttrs.version;
sha256 = "sha256-dI9tE/I+14IhYZ+IDLErPunlT4L29AudbZXh0at4jKQ=";
};
nativeBuildInputs = [
@ -66,4 +67,4 @@ stdenv.mkDerivation rec {
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}
})

View File

@ -0,0 +1,52 @@
{
stdenv,
lib,
fetchFromGitHub,
nodejs,
pnpm_8,
}:
stdenv.mkDerivation rec {
pname = "it-tools";
version = "2024.10.22-7ca5933";
src = fetchFromGitHub {
owner = "CorentinTh";
repo = "it-tools";
rev = "v${version}";
hash = "sha256-SQAZv+9tINRH10lewcuv8G2qwfulLOP8sGjX47LxeUk=";
};
nativeBuildInputs = [
nodejs
pnpm_8.configHook
];
pnpmDeps = pnpm_8.fetchDeps {
inherit pname version src;
hash = "sha256-m1eXBE5rakcq8NGnPC9clAAvNJQrN5RuSQ94zfgGZxw=";
};
buildPhase = ''
runHook preBuild
pnpm build
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/lib
cp -R ./dist/* $out/lib/
runHook postInstall
'';
meta = {
description = "Self-hostable website containing handy tools for developers, with great UX";
homepage = "https://it-tools.tech/";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ akotro ];
};
}

View File

@ -1,7 +1,6 @@
{
lib,
stdenv,
overrideSDK,
fetchFromGitHub,
buildNpmPackage,
jellyfin,
@ -10,22 +9,10 @@
xcbuild,
pango,
giflib,
darwin,
apple-sdk_11,
darwinMinVersionHook,
}:
let
# node-canvas builds code that requires aligned_alloc,
# which on Darwin requires at least the 10.15 SDK
stdenv' =
if stdenv.hostPlatform.isDarwin then
overrideSDK stdenv {
darwinMinVersion = "10.15";
darwinSdkVersion = "11.0";
}
else
stdenv;
buildNpmPackage' = buildNpmPackage.override { stdenv = stdenv'; };
in
buildNpmPackage' rec {
buildNpmPackage rec {
pname = "jellyfin-web";
version = "10.10.0";
@ -56,7 +43,10 @@ buildNpmPackage' rec {
[ pango ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
giflib
darwin.apple_sdk.frameworks.CoreText
apple-sdk_11
# node-canvas builds code that requires aligned_alloc,
# which on Darwin requires at least the 10.15 SDK
(darwinMinVersionHook "10.15")
];
installPhase = ''

View File

@ -28,16 +28,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "kanidm";
version = "1.4.0";
version = "1.4.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-hRYHr4r3+LRiaZoJgs3MA5YtDEoKyeg/ohPAIw3OMyo=";
hash = "sha256-cL1XV9UeoRxl7RPZzeeLtgyNjXxeFwpzapnuS292yc4=";
};
cargoHash = "sha256-DfTalKTOiReQCreAzbkSjbhMSW5cdOGGg04i/QKPonE=";
cargoHash = "sha256-c6HeE0971mBIN9NR7knu8SN0Z2W/u1rvIsE6ZCiHBEs=";
KANIDM_BUILD_PROFILE = "release_nixos_${arch}";

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "prisma";
version = "5.21.1";
version = "5.22.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma";
rev = finalAttrs.version;
hash = "sha256-75TmTFl1EKLGE3kgghghary4Z2gjEjdguZ//ND3HAkc=";
hash = "sha256-Z7zSL2eixoNqWpgzVbiDUG2ViSmJtho7lRmvZ10ft3I=";
};
nativeBuildInputs = [
@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_8.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-fu2SJUn2xKm8lKNE8ncMRuNu6snj1J6cnHrJfzg+hJc=";
hash = "sha256-2o6ClY0zMctLR4nFmApiYnzXlrN1EqbHkAP/FEcXnEQ=";
};
patchPhase = ''

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
version = "20241105-2";
version = "20241106-1";
src = fetchFromGitHub {
owner = "bepaald";
repo = "signalbackup-tools";
rev = version;
hash = "sha256-ucyNJTn/wt4X4ptDrMu/XbeQrbeMKms8c0oXqH280H0=";
hash = "sha256-klIkNt3AlT/msZl7pYPQaFMl/pdI7rcaeLDZekmTIzY=";
};
nativeBuildInputs = [

View File

@ -14,19 +14,19 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vencord";
version = "1.10.5";
version = "1.10.6";
src = fetchFromGitHub {
owner = "Vendicated";
repo = "Vencord";
rev = "v${finalAttrs.version}";
hash = "sha256-pzb2x5tTDT6yUNURbAok5eQWZHaxP/RUo8T0JECKHJ4=";
hash = "sha256-Pp8QpagTgWWHoC+e/iGfEveQYuMDDX7Oz1IAUx8cp3A=";
};
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname src;
hash = "sha256-YBWe4MEmFu8cksOIxuTK0deO7q0QuqgOUc9WkUNBwp0=";
hash = "sha256-vVzERis1W3QZB/i6SQR9dQR56yDWadKWvFr+nLTQY9Y=";
};
nativeBuildInputs = [

View File

@ -14,7 +14,7 @@
}:
let
pname = "wl-kbptr";
version = "0.2.1";
version = "0.2.3";
in
stdenv.mkDerivation {
inherit pname version;
@ -22,7 +22,7 @@ stdenv.mkDerivation {
owner = "moverest";
repo = "wl-kbptr";
rev = "refs/tags/v${version}";
hash = "sha256-bA4PbWJNM4qWDF5KfNEgeQ5Z/r/Aw3wL8YUMSnzUo0w=";
hash = "sha256-4OWy5Q+NSKgzDn12aflZ+YAfacLeOTIhOojiJ2WiqQg=";
};
depsBuildBuild = [ pkg-config ];

View File

@ -7,6 +7,10 @@
pkg-config,
meson,
ninja,
sphinxygen,
doxygen,
sphinx,
python3Packages,
# runtime
lv2,
@ -40,11 +44,13 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
sphinxygen
doxygen
sphinx
python3Packages.sphinx-lv2-theme
];
mesonFlags = [
# docs require sphinxygen
(mesonEnable "docs" false)
(mesonEnable "gtk2" withGtk2)
(mesonEnable "gtk3" withGtk3)
(mesonEnable "qt5" withQt5)

View File

@ -12,13 +12,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "babl";
version = "0.1.108";
version = "0.1.110";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor finalAttrs.version}/babl-${finalAttrs.version}.tar.xz";
hash = "sha256-Jt7+neqresTQ4HbKtJwqDW69DfDDH9IJklpfB+3uFHU=";
hash = "sha256-v0e+dUDWJ1OJ9mQx7wMGTfU3YxXiQ9C6tEjGqnE/V0M=";
};
patches = [

View File

@ -37,6 +37,6 @@ stdenv.mkDerivation rec
homepage = "https://www.openvdb.org";
maintainers = [ maintainers.guibou ];
platforms = platforms.unix;
license = licenses.mpl20;
license = licenses.asl20;
};
}

View File

@ -4,7 +4,7 @@
buildDunePackage rec {
pname = "mm";
version = "0.8.5";
version = "0.8.6";
duneVersion = "3";
@ -14,7 +14,7 @@ buildDunePackage rec {
owner = "savonet";
repo = "ocaml-mm";
rev = "v${version}";
sha256 = "sha256-/83coQdUoaa1+5yapF/joV87uYpVsmWU7LH867Vmmo0=";
sha256 = "sha256-ME6Naza7OvZ/63zEjrPeKq5JwMoMfV2fpkCuZdtCZ/c=";
};
buildInputs = [ dune-configurator ];

View File

@ -2,7 +2,7 @@
buildDunePackage rec {
pname = "theora";
version = "0.4.0";
version = "0.4.1";
duneVersion = "3";
@ -10,7 +10,7 @@ buildDunePackage rec {
owner = "savonet";
repo = "ocaml-theora";
rev = "v${version}";
hash = "sha256-VN1XYqxMCO0W9tMTqSAwWKv7GErTtRZgnC2SnmmV7+k=";
hash = "sha256-2FXB5BOBRQhnpEmdlYBdZZXuXW9K+1cu7akJQDuDAMc=";
};
buildInputs = [ dune-configurator ];

View File

@ -25,32 +25,35 @@
pytestCheckHook,
pytest-mock,
pytest-xdist,
numpy,
}:
buildPythonPackage rec {
pname = "dbt-common";
version = "1.11.0";
version = "1.12.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "dbt-labs";
repo = "dbt-common";
# Unfortunatly, upstream doesn't tag commits on GitHub, and the pypi source
# Unfortunately, upstream doesn't tag commits on GitHub, and the pypi source
# doesn't include tests. TODO: Write an update script that will detect the
# version from `dbt_common/__about__.py`.
rev = "ed11c6ceb4f29d4a79489469309d9ce9dd1757e6";
hash = "sha256-JA6hFQwF7h1tXyCxBVKGgyevdTxyYeN3I/Bwy9uoC0Y=";
rev = "5a401a9e8dd46e4582ac4edd2883e34714e77530";
hash = "sha256-SIMg6ewnE6kY+drqcPlYrxt1XlWBurZU62FI/QnHAHY=";
};
patches = [
# https://github.com/dbt-labs/dbt-common/pull/211
./protobuf_5.patch
];
build-system = [ hatchling ];
pythonRelaxDeps = [
"agate"
"deepdiff"
"protobuf"
];
dependencies = [
@ -73,12 +76,14 @@ buildPythonPackage rec {
pytest-xdist
pytest-mock
];
disabledTests = [
# Assertion errors (TODO: Notify upstream)
"test_create_print_json"
"test_events"
"test_extra_dict_on_event"
];
pythonImportsCheck = [ "dbt_common" ];
meta = {

View File

@ -0,0 +1,113 @@
From f7c480139015cb8746f3fa751dc72b788d0ce8a0 Mon Sep 17 00:00:00 2001
From: Eric Hauser <ewhauser@gmail.com>
Date: Sat, 19 Oct 2024 15:52:16 -0600
Subject: [PATCH] upgrade protobuf to >=5,<6
---
dbt_common/events/base_types.py | 7 +++++--
dbt_common/events/functions.py | 2 +-
dbt_common/events/types_pb2.py | 18 ++++++++++++++----
pyproject.toml | 4 ++--
4 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/dbt_common/events/base_types.py b/dbt_common/events/base_types.py
index 781b2a0e..2f11e4c7 100644
--- a/dbt_common/events/base_types.py
+++ b/dbt_common/events/base_types.py
@@ -91,15 +91,18 @@ def __getattr__(self, key):
def to_dict(self):
return MessageToDict(
- self.pb_msg, preserving_proto_field_name=True, including_default_value_fields=True
+ self.pb_msg,
+ preserving_proto_field_name=True,
+ always_print_fields_with_no_presence=True,
)
def to_json(self) -> str:
return MessageToJson(
self.pb_msg,
preserving_proto_field_name=True,
- including_default_value_fields=True,
+ always_print_fields_with_no_presence=True,
indent=None,
+ sort_keys=True,
)
def level_tag(self) -> EventLevel:
diff --git a/dbt_common/events/functions.py b/dbt_common/events/functions.py
index 4e055aa4..86d68237 100644
--- a/dbt_common/events/functions.py
+++ b/dbt_common/events/functions.py
@@ -97,7 +97,7 @@ def msg_to_dict(msg: EventMsg) -> dict:
msg_dict = MessageToDict(
msg,
preserving_proto_field_name=True,
- including_default_value_fields=True, # type: ignore
+ always_print_fields_with_no_presence=True,
)
except Exception as exc:
event_type = type(msg).__name__
diff --git a/dbt_common/events/types_pb2.py b/dbt_common/events/types_pb2.py
index 6574462e..1a3b91a5 100644
--- a/dbt_common/events/types_pb2.py
+++ b/dbt_common/events/types_pb2.py
@@ -1,12 +1,22 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
+# NO CHECKED-IN PROTOBUF GENCODE
# source: types.proto
-# Protobuf Python Version: 4.25.2
+# Protobuf Python Version: 5.28.2
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
+from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
+_runtime_version.ValidateProtobufRuntimeVersion(
+ _runtime_version.Domain.PUBLIC,
+ 5,
+ 28,
+ 2,
+ '',
+ 'types.proto'
+)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
@@ -20,9 +30,9 @@
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'types_pb2', _globals)
-if _descriptor._USE_C_DESCRIPTORS == False:
- DESCRIPTOR._options = None
- _globals['_EVENTINFO_EXTRAENTRY']._options = None
+if not _descriptor._USE_C_DESCRIPTORS:
+ DESCRIPTOR._loaded_options = None
+ _globals['_EVENTINFO_EXTRAENTRY']._loaded_options = None
_globals['_EVENTINFO_EXTRAENTRY']._serialized_options = b'8\001'
_globals['_EVENTINFO']._serialized_start=62
_globals['_EVENTINFO']._serialized_end=335
diff --git a/pyproject.toml b/pyproject.toml
index 2e40385c..c2878d15 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,7 +36,7 @@ dependencies = [
"Jinja2>=3.1.3,<4",
"mashumaro[msgpack]>=3.9,<4.0",
"pathspec>=0.9,<0.13",
- "protobuf>=4.0.0,<5.0.0",
+ "protobuf>=5.0,<6.0",
"python-dateutil>=2.0,<3.0",
"requests<3.0.0", # needs to match dbt-core
"typing-extensions>=4.4,<5.0",
@@ -52,7 +52,7 @@ lint = [
"pytest>=7.3,<8.0", # needed for linting tests
"types-Jinja2>=2.11,<3.0",
"types-jsonschema>=4.17,<5.0",
- "types-protobuf>=4.24,<5.0",
+ "types-protobuf>=5.0,<6.0",
"types-python-dateutil>=2.8,<3.0",
"types-PyYAML>=6.0,<7.0",
"types-requests"

View File

@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
certifi,
cryptography,
ecdsa,
@ -17,18 +17,13 @@ buildPythonPackage rec {
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ccyBvQ00p/uDULzGeJIhIJIiRRrFitsp271wep74DHI=";
src = fetchFromGitHub {
owner = "toporin";
repo = "pysatochip";
rev = "v${version}";
hash = "sha256-7wA9erk2OA1FyNSzOSWJzjyp9QeYq6C+YA8B0Dk2iQE=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "cryptography==3.3.2" "cryptography" \
--replace "ecdsa==0.15" "ecdsa" \
--replace "pyopenssl==20.0.0" "pyopenssl"
'';
propagatedBuildInputs = [
cryptography
ecdsa

View File

@ -2,6 +2,7 @@
fetchFromGitHub,
buildPythonPackage,
isPy27,
setuptools,
cython,
portaudio,
cffi,
@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "rtmixer";
version = "0.1.7";
format = "setuptools";
pyproject = true;
disabled = isPy27;
src = fetchFromGitHub {
@ -24,10 +25,16 @@ buildPythonPackage rec {
fetchSubmodules = true;
};
buildInputs = [ portaudio ];
nativeBuildInputs = [ cython ];
build-system = [ setuptools ];
propagatedBuildInputs = [
buildInputs = [ portaudio ];
nativeBuildInputs = [
cython
cffi
];
dependencies = [
cffi
pa-ringbuffer
sounddevice

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "tableauserverclient";
version = "0.33";
version = "0.34";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-7yj/Ey3mIR2GZ0gtNkrrtoKEmuA5LihZlM9qPhbROQw=";
hash = "sha256-0I0HLPCrA5LoGOnspIDeAp5x7jzR4S9dWitpGw0AzbA=";
};
postPatch = ''
@ -35,12 +35,12 @@ buildPythonPackage rec {
"urllib3"
];
nativeBuildInputs = [
build-system = [
setuptools
versioneer
];
propagatedBuildInputs = [
dependencies = [
defusedxml
requests
packaging

View File

@ -426,6 +426,7 @@ let
magick = [ pkgs.imagemagick.dev ];
ModelMetrics = lib.optional stdenv.hostPlatform.isDarwin pkgs.llvmPackages.openmp;
mvabund = [ pkgs.gsl ];
mcrPioda = [ pkgs.gsl ];
mwaved = [ pkgs.fftw.dev ];
mzR = with pkgs; [ zlib netcdf ];
nanonext = with pkgs; [ mbedtls nng ];
@ -456,6 +457,7 @@ let
RcppGSL = [ pkgs.gsl ];
RcppZiggurat = [ pkgs.gsl ];
reprex = [ pkgs.which ];
resultant = with pkgs; [ gmp.dev mpfr.dev pkg-config ];
rgdal = with pkgs; [ proj.dev gdal ];
Rhisat2 = [ pkgs.which pkgs.hostname ];
gdalcubes = [ pkgs.pkg-config ];
@ -645,6 +647,7 @@ let
gdalcubes = with pkgs; [ proj.dev gdal sqlite.dev netcdf ];
rsbml = [ pkgs.libsbml ];
SuperGauss = [ pkgs.pkg-config pkgs.fftw.dev];
ravetools = with pkgs; [ pkg-config fftw.dev];
specklestar = [ pkgs.fftw.dev ];
cartogramR = [ pkgs.fftw.dev ];
jqr = [ pkgs.jq.out ];
@ -672,6 +675,7 @@ let
Cairo = [ pkgs.pkg-config ];
CLVTools = [ pkgs.gsl ];
excursions = [ pkgs.gsl ];
OpenCL = with pkgs; [ opencl-clhpp ocl-icd ];
gpuMagic = [ pkgs.ocl-icd ];
JMcmprsk = [ pkgs.gsl ];
KSgeneral = [ pkgs.fftw.dev ];
@ -1051,10 +1055,11 @@ let
});
timeless = old.timeless.overrideAttrs (attrs: {
preConfigure = "patchShebangs configure";
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
src = attrs.src;
sourceRoot = "timeless/src/rust";
hash = "sha256-n0/52CV3NzWe7T3N6VoaURMxWrnqeYaUMPKkUy+LRQs=";
hash = "sha256-AccuRY3lfTXzaMnaYieKCEJErKo5132oSXgILbFhePI=";
};
cargoRoot = "src/rust";

View File

@ -30,9 +30,9 @@ dependencies = [
[[package]]
name = "ahash"
version = "0.8.7"
version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01"
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
dependencies = [
"cfg-if",
"getrandom 0.2.11",
@ -41,15 +41,6 @@ dependencies = [
"zerocopy",
]
[[package]]
name = "aho-corasick"
version = "0.7.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
dependencies = [
"memchr",
]
[[package]]
name = "aho-corasick"
version = "1.0.3"
@ -214,15 +205,6 @@ dependencies = [
"num-traits",
]
[[package]]
name = "atomic-shim"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67cd4b51d303cf3501c301e8125df442128d3c6d7c69f71b27833d253de47e77"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "atty"
version = "0.2.14"
@ -368,7 +350,7 @@ dependencies = [
"enumflags2",
"indoc 2.0.3",
"insta",
"query-engine-metrics",
"prisma-metrics",
"query-engine-tests",
"query-tests-setup",
"regex",
@ -447,7 +429,7 @@ version = "2.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8a88e82b9106923b5c4d6edfca9e7db958d4e98a478ec115022e81b9b38e2c8"
dependencies = [
"ahash 0.8.7",
"ahash 0.8.11",
"base64 0.13.1",
"bitvec",
"chrono",
@ -512,9 +494,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "bytes"
version = "1.4.0"
version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"
checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3"
[[package]]
name = "cast"
@ -543,11 +525,11 @@ dependencies = [
[[package]]
name = "cc"
version = "1.0.83"
version = "1.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945"
dependencies = [
"libc",
"shlex",
]
[[package]]
@ -1101,7 +1083,7 @@ dependencies = [
"hashbrown 0.14.5",
"lock_api",
"once_cell",
"parking_lot_core 0.9.8",
"parking_lot_core",
]
[[package]]
@ -1226,11 +1208,11 @@ dependencies = [
"expect-test",
"futures",
"js-sys",
"metrics 0.18.1",
"napi",
"napi-derive",
"once_cell",
"pin-project",
"prisma-metrics",
"quaint",
"serde",
"serde-wasm-bindgen",
@ -1631,7 +1613,7 @@ checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f"
dependencies = [
"futures-core",
"lock_api",
"parking_lot 0.12.1",
"parking_lot",
]
[[package]]
@ -1781,15 +1763,6 @@ version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
[[package]]
name = "hashbrown"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
dependencies = [
"ahash 0.7.8",
]
[[package]]
name = "hashbrown"
version = "0.12.3"
@ -1805,7 +1778,7 @@ version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
dependencies = [
"ahash 0.8.7",
"ahash 0.8.11",
"allocator-api2",
]
@ -1890,7 +1863,7 @@ dependencies = [
"ipconfig",
"lru-cache",
"once_cell",
"parking_lot 0.12.1",
"parking_lot",
"rand 0.8.5",
"resolv-conf",
"smallvec",
@ -2138,15 +2111,6 @@ dependencies = [
"yaml-rust",
]
[[package]]
name = "instant"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
dependencies = [
"cfg-if",
]
[[package]]
name = "ipconfig"
version = "0.3.2"
@ -2444,15 +2408,6 @@ dependencies = [
"url",
]
[[package]]
name = "mach"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
dependencies = [
"libc",
]
[[package]]
name = "match_cfg"
version = "0.1.0"
@ -2500,91 +2455,47 @@ dependencies = [
[[package]]
name = "metrics"
version = "0.18.1"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e52eb6380b6d2a10eb3434aec0885374490f5b82c8aaf5cd487a183c98be834"
checksum = "884adb57038347dfbaf2d5065887b6cf4312330dc8e94bc30a1a839bd79d3261"
dependencies = [
"ahash 0.7.8",
"metrics-macros",
]
[[package]]
name = "metrics"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "142c53885123b68d94108295a09d4afe1a1388ed95b54d5dacd9a454753030f2"
dependencies = [
"ahash 0.7.8",
"metrics-macros",
"ahash 0.8.11",
"portable-atomic",
]
[[package]]
name = "metrics-exporter-prometheus"
version = "0.10.0"
version = "0.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "953cbbb6f9ba4b9304f4df79b98cdc9d14071ed93065a9fca11c00c5d9181b66"
checksum = "b4f0c8427b39666bf970460908b213ec09b3b350f20c0c2eabcbba51704a08e6"
dependencies = [
"hyper",
"indexmap 1.9.3",
"ipnet",
"metrics 0.19.0",
"metrics-util 0.13.0",
"parking_lot 0.11.2",
"base64 0.22.1",
"indexmap 2.2.2",
"metrics",
"metrics-util",
"quanta",
"thiserror",
"tokio",
"tracing",
]
[[package]]
name = "metrics-macros"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49e30813093f757be5cf21e50389a24dc7dbb22c49f23b7e8f51d69b508a5ffa"
dependencies = [
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "metrics-util"
version = "0.12.1"
version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "65a9e83b833e1d2e07010a386b197c13aa199bbd0fca5cf69bfa147972db890a"
checksum = "4259040465c955f9f2f1a4a8a16dc46726169bca0f88e8fb2dbeced487c3e828"
dependencies = [
"aho-corasick 0.7.20",
"atomic-shim",
"aho-corasick",
"crossbeam-epoch",
"crossbeam-utils",
"hashbrown 0.11.2",
"indexmap 1.9.3",
"metrics 0.18.1",
"hashbrown 0.14.5",
"indexmap 2.2.2",
"metrics",
"num_cpus",
"ordered-float",
"parking_lot 0.11.2",
"quanta",
"radix_trie",
"sketches-ddsketch",
]
[[package]]
name = "metrics-util"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd1f4b69bef1e2b392b2d4a12902f2af90bb438ba4a66aa222d1023fa6561b50"
dependencies = [
"atomic-shim",
"crossbeam-epoch",
"crossbeam-utils",
"hashbrown 0.11.2",
"metrics 0.19.0",
"num_cpus",
"parking_lot 0.11.2",
"quanta",
"sketches-ddsketch",
]
[[package]]
name = "mime"
version = "0.3.17"
@ -2620,9 +2531,9 @@ dependencies = [
[[package]]
name = "mobc"
version = "0.8.3"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90eb49dc5d193287ff80e72a86f34cfb27aae562299d22fea215e06ea1059dd3"
checksum = "316a7d198b51958a0ab57248bf5f42d8409551203cb3c821d5925819a8d5415f"
dependencies = [
"async-trait",
"futures-channel",
@ -2630,7 +2541,7 @@ dependencies = [
"futures-timer",
"futures-util",
"log",
"metrics 0.18.1",
"metrics",
"thiserror",
"tokio",
"tracing",
@ -2721,15 +2632,16 @@ dependencies = [
"mongodb",
"mongodb-client",
"pretty_assertions",
"prisma-metrics",
"prisma-value",
"psl",
"query-connector",
"query-engine-metrics",
"query-structure",
"rand 0.8.5",
"regex",
"serde",
"serde_json",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -2883,9 +2795,9 @@ dependencies = [
[[package]]
name = "napi"
version = "2.15.1"
version = "2.16.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43792514b0c95c5beec42996da0c1b39265b02b75c97baa82d163d3ef55cbfa7"
checksum = "214f07a80874bb96a8433b3cdfc84980d56c7b02e1a0d7ba4ba0db5cef785e2b"
dependencies = [
"bitflags 2.4.0",
"ctor",
@ -2905,9 +2817,9 @@ checksum = "ebd4419172727423cf30351406c54f6cc1b354a2cfb4f1dba3e6cd07f6d5522b"
[[package]]
name = "napi-derive"
version = "2.15.0"
version = "2.16.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7622f0dbe0968af2dacdd64870eee6dee94f93c989c841f1ad8f300cf1abd514"
checksum = "17435f7a00bfdab20b0c27d9c56f58f6499e418252253081bfff448099da31d1"
dependencies = [
"cfg-if",
"convert_case 0.6.0",
@ -2919,9 +2831,9 @@ dependencies = [
[[package]]
name = "napi-derive-backend"
version = "1.0.59"
version = "1.0.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ec514d65fce18a959be55e7f683ac89c6cb850fb59b09e25ab777fd5a4a8d9e"
checksum = "967c485e00f0bf3b1bdbe510a38a4606919cf1d34d9a37ad41f25a81aa077abe"
dependencies = [
"convert_case 0.6.0",
"once_cell",
@ -2934,9 +2846,9 @@ dependencies = [
[[package]]
name = "napi-sys"
version = "2.3.0"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2503fa6af34dc83fb74888df8b22afe933b58d37daf7d80424b1c60c68196b8b"
checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
dependencies = [
"libloading 0.8.1",
]
@ -3217,9 +3129,9 @@ dependencies = [
[[package]]
name = "ordered-float"
version = "2.10.0"
version = "4.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7940cf2ca942593318d07fcf2596cdca60a85c9e7fab408a5e21a4f9dcd40d87"
checksum = "44d501f1a72f71d3c063a6bbc8f7271fa73aa09fe5d6283b6571e2ed176a2537"
dependencies = [
"num-traits",
]
@ -3248,17 +3160,6 @@ version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae"
[[package]]
name = "parking_lot"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
"parking_lot_core 0.8.6",
]
[[package]]
name = "parking_lot"
version = "0.12.1"
@ -3266,21 +3167,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [
"lock_api",
"parking_lot_core 0.9.8",
]
[[package]]
name = "parking_lot_core"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
dependencies = [
"cfg-if",
"instant",
"libc",
"redox_syscall 0.2.16",
"smallvec",
"winapi",
"parking_lot_core",
]
[[package]]
@ -3515,10 +3402,16 @@ dependencies = [
"plotters-backend",
]
[[package]]
name = "portable-atomic"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
[[package]]
name = "postgres-native-tls"
version = "0.5.0"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#54a490bc6afa315abb9867304fb67e8b12a8fbf3"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#c62b9928d402685e152161907e8480603c29ef65"
dependencies = [
"native-tls",
"tokio",
@ -3528,10 +3421,10 @@ dependencies = [
[[package]]
name = "postgres-protocol"
version = "0.6.4"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#54a490bc6afa315abb9867304fb67e8b12a8fbf3"
version = "0.6.7"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#c62b9928d402685e152161907e8480603c29ef65"
dependencies = [
"base64 0.13.1",
"base64 0.22.1",
"byteorder",
"bytes",
"fallible-iterator 0.2.0",
@ -3545,8 +3438,8 @@ dependencies = [
[[package]]
name = "postgres-types"
version = "0.2.4"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#54a490bc6afa315abb9867304fb67e8b12a8fbf3"
version = "0.2.8"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#c62b9928d402685e152161907e8480603c29ef65"
dependencies = [
"bit-vec",
"bytes",
@ -3616,6 +3509,27 @@ dependencies = [
"structopt",
]
[[package]]
name = "prisma-metrics"
version = "0.1.0"
dependencies = [
"derive_more",
"expect-test",
"futures",
"metrics",
"metrics-exporter-prometheus",
"metrics-util",
"once_cell",
"parking_lot",
"pin-project",
"serde",
"serde_json",
"tokio",
"tracing",
"tracing-futures",
"tracing-subscriber",
]
[[package]]
name = "prisma-schema-build"
version = "0.1.0"
@ -3842,7 +3756,6 @@ dependencies = [
"indoc 0.3.6",
"itertools 0.12.0",
"lru-cache",
"metrics 0.18.1",
"mobc",
"mysql_async",
"names 0.11.0",
@ -3853,6 +3766,7 @@ dependencies = [
"percent-encoding",
"postgres-native-tls",
"postgres-types",
"prisma-metrics",
"quaint-test-macros",
"quaint-test-setup",
"regex",
@ -3866,7 +3780,7 @@ dependencies = [
"tokio-postgres",
"tokio-util 0.7.8",
"tracing",
"tracing-core",
"tracing-futures",
"url",
"uuid",
"ws_stream_tungstenite",
@ -3898,16 +3812,15 @@ dependencies = [
[[package]]
name = "quanta"
version = "0.9.3"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20afe714292d5e879d8b12740aa223c6a88f118af41870e8b6196e39a02238a8"
checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5"
dependencies = [
"crossbeam-utils",
"libc",
"mach",
"once_cell",
"raw-cpuid",
"wasi 0.10.2+wasi-snapshot-preview1",
"wasi 0.11.0+wasi-snapshot-preview1",
"web-sys",
"winapi",
]
@ -3926,6 +3839,7 @@ dependencies = [
"query-structure",
"serde",
"serde_json",
"telemetry",
"thiserror",
"user-facing-errors",
"uuid",
@ -3942,6 +3856,7 @@ dependencies = [
"crossbeam-channel",
"crosstarget-utils",
"cuid",
"derive_more",
"enumflags2",
"futures",
"indexmap 2.2.2",
@ -3950,13 +3865,14 @@ dependencies = [
"once_cell",
"opentelemetry",
"petgraph 0.4.13",
"prisma-metrics",
"psl",
"query-connector",
"query-engine-metrics",
"query-structure",
"schema",
"serde",
"serde_json",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -3983,17 +3899,18 @@ dependencies = [
"mongodb-query-connector",
"opentelemetry",
"opentelemetry-otlp",
"prisma-metrics",
"psl",
"quaint",
"query-connector",
"query-core",
"query-engine-metrics",
"request-handlers",
"serde",
"serde_json",
"serial_test",
"sql-query-connector",
"structopt",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -4028,6 +3945,7 @@ dependencies = [
"serde",
"serde_json",
"sql-query-connector",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -4047,12 +3965,13 @@ dependencies = [
"connection-string",
"napi",
"opentelemetry",
"prisma-metrics",
"psl",
"query-connector",
"query-core",
"query-engine-metrics",
"serde",
"serde_json",
"telemetry",
"thiserror",
"tracing",
"tracing-futures",
@ -4064,24 +3983,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "query-engine-metrics"
version = "0.1.0"
dependencies = [
"expect-test",
"metrics 0.18.1",
"metrics-exporter-prometheus",
"metrics-util 0.12.1",
"once_cell",
"parking_lot 0.12.1",
"serde",
"serde_json",
"tokio",
"tracing",
"tracing-futures",
"tracing-subscriber",
]
[[package]]
name = "query-engine-node-api"
version = "0.1.0"
@ -4096,17 +3997,18 @@ dependencies = [
"napi-build",
"napi-derive",
"opentelemetry",
"prisma-metrics",
"psl",
"quaint",
"query-connector",
"query-core",
"query-engine-common",
"query-engine-metrics",
"query-structure",
"request-handlers",
"serde",
"serde_json",
"sql-query-connector",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -4132,9 +4034,9 @@ dependencies = [
"itertools 0.12.0",
"once_cell",
"paste",
"prisma-metrics",
"prisma-value",
"psl",
"query-engine-metrics",
"query-test-macros",
"query-tests-setup",
"serde_json",
@ -4168,6 +4070,7 @@ dependencies = [
"serde-wasm-bindgen",
"serde_json",
"sql-query-connector",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -4224,12 +4127,12 @@ dependencies = [
"nom",
"once_cell",
"parse-hyperlinks",
"prisma-metrics",
"psl",
"qe-setup",
"quaint",
"query-core",
"query-engine",
"query-engine-metrics",
"query-structure",
"regex",
"request-handlers",
@ -4237,6 +4140,7 @@ dependencies = [
"serde_json",
"sql-query-connector",
"strip-ansi-escapes",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -4388,11 +4292,11 @@ dependencies = [
[[package]]
name = "raw-cpuid"
version = "10.7.0"
version = "11.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332"
checksum = "1ab240315c661615f2ee9f0f2cd32d5a7343a84d5ebcccb99d46e6637565e7b0"
dependencies = [
"bitflags 1.3.2",
"bitflags 2.4.0",
]
[[package]]
@ -4426,15 +4330,6 @@ dependencies = [
"rand_core 0.3.1",
]
[[package]]
name = "redox_syscall"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags 1.3.2",
]
[[package]]
name = "redox_syscall"
version = "0.3.5"
@ -4444,13 +4339,22 @@ dependencies = [
"bitflags 1.3.2",
]
[[package]]
name = "redox_syscall"
version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
dependencies = [
"bitflags 2.4.0",
]
[[package]]
name = "regex"
version = "1.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
dependencies = [
"aho-corasick 1.0.3",
"aho-corasick",
"memchr",
"regex-automata 0.4.5",
"regex-syntax 0.8.2",
@ -4471,7 +4375,7 @@ version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd"
dependencies = [
"aho-corasick 1.0.3",
"aho-corasick",
"memchr",
"regex-syntax 0.8.2",
]
@ -4521,6 +4425,7 @@ dependencies = [
"serde",
"serde_json",
"sql-query-connector",
"telemetry",
"thiserror",
"tracing",
"url",
@ -5069,7 +4974,7 @@ dependencies = [
"futures",
"lazy_static",
"log",
"parking_lot 0.12.1",
"parking_lot",
"serial_test_derive",
]
@ -5187,9 +5092,9 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
[[package]]
name = "sketches-ddsketch"
version = "0.1.3"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04d2ecae5fcf33b122e2e6bd520a57ccf152d2dde3b38c71039df1a6867264ee"
checksum = "85636c14b73d81f541e525f585c0a2109e6744e1565b5c1668e31c70c10ed65c"
[[package]]
name = "slab"
@ -5202,9 +5107,9 @@ dependencies = [
[[package]]
name = "smallvec"
version = "1.11.0"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "socket2"
@ -5328,6 +5233,7 @@ dependencies = [
"rand 0.8.5",
"serde",
"serde_json",
"telemetry",
"thiserror",
"tokio",
"tracing",
@ -5608,6 +5514,36 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "telemetry"
version = "0.1.0"
dependencies = [
"async-trait",
"crossbeam-channel",
"crosstarget-utils",
"cuid",
"derive_more",
"enumflags2",
"futures",
"indexmap 2.2.2",
"itertools 0.12.0",
"lru 0.7.8",
"once_cell",
"opentelemetry",
"prisma-metrics",
"psl",
"rand 0.8.5",
"serde",
"serde_json",
"thiserror",
"tokio",
"tracing",
"tracing-futures",
"tracing-opentelemetry",
"tracing-subscriber",
"uuid",
]
[[package]]
name = "tempfile"
version = "3.7.1"
@ -5820,7 +5756,7 @@ dependencies = [
"libc",
"mio",
"num_cpus",
"parking_lot 0.12.1",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2 0.5.7",
@ -5861,8 +5797,8 @@ dependencies = [
[[package]]
name = "tokio-postgres"
version = "0.7.7"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#54a490bc6afa315abb9867304fb67e8b12a8fbf3"
version = "0.7.12"
source = "git+https://github.com/prisma/rust-postgres?branch=pgbouncer-mode#c62b9928d402685e152161907e8480603c29ef65"
dependencies = [
"async-trait",
"byteorder",
@ -5871,15 +5807,17 @@ dependencies = [
"futures-channel",
"futures-util",
"log",
"parking_lot 0.12.1",
"parking_lot",
"percent-encoding",
"phf",
"pin-project-lite",
"postgres-protocol",
"postgres-types",
"rand 0.8.5",
"socket2 0.5.7",
"tokio",
"tokio-util 0.7.8",
"whoami",
]
[[package]]
@ -6197,7 +6135,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
dependencies = [
"cfg-if",
"rand 0.8.5",
"rand 0.3.23",
"static_assertions",
]
@ -6446,12 +6384,6 @@ version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
[[package]]
name = "wasi"
version = "0.10.2+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
@ -6459,20 +6391,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
version = "0.2.92"
name = "wasite"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"
[[package]]
name = "wasm-bindgen"
version = "0.2.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
dependencies = [
"cfg-if",
"once_cell",
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.92"
version = "0.2.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
dependencies = [
"bumpalo",
"log",
@ -6497,9 +6436,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.92"
version = "0.2.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@ -6507,9 +6446,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.92"
version = "0.2.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
dependencies = [
"proc-macro2",
"quote",
@ -6520,9 +6459,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.92"
version = "0.2.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
[[package]]
name = "wasm-logger"
@ -6581,6 +6520,17 @@ dependencies = [
"once_cell",
]
[[package]]
name = "whoami"
version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d"
dependencies = [
"redox_syscall 0.5.7",
"wasite",
"web-sys",
]
[[package]]
name = "widestring"
version = "1.0.2"

View File

@ -13,13 +13,13 @@
# function correctly.
rustPlatform.buildRustPackage rec {
pname = "prisma-engines";
version = "5.21.1";
version = "5.22.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma-engines";
rev = version;
hash = "sha256-zVGnAFvxBRh7YGXET8YjDI+qXay6StgG618mRfpc4kw=";
hash = "sha256-aCzm7pEsgbZ4ZNir3DLNnUlmiydOpLNcW2FpIQ44B6E=";
};
# Use system openssl.
@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
"cuid-1.3.2" = "sha256-qBu1k/dJiA6rWBwk4nOOqouIneD9h2TTBT8tvs0TDfA=";
"graphql-parser-0.3.0" = "sha256-0ZAsj2mW6fCLhwTETucjbu4rPNzfbNiHu2wVTBlTNe4=";
"mysql_async-0.31.3" = "sha256-2wOupQ/LFV9pUifqBLwTvA0tySv+XWbxHiqs7iTzvvg=";
"postgres-native-tls-0.5.0" = "sha256-4CftieImsG2mBqpoJFfyq0R2yd2EyQX4oddAwyXMDZc=";
"postgres-native-tls-0.5.0" = "sha256-pzMPNZzlvMaQqBu/V3ExPYVnoIaALeUaYJ4oo/hY9lA=";
"mongodb-3.0.0" = "sha256-1WQgY0zSZhFjt1nrLYTUBrpqBxpCCgKRSeGJLtkE6pw=";
};
};
@ -44,13 +44,6 @@ rustPlatform.buildRustPackage rec {
protobuf
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
# FIXME: fix this upstream and remove this patch with the next version update.
postPatch = ''
file=libs/user-facing-errors/src/schema_engine.rs
echo "#![allow(dead_code)]" | cat - $file > $file.new
mv $file.new $file
'';
preBuild = ''
export OPENSSL_DIR=${lib.getDev openssl}
export OPENSSL_LIB_DIR=${lib.getLib openssl}/lib

View File

@ -6,13 +6,13 @@
buildGoModule rec {
pname = "melange";
version = "0.11.3";
version = "0.14.10";
src = fetchFromGitHub {
owner = "chainguard-dev";
repo = pname;
rev = "v${version}";
hash = "sha256-+G6lSG3iaKWC1SU0cyeU1sU8r9VBUwwtU7D/yjZmu04=";
hash = "sha256-fHHIIlxKTF4q9LOeL3jyLS7HQ/IFmx+1fS/7PitrclM=";
# populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true;
@ -25,7 +25,7 @@ buildGoModule rec {
'';
};
vendorHash = "sha256-GNY1ez7qC2aaEm8WAQqGy4vWZEZFQhze15r3QQZBNzA=";
vendorHash = "sha256-Okil1H6+O8YjTptI00mQQ1+04OiuO/zf1L8es4CdnNc=";
subPackages = [ "." ];

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
hash = "sha256-gyYlg6NSnwLDUBqouKx3K0y8A9yTTpi6tuSINibig6U=";
};
separateDebugInfo = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ perl ];

View File

@ -8,17 +8,17 @@
buildGoModule rec {
pname = "go-ios";
version = "1.0.143";
version = "1.0.150";
src = fetchFromGitHub {
owner = "danielpaulus";
repo = "go-ios";
rev = "v${version}";
sha256 = "sha256-6RiKyhV5y6lOrhfZezSB2m/l17T3bHYaYRhsMf04wT8=";
sha256 = "sha256-xa2/qshZ4k+Df5l817BXlotR6L/CX6Lw2+tWDYnr96I=";
};
proxyVendor = true;
vendorHash = "sha256-GfVHAOlN2tL21ILQYPw/IaYQZccxitjHGQ09unfHcKg=";
vendorHash = "sha256-/aVaTC9lfoXQvhDVQm31HmXBnDYYOv6RH69Nm3I/K7s=";
excludedPackages = [
"restapi"

View File

@ -4,14 +4,14 @@
stdenv.mkDerivation rec {
pname = "apk-tools";
version = "2.14.4";
version = "2.14.5";
src = fetchFromGitLab {
domain = "gitlab.alpinelinux.org";
owner = "alpine";
repo = "apk-tools";
rev = "v${version}";
sha256 = "sha256-NaLa975AJrfvxxUkPTGLno/BoMQKBGaMIJjSbs+63NA=";
sha256 = "sha256-GtWwLQoN0106uErEDjPrwlz8pmOKdV3OrtfisFhGqoY=";
};
nativeBuildInputs = [ pkg-config scdoc ]

View File

@ -3,6 +3,7 @@
, pkg-config
, autoreconfHook
, pandoc
, fetchpatch2
, fetchurl
, cpio
, zlib
@ -23,6 +24,8 @@
, sqlite
, zstd
, libcap
, apple-sdk_13
, darwinMinVersionHook
}:
stdenv.mkDerivation rec {
@ -34,13 +37,33 @@ stdenv.mkDerivation rec {
hash = "sha256-N/O0LAlmlB4q0/EP3jY5gkplkdBxl7qP0IacoHeeH1Y=";
};
patches = [
# Resolves `error: expected expression` on clang
# See: https://github.com/rpm-software-management/rpm/issues/2435.
(fetchpatch2 {
url = "https://github.com/rpm-software-management/rpm/commit/b960c0b43a080287a7c13533eeb2d9f288db1414.diff?full_index=1";
hash = "sha256-0f7YOL2xR07xgAEN32oRbOjPsAsVmKFVtTLXUOeFAa8=";
})
# Fix missing includes required to build on Darwin.
# See: https://github.com/rpm-software-management/rpm/pull/2571.
(fetchpatch2 {
url = "https://github.com/rpm-software-management/rpm/commit/f07875392a09228b1a25c1763a50bbbd0f6798c2.diff?full_index=1";
hash = "sha256-DLpzMApRCgI9zqheglFtqL8E1vq9X/aQa0HMnIAQgk8=";
})
(fetchpatch2 {
url = "https://github.com/rpm-software-management/rpm/commit/b2e67642fd8cb64d8cb1cca9e759396c1c10807d.diff?full_index=1";
hash = "sha256-q3fIBfiUJVmw6Vi2/Bo/zX6/cqTM7aFnskKfMVK3DlU=";
})
];
outputs = [ "out" "dev" "man" ];
separateDebugInfo = true;
nativeBuildInputs = [ autoreconfHook pkg-config pandoc ];
buildInputs = [ cpio zlib zstd bzip2 file libarchive libgcrypt nspr nss db xz python lua sqlite ]
++ lib.optional stdenv.cc.isClang llvmPackages.openmp
++ lib.optional stdenv.hostPlatform.isLinux libcap;
++ lib.optional stdenv.hostPlatform.isLinux libcap
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_13 (darwinMinVersionHook "13.0") ];
# rpm/rpmlib.h includes popt.h, and then the pkg-config file mentions these as linkage requirements
propagatedBuildInputs = [ popt nss db bzip2 libarchive libbfd ]
@ -92,9 +115,6 @@ stdenv.mkDerivation rec {
license = with licenses; [ gpl2Plus lgpl21Plus ];
description = "RPM Package Manager";
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.linux;
# Support for darwin was removed in https://github.com/NixOS/nixpkgs/pull/196350.
# This can be re-enables for apple_sdk.version >= 13.0.
badPlatforms = platforms.darwin;
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -1782,7 +1782,7 @@ with pkgs;
hyperpotamus = callPackage ../tools/misc/hyperpotamus { };
inherit (callPackages ../tools/networking/ivpn/default.nix {}) ivpn ivpn-service;
inherit (callPackages ../tools/networking/ivpn/default.nix { buildGoModule = buildGo122Module; }) ivpn ivpn-service;
jobber = callPackage ../tools/system/jobber { };
@ -6468,10 +6468,6 @@ with pkgs;
age-plugin-tpm = callPackage ../tools/security/age-plugin-tpm { };
age-plugin-yubikey = darwin.apple_sdk_11_0.callPackage ../tools/security/age-plugin-yubikey {
inherit (darwin.apple_sdk_11_0.frameworks) Foundation PCSC IOKit;
};
artim-dark = callPackage ../data/themes/artim-dark { };
bbin = callPackage ../development/tools/bbin { };
@ -17458,8 +17454,6 @@ with pkgs;
gnome-desktop-testing = callPackage ../development/tools/gnome-desktop-testing { };
gnome-firmware = callPackage ../applications/misc/gnome-firmware { };
gnome-tecla = callPackage ../applications/misc/gnome-tecla { };
gnome-usage = callPackage ../applications/misc/gnome-usage { };