Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2025-10-11 06:05:12 +00:00
committed by GitHub
38 changed files with 388 additions and 178 deletions
@@ -150,6 +150,8 @@
- [ringboard](https://github.com/SUPERCILEX/clipboard-history), a fast, efficient, and composable clipboard manager for Linux. Available for x11 as [services.ringboard](#opt-services.ringboard.x11.enable) and for wayland as [services.ringboard](#opt-services.ringboard.wayland.enable).
- [Tenstorrent](https://tenstorrent.com) hardware module has been added.
## Backward Incompatibilities {#sec-release-25.11-incompatibilities}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+29
View File
@@ -0,0 +1,29 @@
{
config,
pkgs,
lib,
...
}:
let
inherit (lib) mkEnableOption mkIf;
inherit (config.boot.kernelPackages) tt-kmd;
cfg = config.hardware.tenstorrent;
in
{
options.hardware.tenstorrent.enable = mkEnableOption "Tenstorrent driver & utilities";
config = mkIf cfg.enable {
boot = {
extraModulePackages = [ tt-kmd ];
kernelModules = [ "tenstorrent" ];
};
services.udev.packages = [
tt-kmd
];
# TODO: add tt-smi to environment.systemPackages once https://github.com/NixOS/nixpkgs/pull/444714 is merged
# TODO: add tt-system-tools to environment.systemPackages once https://github.com/NixOS/nixpkgs/pull/444748 is merged
};
}
+1
View File
@@ -109,6 +109,7 @@
./hardware/sheep-net.nix
./hardware/steam-hardware.nix
./hardware/system-76.nix
./hardware/tenstorrent.nix
./hardware/tuxedo-drivers.nix
./hardware/ubertooth.nix
./hardware/uinput.nix
+3
View File
@@ -17,5 +17,8 @@
machine.wait_for_unit("nginx.service")
machine.wait_for_open_port(80)
machine.succeed("curl -v --location --fail http://localhost/")
# Make sure bundled assets are served.
# https://github.com/NixOS/nixpkgs/issues/442208
machine.succeed("curl -v --location --fail http://localhost/bundles/tabler/tabler.css")
'';
}
@@ -24,8 +24,8 @@ let
sha256Hash = "sha256-KrKUsA7wFeI7IBa9VOp+MERqWIiMnNzLFO8oF0rCiIw=";
};
latestVersion = {
version = "2025.2.1.3"; # "Android Studio Otter | 2025.2.1 Canary 3"
sha256Hash = "sha256-McgPREXfErJ6vcHPKlAC4EVf61QedMV6J643LM5N7Wg=";
version = "2025.2.1.5"; # "Android Studio Otter | 2025.2.1 Canary 5"
sha256Hash = "sha256-Slpp29OMpG4i/9ykYBF/KMwnBgOTSuqObZrfdcMfDbQ=";
};
in
{
+5
View File
@@ -7,6 +7,7 @@
cubeb,
curl,
fetchFromGitHub,
fetchpatch2,
fmt_9,
gamemode,
glm,
@@ -66,6 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
# > SPIRV-Tools-opt
./0000-spirv-tools-opt-cmakelists.patch
./0002-cemu-imgui.patch
(fetchpatch2 {
url = "https://github.com/cemu-project/Cemu/commit/c1c2962b6633017cd956c6925288e2529c532ee4.diff?full_index=1";
sha256 = "sha256-Dz7WnCf5+Vbr/ETX71wIo/x/zPWdrsOtPH7bsL5Bd+A=";
})
];
nativeBuildInputs = [
@@ -6,11 +6,11 @@
}:
buildGoModule rec {
pname = "double-entry-generator";
version = "2.11.0";
version = "2.12.0";
src = fetchFromGitHub {
owner = "deb-sig";
repo = "double-entry-generator";
hash = "sha256-tHJwn1G/2wySnKpF+P0tyOu3mYk8zD9D301kxrWaWws=";
hash = "sha256-j/iShGFfuk4iIGFv+S5sxXCyJ2f0xbJVYOSFtsijjq0=";
rev = "v${version}";
};
+15 -15
View File
@@ -1,21 +1,8 @@
diff --git a/SConstruct b/SConstruct
index 48fd080..419b40d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -55,7 +55,7 @@ sky = env.Program("endless-sky", Glob("build/" + env["mode"] + "/*.cpp"))
# Install the binary:
-env.Install("$DESTDIR$PREFIX/games", sky)
+env.Install("$DESTDIR$PREFIX/bin", sky)
# Install the desktop file:
env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")
diff --git a/source/Files.cpp b/source/Files.cpp
index f5dec21..ad57c55 100644
index bb03ecf..6e37336 100644
--- a/source/Files.cpp
+++ b/source/Files.cpp
@@ -115,6 +115,7 @@ void Files::Init(const char * const *argv)
@@ -135,6 +135,7 @@ void Files::Init(const char * const *argv)
else if(IsParent(STANDARD_PATH, resources))
resources = STANDARD_PATH / RESOURCE_PATH;
#endif
@@ -23,3 +10,16 @@ index f5dec21..ad57c55 100644
}
// If the resources are not here, search in the directories containing this
// one. This allows, for example, a Mac app that does not actually have the
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17f290163..169fef120 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -312,7 +312,7 @@ elseif(WIN32)
include(CPack)
elseif(UNIX)
# Install the binary.
- install(TARGETS EndlessSky CONFIGURATIONS Release RUNTIME DESTINATION games)
+ install(TARGETS EndlessSky CONFIGURATIONS Release RUNTIME DESTINATION bin)
# Install the desktop file.
install(FILES io.github.endless_sky.endless_sky.desktop DESTINATION share/applications)
+13 -12
View File
@@ -8,20 +8,22 @@
libX11,
glew,
openal,
scons,
cmake,
pkg-config,
libmad,
libuuid,
minizip,
}:
stdenv.mkDerivation rec {
pname = "endless-sky";
version = "0.10.12";
version = "0.10.14";
src = fetchFromGitHub {
owner = "endless-sky";
repo = "endless-sky";
tag = "v${version}";
hash = "sha256-cT/bklRGQnS9Nm8J0oH1mG20JQOe58FAAHToNDpvPpQ=";
hash = "sha256-/jW9TXmK2xgHUQe6H+WSCHPQthxvoNepdkdnOD3sXXo=";
};
patches = [
@@ -33,17 +35,14 @@ stdenv.mkDerivation rec {
# endless sky naively joins the paths with string concatenation
# so it's essential that there be a trailing slash on the resources path
substituteInPlace source/Files.cpp \
--replace '%NIXPKGS_RESOURCES_PATH%' "$out/share/games/endless-sky/"
'';
preBuild = ''
export AR="${stdenv.cc.targetPrefix}gcc-ar"
--replace-fail '%NIXPKGS_RESOURCES_PATH%' "$out/share/games/endless-sky/"
'';
enableParallelBuilding = true;
nativeBuildInputs = [
scons
cmake
pkg-config
];
buildInputs = [
@@ -55,10 +54,9 @@ stdenv.mkDerivation rec {
openal
libmad
libuuid
minizip
];
prefixKey = "PREFIX=";
meta = with lib; {
description = "Sandbox-style space exploration game similar to Elite, Escape Velocity, or Star Control";
mainProgram = "endless-sky";
@@ -69,7 +67,10 @@ stdenv.mkDerivation rec {
cc-by-sa-40
publicDomain
];
maintainers = with maintainers; [ _360ied ];
maintainers = with maintainers; [
_360ied
lilacious
];
platforms = platforms.linux; # Maybe other non-darwin Unix
};
}
+3 -3
View File
@@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "gitu";
version = "0.37.0";
version = "0.38.0";
src = fetchFromGitHub {
owner = "altsem";
repo = "gitu";
rev = "v${version}";
hash = "sha256-BAfOenO/LrMfOPI+DStKdPp14t4+1AP8Z8/uoqU6Wfw=";
hash = "sha256-eOt16jeWLQ7nxKMBwwDs/4NIf/rzr+q6s0QHcY+zzSk=";
};
cargoHash = "sha256-yqmXXkviRbY9YS+JjAx5iXLu6cvMWotcf/PsrpfER5k=";
cargoHash = "sha256-pJs8uTim+/TrqzjxCzKHlaZRQudd0dMIZXqlAZU7G1M=";
nativeBuildInputs = [
pkg-config
+4 -1
View File
@@ -41,13 +41,16 @@ php.buildComposerProject2 (finalAttrs: {
vendorHash = "sha256-I4v4WkPGLc8vBPjCiYzPxcLn4rH3HWtQXSqwGVKXeGg=";
composerNoPlugins = false;
composerNoScripts = false;
postInstall = ''
# Make available the console utility, as Kimai doesn't list this in
# composer.json.
mkdir -p "$out"/share/php/kimai "$out"/bin
ln -s "$out"/share/php/kimai/bin/console "$out"/bin/console
# Install bundled assets. This is normally done in the `composer install`
# post-install script, but it's being skipped.
(cd "$out"/share/php/kimai && php ./bin/console assets:install)
'';
passthru.tests = {
+6 -25
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
libX11,
@@ -16,40 +15,22 @@
libGLU,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "libvdpau-va-gl";
version = "0.4.2";
version = "0.4.2-unstable-2025-05-18";
src = fetchFromGitHub {
owner = "i-rinat";
repo = "libvdpau-va-gl";
rev = "v${version}";
sha256 = "0asndybfv8xb0fx73sjjw5kydqrahqkm6n04lh589pbf18s5qlld";
rev = "a845e8720d900e4bcc89e7ee16106ce63b44af0d";
hash = "sha256-CtpyWod+blqC3u12MaQyqFOXurCP5Rb2PYq7PoaoASA=";
};
patches = [
# cmake-4 compatibility
(fetchpatch {
name = "cmake-4-1.patch";
url = "https://github.com/i-rinat/libvdpau-va-gl/commit/30c8ac91f3aa2843f7dc1c1d167e09fad447fd91.patch?full_index=1";
hash = "sha256-PFEqBg3NE0fVFBAW4zdDbh8eBfKyPX3BZ8P2M15Qq5A=";
})
(fetchpatch {
name = "cmake-4-2.patch";
url = "https://github.com/i-rinat/libvdpau-va-gl/commit/38c7d8fddb092824cbcdf2b11af519775930cc8b.patch?full_index=1";
hash = "sha256-XsX/GLIS2Ce7obQJ4uVhLDtTI1TrDAGi3ECxEH6oOFI=";
})
(fetchpatch {
name = "cmake-4-3.patch";
url = "https://github.com/i-rinat/libvdpau-va-gl/commit/a845e8720d900e4bcc89e7ee16106ce63b44af0.patch?full_index=1";
hash = "sha256-lhiZFDR2ytDmo9hQUT35IJS4KL4+nYWAOnxZlj7u3tM=";
})
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libX11
libpthreadstubs
@@ -69,6 +50,6 @@ stdenv.mkDerivation rec {
description = "VDPAU driver with OpenGL/VAAPI backend";
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = [ ];
maintainers = [ lib.maintainers.johnrtitor ];
};
}
@@ -1,15 +0,0 @@
index b97e7bf9..9cdc62a4 100644
--- a/ggml/src/ggml-vulkan/CMakeLists.txt
+++ b/ggml/src/ggml-vulkan/CMakeLists.txt
@@ -70,11 +70,5 @@ if (Vulkan_FOUND)
"GGML_VULKAN_INTEGER_DOT_GLSLC_SUPPORT"
)
- test_shader_extension_support(
- "GL_EXT_bfloat16"
- "${CMAKE_CURRENT_SOURCE_DIR}/vulkan-shaders/test_bfloat16_support.comp"
- "GGML_VULKAN_BFLOAT16_GLSLC_SUPPORT"
- )
-
target_link_libraries(ggml-vulkan PRIVATE Vulkan::Vulkan)
target_include_directories(ggml-vulkan PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
+2 -4
View File
@@ -75,13 +75,13 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
pname = "llama-cpp";
version = "6670";
version = "6729";
src = fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = "b${finalAttrs.version}";
hash = "sha256-B4Qog7RLcre8KB9N+aVUZSJwlkHIIcCxR8jySoxbXoQ=";
hash = "sha256-CkPLgzSsiCkSIAp4XetUJszt0+WjPRt+9V9SvRogbVU=";
leaveDotGit = true;
postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT
@@ -89,8 +89,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
'';
};
patches = lib.optionals vulkanSupport [ ./disable_bfloat16.patch ];
nativeBuildInputs = [
cmake
ninja
+2 -2
View File
@@ -10,7 +10,7 @@
copyDesktopItems,
}:
let
version = "2.64.1";
version = "2.64.2";
in
python3Packages.buildPythonApplication rec {
inherit version;
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
owner = "pyfa-org";
repo = "Pyfa";
tag = "v${version}";
hash = "sha256-qqfJ8nYI1y74sGJDbwrq0mT03em62BmU+y6GPmUUIIo=";
hash = "sha256-82zXMcIQPXTjMnKwhfpkm2apwDXLwKpbyglah6yHz/E=";
};
desktopItems = [
+8 -4
View File
@@ -7,6 +7,7 @@
makeBinaryWrapper,
makeDesktopItem,
copyDesktopItems,
replaceVars,
todds,
@@ -15,15 +16,16 @@
}:
let
pname = "rimsort";
version = "1.0.30";
version = "1.0.47";
src = fetchFromGitHub {
owner = "RimSort";
repo = "RimSort";
rev = "v${version}";
hash = "sha256-f1wYoBC0EbkvYNJHkVuoMukJZMY7eNjCIzJra7/hpLs=";
hash = "sha256-1wn3WIflrhH3IMBeGFwcHi0zOREakuk/5gqwPY720eA=";
fetchSubmodules = true;
};
steamworksSrc = fetchzip {
url = "https://web.archive.org/web/20250527013243/https://partner.steamgames.com/downloads/steamworks_sdk_162.zip"; # Steam sometimes requires auth to download.
hash = "sha256-yDA92nGj3AKTNI4vnoLaa+7mDqupQv0E4YKRRUWqyZw=";
@@ -70,6 +72,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [
makeBinaryWrapper
copyDesktopItems
];
buildInputs = [
@@ -100,6 +103,7 @@ stdenv.mkDerivation {
toposort
watchdog
xmltodict
zstandard
steamworkspy
;
};
@@ -133,7 +137,7 @@ stdenv.mkDerivation {
name = "RimSort";
desktopName = "RimSort";
exec = "rimsort";
icon = "io.github.rimsort.rimsort";
icon = "rimsort";
comment = "RimWorld Mod Manager";
categories = [ "Game" ];
})
@@ -155,7 +159,7 @@ stdenv.mkDerivation {
--prefix PYTHONPATH : "$PYTHONPATH" \
--set RIMSORT_DISABLE_UPDATER 1
install -D ./themes/default-icons/AppIcon_a.png $out/share/icons/hicolor/512x512/apps/io.github.rimsort.rimsort
install -D ./themes/default-icons/AppIcon_a.png $out/share/icons/hicolor/512x512/apps/rimsort.png
runHook postInstall
'';
+14 -10
View File
@@ -1,19 +1,23 @@
diff --git a/app/utils/generic.py b/app/utils/generic.py
index f23aa5c..9ff4a04 100644
--- a/app/utils/generic.py
+++ b/app/utils/generic.py
@@ -255,7 +255,7 @@
popen_args.extend(args)
p = subprocess.Popen(popen_args)
else:
- popen_args = [executable_path]
+ popen_args = ["@steam-run@/bin/steam-run", executable_path]
popen_args.extend(args)
if sys.platform == "win32":
@@ -260,6 +260,10 @@ def launch_game_process(game_install_path: Path, args: list[str]) -> None:
+ str(args)
+ "`"
)
+
+ args = [executable_path, *args]
+ executable_path = "@steam-run@/bin/steam-run"
+
pid, popen_args = launch_process(
executable_path, args, str(game_install_path)
)
diff --git a/app/utils/steam/steamcmd/wrapper.py b/app/utils/steam/steamcmd/wrapper.py
index 398e0fd..79bb162 100644
--- a/app/utils/steam/steamcmd/wrapper.py
+++ b/app/utils/steam/steamcmd/wrapper.py
@@ -316,8 +316,8 @@
@@ -317,8 +317,8 @@ class SteamcmdInterface:
script_output.write("\n".join(script))
runner.message(f"Compiled & using script: {script_path}")
runner.execute(
+22 -11
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
nix-update-script,
cmake,
pkg-config,
@@ -34,6 +33,13 @@
waylandSupport ? true,
wayland,
wrapGAppsHook3,
miniupnpc,
rtmidi,
asmjit,
glslang,
zstd,
hidapi,
vulkan-memory-allocator,
}:
let
@@ -46,24 +52,16 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "rpcs3";
version = "0.0.37";
version = "0.0.38";
src = fetchFromGitHub {
owner = "RPCS3";
repo = "rpcs3";
tag = "v${finalAttrs.version}";
hash = "sha256-/ve1qe76Rc+mXHemq8DI2U9IP6+tPV5m5SNh/wmppEw=";
hash = "sha256-HaguOzCN0/FvAb0b4RZWnw9yvVum14wEj26WnqOnSag=";
fetchSubmodules = true;
};
patches = [
(fetchpatch2 {
# https://github.com/RPCS3/rpcs3/pull/17316
url = "https://github.com/RPCS3/rpcs3/commit/bad6e992586264344ee1a3943423863d2bd39b45.patch?full_index=1";
hash = "sha256-rSyA1jcmRiV6m8rPKqTnDFuBh9WYFTGmyTSU2qrd+Go=";
})
];
passthru.updateScript = nix-update-script { };
preConfigure = ''
@@ -89,6 +87,12 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "USE_SYSTEM_SDL" true)
(lib.cmakeBool "USE_SYSTEM_OPENCV" true)
(lib.cmakeBool "USE_SYSTEM_CUBEB" true)
(lib.cmakeBool "USE_SYSTEM_MINIUPNPC" true)
(lib.cmakeBool "USE_SYSTEM_RTMIDI" true)
(lib.cmakeBool "USE_SYSTEM_GLSLANG" true)
(lib.cmakeBool "USE_SYSTEM_ZSTD" true)
(lib.cmakeBool "USE_SYSTEM_HIDAPI" true)
(lib.cmakeBool "USE_SYSTEM_VULKAN_MEMORY_ALLOCATOR" true)
(lib.cmakeBool "USE_SDL" true)
(lib.cmakeBool "WITH_LLVM" true)
(lib.cmakeBool "BUILD_LLVM" false)
@@ -130,6 +134,13 @@ stdenv.mkDerivation (finalAttrs: {
libSM
opencv.cxxdev
cubeb
miniupnpc
rtmidi
asmjit
glslang
zstd
hidapi
vulkan-memory-allocator
]
++ lib.optional faudioSupport faudio
++ lib.optionals waylandSupport [
+3 -3
View File
@@ -8,16 +8,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rsrpc";
version = "0.24.3";
version = "0.25.0";
src = fetchFromGitHub {
owner = "SpikeHD";
repo = "rsRPC";
tag = "v${finalAttrs.version}";
hash = "sha256-qQduMRITva425T+w2sWX/mRmJLq2SsfPkFzgjyq9x9E=";
hash = "sha256-zQtCd8d2n41ak+hQbEsjGlsHgbW3n5B5DQZ85icIogs=";
};
cargoHash = "sha256-aUTy+8XCUgsBEBBWr0PmvZ6agkq0sojXPWi9rDWp2Iw=";
cargoHash = "sha256-mF2pgg1NmOHM0DE7XUuik0IPp4w4EUs3VRYvBh3ZFK8=";
nativeBuildInputs = [
pkg-config
+42 -34
View File
@@ -2,14 +2,17 @@
lib,
stdenv,
rustPlatform,
withRuffleTools ? false,
fetchFromGitHub,
jre_minimal,
pkg-config,
autoPatchelfHook,
alsa-lib,
wayland,
xorg,
libXcursor,
libXrandr,
libXi,
libX11,
libxcb,
vulkan-loader,
udev,
libxkbcommon,
@@ -18,25 +21,41 @@
curl,
jq,
nix-update,
withX11 ? true,
withRuffleTools ? false,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ruffle";
version = "0.2-nightly-2025-10-05";
version = "0.2.0-nightly-2025-10-05";
src = fetchFromGitHub {
owner = "ruffle-rs";
repo = "ruffle";
tag = lib.strings.removePrefix "0.2-" finalAttrs.version;
tag = lib.strings.removePrefix "0.2.0-" finalAttrs.version;
hash = "sha256-u12Qfc0fmcs7TU35/gqfRxjSpw9SDbc4+ebR7lGpvJI=";
};
postPatch =
let
versionList = lib.versions.splitVersion openh264.version;
major = lib.elemAt versionList 0;
minor = lib.elemAt versionList 1;
patch = lib.elemAt versionList 2;
in
''
substituteInPlace video/external/src/decoder/openh264.rs \
--replace-fail "OpenH264Version(2, 4, 1)" \
"OpenH264Version(${major}, ${minor}, ${patch})"
'';
cargoHash = "sha256-v/3vf7YYJiz+PMBsznvOJsNLtv6bEQ9pffAI33rLVuw=";
cargoBuildFlags = lib.optional withRuffleTools "--workspace";
env =
let
tag = lib.strings.removePrefix "0.2-" finalAttrs.version;
versionDate = lib.strings.removePrefix "0.2-nightly-" finalAttrs.version;
tag = lib.strings.removePrefix "0.2.0-" finalAttrs.version;
versionDate = lib.strings.removePrefix "0.2.0-nightly-" finalAttrs.version;
in
{
VERGEN_IDEMPOTENT = "1";
@@ -60,32 +79,21 @@ rustPlatform.buildRustPackage (finalAttrs: {
(lib.getLib stdenv.cc.cc)
];
# Prevents ruffle from downloading openh264 at runtime for Linux
openh264-241 =
if stdenv.hostPlatform.isLinux then
openh264.overrideAttrs (_: rec {
version = "2.4.1";
src = fetchFromGitHub {
owner = "cisco";
repo = "openh264";
tag = "v${version}";
hash = "sha256-ai7lcGcQQqpsLGSwHkSs7YAoEfGCIbxdClO6JpGA+MI=";
};
})
else
null;
runtimeDependencies = lib.optionals stdenv.hostPlatform.isLinux [
wayland
xorg.libXcursor
xorg.libXrandr
xorg.libXi
xorg.libX11
xorg.libxcb
libxkbcommon
vulkan-loader
finalAttrs.openh264-241
];
runtimeDependencies = lib.optionals stdenv.hostPlatform.isLinux (
[
wayland
libxkbcommon
vulkan-loader
openh264
]
++ lib.optionals withX11 [
libXcursor
libXrandr
libXi
libX11
libxcb
]
);
postInstall = ''
mv $out/bin/ruffle_desktop $out/bin/ruffle
@@ -116,7 +124,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
curl https://api.github.com/repos/ruffle-rs/ruffle/releases?per_page=1 | \
jq -r ".[0].tag_name" \
)"
exec nix-update --version "0.2-$version" ruffle
exec nix-update --version "0.2.0-$version" ruffle
'';
});
};
@@ -135,11 +143,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
'';
homepage = "https://ruffle.rs/";
downloadPage = "https://ruffle.rs/downloads";
changelog = "https://github.com/ruffle-rs/ruffle/releases/tag/${lib.strings.removePrefix "0.2" finalAttrs.version}";
license = [
lib.licenses.mit
lib.licenses.asl20
];
changelog = "https://github.com/ruffle-rs/ruffle/releases/tag/${lib.strings.removePrefix "0.2.0-" finalAttrs.version}";
maintainers = [
lib.maintainers.jchw
lib.maintainers.normalcea
+7 -7
View File
@@ -1,39 +1,39 @@
{
version = "824";
version = "874";
x86_64-linux = {
os = "Linux";
name = "x86_64";
ext = "tgz";
hash = "sha256-TsNlwApXdbkHEI+pG9NVK7pJkKdvFYGIGgn+9xJ9q8A=";
hash = "sha256-7Ny7G0DXhYTf6MYLmEUT7meYPNMrGLPDdvrVuYyETWA=";
};
i686-linux = {
os = "Linux";
name = "i386";
ext = "tgz";
hash = "sha256-Gs4iifvchFY0d39bhQ61lX/TPGjCKPRidkJQbva91gA=";
hash = "sha256-pJ/2KSfoxvXMqAtlXbSXbxGh3zQec0zfZsEbdRw+CMU=";
};
aarch64-linux = {
os = "Linux";
name = "arm64";
ext = "tgz";
hash = "sha256-YowEzJ//idmZ4eznPNgEW142ApsnvkboGAWfDCHfIS0=";
hash = "sha256-IgX30NgPAkQ4nsJRbVqTcW7y8XN8prmpG+/S0dpJriE=";
};
armv7l-linux = {
os = "Linux";
name = "arm";
ext = "tgz";
hash = "sha256-mLl/qNtxMfFOe/M0fCZnnebei7E2ON4gvE9Q7XIufag=";
hash = "sha256-ZU4ibaO0Kg6/fVCthsV+scWdJuENcUHi187XN8OOdcw=";
};
aarch64-darwin = {
os = "MacOSX";
name = "arm64";
ext = "pkg";
hash = "sha256-GKlWof4XdxEwW7G8YmhdfjjJpXEXICqWapI7fly8Uvg=";
hash = "sha256-wfK9cV2Ul3LGmqTwerS1+BR0BuhmCFZdXtWykwJqWCM=";
};
x86_64-darwin = {
os = "MacOSX";
name = "x86_64";
ext = "pkg";
hash = "sha256-LWLUdzNVkN60qET7vhvLCoepg7kuHPqs2bZspRzZkGo=";
hash = "sha256-4xgulHc4AtGr2CV1NIX02N0y75k5s9AXgX6jK6hXW9s=";
};
}
+2 -2
View File
@@ -9,13 +9,13 @@
buildGoModule rec {
pname = "slackdump";
version = "3.1.7";
version = "3.1.8";
src = fetchFromGitHub {
owner = "rusq";
repo = "slackdump";
tag = "v${version}";
hash = "sha256-rVNXVkM4DpfNdqDGzaw23zOL/VSbzKsCyOc/Cq/mtZM=";
hash = "sha256-cIlhdhSyBO3xo++Z0v2DniUZwKjnUxaMlLBKWFPwQzk=";
};
nativeCheckInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.IOKitTools;
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "tailwindcss-language-server";
version = "0.14.26";
version = "0.14.28";
src = fetchFromGitHub {
owner = "tailwindlabs";
repo = "tailwindcss-intellisense";
tag = "v${finalAttrs.version}";
hash = "sha256-XXRWxN+1fOuVULh+ZE+XRRBaoRzhCpw7n8SkBIorG9A=";
hash = "sha256-jds6Wq4rcR4wXonZ1v9JITiEc4gflT0sTc3KUSBCMFc=";
};
pnpmDeps = pnpm_9.fetchDeps {
@@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmWorkspaces
;
fetcherVersion = 1;
hash = "sha256-SUEq20gZCiTDkFuNgMc5McHBPgW++8P9Q1MJb7a7pY8=";
hash = "sha256-1F4DeqJWJs3L1hDzNn7PJr9sSBv2TcN8QfV8/pwAKuU=";
};
nativeBuildInputs = [
@@ -0,0 +1,51 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
makeWrapper,
# Remove "? null" once https://github.com/NixOS/nixpkgs/pull/444714 is merged
tt-smi ? null,
pstree,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tt-system-tools";
version = "1.4.0";
src = fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-system-tools";
tag = "v${finalAttrs.version}";
hash = "sha256-ZtEs1XRho/EJShAV6+8Db2wxCK2QQBuNp+TRqb+ZiM4=";
};
nativeBuildInputs = [
makeWrapper
];
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm755 tt-oops/tt-oops.sh $out/bin/tt-oops
wrapProgram "$out/bin/tt-oops" \
--prefix PATH : ${
lib.makeBinPath [
tt-smi
pstree
]
}
runHook postInstall
'';
meta = {
description = "System tools for Tenstorrent cards";
homepage = "https://github.com/tenstorrent/tt-system-tools";
changelog = "https://github.com/tenstorrent/tt-system-tools/blob/${finalAttrs.src.tag}/debian/changelog";
maintainers = with lib.maintainers; [ RossComputerGuy ];
license = with lib.licenses; [ asl20 ];
platforms = lib.platforms.linux;
};
})
+2
View File
@@ -39,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
rm BUILD
'';
doCheck = true;
meta = {
homepage = "https://github.com/arximboldi/zug";
description = "Library for functional interactive c++ programs";
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "internetarchive";
version = "5.5.1";
version = "5.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "jjjake";
repo = "internetarchive";
tag = "v${version}";
hash = "sha256-Og0EPdaxu4etWj+9WPSyAHlz/BNUanu2gf+6k4FzN90=";
hash = "sha256-m3BB3rER3YHC3/Xj9L/zhVkjV0o46d/TCP3Jvw+eDgo=";
};
build-system = [ setuptools ];
@@ -4,6 +4,7 @@
fetchPypi,
buildPythonPackage,
isPyPy,
pythonAtLeast,
pythonOlder,
# build-system
@@ -52,7 +53,8 @@
# Tk
# Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy),
# tkinter fails to build on Python 3.11
enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy && pythonAtLeast "3.12"),
tkinter,
# Qt
@@ -34,6 +34,7 @@ buildPythonPackage rec {
postPatch = ''
cd ../$sourceRoot
cp --no-preserve=ownership,mode ../../Cargo.lock .
sed -i '0,/version = /{s/version = "*.*.*"/version = "${version}"/g}' Cargo.toml
'';
nativeBuildInputs = with rustPlatform; [
@@ -1,9 +1,7 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
distutils,
@@ -23,18 +21,21 @@
buildPythonPackage rec {
pname = "python-ldap";
version = "3.4.4";
version = "3.4.5";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python-ldap";
repo = "python-ldap";
tag = "python-ldap-${version}";
hash = "sha256-v1cWoRGxbvvFnHqnwoIfmiQQcxfaA8Bf3+M5bE5PtuU=";
hash = "sha256-olRu5HacRKaAcNbQczA+UCbDxhySUOO7qH0KdWlSbT0=";
};
postPatch = ''
# unused in 3.4.5; https://github.com/python-ldap/python-ldap/pull/597
sed -i "/setuptools-scm/d" pyproject.toml
'';
build-system = [
distutils
setuptools
@@ -109,6 +109,7 @@ buildPythonPackage {
pythonImportsCheck = [ "tkinter" ];
meta = {
broken = pythonOlder "3.12"; # tommath.h: No such file or directory
# Based on first sentence from https://docs.python.org/3/library/tkinter.html
description = "Standard Python interface to the Tcl/Tk GUI toolkit";
longDescription = ''
@@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
distro,
elasticsearch,
pydantic,
pyluwen,
rich,
textual,
pre-commit,
importlib-resources,
tt-tools-common,
tomli,
}:
buildPythonPackage rec {
pname = "tt-smi";
version = "3.0.30";
pyproject = true;
src = fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-smi";
tag = "v${version}";
hash = "sha256-C6CfcS0H3rFew/Y1uhmzICdFp1UYU7H9h3YPeAKlcbE=";
};
disabled = pythonOlder "3.13";
build-system = [
setuptools
];
dependencies = [
distro
elasticsearch
pydantic
pyluwen
rich
textual
pre-commit
importlib-resources
tt-tools-common
setuptools
tomli
];
# Fails due to having no tests
dontUsePytestCheck = true;
meta = {
description = "Tenstorrent console based hardware information program";
homepage = "https://github.com/tenstorrent/tt-smi";
maintainers = with lib.maintainers; [ RossComputerGuy ];
license = with lib.licenses; [ asl20 ];
};
}
@@ -13,21 +13,23 @@
requests,
tqdm,
pydantic,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "tt-tools-common";
version = "1.4.25";
version = "1.4.28";
pyproject = true;
src = fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-tools-common";
tag = "v${version}";
hash = "sha256-phal8KxfQqsGAIcKQTlSPZB04J158jZYlyamZr45vdU=";
hash = "sha256-L7MYrzQXb0LakQCx5CMlgTo0EjBoLLKC8u38eXksvoo=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
@@ -3,7 +3,6 @@
stdenv,
python,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
fetchpatch,
symlinkJoin,
@@ -290,6 +289,17 @@ buildPythonPackage rec {
./0002-setup.py-nix-support-respect-cmakeFlags.patch
./0003-propagate-pythonpath.patch
./0005-drop-intel-reqs.patch
# TODO: Remove the below patches when included in vLLM release
(fetchpatch {
url = "https://github.com/vllm-project/vllm/commit/9705fba7b727a3b9c275b012258608531e2223d1.patch";
hash = "sha256-DxRGLiwkegMlMjqFmFc0igpaVv06/Y2WjL+ISoIOET4=";
})
# patch above is previous commit needed to apply patch below
# oneDNN / CPU fix from https://github.com/vllm-project/vllm/pull/26401
(fetchpatch {
url = "https://github.com/vllm-project/vllm/commit/d7be1f2a480bdc62a6a1ec0126a401e3d42985fe.patch";
hash = "sha256-Zi1k5wiOPjsbWHFKpcLq9Ns43wIP37Mbvesi5K80zaQ=";
})
];
postPatch = ''
@@ -441,9 +451,6 @@ buildPythonPackage rec {
(lib.cmakeFeature "CAFFE2_USE_CUDNN" "ON")
(lib.cmakeFeature "CAFFE2_USE_CUFILE" "ON")
(lib.cmakeFeature "CUTLASS_ENABLE_CUBLAS" "ON")
]
++ lib.optionals cpuSupport [
(lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_ONEDNN" "${lib.getDev oneDNN}")
];
env =
@@ -459,6 +466,7 @@ buildPythonPackage rec {
}
// lib.optionalAttrs cpuSupport {
VLLM_TARGET_DEVICE = "cpu";
FETCHCONTENT_SOURCE_DIR_ONEDNN = "${oneDNN.src}";
};
preConfigure = ''
@@ -488,10 +496,6 @@ buildPythonPackage rec {
lach
daniel-fahey
];
# Python 3.12 vLLM v0.10.2+CPU blake3 1.0.7 incompatibility
# discovered during https://github.com/NixOS/nixpkgs/pull/447722
# reported upstream in https://github.com/vllm-project/vllm/issues/26229
broken = (cpuSupport && pythonOlder "3.13");
badPlatforms = [
# CMake Error at cmake/cpu_extension.cmake:78 (find_isa):
# find_isa Function invoked with incorrect arguments for function named:
@@ -111,6 +111,9 @@ stdenv.mkDerivation (finalAttrs: {
# Support loading zstd compressed .dat files, required to keep output under
# hydra size limit
./messagepack-compression-support.patch
# excessive comments are written to temporary asm files in build dir
# TODO: report upstream, find a better solution
./reduce-comment-spam.patch
];
postPatch = ''
@@ -0,0 +1,47 @@
diff --git a/projects/hipblaslt/tensilelite/rocisa/rocisa/include/format.hpp b/projects/hipblaslt/tensilelite/rocisa/rocisa/include/format.hpp
index b7dcb6f59a..b0625ba769 100644
--- a/tensilelite/rocisa/rocisa/include/format.hpp
+++ b/tensilelite/rocisa/rocisa/include/format.hpp
@@ -8,11 +8,13 @@ namespace rocisa
// Text format functions
inline std::string slash(const std::string& comment)
{
+ return "";
return "// " + comment + "\n";
}
inline std::string slash50(const std::string& comment)
{
+ return "";
std::ostringstream oss;
oss << std::setw(50) << ""
<< " // " << comment << "\n";
@@ -21,16 +23,19 @@ namespace rocisa
inline std::string block(const std::string& comment)
{
+ return "";
return "/* " + comment + " */\n";
}
inline std::string blockNewLine(const std::string& comment)
{
+ return "";
return "\n/* " + comment + " */\n";
}
inline std::string block3Line(const std::string& comment)
{
+ return "";
std::ostringstream oss;
oss << "\n/******************************************/\n";
std::istringstream iss(comment);
@@ -52,7 +57,7 @@ namespace rocisa
{
formattedStr = "\"" + formattedStr + "\\n\\t\"";
}
- if(!comment.empty())
+ if(false)
{
std::string buffer = formattedStr
+ std::string(std::max(0, 50 - int(formattedStr.length())), ' ')
+2 -2
View File
@@ -7,13 +7,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tt-kmd";
version = "2.3.0";
version = "2.4.1";
src = fetchFromGitHub {
owner = "tenstorrent";
repo = "tt-kmd";
tag = "ttkmd-${finalAttrs.version}";
hash = "sha256-o9F6WsiNQGD/0VraBVO2oEwPTc2Yjh3aitvITp/M2+4=";
hash = "sha256-m4XZdgOHQOWNoZlV2VqN6yhLcQuZxam22JKpOGXbjwI=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
@@ -12,13 +12,13 @@
buildHomeAssistantComponent rec {
owner = "JeffSteinbok";
domain = "dreo";
version = "1.3.3";
version = "1.4.2";
src = fetchFromGitHub {
inherit owner;
repo = "hass-dreo";
tag = "v${version}";
hash = "sha256-eAgqjAXNAY8kr7+49q+tikW3bDBJ0N0Rh5WJwzLYr8I=";
hash = "sha256-j5dsT+1/qd+z9TBHXui3kx2kBQBnJ8VaSxdFt6R8sFQ=";
};
dependencies = [ websockets ];
+2
View File
@@ -18836,6 +18836,8 @@ self: super: with self; {
tt-flash = callPackage ../development/python-modules/tt-flash { };
tt-smi = callPackage ../development/python-modules/tt-smi { };
tt-tools-common = callPackage ../development/python-modules/tt-tools-common { };
ttach = callPackage ../development/python-modules/ttach { };