Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-07-24 12:06:56 +00:00 committed by GitHub
commit 385d397a7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
73 changed files with 767 additions and 368 deletions

View File

@ -27,8 +27,8 @@ jobs:
include: include:
- runner: ubuntu-24.04 - runner: ubuntu-24.04
system: x86_64-linux system: x86_64-linux
builds: [shell, manual-nixos, lib-tests] builds: [shell, manual-nixos, lib-tests, tarball]
desc: shell, docs, lib desc: shell, docs, lib, tarball
- runner: ubuntu-24.04-arm - runner: ubuntu-24.04-arm
system: aarch64-linux system: aarch64-linux
builds: [shell, manual-nixos, manual-nixpkgs, manual-nixpkgs-tests] builds: [shell, manual-nixos, manual-nixpkgs, manual-nixpkgs-tests]
@ -85,6 +85,10 @@ jobs:
if: contains(matrix.builds, 'lib-tests') && !cancelled() if: contains(matrix.builds, 'lib-tests') && !cancelled()
run: nix-build untrusted/ci -A lib-tests run: nix-build untrusted/ci -A lib-tests
- name: Build tarball
if: contains(matrix.builds, 'tarball') && !cancelled()
run: nix-build untrusted/ci -A tarball
- name: Upload NixOS manual - name: Upload NixOS manual
if: | if: |
contains(matrix.builds, 'manual-nixos') && !cancelled() && contains(matrix.builds, 'manual-nixos') && !cancelled() &&

View File

@ -89,7 +89,7 @@ let
}; };
in in
{ rec {
inherit pkgs fmt; inherit pkgs fmt;
requestReviews = pkgs.callPackage ./request-reviews { }; requestReviews = pkgs.callPackage ./request-reviews { };
codeownersValidator = pkgs.callPackage ./codeowners-validator { }; codeownersValidator = pkgs.callPackage ./codeowners-validator { };
@ -113,4 +113,18 @@ in
minimum = pkgs.callPackage ./parse.nix { nix = pkgs.nixVersions.minimum; }; minimum = pkgs.callPackage ./parse.nix { nix = pkgs.nixVersions.minimum; };
}; };
shell = import ../shell.nix { inherit nixpkgs system; }; shell = import ../shell.nix { inherit nixpkgs system; };
tarball = import ../pkgs/top-level/make-tarball.nix {
# Mirrored from top-level release.nix:
nixpkgs = {
outPath = pkgs.lib.cleanSource ../.;
revCount = 1234;
shortRev = "abcdef";
revision = "0000000000000000000000000000000000000000";
};
officialRelease = false;
inherit pkgs lib-tests;
# 2.28 / 2.29 take 9x longer than 2.30 or Lix.
# TODO: Switch back to nixVersions.latest
nix = pkgs.lix;
};
} }

View File

@ -1787,6 +1787,11 @@
githubId = 301546; githubId = 301546;
name = "Antoine Roy-Gobeil"; name = "Antoine Roy-Gobeil";
}; };
anton-4 = {
name = "Anton";
github = "Anton-4";
githubId = 17049058;
};
anton-dessiatov = { anton-dessiatov = {
email = "anton.dessiatov@gmail.com"; email = "anton.dessiatov@gmail.com";
github = "anton-dessiatov"; github = "anton-dessiatov";
@ -3271,6 +3276,11 @@
githubId = 24254289; githubId = 24254289;
name = "Payas Relekar"; name = "Payas Relekar";
}; };
bhansconnect = {
github = "bhansconnect";
githubId = 8334696;
name = "Brendan Hansknecht";
};
bhasherbel = { bhasherbel = {
email = "nixos.maintainer@bhasher.com"; email = "nixos.maintainer@bhasher.com";
github = "BhasherBEL"; github = "BhasherBEL";
@ -7609,13 +7619,6 @@
githubId = 147284; githubId = 147284;
name = "Jason Felice"; name = "Jason Felice";
}; };
ercao = {
email = "vip@ercao.cn";
github = "O8888";
githubId = 51725284;
name = "ercao";
keys = [ { fingerprint = "F3B0 36F7 B0CB 0964 3C12 D3C7 FFAB D125 7ECF 0889"; } ];
};
erdnaxe = { erdnaxe = {
email = "erdnaxe@crans.org"; email = "erdnaxe@crans.org";
github = "erdnaxe"; github = "erdnaxe";
@ -21982,6 +21985,11 @@
githubId = 47790121; githubId = 47790121;
name = "Ryan Burns"; name = "Ryan Burns";
}; };
rtfeldman = {
github = "rtfeldman";
githubId = 1094080;
name = "Richard Feldman";
};
rtimush = { rtimush = {
email = "rtimush@gmail.com"; email = "rtimush@gmail.com";
github = "rtimush"; github = "rtimush";

View File

@ -1,52 +0,0 @@
{
lib,
mkDerivation,
fetchFromGitea,
cmake,
libsecret,
qtkeychain,
qttools,
restic,
}:
mkDerivation {
pname = "restique";
version = "unstable-2022-11-29";
src = fetchFromGitea {
domain = "git.srcbox.net";
owner = "stefan";
repo = "restique";
rev = "906b0b1726c26988c910baea9665f540c37c99c4";
hash = "sha256-EYoADtYX+gm8T3/3gxTtdFOFGJf2rXryiTu8NIO0Ez4=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
libsecret
qtkeychain
qttools
];
qtWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ restic ])
];
meta = with lib; {
description = "Restic GUI for Desktop/Laptop Backups";
homepage = "https://git.srcbox.net/stefan/restique";
license = with licenses; [
gpl3Plus
cc-by-sa-40
cc0
];
maintainers = with maintainers; [ dotlambda ];
mainProgram = "restique";
};
}

View File

@ -2515,6 +2515,8 @@ let
}; };
}; };
jasew.anki = callPackage ./jasew.anki { };
jbockle.jbockle-format-files = buildVscodeMarketplaceExtension { jbockle.jbockle-format-files = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "jbockle-format-files"; name = "jbockle-format-files";

View File

@ -0,0 +1,21 @@
{
lib,
vscode-utils,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "jasew";
name = "anki";
version = "1.3.5";
hash = "sha256-QPuafIelmhdno/E2zr6NQChv0qjfjMFwx7v0Xat/gDc=";
};
meta = {
description = "Extension for interacting and sending cards to Anki";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=jasew.anki";
homepage = "https://github.com/jasonwilliams/anki";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}

View File

@ -5,13 +5,13 @@
}: }:
mkLibretroCore { mkLibretroCore {
core = "nestopia"; core = "nestopia";
version = "0-unstable-2025-04-24"; version = "0-unstable-2025-07-20";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libretro"; owner = "libretro";
repo = "nestopia"; repo = "nestopia";
rev = "d2eefab298b0b9152d2934d6f0227b6803c877b3"; rev = "0e82a1642d4acafab4da9ce937954b85d846952b";
hash = "sha256-lmfyNi+E2SoCOAtXuJ3F5S3mm1OCta9FHtoqPpLgYk8="; hash = "sha256-/r1EUb3Z6RaEycGnkU4RtYr0JjohgQmru99DG45OWKo=";
}; };
makefile = "Makefile"; makefile = "Makefile";

View File

@ -21,14 +21,14 @@ let
in in
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "textext"; pname = "textext";
version = "1.11.1"; version = "1.12.0";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "textext"; owner = "textext";
repo = "textext"; repo = "textext";
tag = version; tag = version;
sha256 = "sha256-eqyS3P+FrwwO567GBBOLk53fC6ROG6mZKHL1RGDPLpM="; sha256 = "sha256-Ka8NIvzhMZYPlc3q0U5Je7eXyBT61dJ3O++ETl+D7w0=";
}; };
patches = [ patches = [

View File

@ -802,7 +802,7 @@
} }
}, },
"ungoogled-chromium": { "ungoogled-chromium": {
"version": "138.0.7204.157", "version": "138.0.7204.168",
"deps": { "deps": {
"depot_tools": { "depot_tools": {
"rev": "a8900cc0f023d6a662eb66b317e8ddceeb113490", "rev": "a8900cc0f023d6a662eb66b317e8ddceeb113490",
@ -813,16 +813,16 @@
"hash": "sha256-UB9a7Fr1W0yYld6WbXyRR8dFqWsj/zx4KumDZ5JQKSM=" "hash": "sha256-UB9a7Fr1W0yYld6WbXyRR8dFqWsj/zx4KumDZ5JQKSM="
}, },
"ungoogled-patches": { "ungoogled-patches": {
"rev": "138.0.7204.157-1", "rev": "138.0.7204.168-1",
"hash": "sha256-KzxbyIdESyom6biHUYRJfQJuhA84YQ1KpUHEYncb8IU=" "hash": "sha256-QmHw0sLnVvMwVu/r4L2XS0S31vl+6NJb0zV63iihhkk="
}, },
"npmHash": "sha256-8d5VTHutv51libabhxv7SqPRcHfhVmGDSOvTSv013rE=" "npmHash": "sha256-8d5VTHutv51libabhxv7SqPRcHfhVmGDSOvTSv013rE="
}, },
"DEPS": { "DEPS": {
"src": { "src": {
"url": "https://chromium.googlesource.com/chromium/src.git", "url": "https://chromium.googlesource.com/chromium/src.git",
"rev": "e533e98b1267baa1f1c46d666b120e64e5146aa9", "rev": "3e8d82e86e9f508e88ed406c2a24657a6c691d30",
"hash": "sha256-LbZ8/6Lvz1p3ydRL4fXtd7RL426PU3jU01Hx+DP5QYQ=", "hash": "sha256-6s9mkfckhibpb+L74oPZsgvOZZT58BeSo362t/s92UI=",
"recompress": true "recompress": true
}, },
"src/third_party/clang-format/script": { "src/third_party/clang-format/script": {
@ -1047,8 +1047,8 @@
}, },
"src/third_party/devtools-frontend/src": { "src/third_party/devtools-frontend/src": {
"url": "https://chromium.googlesource.com/devtools/devtools-frontend", "url": "https://chromium.googlesource.com/devtools/devtools-frontend",
"rev": "4cca0aa00c4915947f1081014d5cfa2e83d357fa", "rev": "a718e86b3dc6f1ba3c8cc8092cd79b401d428cfc",
"hash": "sha256-pVNr8NB5U/Uf688oOvPLpu81isCn/WmjJky01A000a4=" "hash": "sha256-50KQk54JwwRS3ENUjB0QedQYFuwmkv9oxytfuNDTVPo="
}, },
"src/third_party/dom_distiller_js/dist": { "src/third_party/dom_distiller_js/dist": {
"url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git", "url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git",
@ -1597,8 +1597,8 @@
}, },
"src/v8": { "src/v8": {
"url": "https://chromium.googlesource.com/v8/v8.git", "url": "https://chromium.googlesource.com/v8/v8.git",
"rev": "de9d0f8b56ae61896e4d2ac577fc589efb14f87d", "rev": "f5036f509b5e147cccb298a069c40827f3d5edd6",
"hash": "sha256-/T5fisjmN80bs3PtQrCRfH3Bo9dRSd3f+xpPLDh1RTY=" "hash": "sha256-n4/Lf5ZawqUY0QHF2jYl3JPPx9Br/wzVmtqnMvq3Vzk="
} }
} }
} }

View File

@ -22,13 +22,13 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "kubernetes"; pname = "kubernetes";
version = "1.33.2"; version = "1.33.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes"; owner = "kubernetes";
repo = "kubernetes"; repo = "kubernetes";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-Ef/tpjM5RGQzO8rZxTad23DuM6VLlV3N54LOu7dtc6A="; hash = "sha256-UZdrfQEEx0RRe4Bb4EAWcjgCCLq4CJL06HIriYuk1Io=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -1,45 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl gnused nix jq
set -euo pipefail
PKG_DIR=$(dirname "${BASH_SOURCE[@]}")
FILE="$PKG_DIR/default.nix"
NIXPKGS_ROOT=$(cd $PKG_DIR && git rev-parse --show-toplevel)
ATTR="timoni"
PREV_VERSION=$(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.version)
LATEST_TAG=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} --silent https://api.github.com/repos/stefanprodan/timoni/releases/latest | jq -r '.tag_name')
NEXT_VERSION=$(echo ${LATEST_TAG} | sed 's/^v//')
# update version
sed -i "s|$PREV_VERSION|$NEXT_VERSION|" "$FILE"
# update hash
PREV_HASH=$(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.src.outputHash)
NEXT_HASH=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --unpack --type sha256 $(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.src.url)))
sed -i "s|$PREV_HASH|$NEXT_HASH|" "$FILE"
# update vendor hash
PREV_VENDOR_HASH=$(nix eval --raw -f $NIXPKGS_ROOT/default.nix $ATTR.vendorHash)
EMPTY_HASH="sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
sed -i "s|$PREV_VENDOR_HASH|$EMPTY_HASH|" "$FILE"
set +e
NEXT_VENDOR_HASH=$(nix-build $NIXPKGS_ROOT --no-out-link -A $ATTR 2>&1 | grep "got:" | cut -d':' -f2 | sed 's| ||g')
set -e
if [ -z "${NEXT_VENDOR_HASH:-}" ]; then
echo "Update failed. NEXT_VENDOR_HASH is empty." >&2
exit 1
fi
sed -i "s|$EMPTY_HASH|$NEXT_VENDOR_HASH|" "$FILE"
cat <<EOF
[{
"attrPath": "$ATTR",
"oldVersion": "$PREV_VERSION",
"newVersion": "$NEXT_VERSION",
"files": ["$PWD/default.nix.nix"]
}]
EOF

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "obs-composite-blur"; pname = "obs-composite-blur";
version = "1.5.1"; version = "1.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FiniteSingularity"; owner = "FiniteSingularity";
repo = "obs-composite-blur"; repo = "obs-composite-blur";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-12wgzZxEoEUKqGGmccZKfcdE0libBJDZ1EzwxRPLURc="; hash = "sha256-wT49bCxik8mrg+YleNelOPQQzqcYQR7ZSnzvPXA5D3g=";
}; };
buildInputs = [ buildInputs = [

View File

@ -7,13 +7,13 @@
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
pname = "amazon-q-cli"; pname = "amazon-q-cli";
version = "1.12.4"; version = "1.12.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws"; owner = "aws";
repo = "amazon-q-developer-cli-autocomplete"; repo = "amazon-q-developer-cli-autocomplete";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-juZuqZkBsIHhLOCZk+QpTaO1BsHj2RZyCvkvc0G5KbU="; hash = "sha256-IjM9eFoFfy/WV6lPJB1mnRZYoXLIiVozjzmnXEnU2MA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -22,7 +22,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-BT3LNOkRf4gfBy5SwuAnMoJVF9PmwiLsS5phdtEgIrs="; cargoHash = "sha256-XZX8EisHQ1vqbrV8VnXrah3o1h3iKCxzPsKk6Z+aKzU=";
cargoBuildFlags = [ cargoBuildFlags = [
"-p" "-p"

View File

@ -1,38 +1,37 @@
{ {
alsa-lib,
boost, boost,
catch2_3, catch2_3,
cmake, cmake,
cryptopp, cryptopp,
cpp-jwt, cpp-jwt,
doxygen, doxygen,
dynarmic,
enet, enet,
fetchpatch, fetchpatch,
fetchzip, fetchzip,
fmt, fmt,
ffmpeg_6-headless, ffmpeg_6-headless,
gamemode,
glslang, glslang,
httplib, httplib,
inih, inih,
lib, lib,
libGL, libGL,
libjack2,
libpulseaudio,
libunwind, libunwind,
libusb1, libusb1,
moltenvk,
nlohmann_json, nlohmann_json,
openal, openal,
openssl, openssl,
pipewire, pipewire,
pkg-config, pkg-config,
portaudio, portaudio,
robin-map,
SDL2, SDL2,
sndio,
spirv-tools, spirv-tools,
soundtouch, soundtouch,
stdenv, stdenv,
vulkan-headers, vulkan-headers,
xbyak,
xorg, xorg,
zstd, zstd,
enableQtTranslations ? true, enableQtTranslations ? true,
@ -42,10 +41,13 @@
useDiscordRichPresence ? true, useDiscordRichPresence ? true,
rapidjson, rapidjson,
enableSSE42 ? true, # Disable if your hardware doesn't support SSE 4.2 (mainly CPUs before 2011) enableSSE42 ? true, # Disable if your hardware doesn't support SSE 4.2 (mainly CPUs before 2011)
gamemode,
enableGamemode ? lib.meta.availableOn stdenv.hostPlatform gamemode,
}: }:
let let
inherit (lib) inherit (lib)
optionals optionals
optionalString
cmakeBool cmakeBool
getLib getLib
; ;
@ -68,11 +70,11 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = buildInputs =
[ [
alsa-lib
boost boost
catch2_3 catch2_3
cryptopp cryptopp
cpp-jwt cpp-jwt
dynarmic
enet enet
fmt fmt
ffmpeg_6-headless ffmpeg_6-headless
@ -80,31 +82,35 @@ stdenv.mkDerivation (finalAttrs: {
httplib httplib
inih inih
libGL libGL
libjack2
libpulseaudio
libunwind libunwind
libusb1 libusb1
nlohmann_json nlohmann_json
openal openal
openssl openssl
pipewire
portaudio portaudio
robin-map
qt6.qtbase qt6.qtbase
qt6.qtmultimedia qt6.qtmultimedia
qt6.qttools qt6.qttools
qt6.qtwayland
soundtouch soundtouch
SDL2 SDL2
sndio
spirv-tools spirv-tools
vulkan-headers vulkan-headers
xorg.libX11 xbyak
xorg.libXext
zstd zstd
] ]
++ optionals enableQtTranslations [ qt6.qttools ] ++ optionals enableQtTranslations [ qt6.qttools ]
++ optionals enableCubeb [ cubeb ] ++ optionals enableCubeb [ cubeb ]
++ optionals useDiscordRichPresence [ rapidjson ]; ++ optionals useDiscordRichPresence [ rapidjson ]
++ optionals stdenv.hostPlatform.isLinux [
pipewire
qt6.qtwayland
xorg.libX11
xorg.libXext
]
++ optionals stdenv.hostPlatform.isDarwin [
moltenvk
];
patches = [ patches = [
# Fix boost errors # Fix boost errors
@ -118,28 +124,27 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://raw.githubusercontent.com/Tatsh/tatsh-overlay/5c4497d9b67fa6f2fa327b2f2ce4cb5be8c9f2f7/games-emulation/lime3ds/files/lime3ds-0003-boost-1.87-fixes.patch"; url = "https://raw.githubusercontent.com/Tatsh/tatsh-overlay/5c4497d9b67fa6f2fa327b2f2ce4cb5be8c9f2f7/games-emulation/lime3ds/files/lime3ds-0003-boost-1.87-fixes.patch";
hash = "sha256-mwfI7fTx9aWF/EjMW3bxoz++A+6ONbNA70tT5nkhDUU="; hash = "sha256-mwfI7fTx9aWF/EjMW3bxoz++A+6ONbNA70tT5nkhDUU=";
}) })
# https://github.com/azahar-emu/azahar/pull/1165
./update-cmake-lists.patch
]; ];
postPatch = '' postPatch =
# Fix "file not found" bug when looking in var/empty instead of opt ''
mkdir externals/dynarmic/src/dynarmic/ir/var # We already know the submodules are present
ln -s ../opt externals/dynarmic/src/dynarmic/ir/var/empty substituteInPlace CMakeLists.txt \
--replace-fail "check_submodules_present()" ""
# We already know the submodules are present ''
substituteInPlace CMakeLists.txt \
--replace-fail "check_submodules_present()" ""
# Add gamemode # Add gamemode
substituteInPlace externals/gamemode/include/gamemode_client.h \ + optionalString enableGamemode ''
--replace-fail "libgamemode.so.0" "${getLib gamemode}/lib/libgamemode.so.0" substituteInPlace externals/gamemode/include/gamemode_client.h \
''; --replace-fail "libgamemode.so.0" "${getLib gamemode}/lib/libgamemode.so.0"
'';
cmakeFlags = [ cmakeFlags = [
(cmakeBool "USE_SYSTEM_LIBS" true) (cmakeBool "USE_SYSTEM_LIBS" true)
(cmakeBool "DISABLE_SYSTEM_DYNARMIC" true)
(cmakeBool "DISABLE_SYSTEM_LODEPNG" true) (cmakeBool "DISABLE_SYSTEM_LODEPNG" true)
(cmakeBool "DISABLE_SYSTEM_VMA" true) (cmakeBool "DISABLE_SYSTEM_VMA" true)
(cmakeBool "DISABLE_SYSTEM_XBYAK" true)
(cmakeBool "ENABLE_QT_TRANSLATION" enableQtTranslations) (cmakeBool "ENABLE_QT_TRANSLATION" enableQtTranslations)
(cmakeBool "ENABLE_CUBEB" enableCubeb) (cmakeBool "ENABLE_CUBEB" enableCubeb)
(cmakeBool "USE_DISCORD_PRESENCE" useDiscordRichPresence) (cmakeBool "USE_DISCORD_PRESENCE" useDiscordRichPresence)
@ -150,7 +155,11 @@ stdenv.mkDerivation (finalAttrs: {
description = "Open-source 3DS emulator project based on Citra"; description = "Open-source 3DS emulator project based on Citra";
homepage = "https://github.com/azahar-emu/azahar"; homepage = "https://github.com/azahar-emu/azahar";
license = lib.licenses.gpl2Only; license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ arthsmn ]; maintainers = with lib.maintainers; [
arthsmn
marcin-serwin
];
mainProgram = "azahar"; mainProgram = "azahar";
platforms = with lib.platforms; linux ++ darwin;
}; };
}) })

View File

@ -0,0 +1,43 @@
From d9e7361a174f0f491c49fe78cd96a823c65e97dd Mon Sep 17 00:00:00 2001
From: qr243vbi <uiguruigurovich@gmail.com>
Date: Sat, 7 Jun 2025 01:18:03 +0300
Subject: [PATCH 1/2] Update CMakeLists.txt
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54051a4ef2..531c46abbe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules")
include(DownloadExternals)
include(CMakeDependentOption)
+include(FindPkgConfig)
project(citra LANGUAGES C CXX ASM)
From 679a4036e2fbb96d1d6a803f3f59ae8f01f9e691 Mon Sep 17 00:00:00 2001
From: qr243vbi <uiguruigurovich@gmail.com>
Date: Sat, 7 Jun 2025 12:49:07 +0300
Subject: [PATCH 2/2] Add missing find_package directive
---
src/citra_qt/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index 1b78605a0a..de00dc4609 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -273,6 +273,7 @@ if (ENABLE_VULKAN)
endif()
if (NOT WIN32)
+ find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
target_include_directories(citra_qt PRIVATE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
endif()

View File

@ -130,9 +130,9 @@
storage-preview = mkAzExtension rec { storage-preview = mkAzExtension rec {
pname = "storage-preview"; pname = "storage-preview";
version = "1.0.0b6"; version = "1.0.0b7";
url = "https://azcliprod.blob.core.windows.net/cli-extensions/storage_preview-${version}-py2.py3-none-any.whl"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/storage_preview-${version}-py2.py3-none-any.whl";
hash = "sha256-467PbUh6rCPndvAXeZ5tMgCH34HL36Kzd9DzYlM63EA="; hash = "sha256-wtf+4TBDzpWO55w5VXnoERAbksP2QaSc29FHL3MNOBo=";
description = "Provides a preview for upcoming storage features"; description = "Provides a preview for upcoming storage features";
propagatedBuildInputs = with python3Packages; [ azure-core ]; propagatedBuildInputs = with python3Packages; [ azure-core ];
meta.maintainers = with lib.maintainers; [ katexochen ]; meta.maintainers = with lib.maintainers; [ katexochen ];

View File

@ -13,17 +13,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-dist"; pname = "cargo-dist";
version = "0.28.1-prerelease.2"; version = "0.28.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "axodotdev"; owner = "axodotdev";
repo = "cargo-dist"; repo = "cargo-dist";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-aO8pQ1JTazHPVUOP7qNm2qZbXlL0n1MBsdD18UePTOs="; hash = "sha256-Nlix74IvhUuWKJTslPajGHkGKxGPo1ucTEkuuA//zn0=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-7rt/E51D+ciIyVaX56tK82bbps9TKlesU0PP+aFS9iM="; cargoHash = "sha256-GmzMmErEshYECMr7APhJ6uWqflHbG73bw/utMgq3dk0=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View File

@ -10,13 +10,13 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "databricks-cli"; pname = "databricks-cli";
version = "0.259.0"; version = "0.260.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "databricks"; owner = "databricks";
repo = "cli"; repo = "cli";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-UzfLtGwiyEnHRn54qAwcqMXag8k8GjpB5BGMYh/93O8="; hash = "sha256-N3l7K+KQ7P7O4zooh3AgvAnLJM8Bsp4qJw9501SnO5c=";
}; };
# Otherwise these tests fail asserting that the version is 0.0.0-dev # Otherwise these tests fail asserting that the version is 0.0.0-dev
@ -25,7 +25,7 @@ buildGoModule (finalAttrs: {
--replace-fail "cli/0.0.0-dev" "cli/${finalAttrs.version}" --replace-fail "cli/0.0.0-dev" "cli/${finalAttrs.version}"
''; '';
vendorHash = "sha256-veFhCZkkLnC6hVuHPiB+OjqsvUcxkp3B59lQikgjFbE="; vendorHash = "sha256-jwEJ0Uoq6pVo1/a1mXj7n2BRiWAmhlxLE0WxSrqcL8w=";
excludedPackages = [ excludedPackages = [
"bundle/internal" "bundle/internal"

View File

@ -6,13 +6,13 @@
buildGoModule rec { buildGoModule rec {
pname = "do-agent"; pname = "do-agent";
version = "3.17.1"; version = "3.18.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "digitalocean"; owner = "digitalocean";
repo = "do-agent"; repo = "do-agent";
rev = version; rev = version;
sha256 = "sha256-XzZ9UmEA45ipVU0AHLZ+HeW/rmlBtgLXgyyGF1O1nqE="; sha256 = "sha256-sS6aBJVrF9NrAzizSBBXKM3iMAHa+j9rDw7hZSHgRFg=";
}; };
ldflags = [ ldflags = [

View File

@ -0,0 +1,29 @@
From cdbf3ba41ddce41d8ae375464e514f72d158ec0b Mon Sep 17 00:00:00 2001
From: Marcin Serwin <marcin@serwin.dev>
Date: Sat, 5 Jul 2025 22:26:49 +0200
Subject: [PATCH] CMakeLists: update mcl version to 0.1.13
The mcl in externals is already at this version, but it wasn't bumped
here which makes it impossible to use prebuilt mcl.
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e95050da..edd153d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,7 +145,7 @@ set(TSL_ROBIN_MAP_ENABLE_INSTALL ON)
find_package(Boost 1.57 REQUIRED)
find_package(fmt 9 CONFIG)
-find_package(mcl 0.1.12 EXACT CONFIG)
+find_package(mcl 0.1.13 EXACT CONFIG)
find_package(tsl-robin-map CONFIG)
if ("arm64" IN_LIST ARCHITECTURE OR DYNARMIC_TESTS)
--
2.49.0

View File

@ -0,0 +1,27 @@
From 40e8205b3efd126b9676a783c8306793e61d3f00 Mon Sep 17 00:00:00 2001
From: Marcin Serwin <marcin@serwin.dev>
Date: Sun, 6 Jul 2025 10:08:26 +0200
Subject: [PATCH] xbyak: Fix tests when using newer versions
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
---
src/dynarmic/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/dynarmic/CMakeLists.txt b/src/dynarmic/CMakeLists.txt
index 6f0813ca..21a5576c 100644
--- a/src/dynarmic/CMakeLists.txt
+++ b/src/dynarmic/CMakeLists.txt
@@ -267,6 +267,9 @@ if ("x86_64" IN_LIST ARCHITECTURE)
xbyak::xbyak
Zydis::Zydis
)
+ # Newer versions of xbyak (>= 7.25.0) have stricter checks that currently
+ # fail in dynarmic
+ target_compile_definitions(dynarmic PRIVATE XBYAK_STRICT_CHECK_MEM_REG_SIZE=0)
target_architecture_specific_sources(dynarmic "x86_64"
backend/x64/abi.cpp
--
2.49.0

View File

@ -0,0 +1,145 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
ninja,
boost,
robin-map,
catch2_3,
fmt,
xbyak,
zydis,
nix-update-script,
azahar,
darwin,
}:
let
oaknut = stdenv.mkDerivation {
pname = "oaknut";
version = "1.2.2-unstable-2024-03-01";
src = fetchFromGitHub {
owner = "merryhime";
repo = "oaknut";
rev = "94c726ce0338b054eb8cb5ea91de8fe6c19f4392";
hash = "sha256-IhP/110NGN42/FvpGIEm9MgsSiPYdtD8kNxL0cAWbqM=";
};
nativeBuildInputs = [
cmake
ninja
];
};
mcl = stdenv.mkDerivation {
pname = "mcl";
version = "0.1.13-unstable-2025-03-16";
src = fetchFromGitHub {
owner = "azahar-emu";
repo = "mcl";
rev = "7b08d83418f628b800dfac1c9a16c3f59036fbad";
hash = "sha256-uTOiOlMzKbZSjKjtVSqFU+9m8v8horoCq3wL0O2E8sI=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
fmt
];
checkInputs = [
catch2_3
];
doCheck = true;
checkPhase = ''
tests/mcl-tests
'';
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "dynarmic";
version = "6.7.0-unstable-2025-03-16";
src = fetchFromGitHub {
owner = "azahar-emu";
repo = "dynarmic";
rev = "278405bd71999ed3f3c77c5f78344a06fef798b9";
hash = "sha256-D7nXn5y0h8FV0V8Tc8uBlRoeEU+gcpt44afujZvG+1A=";
};
patches = [
# https://github.com/azahar-emu/dynarmic/pull/2
./0001-CMakeLists-update-mcl-version-to-0.1.13.patch
# https://github.com/azahar-emu/dynarmic/pull/3
./0001-xbyak-Fix-tests-when-using-newer-versions.patch
];
strictDeps = true;
nativeBuildInputs =
[
cmake
ninja
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.DarwinTools # sw_ver
darwin.bootstrap_cmds # mig
];
buildInputs =
[
boost
robin-map
mcl
fmt
]
++ lib.optionals stdenv.hostPlatform.isAarch64 [
oaknut
]
++ lib.optionals stdenv.hostPlatform.isx86_64 [
xbyak
zydis
];
checkInputs = [
catch2_3
oaknut
];
# This changes `ir/opt` to `ir/var/empty` in `CMakeLists.txt`
# making the build fail, as that path does not exist
dontFixCmake = true;
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeBool "DYNARMIC_TESTS" finalAttrs.finalPackage.doCheck)
];
env = lib.optionalAttrs stdenv.cc.isGNU {
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117063
NIX_CFLAGS_COMPILE = "-Wno-error=stringop-overread";
};
doCheck = true;
passthru = {
inherit mcl oaknut;
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
tests = { inherit azahar; };
};
meta = {
description = "Dynamic recompiler for ARM";
homepage = "https://github.com/azahar-emu/dynarmic";
maintainers = with lib.maintainers; [ marcin-serwin ];
license = lib.licenses.bsd0;
platforms = with lib.platforms; x86_64 ++ aarch64;
};
})

View File

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "eksctl"; pname = "eksctl";
version = "0.210.0"; version = "0.211.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "weaveworks"; owner = "weaveworks";
repo = "eksctl"; repo = "eksctl";
rev = version; rev = version;
hash = "sha256-d5P9bfneUpyAB9cxnu7Hw4ZOykWf8/GSVclNtIjTe6g="; hash = "sha256-WscHv+4IieE3G87/Iicw2CFpf73C2Og58N/a5fbf0kU=";
}; };
vendorHash = "sha256-vhYexIdkn8Y5U5YZewj/O8sJCt/VimZU4E4kn0/1lU4="; vendorHash = "sha256-sUoidROptTEDqGdb30BFJazf/I2Ggmx3GUs6xE69nNI=";
doCheck = false; doCheck = false;

View File

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "fabric-ai"; pname = "fabric-ai";
version = "1.4.247"; version = "1.4.264";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danielmiessler"; owner = "danielmiessler";
repo = "fabric"; repo = "fabric";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-s1FlQIbHSCWUR9f3qWfYHOLYmG8GwJb3SAu6d9DAH1Q="; hash = "sha256-x9dMO/6ZewMSobi4KcEW1CQ+r1Ngll+Bqlv+GRV7eYQ=";
}; };
vendorHash = "sha256-/3+4oeKl+GQPmYt3yBt77ATm55pALa+62mC6lktSTiw="; vendorHash = "sha256-/3+4oeKl+GQPmYt3yBt77ATm55pALa+62mC6lktSTiw=";

View File

@ -18,13 +18,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fheroes2"; pname = "fheroes2";
version = "1.1.9"; version = "1.1.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ihhub"; owner = "ihhub";
repo = "fheroes2"; repo = "fheroes2";
rev = version; rev = version;
hash = "sha256-REZBez5R10kifIAnuoTxoyFlcfv5JufjX3mkItD6US4="; hash = "sha256-dtc+/FvYJPgdtrDRq+fofrlXW3NjgtFMDd6rCmweiMw=";
}; };
nativeBuildInputs = [ imagemagick ]; nativeBuildInputs = [ imagemagick ];

View File

@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/neetly/figma-agent-linux"; homepage = "https://github.com/neetly/figma-agent-linux";
description = "Figma Agent for Linux (a.k.a. Font Helper)"; description = "Figma Agent for Linux (a.k.a. Font Helper)";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ercao ]; maintainers = with lib.maintainers; [ ];
mainProgram = "figma-agent"; mainProgram = "figma-agent";
}; };
} }

View File

@ -84,7 +84,6 @@ buildNpmPackage (finalAttrs: {
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
ercao
kashw2 kashw2
]; ];
mainProgram = "figma-linux"; mainProgram = "figma-linux";

View File

@ -7,15 +7,15 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "fleet"; pname = "fleet";
version = "4.70.1"; version = "4.71.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fleetdm"; owner = "fleetdm";
repo = "fleet"; repo = "fleet";
tag = "fleet-v${finalAttrs.version}"; tag = "fleet-v${finalAttrs.version}";
hash = "sha256-YNb4gjHgIyCrKD/1kiJb6J+JHn/uyFb2PyoRtOGbohY="; hash = "sha256-nkSW3209rI3pNK6WTB0HSg5XVs6ZtKfEf8hP5OKMN/4=";
}; };
vendorHash = "sha256-mlZO7wxZamI7xjvZ+ncTkiqTsXhNhjjE0JI5+8bPbv0="; vendorHash = "sha256-UOY9W2ULh2eNIfUmyU38nZCVWNTWIDTf7GBBkptrlTQ=";
subPackages = [ subPackages = [
"cmd/fleet" "cmd/fleet"

View File

@ -82,13 +82,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "frr"; pname = "frr";
version = "10.3.1"; version = "10.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FRRouting"; owner = "FRRouting";
repo = "frr"; repo = "frr";
rev = "frr-${finalAttrs.version}"; rev = "frr-${finalAttrs.version}";
hash = "sha256-54LMy2gBVp/BwTOlfQiE6TAMvx8Citn4QF6lvyvrFOo="; hash = "sha256-62+WTabM+gx8CJDAb7LnTG45B1jcpWTTEouiQW3q468=";
}; };
# Without the std explicitly set, we may run into abseil-cpp # Without the std explicitly set, we may run into abseil-cpp

View File

@ -76,8 +76,6 @@
efibootmgr, efibootmgr,
tpm2-tools, tpm2-tools,
fetchpatch2,
# passthru # passthru
nixosTests, nixosTests,
nix-update-script, nix-update-script,
@ -135,7 +133,7 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "fwupd"; pname = "fwupd";
version = "2.0.12"; version = "2.0.13";
# libfwupd goes to lib # libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out # daemon, plug-ins and libfwupdplugin go to out
@ -153,7 +151,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "fwupd"; owner = "fwupd";
repo = "fwupd"; repo = "fwupd";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-AYPrQzk28CS4Yhj2+KARt3b1SC02YifEftsSF+fKJ+Y="; hash = "sha256-iarQfen2MCgQUDST5c81+KBd8gxBqM9EO6f0fN4fZbI=";
}; };
patches = [ patches = [
@ -174,11 +172,6 @@ stdenv.mkDerivation (finalAttrs: {
# EFI capsule is located in fwupd-efi now. # EFI capsule is located in fwupd-efi now.
./efi-app-path.patch ./efi-app-path.patch
(fetchpatch2 {
url = "https://github.com/fwupd/fwupd/pull/8959.diff?full_index=1";
hash = "sha256-w4uf1CXSyy1pqqM4lzMZoOFhDxadcU3Tdnz0dJgLW7w=";
})
]; ];
postPatch = postPatch =

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "geoipupdate"; pname = "geoipupdate";
version = "7.1.0"; version = "7.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "maxmind"; owner = "maxmind";
repo = "geoipupdate"; repo = "geoipupdate";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-XfQ5W2JbPBIAh5iF4jj9UJ4eLhhRHRwFPs0VWrBQVNA="; sha256 = "sha256-ATvQLN5i2Wc+kGBPsF0z3LrfjHkeGhjp6cwtgPFLRGk=";
}; };
vendorHash = "sha256-XQTZITuG9HjHnpYsSdwNLbdeDhH48+1kLCK32DMkppo="; vendorHash = "sha256-0/F9jUaqWG6yn8ciXhzzTctQzw1EffsVIJiDLpWyHTQ=";
ldflags = [ "-X main.version=${version}" ]; ldflags = [ "-X main.version=${version}" ];

View File

@ -10,13 +10,13 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "gitlab-runner"; pname = "gitlab-runner";
version = "18.1.1"; version = "18.1.2";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitlab-runner"; repo = "gitlab-runner";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-XJgGw+7jC0b/UBI3p7RoamOSHGswtPaO4f/apARVW2Y="; hash = "sha256-zazDJBo6HiBh995nsYQvYCgcxyNaulV2ZrG7Kbwxb+0=";
}; };
vendorHash = "sha256-G9qZKWI//ECG88Tu8zb8nEDSwNRabVMsrp7aQzVsxCY="; vendorHash = "sha256-G9qZKWI//ECG88Tu8zb8nEDSwNRabVMsrp7aQzVsxCY=";

View File

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "goimapnotify"; pname = "goimapnotify";
version = "2.5.2"; version = "2.5.3";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "shackra"; owner = "shackra";
repo = "goimapnotify"; repo = "goimapnotify";
tag = version; tag = version;
hash = "sha256-ZCcnAwkfU1EoCtbQiR76f8drcYqgxxsz2eJJr5mbr6A="; hash = "sha256-sA2fXk7/xnPl8ogrF00fiRCZvhFoHWjNlugL6gTGHk0=";
}; };
vendorHash = "sha256-5cZzaCoOR1R7iST0q3GaJbYIbKKEigeWqhp87maOL04="; vendorHash = "sha256-5cZzaCoOR1R7iST0q3GaJbYIbKKEigeWqhp87maOL04=";

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "hclfmt"; pname = "hclfmt";
version = "2.23.0"; version = "2.24.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = "hcl"; repo = "hcl";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0RRvkOBPVrdbZo9zbVgZletKNXPBsN7pa7fsyfI9hXg="; hash = "sha256-YWGd2rQXJ4AX8nhByYRdp+91PJeHrdCpxvKQntxzRhY=";
}; };
vendorHash = "sha256-F2i7ph9GL9Xo43da6jHPn9P9FdWC6eSgqCyHPBxdFJY="; vendorHash = "sha256-5yGTuv19XyXsZcaHKXr/mYqKRufkJBaYMICFwMP/p3g=";
# The code repository includes other tools which are not useful. Only build # The code repository includes other tools which are not useful. Only build
# hclfmt. # hclfmt.

View File

@ -16,16 +16,15 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "inv-sig-helper"; pname = "inv-sig-helper";
version = "0-unstable-2025-04-23"; version = "0-unstable-2025-07-23";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "iv-org"; owner = "iv-org";
repo = "inv_sig_helper"; repo = "inv_sig_helper";
rev = "5d3c7a4574fafe0bc5fbed9e7e33483889832fd4"; rev = "dcda9f16ae748639cec652ed504809b60f149e71";
hash = "sha256-WGh62tjKGe9OD19aq+lP9GfYs5PrGqkeT6VvmtNottQ="; hash = "sha256-QVVCTM1gn/n6zDD6XdmwXdpVBlnBV9cHCvn8xfOq6E8=";
}; };
useFetchCargoVendor = true;
cargoHash = "sha256-DnJL7kkcVn5dW3AoPCn829WmkaCjpDZtYUXnpiB857Q="; cargoHash = "sha256-DnJL7kkcVn5dW3AoPCn829WmkaCjpDZtYUXnpiB857Q=";
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -10,13 +10,13 @@
buildGoModule rec { buildGoModule rec {
pname = "k3sup"; pname = "k3sup";
version = "0.13.9"; version = "0.13.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alexellis"; owner = "alexellis";
repo = "k3sup"; repo = "k3sup";
rev = version; rev = version;
sha256 = "sha256-3ySfLYeopz9PqxNmnao5m4Kymu5o5jcsOJdN8hz0Yss="; sha256 = "sha256-0iYz2bxUBC+tnPZgH+QQo0ZNRktniw6gs9hWrLIjS+U=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "karlyriceditor"; pname = "karlyriceditor";
version = "3.3"; version = "4.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gyunaev"; owner = "gyunaev";
repo = "karlyriceditor"; repo = "karlyriceditor";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-i4uZtHxnreow7a5ZX6WCXMUSwgkUJS/1oDCJOgfFjHw="; hash = "sha256-eW5sO1gjuwIighnlylJQd9QC+07s1MZX/oPyaHIi/Qs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -9,16 +9,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kubeone"; pname = "kubeone";
version = "1.10.1"; version = "1.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubermatic"; owner = "kubermatic";
repo = "kubeone"; repo = "kubeone";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-bRl2Yrg3fidytCt3stjTyNx7IdMpADgVzpd/7btQgY8="; hash = "sha256-K33KKvGw4iF7aq/eumSFzYk3ij8pE8mUh4wN9TA9Q/4=";
}; };
vendorHash = "sha256-Ltrs86I5CAjx21BZZrG+UD5/YdLbaFwJqRQLvGwOA9E="; vendorHash = "sha256-Wnnwp1GRlE1q8MSc23pOmSn9fKu5uHVzkivfuF2lnEk=";
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -5,7 +5,8 @@
fetchurl, fetchurl,
ffmpeg, ffmpeg,
lib, lib,
libsForQt5, stdenv,
qt5,
openssl, openssl,
pkg-config, pkg-config,
rubyPackages, rubyPackages,
@ -34,7 +35,7 @@ let
hash = "sha256-3Efu+x5o99U55LB5u5POZBRBBK0jPeVoGJOYEOzQO3s="; hash = "sha256-3Efu+x5o99U55LB5u5POZBRBBK0jPeVoGJOYEOzQO3s=";
}; };
in in
libsForQt5.mkDerivation { stdenv.mkDerivation {
pname = "makemkv"; pname = "makemkv";
inherit version; inherit version;
@ -52,12 +53,13 @@ libsForQt5.mkDerivation {
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook autoPatchelfHook
pkg-config pkg-config
qt5.wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
ffmpeg ffmpeg
openssl openssl
libsForQt5.qtbase qt5.qtbase
zlib zlib
]; ];

View File

@ -8,11 +8,11 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "man-pages"; pname = "man-pages";
version = "6.14"; version = "6.15";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/man-pages-${finalAttrs.version}.tar.xz"; url = "mirror://kernel/linux/docs/man-pages/man-pages-${finalAttrs.version}.tar.xz";
hash = "sha256-ceEwZ7eABEsvNy7sJfQgm8BBPMMq9xQUHvPSLSHq6OM="; hash = "sha256-A9jr9hi9XfV8tL81Xvo/TNOgC3ce/WI9T9BCtdzrRGU=";
}; };
nativeInstallCheckInputs = [ man ]; nativeInstallCheckInputs = [ man ];

View File

@ -3,6 +3,7 @@
fetchFromGitHub, fetchFromGitHub,
buildGoModule, buildGoModule,
nixosTests, nixosTests,
fetchpatch,
}: }:
buildGoModule rec { buildGoModule rec {
@ -16,6 +17,19 @@ buildGoModule rec {
hash = "sha256-nt2bnfKzGU+6gUaSqHfnbCnWLMDoAcISmlNYFeM4Xu8="; hash = "sha256-nt2bnfKzGU+6gUaSqHfnbCnWLMDoAcISmlNYFeM4Xu8=";
}; };
patches = [
# https://github.com/MetaCubeX/mihomo/pull/2178
(fetchpatch {
url = "https://github.com/MetaCubeX/mihomo/commit/63ad95e10f40ffc90ec93497aac562765af7a471.patch";
hash = "sha256-ZE2dlr0t//Q1CVy2ql/TWuLEALdF1ZCYTOVK87bKWQg=";
})
# https://github.com/MetaCubeX/mihomo/pull/2177
(fetchpatch {
url = "https://github.com/MetaCubeX/mihomo/commit/b06ec5bef810ec8d009f52428188440df0484ce4.patch";
hash = "sha256-XQhlST4pa//+Bg5hWc2zADulz8FeEiHwB99Rw9o24b0=";
})
];
vendorHash = "sha256-k/Zjnq07+Sg+dwwcAf+ziInaDvlXn3bEG+QuxZ5lcM8="; vendorHash = "sha256-k/Zjnq07+Sg+dwwcAf+ziInaDvlXn3bEG+QuxZ5lcM8=";
excludedPackages = [ "./test" ]; excludedPackages = [ "./test" ];

View File

@ -10,13 +10,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "openasar"; pname = "openasar";
version = "0-unstable-2025-07-14"; version = "0-unstable-2025-07-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GooseMod"; owner = "GooseMod";
repo = "OpenAsar"; repo = "OpenAsar";
rev = "e6991e30910b4019bff1ad6e1934534ad546831e"; rev = "92abbb0e3efc39e553fd24e9125c42cdba1318ec";
hash = "sha256-COz3X2sYSYnd436pOjiHgpYxQbn6hRCo8AefPzv5hTs="; hash = "sha256-9PTseQdQ6YbeuBbcBnPr+OXP5wNYDJgv8s9sn8hGSgk=";
}; };
postPatch = '' postPatch = ''

View File

@ -7,7 +7,7 @@
let let
pname = "openfga-cli"; pname = "openfga-cli";
version = "0.7.0"; version = "0.7.2";
in in
buildGoModule { buildGoModule {
@ -17,10 +17,10 @@ buildGoModule {
owner = "openfga"; owner = "openfga";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-hZS9aBHPrcLZd5oitFPAG7z0M5mxWAX2ErE3PL+EdN4="; hash = "sha256-k/YDomfOn658j4XZKPV9BZZSQBnJdNJOUF6SONmESqY=";
}; };
vendorHash = "sha256-qVJBYLJ4YNNA8hkl4J2kEL1MR+MzrHMQnhNvs6EYV98="; vendorHash = "sha256-v9zzPl80TsOfYfc764aVpuflj7I4eZOa9PTCjX7dL/4=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -0,0 +1,52 @@
{
lib,
stdenv,
qt5,
libsForQt5,
fetchgit,
cmake,
libsecret,
restic,
}:
stdenv.mkDerivation {
pname = "restique";
version = "0-unstable-2024-10-20";
# using fetchFromGitea returns 404
src = fetchgit {
url = "https://git.srcbox.net/stefan/restique";
rev = "340d8326c2a2221ec155512cc6ffb2c8a866c525";
hash = "sha256-IBg8hRJ7nugHP+JLg0fTONgZ+oRdkJpeZzflrwSG20w=";
};
nativeBuildInputs = [
cmake
qt5.wrapQtAppsHook
];
buildInputs = [
libsecret
libsForQt5.qtkeychain
qt5.qttools
];
qtWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ restic ])
];
meta = {
description = "Restic GUI for Desktop/Laptop Backups";
homepage = "https://git.srcbox.net/stefan/restique";
license = with lib.licenses; [
gpl3Plus
cc-by-sa-40
cc0
];
maintainers = with lib.maintainers; [ dotlambda ];
mainProgram = "restique";
};
}

113
pkgs/by-name/ro/roc/package.nix Executable file
View File

@ -0,0 +1,113 @@
{
lib,
stdenv,
fetchFromGitHub,
libffi,
libxml2,
makeBinaryWrapper,
cmake,
glibc,
rustPlatform,
zig_0_13,
llvmPackages_18,
writableTmpDirAsHomeHook,
valgrind,
autoPatchelfHook,
}:
let
llvmPackages = llvmPackages_18;
rocVersion = "alpha3";
in
rustPlatform.buildRustPackage rec {
pname = "roc";
version = "0-${rocVersion}";
src = fetchFromGitHub {
owner = "roc-lang";
repo = "roc";
rev = "9a0238e0f34c09e27e3ca89e8fc5a684a21bf456";
hash = "sha256-iM16DlTf+1yXBZVH7QqzhKuSkn1n/ZDosnZj3t+io0E=";
};
nativeBuildInputs =
[
cmake
zig_0_13
]
++ lib.optionals stdenv.isLinux [
autoPatchelfHook
];
buildInputs =
[
libffi
libxml2
llvmPackages.clang
llvmPackages.llvm.dev
makeBinaryWrapper
]
++ lib.optionals stdenv.isLinux [
glibc
stdenv.cc.cc.lib
];
useFetchCargoVendor = true;
cargoHash = "sha256-9cOJ79GrnrMEIhFikvCfXa2SI4O0fy50cr4Fb6p4Vho=";
# prevents zig AccessDenied error github.com/ziglang/zig/issues/6810
XDG_CACHE_HOME = "xdg_cache";
preBuild =
let
llvmVersion = builtins.splitVersion llvmPackages.release_version;
llvmMajorMinorStr = builtins.elemAt llvmVersion 0 + "0";
in
''
export LLVM_SYS_${llvmMajorMinorStr}_PREFIX=${llvmPackages.llvm.dev}
'';
postInstall =
lib.optionalString stdenv.isLinux ''
wrapProgram $out/bin/roc \
--set NIX_GLIBC_PATH ${glibc.out}/lib \
--set NIX_LIBGCC_S_PATH ${stdenv.cc.cc.lib}/lib \
--prefix PATH : ${lib.makeBinPath [ stdenv.cc ]}
''
+ lib.optionalString (!stdenv.isLinux) ''
wrapProgram $out/bin/roc --prefix PATH : ${lib.makeBinPath [ stdenv.cc ]}
'';
nativeCheckInputs = [
writableTmpDirAsHomeHook
llvmPackages.clang
valgrind
];
checkPhase =
lib.optionalString stdenv.isLinux ''
runHook preCheck
NIX_GLIBC_PATH=${glibc.out}/lib NIX_LIBGCC_S_PATH=${stdenv.cc.cc.lib}/lib cargo test --release --workspace --exclude test_mono --exclude uitest -- --skip glue_cli_tests
runHook postCheck
''
+ lib.optionalString (!stdenv.isLinux) ''
runHook preCheck
cargo test --release --workspace --exclude test_mono --exclude uitest -- --skip glue_cli_tests
runHook postCheck
'';
meta = {
description = "Fast, friendly, functional programming language";
mainProgram = "roc";
homepage = "https://www.roc-lang.org/";
changelog = "https://github.com/roc-lang/roc/releases/tag/${rocVersion}";
license = lib.licenses.upl;
maintainers = [
lib.maintainers.anton-4
lib.maintainers.bhansconnect
lib.maintainers.rtfeldman
];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -12,15 +12,15 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rust-analyzer-unwrapped"; pname = "rust-analyzer-unwrapped";
version = "2025-07-14"; version = "2025-07-21";
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-bYJGlePqgcZ5ixdCJleJS0gjiKtiS1d2XJymhyUknas="; cargoHash = "sha256-Of1agDo7/stiS58yTtL0rV/iCRMipO3bQC4xEsi7CGk=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rust-lang"; owner = "rust-lang";
repo = "rust-analyzer"; repo = "rust-analyzer";
rev = version; rev = version;
hash = "sha256-EJcdxw3aXfP8Ex1Nm3s0awyH9egQvB2Gu+QEnJn2Sfg="; hash = "sha256-KYavlyBR385om3AOEF+ABCjslJF7vi/Eufo2L56Hhfg=";
}; };
cargoBuildFlags = [ cargoBuildFlags = [

View File

@ -5,7 +5,7 @@
}: }:
let let
pname = "saucectl"; pname = "saucectl";
version = "0.195.2"; version = "0.196.0";
in in
buildGoModule { buildGoModule {
inherit pname version; inherit pname version;
@ -14,7 +14,7 @@ buildGoModule {
owner = "saucelabs"; owner = "saucelabs";
repo = "saucectl"; repo = "saucectl";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-qBP2FXvx6E8f8/wwN+kVuN2f4QBfoG7ORGqmxlNYYtI="; hash = "sha256-UqGz5pzhICHJ7zRHZYgtf44xUqd15FgtPuG1/6Nc0PQ=";
}; };
ldflags = [ ldflags = [

View File

@ -6,13 +6,13 @@
buildGoModule rec { buildGoModule rec {
pname = "scalr-cli"; pname = "scalr-cli";
version = "0.17.1"; version = "0.17.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Scalr"; owner = "Scalr";
repo = "scalr-cli"; repo = "scalr-cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-+ZwENhZF19VpJPGOVHnT4vMiWi8fzuJa3AhyOQ/S6w0="; hash = "sha256-W8Ug/Y5vF604qT9U2SWfYQZMUP4JOFdWAQNU3Yiu5mE=";
}; };
vendorHash = "sha256-TUf+0Z0yBDOpzMuETn+FCAPXWvQltjRhwQ3Xz0X6YOI="; vendorHash = "sha256-TUf+0Z0yBDOpzMuETn+FCAPXWvQltjRhwQ3Xz0X6YOI=";

View File

@ -10,13 +10,13 @@
buildGoModule rec { buildGoModule rec {
pname = "src-cli"; pname = "src-cli";
version = "6.5.0"; version = "6.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sourcegraph"; owner = "sourcegraph";
repo = "src-cli"; repo = "src-cli";
rev = version; rev = version;
hash = "sha256-ysSFmOIraDqVVHiBcVI98qjFh+8W76sVs60vvwMyh6M="; hash = "sha256-9jqlbqZ62wds+VOt5OT9XYu/v6ETaYGCqY7qJu3UsWg=";
}; };
vendorHash = "sha256-bpfDnVqJoJi9WhlA6TDWAhBRkbbQn1BHfnLJ8BTmhGM="; vendorHash = "sha256-bpfDnVqJoJi9WhlA6TDWAhBRkbbQn1BHfnLJ8BTmhGM=";

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "summon"; pname = "summon";
version = "0.10.4"; version = "0.10.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cyberark"; owner = "cyberark";
repo = "summon"; repo = "summon";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-nAjaZh0bnGBZh2wK78M4gg8BGsM6kBQ8MNvfPI7TIOg="; hash = "sha256-m4aLGEUXBakfp+KwUZBmNzFEHuG58ZuWQFF5TmUM7pM=";
}; };
vendorHash = "sha256-B6sbMKmuIQ+xoJspFCRtqe9IOLW+AFF5XQBDSLhM9cI="; vendorHash = "sha256-QOCPATTs2vvww+ekt6HFg2IUA/NFmE8+2WkMby2f/OE=";
subPackages = [ "cmd" ]; subPackages = [ "cmd" ];

View File

@ -3,16 +3,18 @@
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
installShellFiles, installShellFiles,
versionCheckHook,
nix-update-script,
}: }:
buildGoModule rec { buildGoModule (finalAttrs: {
pname = "timoni"; pname = "timoni";
version = "0.25.1"; version = "0.25.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stefanprodan"; owner = "stefanprodan";
repo = "timoni"; repo = "timoni";
rev = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-iTVTlxMCLHTXQj3I+nDHhE5w4fDaaM7p52wuvZY2uy4="; hash = "sha256-iTVTlxMCLHTXQj3I+nDHhE5w4fDaaM7p52wuvZY2uy4=";
}; };
@ -24,12 +26,9 @@ buildGoModule rec {
# Some tests require running Kubernetes instance # Some tests require running Kubernetes instance
doCheck = false; doCheck = false;
passthru.updateScript = ./update.sh;
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-X main.VERSION=${finalAttrs.version}"
"-X main.VERSION=${version}"
]; ];
postInstall = '' postInstall = ''
@ -39,12 +38,22 @@ buildGoModule rec {
--zsh <($out/bin/timoni completion zsh) --zsh <($out/bin/timoni completion zsh)
''; '';
meta = with lib; { nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
homepage = "https://timoni.sh"; homepage = "https://timoni.sh";
changelog = "https://github.com/stefanprodan/timoni/releases/tag/${src.rev}"; changelog = "https://github.com/stefanprodan/timoni/releases/tag/v${finalAttrs.version}";
description = "Package manager for Kubernetes, powered by CUE and inspired by Helm"; description = "Package manager for Kubernetes, powered by CUE and inspired by Helm";
mainProgram = "timoni"; mainProgram = "timoni";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ votava ]; maintainers = with lib.maintainers; [ votava ];
}; };
} })

View File

@ -1,17 +0,0 @@
diff --git i/host/tests/CMakeLists.txt w/host/tests/CMakeLists.txt
index bac599811..267f8e602 100644
--- a/host/tests/CMakeLists.txt
+++ b/host/tests/CMakeLists.txt
@@ -517,12 +517,6 @@ UHD_ADD_NONAPI_TEST(
${UHD_SOURCE_DIR}/lib/utils/compat_check.cpp
)
-UHD_ADD_NONAPI_TEST(
- TARGET "xport_adapter_ctrl_test.cpp"
- EXTRA_SOURCES
- ${UHD_SOURCE_DIR}/lib/usrp/cores/xport_adapter_ctrl.cpp
-)
-
UHD_ADD_NONAPI_TEST(
TARGET "custom_reg_test.cpp"
EXTRA_SOURCES

View File

@ -43,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
# #
# nix-shell maintainers/scripts/update.nix --argstr package uhd --argstr commit true # nix-shell maintainers/scripts/update.nix --argstr package uhd --argstr commit true
# #
version = "4.7.0.0"; version = "4.8.0.0";
outputs = [ outputs = [
"out" "out"
@ -56,14 +56,14 @@ stdenv.mkDerivation (finalAttrs: {
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
# The updateScript relies on the `src` using `hash`, and not `sha256. To # The updateScript relies on the `src` using `hash`, and not `sha256. To
# update the correct hash for the `src` vs the `uhdImagesSrc` # update the correct hash for the `src` vs the `uhdImagesSrc`
hash = "sha256-TX1iLs941z8sZY0yQEXuy9jGgsn6HU4uqIdxJmNNahU="; hash = "sha256-1HnXFeja4g1o64IPUkv/YyP/3upgYsjCVWal8t/hcuc=";
}; };
# Firmware images are downloaded (pre-built) from the respective release on Github # Firmware images are downloaded (pre-built) from the respective release on Github
uhdImagesSrc = fetchurl { uhdImagesSrc = fetchurl {
url = "https://github.com/EttusResearch/uhd/releases/download/v${finalAttrs.version}/uhd-images_${finalAttrs.version}.tar.xz"; url = "https://github.com/EttusResearch/uhd/releases/download/v${finalAttrs.version}/uhd-images_${finalAttrs.version}.tar.xz";
# Please don't convert this to a hash, in base64, see comment near src's # Please don't convert this to a hash, in base64, see comment near src's
# hash. # hash.
sha256 = "17g503mhndaabrdl7qai3rdbafr8xx8awsyr7h2bdzwzprzmh4m3"; sha256 = "0i5zagajj0hzdnavvzaixbn6nkh8p9aqw1lv1bj9lpbdh2wy4bk0";
}; };
# This are the minimum required Python dependencies, this attribute might # This are the minimum required Python dependencies, this attribute might
# be useful if you want to build a development environment with a python # be useful if you want to build a development environment with a python
@ -182,27 +182,6 @@ stdenv.mkDerivation (finalAttrs: {
# Build only the host software # Build only the host software
preConfigure = "cd host"; preConfigure = "cd host";
patches = [
# fix for boost 187 remove on next update
(substitute {
src = fetchpatch {
name = "boost-187.patch";
url = "https://github.com/EttusResearch/uhd/commit/adfe953d965e58b5931c1b1968899492c8087cf6.patch";
hash = "sha256-qzxe6QhGoyBul7YjCiPJfeP+3dIoo1hh2sjgYmc9IiI=";
};
# The last two hunks in client.cc will fail without these substitutions
substitutions = [
"--replace-fail"
"[buffer, idx, func_name, p, this]"
"[=]"
"--replace-fail"
"[buffer, this]"
"[=]"
];
})
# Disable tests that fail in the sandbox, last checked at version 4.6.0.0
./no-adapter-tests.patch
];
postPhases = postPhases =
[ [

View File

@ -6,6 +6,7 @@
lapack, lapack,
python3, python3,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
}: }:
assert (!blas.isILP64); assert (!blas.isILP64);
assert blas.isILP64 == lapack.isILP64; assert blas.isILP64 == lapack.isILP64;
@ -27,6 +28,15 @@ stdenv.mkDerivation rec {
hash = "sha256-+Mq7lM6WuwAnK/2FlDz9gNRIg2sRazQRezb3BfD0veY="; hash = "sha256-+Mq7lM6WuwAnK/2FlDz9gNRIg2sRazQRezb3BfD0veY=";
}; };
patches = [
# upstream patch, fixes test runner.
(fetchpatch {
name = "replace-obsolete-pipes-module";
url = "https://github.com/wannier-developers/wannier90/commit/8aef6edaa4f169d45b479dc5d5c5efb8b9385a49.patch";
hash = "sha256-6ZfHd8CVTzfaj99AA3dsJJ/EOeCZmzACAM5pe2wBo8g=";
})
];
# test cases are removed as error bounds of wannier90 are obviously to tight # test cases are removed as error bounds of wannier90 are obviously to tight
postPatch = '' postPatch = ''
rm -r test-suite/tests/testpostw90_{fe_kpathcurv,fe_kslicecurv,si_geninterp,si_geninterp_wsdistance} rm -r test-suite/tests/testpostw90_{fe_kpathcurv,fe_kslicecurv,si_geninterp,si_geninterp_wsdistance}

View File

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
homepage = "https://sourceforge.net/projects/xdb/"; homepage = "https://sourceforge.net/projects/xdb/";
description = "C++ class library formerly known as XDB"; description = "C++ class library formerly known as XDB";
platforms = platforms.linux; platforms = platforms.linux;
broken = true; # Fails to build against gcc-14, no upstream activity.
license = licenses.lgpl2; license = licenses.lgpl2;
}; };
} }

View File

@ -23,14 +23,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "chex"; pname = "chex";
version = "0.1.89"; version = "0.1.90";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deepmind"; owner = "deepmind";
repo = "chex"; repo = "chex";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-eTEfmbpmwtCuphtOq0iHUT8zGfyQ4/aUorL4FQwcKBw="; hash = "sha256-nZYfkK73p3HpUOMPyqkV4YR3BDGrpdZrl36dmfZt7Bk=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -31,7 +31,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "gradio-client"; pname = "gradio-client";
version = "1.10.1"; version = "1.11.0";
pyproject = true; pyproject = true;
# no tests on pypi # no tests on pypi
@ -41,7 +41,7 @@ buildPythonPackage rec {
# not to be confused with @gradio/client@${version} # not to be confused with @gradio/client@${version}
tag = "gradio_client@${version}"; tag = "gradio_client@${version}";
sparseCheckout = [ "client/python" ]; sparseCheckout = [ "client/python" ];
hash = "sha256-jIJkJvXy4mKQN0gVb4nm3hCzgk9qofBrXc3Tws2n2qw="; hash = "sha256-dj8hJPXUBbFG9awP3o0vgyPt+gcCgzKKEQTEHkrEimA=";
}; };
sourceRoot = "${src.name}/client/python"; sourceRoot = "${src.name}/client/python";

View File

@ -20,6 +20,7 @@
setuptools, setuptools,
aiofiles, aiofiles,
anyio, anyio,
brotli,
diffusers, diffusers,
fastapi, fastapi,
ffmpy, ffmpy,
@ -36,6 +37,7 @@
packaging, packaging,
pandas, pandas,
pillow, pillow,
polars,
pydantic, pydantic,
python-multipart, python-multipart,
pydub, pydub,
@ -73,20 +75,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "gradio"; pname = "gradio";
version = "5.29.1"; version = "5.38.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gradio-app"; owner = "gradio-app";
repo = "gradio"; repo = "gradio";
tag = "gradio@${version}"; tag = "gradio@${version}";
hash = "sha256-nL+m64JTLRS5UOB9WSl7lpsw8v0Vzkt7XWGl9a08Xko="; hash = "sha256-NbVRbwqHUSwyG+v+cDKCrVtzjj6ThxGRfO+xjqXOy5I=";
}; };
pnpmDeps = pnpm_9.fetchDeps { pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src; inherit pname version src;
fetcherVersion = 1; fetcherVersion = 1;
hash = "sha256-h3ulPik0Uf8X687Se3J7h3+8jYzwXtbO6obsO27zyfA="; hash = "sha256-E6dBajJoKzaJF67KRrSB/LNAyLDmT78mCmTar5G6P6g=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [
@ -115,6 +117,7 @@ buildPythonPackage rec {
setuptools # needed for 'pkg_resources' setuptools # needed for 'pkg_resources'
aiofiles aiofiles
anyio anyio
brotli
diffusers diffusers
fastapi fastapi
ffmpy ffmpy
@ -131,6 +134,7 @@ buildPythonPackage rec {
packaging packaging
pandas pandas
pillow pillow
polars
pydantic pydantic
python-multipart python-multipart
pydub pydub
@ -152,6 +156,7 @@ buildPythonPackage rec {
[ [
altair altair
boto3 boto3
brotli
docker docker
ffmpeg ffmpeg
gradio-pdf gradio-pdf
@ -245,6 +250,10 @@ buildPythonPackage rec {
# tests if pip and other tools are installed # tests if pip and other tools are installed
"test_get_executable_path" "test_get_executable_path"
# Flaky test (AssertionError when comparing to a fixed array)
# https://github.com/gradio-app/gradio/issues/11620
"test_auto_datatype"
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ ++ lib.optionals stdenv.hostPlatform.isDarwin [
# TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType' # TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType'

View File

@ -0,0 +1,54 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
extension-helpers,
numpy,
setuptools,
setuptools-scm,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "gstools-cython";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "GeoStat-Framework";
repo = "GSTools-Cython";
tag = "v${version}";
hash = "sha256-Kzn/ThLjTGy3ZYIkTwCV1wi22c7rWo4u/L3llppC6wQ=";
};
build-system = [
cython
extension-helpers
numpy
setuptools
setuptools-scm
];
dependencies = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [
"gstools_cython"
];
meta = {
description = "Cython backend for GSTools";
homepage = "https://github.com/GeoStat-Framework/GSTools-Cython";
changelog = "https://github.com/GeoStat-Framework/GSTools-Cython/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ sarahec ];
};
}

View File

@ -5,44 +5,47 @@
# build-system # build-system
cython, cython,
extension-helpers, hatch-vcs,
numpy, hatchling,
setuptools,
setuptools-scm,
# dependencies # dependencies
hankel,
emcee, emcee,
gstools-cython,
hankel,
meshio, meshio,
numpy,
pyevtk, pyevtk,
scipy, scipy,
# optional dependencies
matplotlib,
pyvista,
# tests # tests
pytestCheckHook, pytestCheckHook,
pytest-cov-stub,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "gstools"; pname = "gstools";
version = "1.6.1"; version = "1.7.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GeoStat-Framework"; owner = "GeoStat-Framework";
repo = "GSTools"; repo = "GSTools";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-Aieuk0Xjlut8rTZoFHcBpPtyIj/fstMrHiiKyDOpQlg="; hash = "sha256-rQ7mSa1BWAaRiiE6aQD6jl8BktihY9bjFJV+5eT9n/M=";
}; };
build-system = [ build-system = [
cython hatch-vcs
extension-helpers hatchling
numpy
setuptools
setuptools-scm
]; ];
dependencies = [ dependencies = [
emcee emcee
gstools-cython
hankel hankel
meshio meshio
numpy numpy
@ -50,13 +53,23 @@ buildPythonPackage rec {
scipy scipy
]; ];
optional-dependencies = {
plotting = [
matplotlib
pyvista
];
};
pythonImportsCheck = [ "gstools" ]; pythonImportsCheck = [ "gstools" ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
] ++ lib.flatten (lib.attrValues optional-dependencies);
meta = { meta = {
description = "Geostatistical toolbox"; description = "Geostatistical toolbox";
homepage = "https://github.com/GeoStat-Framework/GSTools"; homepage = "https://github.com/GeoStat-Framework/GSTools";
changelog = "https://github.com/GeoStat-Framework/GSTools/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/GeoStat-Framework/GSTools/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.lgpl3Only; license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ sigmanificient ]; maintainers = with lib.maintainers; [ sigmanificient ];
}; };

View File

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "oelint-data"; pname = "oelint-data";
version = "1.0.20"; version = "1.0.23";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "priv-kweihmann"; owner = "priv-kweihmann";
repo = "oelint-data"; repo = "oelint-data";
tag = version; tag = version;
hash = "sha256-Kfl/zYZ6PvYRn1E0MKzCZLvtqS6WV5U9hvOufFNKmPY="; hash = "sha256-JN563FGxM9Z+2dKzLBlepN1x2oKlUq0nIBwB0Obe8yY=";
}; };
build-system = [ build-system = [

View File

@ -31,6 +31,11 @@ buildPythonPackage rec {
hash = "sha256-9f8SNlt4qiTlXgx2ica9Y8rmnYzQ5VarvFRfoZ9bSsY="; hash = "sha256-9f8SNlt4qiTlXgx2ica9Y8rmnYzQ5VarvFRfoZ9bSsY=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2.0.0rc1,<2.3; python_version >= '3.9'" "numpy>=2.0.0";
'';
build-system = [ build-system = [
cython cython
numpy numpy

View File

@ -32,14 +32,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pylance"; pname = "pylance";
version = "0.31.1"; version = "0.32.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lancedb"; owner = "lancedb";
repo = "lance"; repo = "lance";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-EYohbu+zhR3cLXkhM4izP/pIaFyefxc64eF8UAQojRU="; hash = "sha256-hVWyZv978hDjAOdk4S9S9RJOkxqhOL0ZBpi4wGk0h1c=";
}; };
sourceRoot = "${src.name}/python"; sourceRoot = "${src.name}/python";
@ -51,7 +51,7 @@ buildPythonPackage rec {
src src
sourceRoot sourceRoot
; ;
hash = "sha256-seYL4U/8Ac+V5NYJ3e2ji9BMkEnB+JxYX9coWFf7hGA="; hash = "sha256-ZUNAZsOpLdpdsKhIp/6QD3Ys7MOeO6H3ve8au7g+riU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -22,14 +22,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "timm"; pname = "timm";
version = "1.0.17"; version = "1.0.19";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "huggingface"; owner = "huggingface";
repo = "pytorch-image-models"; repo = "pytorch-image-models";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-NWWKDWcwRrQ2lrNSbkA2xepAoPP7+0G7g7eIjGLZSCw="; hash = "sha256-IHppBCjyEZRdnPpPqL5VKIMov5lbHe9Wu9m9K9+am7o=";
}; };
build-system = [ pdm-backend ]; build-system = [ pdm-backend ];

View File

@ -20,7 +20,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "whenever"; pname = "whenever";
version = "0.8.6"; version = "0.8.7";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "ariebovenberg"; owner = "ariebovenberg";
repo = "whenever"; repo = "whenever";
tag = version; tag = version;
hash = "sha256-33h89pEEhfKE0P9VKRo/l9tisMa2c8Dy9oUai3OKtPA="; hash = "sha256-SQtYoxvAoCdUDVi/jXSiSUMo+7Aa5GUX0dip9486Urg=";
}; };
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {

View File

@ -43,12 +43,12 @@ lib.overrideDerivation
extraMeta = extraMeta =
if (rpiVersion < 3) then if (rpiVersion < 3) then
{ {
platforms = with lib.platforms; arm; platforms = with lib.platforms; lib.intersectLists arm linux;
hydraPlatforms = [ ]; hydraPlatforms = [ ];
} }
else else
{ {
platforms = with lib.platforms; arm ++ aarch64; platforms = with lib.platforms; lib.intersectLists (arm ++ aarch64) linux;
hydraPlatforms = [ "aarch64-linux" ]; hydraPlatforms = [ "aarch64-linux" ];
}; };
ignoreConfigErrors = true; ignoreConfigErrors = true;

View File

@ -21,8 +21,8 @@ let
in in
buildMongoDB { buildMongoDB {
inherit avxSupport; inherit avxSupport;
version = "7.0.21"; version = "7.0.22";
sha256 = "sha256-l/xXLauloxf4WwwdW+WGBAUArp2jdHHSFgEnzcCJYrc="; sha256 = "sha256-Je4vPG8tz1vqCEXzWyYi5KWQaxzlH0hOKSpWBgPs0Hs=";
patches = [ patches = [
# ModuleNotFoundError: No module named 'mongo_tooling_metrics': # ModuleNotFoundError: No module named 'mongo_tooling_metrics':
# NameError: name 'SConsToolingMetrics' is not defined: # NameError: name 'SConsToolingMetrics' is not defined:

View File

@ -8,13 +8,13 @@
postgresqlBuildExtension (finalAttrs: { postgresqlBuildExtension (finalAttrs: {
pname = "pg_net"; pname = "pg_net";
version = "0.19.1"; version = "0.19.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "supabase"; owner = "supabase";
repo = "pg_net"; repo = "pg_net";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-Sy2PG1zCB6tNbcMNMWvl/Fe2Zu1stvEIqGrLsRF09GY="; hash = "sha256-PZYIwkXp1rOzRCDZivJFMuEQBYJaaibUN/WkL+6crSg=";
}; };
buildInputs = [ curl ]; buildInputs = [ curl ];

View File

@ -5887,44 +5887,6 @@ self: with self; {
}) })
) { }; ) { };
# THIS IS A GENERATED FILE. DO NOT EDIT!
xf86videorendition = callPackage (
{
stdenv,
pkg-config,
fetchurl,
xorgproto,
libpciaccess,
xorgserver,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xf86-video-rendition";
version = "4.2.7";
builder = ./builder.sh;
src = fetchurl {
url = "mirror://xorg/individual/driver/xf86-video-rendition-4.2.7.tar.bz2";
sha256 = "0yzqcdfrnnyaaaa76d4hpwycpq4x2j8qvg9m4q19lj4xbicwc4cm";
};
hardeningDisable = [
"bindnow"
"relro"
];
strictDeps = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [
xorgproto
libpciaccess
xorgserver
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = {
pkgConfigModules = [ ];
platforms = lib.platforms.unix;
};
})
) { };
# THIS IS A GENERATED FILE. DO NOT EDIT! # THIS IS A GENERATED FILE. DO NOT EDIT!
xf86videos3virge = callPackage ( xf86videos3virge = callPackage (
{ {

View File

@ -101,7 +101,6 @@ mirror://xorg/individual/driver/xf86-video-omap-0.4.5.tar.bz2
mirror://xorg/individual/driver/xf86-video-openchrome-0.6.0.tar.bz2 mirror://xorg/individual/driver/xf86-video-openchrome-0.6.0.tar.bz2
mirror://xorg/individual/driver/xf86-video-qxl-0.1.6.tar.xz mirror://xorg/individual/driver/xf86-video-qxl-0.1.6.tar.xz
mirror://xorg/individual/driver/xf86-video-r128-6.13.0.tar.xz mirror://xorg/individual/driver/xf86-video-r128-6.13.0.tar.xz
mirror://xorg/individual/driver/xf86-video-rendition-4.2.7.tar.bz2
mirror://xorg/individual/driver/xf86-video-s3virge-1.11.1.tar.xz mirror://xorg/individual/driver/xf86-video-s3virge-1.11.1.tar.xz
mirror://xorg/individual/driver/xf86-video-savage-2.4.1.tar.xz mirror://xorg/individual/driver/xf86-video-savage-2.4.1.tar.xz
mirror://xorg/individual/driver/xf86-video-siliconmotion-1.7.10.tar.xz mirror://xorg/individual/driver/xf86-video-siliconmotion-1.7.10.tar.xz

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "q"; pname = "q";
version = "0.19.2"; version = "0.19.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "natesales"; owner = "natesales";
repo = "q"; repo = "q";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-kfuf0iwRYNxd9TfIIHvAqLxXjesQh7jC0evT9DQrrzQ="; sha256 = "sha256-Chvh+L1RV/T/blFjGS2wiJynXxbWE6eKbu4TRTFTb3o=";
}; };
vendorHash = "sha256-6kdf+LwMrIjwC3uZHlMdpEHvonxKfr86PQaMOgzgYOc="; vendorHash = "sha256-7OknLdkJB3ujX/DL+DVdWFK5RcoEw5R9h/KY4OfKeCw=";
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -12888,8 +12888,6 @@ with pkgs;
kup = libsForQt5.callPackage ../applications/misc/kup { }; kup = libsForQt5.callPackage ../applications/misc/kup { };
timoni = callPackage ../applications/networking/cluster/timoni { };
kvirc = libsForQt5.callPackage ../applications/networking/irc/kvirc { }; kvirc = libsForQt5.callPackage ../applications/networking/irc/kvirc { };
ladspaH = callPackage ../applications/audio/ladspa-sdk/ladspah.nix { }; ladspaH = callPackage ../applications/audio/ladspa-sdk/ladspah.nix { };
@ -13620,8 +13618,6 @@ with pkgs;
rednotebook = python3Packages.callPackage ../applications/editors/rednotebook { }; rednotebook = python3Packages.callPackage ../applications/editors/rednotebook { };
restique = libsForQt5.callPackage ../applications/backup/restique { };
retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { }; retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { };
rgp = libsForQt5.callPackage ../development/tools/rgp { }; rgp = libsForQt5.callPackage ../development/tools/rgp { };

View File

@ -6294,6 +6294,8 @@ self: super: with self; {
gstools = callPackage ../development/python-modules/gstools { }; gstools = callPackage ../development/python-modules/gstools { };
gstools-cython = callPackage ../development/python-modules/gstools-cython { };
gtfs-realtime-bindings = callPackage ../development/python-modules/gtfs-realtime-bindings { }; gtfs-realtime-bindings = callPackage ../development/python-modules/gtfs-realtime-bindings { };
gto = callPackage ../development/python-modules/gto { }; gto = callPackage ../development/python-modules/gto { };