From cd23ec7c7b8c46b729780c728b9e380730b64e6b Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Wed, 1 Nov 2023 13:09:29 +0000 Subject: [PATCH 0001/1387] nixos/coder: add environment.extra and environment.file --- nixos/modules/services/web-apps/coder.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/coder.nix b/nixos/modules/services/web-apps/coder.nix index 469a29bc3aa8..3fdc0b61e496 100644 --- a/nixos/modules/services/web-apps/coder.nix +++ b/nixos/modules/services/web-apps/coder.nix @@ -79,6 +79,23 @@ in { example = "*.coder.example.com"; }; + environment = { + extra = mkOption { + type = types.attrs; + description = lib.mdDoc "Extra environment variables to pass run Coder's server with. See Coder documentation."; + default = {}; + example = { + CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS = true; + CODER_OAUTH2_GITHUB_ALLOWED_ORGS = "your-org"; + }; + }; + file = mkOption { + type = types.nullOr types.path; + description = lib.mdDoc "Systemd environment file to add to Coder."; + default = null; + }; + }; + database = { createLocally = mkOption { type = types.bool; @@ -159,7 +176,7 @@ in { after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; - environment = { + environment = config.environment.extra // { CODER_ACCESS_URL = cfg.accessUrl; CODER_WILDCARD_ACCESS_URL = cfg.wildcardAccessUrl; CODER_PG_CONNECTION_URL = "user=${cfg.database.username} ${optionalString (cfg.database.password != null) "password=${cfg.database.password}"} database=${cfg.database.database} host=${cfg.database.host} ${optionalString (cfg.database.sslmode != null) "sslmode=${cfg.database.sslmode}"}"; @@ -184,6 +201,7 @@ in { ExecStart = "${cfg.package}/bin/coder server"; User = cfg.user; Group = cfg.group; + EnvironmentFile = lib.mkIf (cfg.environment.file != null) cfg.environment.file; }; }; From 72b3e9b5a0d838ff3a374f9e35e9da0880c01b85 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 7 Nov 2023 00:17:21 +0000 Subject: [PATCH 0002/1387] webkitgtk: support cross compilation which previously errored near the end of compilation with: ``` /nix/store/nnnn-wayland-aarch64-unknown-linux-gnu-1.22.0-bin/bin/wayland-scanner: line 0: syntax error: unexpected word (expecting ")") ``` that is, the build was trying to invoke the host `wayland-scanner`: both host and build wayland-scanner are made available to the build environment and the build script isn't smart enough to choose the right one. fix by explicitly instructing which `wayland-scanner` to use. --- pkgs/development/libraries/webkitgtk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index 1db2f4ce6d8c..07bf66aedc6a 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -1,5 +1,6 @@ { lib , stdenv +, buildPackages , runCommand , fetchurl , perl @@ -122,8 +123,6 @@ stdenv.mkDerivation (finalAttrs: { gi-docgen glib # for gdbus-codegen unifdef - ] ++ lib.optionals stdenv.isLinux [ - wayland # for wayland-scanner ]; buildInputs = [ @@ -206,6 +205,7 @@ stdenv.mkDerivation (finalAttrs: { # https://github.com/WebKit/WebKit/commit/a84036c6d1d66d723f217a4c29eee76f2039a353 "-DBWRAP_EXECUTABLE=${lib.getExe bubblewrap}" "-DDBUS_PROXY_EXECUTABLE=${lib.getExe xdg-dbus-proxy}" + "-DWAYLAND_SCANNER=${buildPackages.wayland-scanner}/bin/wayland-scanner" ] ++ lib.optionals stdenv.isDarwin [ "-DENABLE_GAMEPAD=OFF" "-DENABLE_GTKDOC=OFF" From 125fc5796233cf4e46ba2c43b9eb07bfd36394ef Mon Sep 17 00:00:00 2001 From: souxd Date: Fri, 1 Dec 2023 14:59:56 -0300 Subject: [PATCH 0003/1387] zandronum-alpha: init at 3.2-230709-1914 new file: pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch new file: pkgs/games/doom-ports/zandronum/alpha/default.nix new file: pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch new file: pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch modified: pkgs/top-level/all-packages.nix --- .../zandronum/alpha/add_gitinfo.patch | 15 +++ .../doom-ports/zandronum/alpha/default.nix | 103 ++++++++++++++++++ .../zandronum/alpha/dont_update_gitinfo.patch | 19 ++++ .../alpha/zan_configure_impurity.patch | 69 ++++++++++++ pkgs/top-level/all-packages.nix | 6 + 5 files changed, 212 insertions(+) create mode 100644 pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch create mode 100644 pkgs/games/doom-ports/zandronum/alpha/default.nix create mode 100644 pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch create mode 100644 pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch diff --git a/pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch b/pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch new file mode 100644 index 000000000000..fdf8e2e1a957 --- /dev/null +++ b/pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch @@ -0,0 +1,15 @@ +diff -r 89bccf7127ba src/gitinfo.h +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/src/gitinfo.h Fri Dec 01 10:18:23 2023 -0300 +@@ -0,0 +1,11 @@ ++// 89bccf7127ba1ebe92558f674be69549bf2c4bd4 ++// ++// This file was automatically generated by the ++// updaterevision tool. Do not edit by hand. ++ ++#define GIT_DESCRIPTION "ZA_3.1-404-89bccf7127ba" ++#define GIT_HASH "89bccf7127ba1ebe92558f674be69549bf2c4bd4" ++#define GIT_TIME "2023-07-09 15:14:38 -0400" ++#define HG_REVISION_NUMBER 1688930078 ++#define HG_REVISION_HASH_STRING "89bccf7127ba" ++#define HG_TIME "230709-1914" diff --git a/pkgs/games/doom-ports/zandronum/alpha/default.nix b/pkgs/games/doom-ports/zandronum/alpha/default.nix new file mode 100644 index 000000000000..c5d883fcb556 --- /dev/null +++ b/pkgs/games/doom-ports/zandronum/alpha/default.nix @@ -0,0 +1,103 @@ +{ stdenv +, lib +, fetchhg +, cmake +, pkg-config +, makeWrapper +, callPackage +, soundfont-fluid +, SDL_compat +, libGL +, glew +, bzip2 +, zlib +, libjpeg +, fluidsynth +, fmodex +, openssl +, gtk2 +, python3 +, game-music-emu +, serverOnly ? false +}: + +let + suffix = lib.optionalString serverOnly "-server"; + fmod = fmodex; # fmodex is on nixpkgs now + sqlite = callPackage ../sqlite.nix { }; + clientLibPath = lib.makeLibraryPath [ fluidsynth ]; + +in +stdenv.mkDerivation rec { + pname = "zandronum-alpha${suffix}"; + version = "3.2-230709-1914"; + + src = fetchhg { + # expired ssl certificate + url = "http://hg.osdn.net/view/zandronum/zandronum-stable"; + rev = "89bccf7127ba"; + hash = "sha256-waD9hKk0A0zMPyqEvAKxaz2e2TBG2G0MJRrzjx1LyB0="; + }; + + # zandronum tries to download sqlite now when running cmake, don't let it + # it also needs the current mercurial revision info embedded in gitinfo.h + # otherwise, the client will fail to connect to servers because the + # protocol version doesn't match. + patches = [ ./zan_configure_impurity.patch ./dont_update_gitinfo.patch ./add_gitinfo.patch ]; + + # I have no idea why would SDL and libjpeg be needed for the server part! + # But they are. + buildInputs = [ openssl bzip2 zlib SDL_compat libjpeg sqlite game-music-emu ] + ++ lib.optionals (!serverOnly) [ libGL glew fmod fluidsynth gtk2 ]; + + nativeBuildInputs = [ cmake pkg-config makeWrapper python3 ]; + + preConfigure = '' + ln -s ${sqlite}/* sqlite/ + sed -ie 's| restrict| _restrict|g' dumb/include/dumb.h \ + dumb/src/it/*.c + '' + lib.optionalString (!serverOnly) '' + sed -i \ + -e "s@/usr/share/sounds/sf2/@${soundfont-fluid}/share/soundfonts/@g" \ + -e "s@FluidR3_GM.sf2@FluidR3_GM2-2.sf2@g" \ + src/sound/music_fluidsynth_mididevice.cpp + ''; + + cmakeFlags = + [ "-DFORCE_INTERNAL_GME=OFF" ] + ++ (if serverOnly + then [ "-DSERVERONLY=ON" ] + else [ "-DFMOD_LIBRARY=${fmod}/lib/libfmodex.so" ]); + + hardeningDisable = [ "format" ]; + + # Won't work well without C or en_US. Setting LANG might not be enough if the user is making use of LC_* so wrap with LC_ALL instead + installPhase = '' + mkdir -p $out/bin + mkdir -p $out/lib/zandronum + cp zandronum${suffix} \ + *.pk3 \ + ${lib.optionalString (!serverOnly) "liboutput_sdl.so"} \ + $out/lib/zandronum + makeWrapper $out/lib/zandronum/zandronum${suffix} $out/bin/zandronum-alpha${suffix} + wrapProgram $out/bin/zandronum-alpha${suffix} \ + --set LC_ALL="C" + ''; + + postFixup = lib.optionalString (!serverOnly) '' + patchelf --set-rpath $(patchelf --print-rpath $out/lib/zandronum/zandronum):$out/lib/zandronum:${clientLibPath} \ + $out/lib/zandronum/zandronum + ''; + + passthru = { + inherit fmod sqlite; + }; + + meta = with lib; { + homepage = "https://zandronum.com/"; + description = "Multiplayer oriented port, based off Skulltag, for Doom and Doom II by id Software"; + maintainers = with maintainers; [ lassulus MP2E ]; + license = licenses.sleepycat; + platforms = platforms.linux; + }; +} diff --git a/pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch b/pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch new file mode 100644 index 000000000000..8d639c646738 --- /dev/null +++ b/pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch @@ -0,0 +1,19 @@ +diff -r 89bccf7127ba src/CMakeLists.txt +--- a/src/CMakeLists.txt Sun Jul 09 15:14:38 2023 -0400 ++++ b/src/CMakeLists.txt Fri Dec 01 10:16:26 2023 -0300 +@@ -642,15 +642,6 @@ + add_definitions( -DBACKPATCH ) + endif( BACKPATCH ) + +-# Update gitinfo.h +- +-get_target_property( UPDATEREVISION_EXE updaterevision LOCATION ) +- +-add_custom_target( revision_check ALL +- COMMAND ${UPDATEREVISION_EXE} src/gitinfo.h +- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +- DEPENDS updaterevision ) +- + # Libraries ZDoom needs + + message( STATUS "Fluid synth libs: ${FLUIDSYNTH_LIBRARIES}" ) diff --git a/pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch b/pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch new file mode 100644 index 000000000000..4a85de520ac1 --- /dev/null +++ b/pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch @@ -0,0 +1,69 @@ +diff -r 89bccf7127ba sqlite/CMakeLists.txt +--- a/sqlite/CMakeLists.txt Sun Jul 09 15:14:38 2023 -0400 ++++ b/sqlite/CMakeLists.txt Fri Dec 01 10:10:35 2023 -0300 +@@ -1,65 +1,5 @@ + cmake_minimum_required( VERSION 2.4 ) + +-# [BB/EP] Download SQLite archive and extract the sources if necessary. +-set( ZAN_SQLITE_VERSION 3360000 ) # SQL version 3.36.0 +-set( ZAN_SQLITE_YEAR 2021 ) +-set( ZAN_SQLITE_SHA1 "a4bcf9e951bfb9745214241ba08476299fc2dc1e" ) +-set( ZAN_SQLITE_DOWNLOAD_NAME "sqlite-autoconf-${ZAN_SQLITE_VERSION}" ) +-set( ZAN_SQLITE_TEMP_ARCHIVE "${CMAKE_CURRENT_SOURCE_DIR}/${ZAN_SQLITE_DOWNLOAD_NAME}.tar.gz" ) +-set( ZAN_SQLITE_HASHED_ARCHIVE "${CMAKE_CURRENT_SOURCE_DIR}/sqlite-${ZAN_SQLITE_SHA1}.tar.gz" ) +- +-if( IS_DIRECTORY ${ZAN_SQLITE_HASHED_ARCHIVE} OR IS_SYMLINK ${ZAN_SQLITE_HASHED_ARCHIVE} ) +- message( FATAL_ERROR "SQLite: ${ZAN_SQLITE_HASHED_ARCHIVE} must be a valid file.\n" +- "SQLite: Please remove it and try again." ) +-elseif( ( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/sqlite3.c ) OR ( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/sqlite3.h ) OR ( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/sqlite3ext.h ) ) +- +- if( NOT EXISTS ${ZAN_SQLITE_HASHED_ARCHIVE} ) +- if( IS_DIRECTORY ${ZAN_SQLITE_TEMP_ARCHIVE} OR IS_SYMLINK ${ZAN_SQLITE_TEMP_ARCHIVE} ) +- message( FATAL_ERROR "SQLite: ${ZAN_SQLITE_TEMP_ARCHIVE} must be a valid file.\n" +- "SQLite: Please remove it and try again." ) +- endif() +- +- message( STATUS "SQLite: downloading the archive..." ) +- +- file( DOWNLOAD https://www.sqlite.org/${ZAN_SQLITE_YEAR}/${ZAN_SQLITE_DOWNLOAD_NAME}.tar.gz ${ZAN_SQLITE_TEMP_ARCHIVE} +- SHOW_PROGRESS +- STATUS ZAN_SQLITE_DOWNLOAD_STATUS ) +- +- # Report any problem if present and abort immediately. +- list( GET ZAN_SQLITE_DOWNLOAD_STATUS 0 ZAN_SQLITE_DOWNLOAD_ERROR_CODE ) +- if( ZAN_SQLITE_DOWNLOAD_ERROR_CODE ) +- list( GET ZAN_SQLITE_DOWNLOAD_STATUS 1 ZAN_SQLITE_DOWNLOAD_ERROR_MESSAGE ) +- message( FATAL_ERROR "SQLite: download failed. Reason: ${ZAN_SQLITE_DOWNLOAD_ERROR_MESSAGE}" ) +- endif() +- +- # Check the hash. Abort immediately if it's not valid (something is wrong with the download) +- file( SHA1 ${ZAN_SQLITE_TEMP_ARCHIVE} ZAN_SQLITE_CURRENT_SHA1 ) +- if( NOT ZAN_SQLITE_CURRENT_SHA1 STREQUAL ZAN_SQLITE_SHA1 ) +- message( FATAL_ERROR "SQLite: download failed. The downloaded file has a different hash:\n" +- "SQLite: valid: ${ZAN_SQLITE_SHA1}\n" +- "SQLite: downloaded: ${ZAN_SQLITE_CURRENT_SHA1}" ) +- endif() +- +- # Rename the archive. +- execute_process( COMMAND ${CMAKE_COMMAND} -E rename ${ZAN_SQLITE_TEMP_ARCHIVE} ${ZAN_SQLITE_HASHED_ARCHIVE} ) +- endif() +- +- message( STATUS "SQLite: saving the source files into the 'sqlite' directory." ) +- +- # Extract the archive. +- execute_process( COMMAND ${CMAKE_COMMAND} -E tar xzf ${ZAN_SQLITE_HASHED_ARCHIVE} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) +- +- # Copy the required files. +- execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${ZAN_SQLITE_DOWNLOAD_NAME}/sqlite3.c ${CMAKE_CURRENT_SOURCE_DIR} ) +- execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${ZAN_SQLITE_DOWNLOAD_NAME}/sqlite3.h ${CMAKE_CURRENT_SOURCE_DIR} ) +- execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${ZAN_SQLITE_DOWNLOAD_NAME}/sqlite3ext.h ${CMAKE_CURRENT_SOURCE_DIR} ) +- +- # Remove the extracted folder. +- execute_process( COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_CURRENT_SOURCE_DIR}/${ZAN_SQLITE_DOWNLOAD_NAME} ) +- +- message( STATUS "SQLite: done." ) +-endif() +- + # [BB] Silence all GCC warnings + IF ( CMAKE_COMPILER_IS_GNUCXX ) + ADD_DEFINITIONS ( -w ) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c207c5c11d8b..9a2153fc69f1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37430,6 +37430,12 @@ with pkgs; serverOnly = true; }; + zandronum-alpha = callPackage ../games/doom-ports/zandronum/alpha { }; + + zandronum-alpha-server = zandronum-alpha.override { + serverOnly = true; + }; + fmodex = callPackage ../games/doom-ports/zandronum/fmod.nix { }; doom-bcc = callPackage ../games/doom-ports/zdoom/bcc-git.nix { }; From 547fea8f6f2ba3086f183620c5f092c651fa899f Mon Sep 17 00:00:00 2001 From: souxd Date: Fri, 1 Dec 2023 15:04:30 -0300 Subject: [PATCH 0004/1387] doomseeker: 2018-03-05 -> 2023-08-09 new file: pkgs/games/doom-ports/doomseeker/add_gitinfo.patch modified: pkgs/games/doom-ports/doomseeker/default.nix new file: pkgs/games/doom-ports/doomseeker/dont_update_gitinfo.patch modified: pkgs/games/doom-ports/doomseeker/fix_paths.patch --- .../doom-ports/doomseeker/add_gitinfo.patch | 17 ++++++ pkgs/games/doom-ports/doomseeker/default.nix | 20 ++++--- .../doomseeker/dont_update_gitinfo.patch | 45 ++++++++++++++ .../doom-ports/doomseeker/fix_paths.patch | 58 ++++++++----------- 4 files changed, 99 insertions(+), 41 deletions(-) create mode 100644 pkgs/games/doom-ports/doomseeker/add_gitinfo.patch create mode 100644 pkgs/games/doom-ports/doomseeker/dont_update_gitinfo.patch diff --git a/pkgs/games/doom-ports/doomseeker/add_gitinfo.patch b/pkgs/games/doom-ports/doomseeker/add_gitinfo.patch new file mode 100644 index 000000000000..236a1418ce61 --- /dev/null +++ b/pkgs/games/doom-ports/doomseeker/add_gitinfo.patch @@ -0,0 +1,17 @@ +diff --git a/src/core/gitinfo.h b/src/core/gitinfo.h +new file mode 100644 +index 00000000..6f330552 +--- /dev/null ++++ b/src/core/gitinfo.h +@@ -0,0 +1,11 @@ ++// 4cce0a37b134283ed38ee4814bb282773f9c2ed1 ++// ++// This file was automatically generated by the ++// updaterevision tool. Do not edit by hand. ++ ++#define GIT_DESCRIPTION "1.4.1-29-g4cce0a37" ++#define GIT_HASH "4cce0a37b134283ed38ee4814bb282773f9c2ed1" ++#define GIT_TIME "2023-08-09 13:55:37 +0200" ++#define HG_REVISION_NUMBER 1691582137 ++#define HG_REVISION_HASH_STRING "4cce0a37b134" ++#define HG_TIME "230809-1155" diff --git a/pkgs/games/doom-ports/doomseeker/default.nix b/pkgs/games/doom-ports/doomseeker/default.nix index 48ea1a0296cf..47719cd808fa 100644 --- a/pkgs/games/doom-ports/doomseeker/default.nix +++ b/pkgs/games/doom-ports/doomseeker/default.nix @@ -1,23 +1,29 @@ -{ lib, stdenv, mkDerivation, cmake, fetchFromBitbucket, pkg-config, qtbase, qttools, qtmultimedia, zlib, bzip2, xxd }: +{ lib, stdenv, cmake, fetchFromBitbucket, wrapQtAppsHook, pkg-config, qtbase, qttools, qtmultimedia, zlib, bzip2, xxd }: -mkDerivation { +stdenv.mkDerivation { pname = "doomseeker"; - version = "2018-03-05"; + version = "2023-08-09"; src = fetchFromBitbucket { owner = "Doomseeker"; repo = "doomseeker"; - rev = "c2c7f37b1afb"; - sha256 = "17fna3a604miqsvply3klnmypps4ifz8axgd3pj96z46ybxs8akw"; + rev = "4cce0a37b134283ed38ee4814bb282773f9c2ed1"; + hash = "sha256-J7gesOo8NUPuVaU0o4rCGzLrqr3IIMAchulWZG3HTqg="; }; - patches = [ ./fix_paths.patch ./qt_build_fix.patch ]; + patches = [ ./dont_update_gitinfo.patch ./add_gitinfo.patch ./fix_paths.patch ]; - nativeBuildInputs = [ cmake qttools pkg-config xxd ]; + nativeBuildInputs = [ wrapQtAppsHook cmake qttools pkg-config xxd ]; buildInputs = [ qtbase qtmultimedia zlib bzip2 ]; hardeningDisable = lib.optional stdenv.isDarwin "format"; + # Doomseeker looks for the engines in the program directory + postInstall = '' + mv $out/bin/* $out/lib/doomseeker/ + ln -s $out/lib/doomseeker/doomseeker $out/bin/ + ''; + meta = with lib; { homepage = "http://doomseeker.drdteam.org/"; description = "Multiplayer server browser for many Doom source ports"; diff --git a/pkgs/games/doom-ports/doomseeker/dont_update_gitinfo.patch b/pkgs/games/doom-ports/doomseeker/dont_update_gitinfo.patch new file mode 100644 index 000000000000..724a628849d4 --- /dev/null +++ b/pkgs/games/doom-ports/doomseeker/dont_update_gitinfo.patch @@ -0,0 +1,45 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b4b26e04..338858f8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -149,11 +149,8 @@ set(CXX_STANDARD_REQUIRED ON) + + if(WIN32) + set(WITH_AUTOUPDATES 1) +- add_subdirectory(tools/updateinstaller) + endif() + +-add_subdirectory(tools/updaterevision) +- + add_subdirectory(src/core) + add_subdirectory(src/plugins) + +diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt +index 089e3889..8add598d 100644 +--- a/src/core/CMakeLists.txt ++++ b/src/core/CMakeLists.txt +@@ -50,13 +50,6 @@ configure_file(doomseeker_copts.h.in doomseeker_copts.h) + option(DOOMSEEKER_INSTALL_NONFREE "Install non-free resources?" ${DEFAULT_NONFREE_INSTALL}) + set(DOOMSEEKER_IP2C_DAT "" CACHE FILEPATH "Path to IpToCountry.dat; optional") + +-# Get the revision from vcs +-add_custom_target(revision_check ALL +- COMMAND updaterevision ${CMAKE_CURRENT_SOURCE_DIR}/gitinfo.h +- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +- DEPENDS updaterevision +-) +- + # In case gitinfo.h isn't yet generated create a dummy file so our file listing + # will contain it. We can't just add it to the file listing since then CMake + # would complain that it doesn't exist. +@@ -178,10 +171,6 @@ endif() + + target_compile_definitions(doomseeker PRIVATE "-DINSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\"" "-DINSTALL_LIBDIR=\"${CMAKE_INSTALL_LIBDIR}\"") + +-# Make sure the vcs version file is created before we attempt to compile +-# Doomseeker. +-add_dependencies(doomseeker revision_check) +- + target_link_libraries(doomseeker + LINK_PRIVATE + Wadseeker::wadseeker diff --git a/pkgs/games/doom-ports/doomseeker/fix_paths.patch b/pkgs/games/doom-ports/doomseeker/fix_paths.patch index 08654c2384cb..74d892361055 100644 --- a/pkgs/games/doom-ports/doomseeker/fix_paths.patch +++ b/pkgs/games/doom-ports/doomseeker/fix_paths.patch @@ -1,40 +1,30 @@ -diff -ru3 source-old/src/core/datapaths.cpp source-new/src/core/datapaths.cpp ---- source-old/src/core/datapaths.cpp 1970-01-01 03:00:01.000000000 +0300 -+++ source-new/src/core/datapaths.cpp 2018-03-04 00:10:25.247262567 +0300 -@@ -335,7 +335,7 @@ - paths.append(workingDirectory()); - paths.append("./"); - #ifndef Q_OS_WIN32 -- paths.append(INSTALL_PREFIX "/" INSTALL_LIBDIR "/doomseeker/"); -+ paths.append(INSTALL_PREFIX "/lib/doomseeker/"); - #endif - paths = uniquePaths(paths); - return Strings::combineManyPaths(paths, "engines/"); -diff -ru3 source-old/src/core/pathfinder/pathfinder.cpp source-new/src/core/pathfinder/pathfinder.cpp ---- source-old/src/core/pathfinder/pathfinder.cpp 1970-01-01 03:00:01.000000000 +0300 -+++ source-new/src/core/pathfinder/pathfinder.cpp 2018-03-04 00:09:34.862556976 +0300 -@@ -128,9 +128,7 @@ +diff --git a/src/core/pathfinder/pathfinder.cpp b/src/core/pathfinder/pathfinder.cpp +index f277283a..454a8145 100644 +--- a/src/core/pathfinder/pathfinder.cpp ++++ b/src/core/pathfinder/pathfinder.cpp +@@ -137,9 +137,7 @@ PathFinder PathFinder::genericPathFinder(const QStringList &suffixes) << DataPaths::programFilesDirectory(DataPaths::x64) << DataPaths::programFilesDirectory(DataPaths::x86); - #else + #else - paths << "/usr/bin" << "/usr/local/bin" << "/usr/share/bin" - << "/usr/games/" << "/usr/local/games/" -- << "/usr/share/games/" << gDefaultDataPaths->workingDirectory() << "."; -+ paths << gDefaultDataPaths->workingDirectory() << "."; - #endif +- << "/usr/share/games/" << QCoreApplication::applicationDirPath() << "."; ++ paths << gDefaultDataPaths->workingDirectory() << "."; + #endif QStringList pathsCopy(paths); - foreach (const QString &path, pathsCopy) -diff -ru3 source-old/src/core/pathfinder/wadpathfinder.cpp source-new/src/core/pathfinder/wadpathfinder.cpp ---- source-old/src/core/pathfinder/wadpathfinder.cpp 1970-01-01 03:00:01.000000000 +0300 -+++ source-new/src/core/pathfinder/wadpathfinder.cpp 2018-03-04 00:09:56.822865339 +0300 -@@ -84,10 +84,6 @@ - QStringList defaultPaths() - { - QStringList paths; -- #ifdef Q_OS_UNIX -- paths << "/usr/local/share/games/doom/" -- << "/usr/share/games/doom/"; -- #endif - return paths; - } + for (const QString &path : pathsCopy) +diff --git a/src/core/pathfinder/wadpathfinder.cpp b/src/core/pathfinder/wadpathfinder.cpp +index 07df0b64..6300542d 100644 +--- a/src/core/pathfinder/wadpathfinder.cpp ++++ b/src/core/pathfinder/wadpathfinder.cpp +@@ -84,10 +84,6 @@ public: + QStringList defaultPaths() + { + QStringList paths; +- #ifdef Q_OS_UNIX +- paths << "/usr/local/share/games/doom/" +- << "/usr/share/games/doom/"; +- #endif + return paths; + } }; From 383eba59d3b0b8ddcd0b723a6362a0f6de2b6547 Mon Sep 17 00:00:00 2001 From: Isidor Zeuner Date: Sat, 9 Dec 2023 10:05:17 +0100 Subject: [PATCH 0005/1387] rakarrack: fix segmentation fault --- pkgs/applications/audio/rakarrack/default.nix | 6 +++++- pkgs/applications/audio/rakarrack/looper-preset.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 pkgs/applications/audio/rakarrack/looper-preset.patch diff --git a/pkgs/applications/audio/rakarrack/default.nix b/pkgs/applications/audio/rakarrack/default.nix index e78502eb23f7..4b693da3a622 100644 --- a/pkgs/applications/audio/rakarrack/default.nix +++ b/pkgs/applications/audio/rakarrack/default.nix @@ -12,7 +12,11 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; - patches = [ ./fltk-path.patch ]; + patches = [ + ./fltk-path.patch + # https://sourceforge.net/p/rakarrack/git/merge-requests/2/ + ./looper-preset.patch + ]; buildInputs = [ alsa-lib alsa-utils fltk libjack2 libXft libXpm libjpeg libpng libsamplerate libsndfile zlib ]; diff --git a/pkgs/applications/audio/rakarrack/looper-preset.patch b/pkgs/applications/audio/rakarrack/looper-preset.patch new file mode 100644 index 000000000000..42e5057dcefe --- /dev/null +++ b/pkgs/applications/audio/rakarrack/looper-preset.patch @@ -0,0 +1,11 @@ +diff -Naurd rakarrack-0.6.1/src/Looper.C rakarrack-0.6.1-segfault/src/Looper.C +--- rakarrack-0.6.1/src/Looper.C 2010-10-01 01:27:55.000000000 +0000 ++++ rakarrack-0.6.1-segfault/src/Looper.C 2023-12-08 21:12:31.818569726 +0000 +@@ -34,6 +34,7 @@ + efxoutr = efxoutr_; + + //default values ++ Ppreset = 0; + Pclear = 1; + Pplay = 0; + Precord = 0; From b5654da7e66fb79326df7efe86ace441ad8503e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=BChrk?= Date: Tue, 2 Jan 2024 14:09:49 +0100 Subject: [PATCH 0006/1387] pulumi: 3.93.0 -> 3.99.0 --- .../pulumi-packages/pulumi-language-go.nix | 2 +- .../pulumi-language-nodejs.nix | 4 ++-- .../pulumi-language-python.nix | 2 +- pkgs/tools/admin/pulumi/default.nix | 19 +++++++++++++------ 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix b/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix index 88da6f0d33f4..2e13462e7536 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix @@ -8,7 +8,7 @@ buildGoModule rec { sourceRoot = "${src.name}/sdk/go/pulumi-language-go"; - vendorHash = "sha256-mBK9VEatuxeoZtXXOKdwj7wtZ/lo4Bi2h7N00zK6Hpw="; + vendorHash = "sha256-eHsTEb4Vff2bfADScLSkZiotSSnT1q0bexlUMaWgqbg="; ldflags = [ "-s" diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-language-nodejs.nix b/pkgs/tools/admin/pulumi-packages/pulumi-language-nodejs.nix index f6d3cbec0c23..cca79b1d9607 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-language-nodejs.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-language-nodejs.nix @@ -3,13 +3,13 @@ , nodejs }: buildGoModule rec { - inherit (pulumi) version src sdkVendorHash; + inherit (pulumi) version src; pname = "pulumi-language-nodejs"; sourceRoot = "${src.name}/sdk/nodejs/cmd/pulumi-language-nodejs"; - vendorHash = "sha256-gEOVtAyn7v8tsRU11NgrD3swMFFBxOTIjMWCqSSvHlI="; + vendorHash = "sha256-L91qIud8dWx7dWWEcknKUSTJe+f4OBL8wBg6dKUWgkQ="; postPatch = '' # Gives github.com/pulumi/pulumi/pkg/v3: is replaced in go.mod, but not marked as replaced in vendor/modules.txt etc diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-language-python.nix b/pkgs/tools/admin/pulumi-packages/pulumi-language-python.nix index 6994f26b92c6..371a4f7c95fb 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-language-python.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-language-python.nix @@ -9,7 +9,7 @@ buildGoModule rec { sourceRoot = "${src.name}/sdk/python/cmd/pulumi-language-python"; - vendorHash = "sha256-upRXs8Bo0dpnANNetfXqkatip9bA+Fqhg72Cd60ltz8="; + vendorHash = "sha256-Q8nnYJJN5+W2luY8JQJj1X9KIk9ad511FBywr+0wBNg="; postPatch = '' substituteInPlace main_test.go \ diff --git a/pkgs/tools/admin/pulumi/default.nix b/pkgs/tools/admin/pulumi/default.nix index 1998eec1bfcd..3ff4d18d1478 100644 --- a/pkgs/tools/admin/pulumi/default.nix +++ b/pkgs/tools/admin/pulumi/default.nix @@ -3,6 +3,7 @@ , buildGoModule , coreutils , fetchFromGitHub +, fetchpatch , installShellFiles , git # passthru @@ -14,21 +15,27 @@ buildGoModule rec { pname = "pulumi"; - version = "3.93.0"; - - # Used in pulumi-language packages, which inherit this prop - sdkVendorHash = lib.fakeHash; + version = "3.99.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-EaYYIbV7IItnmVfyEHtaAbAXvrZ8CXMjW+yNXOBIxg8="; + hash = "sha256-5KHptoQliqPtJ6J5u23ZgRZOdO77BJhZbdc3Cty9Myk="; # Some tests rely on checkout directory name name = "pulumi"; }; - vendorHash = "sha256-G+LspC6b2TvboMU6rKB0qrhhMNaLPVt/nUYZzkiVr/Q="; + vendorHash = "sha256-1UyYbmNNHlAeaW6M6AkaQ5Hs25ziHenSs4QjlnUQGjs="; + + patches = [ + # Fix a test failure, can be dropped in next release (3.100.0) + (fetchpatch { + url = "https://github.com/pulumi/pulumi/commit/6dba7192d134d3b6f7e26dee9205711ccc736fa7.patch"; + hash = "sha256-QRN6XnIR2rrqJ4UFYNt/YmIlokTSkGUvnBO/Q9UN8X8="; + stripLen = 1; + }) + ]; sourceRoot = "${src.name}/pkg"; From 08d28f1f1d93fc453e14d600036d982a1fb4fbf4 Mon Sep 17 00:00:00 2001 From: js6pak Date: Sun, 7 Jan 2024 16:00:59 +0100 Subject: [PATCH 0007/1387] vscode-utils: add relativeLocation in toExtensionJson --- pkgs/applications/editors/vscode/extensions/vscode-utils.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix index 0eba230ad8e0..940636606001 100644 --- a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix +++ b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix @@ -109,6 +109,8 @@ let version = ext.version; + relativeLocation = ext.vscodeExtUniqueId; + location = { "$mid" = 1; fsPath = ext.outPath + "/share/vscode/extensions/${ext.vscodeExtUniqueId}"; From 05e97cbddd98f5eb294a1a0c0783193ec185840f Mon Sep 17 00:00:00 2001 From: John Hao Date: Mon, 22 Jan 2024 09:46:59 -0500 Subject: [PATCH 0008/1387] miraclecast: 1.0-20190403 -> 1.0-20231112 --- pkgs/os-specific/linux/miraclecast/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/miraclecast/default.nix b/pkgs/os-specific/linux/miraclecast/default.nix index 7b502fa4adee..0b03aeb3c2d0 100644 --- a/pkgs/os-specific/linux/miraclecast/default.nix +++ b/pkgs/os-specific/linux/miraclecast/default.nix @@ -1,24 +1,25 @@ { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config -, glib, readline, pcre, systemd, udev }: +, glib, readline, pcre, systemd, udev, iproute2 }: stdenv.mkDerivation { pname = "miraclecast"; - version = "1.0-20190403"; + version = "1.0-20231112"; src = fetchFromGitHub { owner = "albfan"; repo = "miraclecast"; - rev = "960a785e10523cc525885380dd03aa2c5ba11bc7"; - sha256 = "05afqi33rv7k6pbkkw4mynj6p97vkzhhh13y5nh0yxkyhcgf45pm"; + rev = "af6ab257eae83bb0270a776a8fe00c0148bc53c4"; + hash = "sha256-3ZIAvA3w/ZhoJtVmUD444nch0PGD58PdBRke7zd9IuQ="; }; nativeBuildInputs = [ meson ninja pkg-config ]; - buildInputs = [ glib pcre readline systemd udev ]; + buildInputs = [ glib pcre readline systemd udev iproute2 ]; mesonFlags = [ "-Drely-udev=true" "-Dbuild-tests=true" + "-Dip-binary=${iproute2}/bin/ip" ]; meta = with lib; { From cf0edc3321ebbcc3c37f16d915a25381671609b5 Mon Sep 17 00:00:00 2001 From: Manuel Frischknecht Date: Fri, 26 Jan 2024 14:53:16 +0000 Subject: [PATCH 0009/1387] commandergenius: 2.3.3 -> 3.5.0 The currently packaged version of `Commander-Genius` stopped building with GCC 13, because GCC stopped transitively pulling in a couple of standard headers in various scenarios. Among these is `cstdint`, which declares a couple of standard integer types like `uint32_t`. At the same time, the currently packaged version is rather old already, and these build issues have been resolved upstream in newer versions. This change updates `Commander-Genius` to the most recent upstream release, fixing said build issues in the process as a side effect. --- pkgs/games/commandergenius/default.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/games/commandergenius/default.nix b/pkgs/games/commandergenius/default.nix index 725cc5231c7e..f4e3c6a4504a 100644 --- a/pkgs/games/commandergenius/default.nix +++ b/pkgs/games/commandergenius/default.nix @@ -1,19 +1,32 @@ -{ lib, stdenv, fetchFromGitLab, SDL2, SDL2_image, pkg-config -, libvorbis, libGL, boost, cmake, zlib, curl, SDL2_mixer, python3 +{ lib +, stdenv +, fetchFromGitLab +, SDL2 +, SDL2_image +, pkg-config +, libvorbis +, libGL +, boost +, cmake +, zlib +, curl +, SDL2_mixer +, SDL2_ttf +, python3 }: stdenv.mkDerivation rec { pname = "commandergenius"; - version = "2.3.3"; + version = "3.5.0"; src = fetchFromGitLab { owner = "Dringgstein"; repo = "Commander-Genius"; rev = "v${version}"; - sha256 = "04nb23wwvc3yywz3cr6gvn02fa7psfs22ssg4wk12s08z1azvz3h"; + hash = "sha256-w5DP7vkvWOs8qcHqoQaEWHnaBwUoi1I4gnE+Z3haHxE="; }; - buildInputs = [ SDL2 SDL2_image SDL2_mixer libGL boost libvorbis zlib curl python3 ]; + buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf libGL boost libvorbis zlib curl python3 ]; preConfigure = '' export cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_PREFIX=$out -DSHAREDIR=$out/share" From 32abbb17cd1acd65953bb8aa744e5d863eda24ff Mon Sep 17 00:00:00 2001 From: birkb Date: Tue, 30 Jan 2024 20:50:12 +0100 Subject: [PATCH 0010/1387] maintainers: add birkb Signed-off-by: birkb --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ccd5784c77cc..6fa4b284e0f5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2469,6 +2469,12 @@ githubId = 30630233; name = "Timo Triebensky"; }; + birkb = { + email = "birk@batchworks.de"; + github = "birkb"; + githubId = 10164833; + name = "Birk Bohne"; + }; bjornfor = { email = "bjorn.forsman@gmail.com"; github = "bjornfor"; From 66d312f8a16bed78883a722f37aef0f27314bdf8 Mon Sep 17 00:00:00 2001 From: birkb Date: Tue, 30 Jan 2024 20:50:42 +0100 Subject: [PATCH 0011/1387] drbd: 9.19.1 -> 9.27.0 Signed-off-by: birkb --- pkgs/os-specific/linux/drbd/utils.nix | 135 ++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 pkgs/os-specific/linux/drbd/utils.nix diff --git a/pkgs/os-specific/linux/drbd/utils.nix b/pkgs/os-specific/linux/drbd/utils.nix new file mode 100644 index 000000000000..ad50c2c3e50a --- /dev/null +++ b/pkgs/os-specific/linux/drbd/utils.nix @@ -0,0 +1,135 @@ +{ lib +, stdenv +, docbook_xml_dtd_44 +, docbook_xml_dtd_45 +, docbook_xsl +, asciidoctor +, fetchurl +, flex +, kmod +, libxslt +, nixosTests +, perl +, perlPackages +, systemd +, keyutils + +# drbd-utils are compiled twice, once with forOCF = true to extract +# its OCF definitions for use in the ocf-resource-agents derivation, +# then again with forOCF = false, where the ocf-resource-agents is +# provided as the OCF_ROOT. +, forOCF ? false +, ocf-resource-agents +}: + +stdenv.mkDerivation rec { + pname = "drbd"; + version = "9.27.0"; + + src = fetchurl { + url = "https://pkg.linbit.com/downloads/drbd/utils/${pname}-utils-${version}.tar.gz"; + sha256 = "1qwdrjrgas8z8vc6c85xcrqaczjwyqd61yig01n44wa5z0j3v4aq"; + }; + + nativeBuildInputs = [ + flex + libxslt + docbook_xsl + asciidoctor + keyutils + ]; + + buildInputs = [ + perl + perlPackages.Po4a + ]; + + configureFlags = [ + "--libdir=${placeholder "out"}/lib" + "--sbindir=${placeholder "out"}/bin" + "--localstatedir=/var" + "--sysconfdir=/etc" + "--without-distro" + ]; + + makeFlags = [ + "SOURCE_DATE_EPOCH=1" + "WANT_DRBD_REPRODUCIBLE_BUILD=1" + ] ++ lib.optional (!forOCF) "OCF_ROOT=${ocf-resource-agents}/usr/lib/ocf}"; + + installFlags = [ + "prefix=" + "DESTDIR=${placeholder "out"}" + "localstatedir=/var" + "DRBD_LIB_DIR=/var/lib" + "INITDIR=/etc/init.d" + "udevrulesdir=/etc/udev/rules.d" + "sysconfdir=/etc" + "sbindir=/bin" + "datadir=" + "LIBDIR=/lib/drbd" + "mandir=/share/man" + ]; + + postPatch = '' + patchShebangs . + substituteInPlace user/v84/drbdadm_usage_cnt.c \ + --replace '"/lib/drbd");' \ + '"${placeholder "out"}/lib/drbd");' + substituteInPlace user/v9/drbdsetup_linux.c \ + --replace 'ret = system("/sbin/modprobe drbd");' \ + 'ret = system("${kmod}/bin/modprobe drbd");' + substituteInPlace user/v84/drbdsetup.c \ + --replace 'system("/sbin/modprobe drbd")' \ + 'system("${kmod}/bin/modprobe drbd")' + substituteInPlace documentation/ra2refentry.xsl \ + --replace "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \ + "${docbook_xml_dtd_44}/xml/dtd/docbook/docbookx.dtd" + function patch_docbook45() { + substituteInPlace $1 \ + --replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ + "${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd" + } + patch_docbook45 documentation/v9/drbd.conf.xml.in + patch_docbook45 documentation/v9/drbdsetup.xml.in + patch_docbook45 documentation/v84/drbdsetup.xml + patch_docbook45 documentation/v84/drbd.conf.xml + # The ja documentation is disabled because: + # make[1]: Entering directory '/build/drbd-utils-9.16.0/documentation/ja/v84' + # /nix/store/wyx2nn2pjcn50lc95c6qgsgm606rn0x2-perl5.32.1-po4a-0.62/bin/po4a-translate -f docbook -M utf-8 -L utf-8 -keep 0 -m ../../v84/drbdsetup.xml -p drbdsetup.xml.po -l drbdsetup.xml + # Use of uninitialized value $args[1] in sprintf at /nix/store/wyx2nn2pjcn50lc95c6qgsgm606rn0x2-perl5.32.1-po4a-0.62/lib/perl5/site_perl/Locale/Po4a/Common.pm line 134. + # Invalid po file drbdsetup.xml.po: + substituteInPlace Makefile.in \ + --replace 'DOC_DIRS := documentation/v9 documentation/ja/v9' \ + 'DOC_DIRS := documentation/v9' \ + --replace 'DOC_DIRS += documentation/v84 documentation/ja/v84' \ + 'DOC_DIRS += documentation/v84' \ + --replace '$(MAKE) -C documentation/ja/v9 doc' \ + "" \ + --replace '$(MAKE) -C documentation/ja/v84 doc' \ + "" + substituteInPlace user/v9/drbdtool_common.c \ + --replace 'add_component_to_path("/lib/drbd");' \ + 'add_component_to_path("${placeholder "out"}/lib/drbd");' + ''; + + preConfigure = '' + export PATH=${systemd}/sbin:$PATH + ''; + + enableParallelBuilding = true; + + passthru.tests.drbd = nixosTests.drbd; + + meta = with lib; { + homepage = "https://linbit.com/drbd/"; + description = "Distributed Replicated Block Device, a distributed storage system for Linux (userspace utilities)"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ ryantm astro birkb ]; + longDescription = '' + DRBD is a software-based, shared-nothing, replicated storage solution + mirroring the content of block devices (hard disks, partitions, logical volumes, and so on) between hosts. + ''; + }; +} From d586d4dcef6fd29b0d77c22b00887178a49091fb Mon Sep 17 00:00:00 2001 From: birkb Date: Tue, 30 Jan 2024 20:55:34 +0100 Subject: [PATCH 0012/1387] drbd kernel driver added - out-of-tree kernel driver added with version 9.2.7 - package splitted into utils.nix and driver.nix - small deprecation fix for the package test - Release Notes for 24.05 updated Signed-off-by: birkb --- .../manual/release-notes/rl-2405.section.md | 2 + nixos/tests/drbd.nix | 6 +- pkgs/os-specific/linux/drbd/default.nix | 128 ------------------ pkgs/os-specific/linux/drbd/driver.nix | 57 ++++++++ pkgs/top-level/all-packages.nix | 2 +- pkgs/top-level/linux-kernels.nix | 2 + 6 files changed, 65 insertions(+), 132 deletions(-) delete mode 100644 pkgs/os-specific/linux/drbd/default.nix create mode 100644 pkgs/os-specific/linux/drbd/driver.nix diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index b347992031d9..96ed7f577d23 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -150,3 +150,5 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m - QtMultimedia has changed its default backend to `QT_MEDIA_BACKEND=ffmpeg` (previously `gstreamer` on Linux or `darwin` on MacOS). The previous native backends remain available but are now minimally maintained. Refer to [upstream documentation](https://doc.qt.io/qt-6/qtmultimedia-index.html#ffmpeg-as-the-default-backend) for further details about each platform. + +- The `drbd` out-of-tree Linux kernel driver has been added in version `9.2.7`. With it the DRBD 9.x features can be used instead of the 8.x features provided by the `8.4.11` in-tree driver. diff --git a/nixos/tests/drbd.nix b/nixos/tests/drbd.nix index bede7206d706..defbad693393 100644 --- a/nixos/tests/drbd.nix +++ b/nixos/tests/drbd.nix @@ -31,11 +31,11 @@ import ./make-test-python.nix ( } on drbd1 { - address ${nodes.drbd1.config.networking.primaryIPAddress}:${toString drbdPort}; + address ${nodes.drbd1.networking.primaryIPAddress}:${toString drbdPort}; } on drbd2 { - address ${nodes.drbd2.config.networking.primaryIPAddress}:${toString drbdPort}; + address ${nodes.drbd2.networking.primaryIPAddress}:${toString drbdPort}; } } ''; @@ -45,7 +45,7 @@ import ./make-test-python.nix ( { name = "drbd"; meta = with pkgs.lib.maintainers; { - maintainers = [ ryantm astro ]; + maintainers = [ ryantm astro birkb ]; }; nodes.drbd1 = drbdConfig; diff --git a/pkgs/os-specific/linux/drbd/default.nix b/pkgs/os-specific/linux/drbd/default.nix deleted file mode 100644 index 0c5acd0ac064..000000000000 --- a/pkgs/os-specific/linux/drbd/default.nix +++ /dev/null @@ -1,128 +0,0 @@ -{ lib -, stdenv -, docbook_xml_dtd_44 -, docbook_xml_dtd_45 -, docbook_xsl -, asciidoctor -, fetchurl -, flex -, kmod -, libxslt -, nixosTests -, perl -, systemd - -# drbd-utils are compiled twice, once with forOCF = true to extract -# its OCF definitions for use in the ocf-resource-agents derivation, -# then again with forOCF = false, where the ocf-resource-agents is -# provided as the OCF_ROOT. -, forOCF ? false -, ocf-resource-agents -}: - -stdenv.mkDerivation rec { - pname = "drbd"; - version = "9.19.1"; - - src = fetchurl { - url = "https://pkg.linbit.com/downloads/drbd/utils/${pname}-utils-${version}.tar.gz"; - sha256 = "1l99kcrb0j85wxxmrdihpx9bk1a4sdi7wlp5m1x5l24k8ck1m5cf"; - }; - - nativeBuildInputs = [ - flex - libxslt - docbook_xsl - asciidoctor - ]; - - buildInputs = [ - perl - # perlPackages.Po4a used by ja documentation - ]; - - configureFlags = [ - "--libdir=${placeholder "out"}/lib" - "--sbindir=${placeholder "out"}/bin" - "--localstatedir=/var" - "--sysconfdir=/etc" - "--without-distro" - ]; - - makeFlags = [ - "SOURCE_DATE_EPOCH=1" - "WANT_DRBD_REPRODUCIBLE_BUILD=1" - ] ++ lib.optional (!forOCF) "OCF_ROOT=${ocf-resource-agents}/usr/lib/ocf}"; - - installFlags = [ - "prefix=" - "DESTDIR=${placeholder "out"}" - "localstatedir=/var" - "DRBD_LIB_DIR=/var/lib" - "INITDIR=/etc/init.d" - "udevrulesdir=/etc/udev/rules.d" - "sysconfdir=/etc" - "sbindir=/bin" - "datadir=" - "LIBDIR=/lib/drbd" - "mandir=/share/man" - ]; - - postPatch = '' - patchShebangs . - substituteInPlace user/v84/drbdadm_usage_cnt.c \ - --replace '"/lib/drbd");' \ - '"${placeholder "out"}/lib/drbd");' - substituteInPlace user/v9/drbdsetup_linux.c \ - --replace 'ret = system("/sbin/modprobe drbd");' \ - 'ret = system("${kmod}/bin/modprobe drbd");' - substituteInPlace user/v84/drbdsetup.c \ - --replace 'system("/sbin/modprobe drbd")' \ - 'system("${kmod}/bin/modprobe drbd")' - substituteInPlace documentation/ra2refentry.xsl \ - --replace "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \ - "${docbook_xml_dtd_44}/xml/dtd/docbook/docbookx.dtd" - function patch_docbook45() { - substituteInPlace $1 \ - --replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ - "${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd" - } - patch_docbook45 documentation/v9/drbd.conf.xml.in - patch_docbook45 documentation/v9/drbdsetup.xml.in - patch_docbook45 documentation/v84/drbdsetup.xml - patch_docbook45 documentation/v84/drbd.conf.xml - # The ja documentation is disabled because: - # make[1]: Entering directory '/build/drbd-utils-9.16.0/documentation/ja/v84' - # /nix/store/wyx2nn2pjcn50lc95c6qgsgm606rn0x2-perl5.32.1-po4a-0.62/bin/po4a-translate -f docbook -M utf-8 -L utf-8 -keep 0 -m ../../v84/drbdsetup.xml -p drbdsetup.xml.po -l drbdsetup.xml - # Use of uninitialized value $args[1] in sprintf at /nix/store/wyx2nn2pjcn50lc95c6qgsgm606rn0x2-perl5.32.1-po4a-0.62/lib/perl5/site_perl/Locale/Po4a/Common.pm line 134. - # Invalid po file drbdsetup.xml.po: - substituteInPlace Makefile.in \ - --replace 'DOC_DIRS := documentation/v9 documentation/ja/v9' \ - 'DOC_DIRS := documentation/v9' \ - --replace 'DOC_DIRS += documentation/v84 documentation/ja/v84' \ - 'DOC_DIRS += documentation/v84' \ - --replace '$(MAKE) -C documentation/ja/v9 doc' \ - "" \ - --replace '$(MAKE) -C documentation/ja/v84 doc' \ - "" - substituteInPlace user/v9/drbdtool_common.c \ - --replace 'add_component_to_path("/lib/drbd");' \ - 'add_component_to_path("${placeholder "out"}/lib/drbd");' - ''; - - preConfigure = '' - export PATH=${systemd}/sbin:$PATH - ''; - - enableParallelBuilding = true; - - passthru.tests.drbd = nixosTests.drbd; - - meta = with lib; { - homepage = "https://linbit.com/drbd/"; - description = "Distributed Replicated Block Device, a distributed storage system for Linux (userspace utilities)"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ ryantm astro ]; - }; -} diff --git a/pkgs/os-specific/linux/drbd/driver.nix b/pkgs/os-specific/linux/drbd/driver.nix new file mode 100644 index 000000000000..efc771905e53 --- /dev/null +++ b/pkgs/os-specific/linux/drbd/driver.nix @@ -0,0 +1,57 @@ +{ stdenv, lib, fetchurl, kernel, flex, coccinelle, python3 }: + +stdenv.mkDerivation rec { + name = "drbd-${version}-${kernel.version}"; + version = "9.2.7"; + + src = fetchurl { + url = "https://pkg.linbit.com//downloads/drbd/9/drbd-${version}.tar.gz"; + sha256 = "1355ns10z0fjgqsdpf09qfy01j8lg2n7zy4kclmar3s798n3mh56"; + }; + + hardeningDisable = [ "pic" ]; + + nativeBuildInputs = [ + kernel.moduleBuildDependencies + flex + coccinelle + python3 + ]; + + makeFlags = [ + "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" + "SPAAS=false" + ]; + + # 6.4 and newer provide a in-tree version of the handshake module https://www.kernel.org/doc/html/v6.4/networking/tls-handshake.html + installPhase = '' + runHook preInstall + install -D drbd/drbd.ko -t $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/block/drbd + install -D drbd/drbd_transport_tcp.ko -t $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/block/drbd + install -D drbd/drbd_transport_lb-tcp.ko -t $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/block/drbd + install -D drbd/drbd_transport_rdma.ko -t $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/block/drbd + ${lib.optionalString (lib.versionOlder kernel.version "6.4") '' + install -D drbd/drbd-kernel-compat/handshake/handshake.ko -t $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/block/drbd + ''} + runHook postInstall + ''; + + postPatch = '' + patchShebangs . + substituteInPlace Makefile --replace 'SHELL=/bin/bash' 'SHELL=${builtins.getEnv "SHELL"}' + ''; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://github.com/LINBIT/drbd"; + description = "LINBIT DRBD kernel module"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ birkb ]; + longDescription = '' + DRBD is a software-based, shared-nothing, replicated storage solution + mirroring the content of block devices (hard disks, partitions, logical volumes, and so on) between hosts. + ''; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 26f01082edd5..53e8a6d7583a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27800,7 +27800,7 @@ with pkgs; dmraid = callPackage ../os-specific/linux/dmraid { lvm2 = lvm2_dmeventd; }; - drbd = callPackage ../os-specific/linux/drbd { }; + drbd = callPackage ../os-specific/linux/drbd/utils.nix { }; dropwatch = callPackage ../os-specific/linux/dropwatch { }; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index c8cd917c1510..41c47ae3ddd2 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -574,6 +574,8 @@ in { hid-tmff2 = callPackage ../os-specific/linux/hid-tmff2 { }; + drbd = callPackage ../os-specific/linux/drbd/driver.nix { }; + } // lib.optionalAttrs config.allowAliases { ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18; hid-nintendo = throw "hid-nintendo was added in mainline kernel version 5.16"; # Added 2023-07-30 From 543c6ce4f8d0553f312dfa186de1e2f03e05bf28 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 31 Jan 2024 03:38:06 +0000 Subject: [PATCH 0013/1387] clairvoyant: 3.1.2 -> 3.1.3 --- pkgs/by-name/cl/clairvoyant/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cl/clairvoyant/package.nix b/pkgs/by-name/cl/clairvoyant/package.nix index 397aefbea07f..782f60a9213d 100644 --- a/pkgs/by-name/cl/clairvoyant/package.nix +++ b/pkgs/by-name/cl/clairvoyant/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "clairvoyant"; - version = "3.1.2"; + version = "3.1.3"; src = fetchFromGitHub { owner = "cassidyjames"; repo = pname; rev = version; - hash = "sha256-q+yN3FAs1L+GzagOQRK5gw8ptBpHPqWOiCL6aaoWcJo="; + hash = "sha256-eAcd8JJmcsz8dm049g5xsF6gPpNQ6ZvGGIhKAoMlPTU="; }; nativeBuildInputs = [ From e0905a878ffef427950d38d7ae25dc851004a4a1 Mon Sep 17 00:00:00 2001 From: Michael Evans Date: Wed, 31 Jan 2024 08:52:47 +0200 Subject: [PATCH 0014/1387] clairvoyant: Add wrapGAppsHook4 and use finalAttrs pattern --- pkgs/by-name/cl/clairvoyant/package.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/cl/clairvoyant/package.nix b/pkgs/by-name/cl/clairvoyant/package.nix index 782f60a9213d..14b5797db8f0 100644 --- a/pkgs/by-name/cl/clairvoyant/package.nix +++ b/pkgs/by-name/cl/clairvoyant/package.nix @@ -7,16 +7,17 @@ , pkg-config , stdenv , vala +, wrapGAppsHook4 }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "clairvoyant"; version = "3.1.3"; src = fetchFromGitHub { owner = "cassidyjames"; - repo = pname; - rev = version; + repo = "clairvoyant"; + rev = finalAttrs.version; hash = "sha256-eAcd8JJmcsz8dm049g5xsF6gPpNQ6ZvGGIhKAoMlPTU="; }; @@ -25,6 +26,7 @@ stdenv.mkDerivation rec { ninja pkg-config vala + wrapGAppsHook4 ]; buildInputs = [ @@ -33,11 +35,11 @@ stdenv.mkDerivation rec { ]; meta = with lib; { + changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}"; description = "Ask questions and get psychic answers"; homepage = "https://github.com/cassidyjames/clairvoyant"; - changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${version}"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ michaelgrahamevans ]; mainProgram = "com.github.cassidyjames.clairvoyant"; + maintainers = with maintainers; [ michaelgrahamevans ]; }; -} +}) From 4beb6898f89249b09c18cc473200a3b8ae07cbfa Mon Sep 17 00:00:00 2001 From: Michael Evans Date: Wed, 31 Jan 2024 08:51:59 +0200 Subject: [PATCH 0015/1387] clairvoyant: Add hideUnsupportedVersionBanner option Clairvoyant v3.1.3 introduced a non-dismissble banner stating that this version of the app is unsupported, which is shown when the app detects that it is not running as a Flatpak. This change adds the "hideUnsupportedVersionBanner" option, disabled by default, which makes it look like the app is running as a Flatpak. --- pkgs/by-name/cl/clairvoyant/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/cl/clairvoyant/package.nix b/pkgs/by-name/cl/clairvoyant/package.nix index 14b5797db8f0..9889e1e43c3d 100644 --- a/pkgs/by-name/cl/clairvoyant/package.nix +++ b/pkgs/by-name/cl/clairvoyant/package.nix @@ -8,6 +8,8 @@ , stdenv , vala , wrapGAppsHook4 +# Clairvoyant shows a non-dismissable banner recommending the use of the Flatpak version +, hideUnsupportedVersionBanner ? false }: stdenv.mkDerivation (finalAttrs: { @@ -34,6 +36,12 @@ stdenv.mkDerivation (finalAttrs: { libadwaita ]; + preFixup = lib.optionalString hideUnsupportedVersionBanner '' + gappsWrapperArgs+=( + --set container true + ) + ''; + meta = with lib; { changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}"; description = "Ask questions and get psychic answers"; From 8af634a8ace910951c80e95c693da3826fda22f0 Mon Sep 17 00:00:00 2001 From: Lucas Rasmussen Date: Thu, 1 Feb 2024 10:48:51 +0100 Subject: [PATCH 0016/1387] lib.nng: fix mbedtlsSupport override previously overriding the mbedtlsSupport flag would result in a configure error because the build would still search for the necessarry mbedtls libraries --- pkgs/development/libraries/nng/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/nng/default.nix b/pkgs/development/libraries/nng/default.nix index 643866329722..dc35e2fe6ebe 100644 --- a/pkgs/development/libraries/nng/default.nix +++ b/pkgs/development/libraries/nng/default.nix @@ -16,8 +16,8 @@ stdenv.mkDerivation rec { buildInputs = lib.optionals mbedtlsSupport [ mbedtls ]; - cmakeFlags = [ "-G Ninja" "-DNNG_ENABLE_TLS=ON" ] - ++ lib.optionals mbedtlsSupport [ "-DMBEDTLS_ROOT_DIR=${mbedtls}" ]; + cmakeFlags = [ "-G Ninja" ] + ++ lib.optionals mbedtlsSupport [ "-DMBEDTLS_ROOT_DIR=${mbedtls}" "-DNNG_ENABLE_TLS=ON" ]; meta = with lib; { homepage = "https://nng.nanomsg.org/"; From 4dd2148ca611aac4627e433f5fcdbdfd7596044d Mon Sep 17 00:00:00 2001 From: Lux Date: Thu, 1 Feb 2024 23:17:16 +0100 Subject: [PATCH 0017/1387] otto-matic: 4.0.1 -> unstable-2023-11-13 Version 4.0.1 does no longer build, and there is no newer version --- pkgs/games/otto-matic/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/games/otto-matic/default.nix b/pkgs/games/otto-matic/default.nix index c56db251a1b0..6d0633febbd2 100644 --- a/pkgs/games/otto-matic/default.nix +++ b/pkgs/games/otto-matic/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "OttoMatic"; - version = "4.0.1"; + version = "unstable-2023-11-13"; src = fetchFromGitHub { owner = "jorio"; repo = pname; - rev = version; - sha256 = "sha256-0mqOAdAmJGxKa6yXktrbmdXkoQIliimq37iy9bCBZYg="; + rev = "8a5411779762684066d3748fbf4d33747ca871a4"; + hash = "sha256-cZ2gHNXmjMocfTgbA+0T2nwKs55ZMDoB+JTf0Qdqe8U="; fetchSubmodules = true; }; @@ -40,5 +40,6 @@ stdenv.mkDerivation rec { license = licenses.cc-by-sa-40; maintainers = with maintainers; [ lux ]; platforms = platforms.linux; + mainProgram = "OttoMatic"; }; } From ae48df3ebb08c524af1af76e5c5ec54ce217a68d Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 4 Feb 2024 15:59:03 +0100 Subject: [PATCH 0018/1387] nixos/getty: add option to autologin once per boot --- nixos/modules/services/ttys/getty.nix | 32 +++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix index 22ae9c27e5bc..3578f4ba8773 100644 --- a/nixos/modules/services/ttys/getty.nix +++ b/nixos/modules/services/ttys/getty.nix @@ -7,14 +7,26 @@ let baseArgs = [ "--login-program" "${cfg.loginProgram}" - ] ++ optionals (cfg.autologinUser != null) [ + ] ++ optionals (cfg.autologinUser != null && !cfg.autologinOnce) [ "--autologin" cfg.autologinUser ] ++ optionals (cfg.loginOptions != null) [ "--login-options" cfg.loginOptions ] ++ cfg.extraArgs; gettyCmd = args: - "@${pkgs.util-linux}/sbin/agetty agetty ${escapeShellArgs baseArgs} ${args}"; + "${pkgs.util-linux}/sbin/agetty ${escapeShellArgs baseArgs} ${args}"; + + autologinScript = '' + otherArgs="--noclear --keep-baud $TTY 115200,38400,9600 $TERM"; + ${lib.optionalString cfg.autologinOnce '' + autologged="/run/agetty.autologged" + if test "$TTY" = tty1 && ! test -f "$autologged"; then + touch "$autologged" + exec ${gettyCmd "$otherArgs --autologin ${cfg.autologinUser}"} + fi + ''} + exec ${gettyCmd "$otherArgs"} + ''; in @@ -40,6 +52,16 @@ in ''; }; + autologinOnce = mkOption { + type = types.bool; + default = false; + description = '' + If enabled the automatic login will only happen in the first tty + once per boot. This can be useful to avoid retyping the account + password on systems with full disk encrypted. + ''; + }; + loginProgram = mkOption { type = types.path; default = "${pkgs.shadow}/bin/login"; @@ -106,9 +128,11 @@ in systemd.services."getty@" = { serviceConfig.ExecStart = [ - "" # override upstream default with an empty ExecStart - (gettyCmd "--noclear --keep-baud %I 115200,38400,9600 $TERM") + # override upstream default with an empty ExecStart + "" + (pkgs.writers.writeDash "getty" autologinScript) ]; + environment.TTY = "%I"; restartIfChanged = false; }; From 2ab5c8b5faa93d7f19214026b1b4b5dc713066f5 Mon Sep 17 00:00:00 2001 From: Daniel Beecham Date: Mon, 5 Feb 2024 02:46:31 +0100 Subject: [PATCH 0019/1387] netevent: 20201018 -> 20230429 --- pkgs/tools/inputmethods/netevent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/inputmethods/netevent/default.nix b/pkgs/tools/inputmethods/netevent/default.nix index b7c0e4d47020..9d09d9ed2bf2 100644 --- a/pkgs/tools/inputmethods/netevent/default.nix +++ b/pkgs/tools/inputmethods/netevent/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation { pname = "netevent"; - version = "20201018"; + version = "20230429"; src = fetchFromGitHub { owner = "Blub"; repo = "netevent"; - rev = "ddd330f0dc956a95a111c58ad10546071058e4c1"; - sha256 = "0myk91pmim0m51h4b8hplkbxvns0icvfmv0401r0hw8md828nh5c"; + rev = "bcadfcc42db0f57a28abddbf19d382453cb1c81f"; + sha256 = "ikC6S1LNkmv474dlhajtEuHat497Rcdo9O+bCQMXTHQ="; }; buildInputs = [ docutils ]; From 7fa9a0c8968c67ee6dfcf8ea8e604c72de9c21ec Mon Sep 17 00:00:00 2001 From: Stephen Huan Date: Wed, 7 Feb 2024 07:10:18 -0500 Subject: [PATCH 0020/1387] python3Packages.mip: fix cffi version --- pkgs/development/python-modules/mip/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mip/default.nix b/pkgs/development/python-modules/mip/default.nix index db2786915b56..5705f1f37cfd 100644 --- a/pkgs/development/python-modules/mip/default.nix +++ b/pkgs/development/python-modules/mip/default.nix @@ -62,8 +62,8 @@ buildPythonPackage rec { ]; postPatch = '' - # Allow cffi versions with a different patch level to be used - substituteInPlace pyproject.toml --replace "cffi==1.15.0" "cffi==1.15.*" + # Allow newer cffi versions to be used + substituteInPlace pyproject.toml --replace "cffi==1.15.*" "cffi>=1.15" ''; # Make MIP use the Gurobi solver, if configured to do so From a87488e9f145df692ce3b44ac399c19db209e335 Mon Sep 17 00:00:00 2001 From: oo-infty Date: Fri, 9 Feb 2024 17:18:54 +0800 Subject: [PATCH 0021/1387] maintainers: add oo-infty --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d39369fab03d..00c59d6ecff0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14240,6 +14240,12 @@ github = "ony"; githubId = 11265; }; + oo-infty = { + name = "Justin Chen"; + email = "oo-infty@outlook.com"; + github = "oo-infty"; + githubId = 42143810; + }; ooliver1 = { name = "Oliver Wilkes"; email = "oliverwilkes2006@icloud.com"; From 8794795cb90537d477d8a5998c88026f7c385f53 Mon Sep 17 00:00:00 2001 From: oo-infty Date: Fri, 9 Feb 2024 11:06:37 +0000 Subject: [PATCH 0022/1387] ugm: init at 1.4.0 CHANGELOG: --- pkgs/by-name/ug/ugm/package.nix | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/ug/ugm/package.nix diff --git a/pkgs/by-name/ug/ugm/package.nix b/pkgs/by-name/ug/ugm/package.nix new file mode 100644 index 000000000000..a8c1726327c8 --- /dev/null +++ b/pkgs/by-name/ug/ugm/package.nix @@ -0,0 +1,37 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, makeWrapper +}: + +buildGoModule rec { + pname = "ugm"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "ariasmn"; + repo = "ugm"; + rev = "v${version}"; + hash = "sha256-Co8JN0WEc1I08My9m7iyAshtEO4aszN8/sCvoGFJv2A="; + }; + + vendorHash = "sha256-34D9fQnmKnOyUqshduLmFiVgcVKi7mDKBs3X5ZQxsuw="; + + nativeBuildInputs = [ makeWrapper ]; + + # Fix unaligned table when running this program under a CJK environment + postFixup = '' + wrapProgram $out/bin/ugm \ + --set RUNEWIDTH_EASTASIAN 0 + ''; + + meta = with lib; { + description = "A terminal based UNIX user and group browser"; + homepage = "https://github.com/ariasmn/ugm"; + changelog = "https://github.com/ariasmn/ugm/releases/tag/${src.rev}"; + license = licenses.mit; + mainProgram = "ugm"; + platforms = platforms.linux; + maintainers = with maintainers; [ oo-infty ]; + }; +} From 9cd5f606b09aaae3222f79ded3aea59b9f0532bd Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Fri, 1 Dec 2023 10:38:34 +1000 Subject: [PATCH 0023/1387] maintainers: add phdyellow --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 810985a9050c..278d95f66b0c 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14863,6 +14863,12 @@ fingerprint = "7756 E88F 3C6A 47A5 C5F0 CDFB AB54 6777 F93E 20BF"; }]; }; + phdyellow = { + name = "Phil Dyer"; + email = "phildyer@protonmail.com"; + github = "PhDyellow"; + githubId = 7740661; + }; phfroidmont = { name = "Paul-Henri Froidmont"; email = "nix.contact-j9dw4d@froidmont.org"; From 9c3d536f0061ecf604cfeb2bf7b86e642bdb7fc2 Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Thu, 15 Feb 2024 11:41:05 -0800 Subject: [PATCH 0024/1387] discount: 2.2.7b -> 3.0.0d --- pkgs/tools/text/discount/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/discount/default.nix b/pkgs/tools/text/discount/default.nix index 7cfdb018ef75..e71b5941ea93 100644 --- a/pkgs/tools/text/discount/default.nix +++ b/pkgs/tools/text/discount/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { - version = "2.2.7b"; + version = "3.0.0d"; pname = "discount"; src = fetchFromGitHub { owner = "Orc"; repo = pname; rev = "v${version}"; - sha256 = "sha256-S6OVKYulhvEPRqNXBsvZ7m2W4cbdnrpZKPAo3SfD+9s="; + sha256 = "sha256-fFSlW9qnH3NL9civ793LrScOJSuRe9i377BgpNzOXa0="; }; patches = [ ./fix-configure-path.patch ]; From 8f384467cce40d5298337bce5d8be24da1a4eb0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francis=20Gagn=C3=A9?= Date: Sun, 18 Feb 2024 03:31:29 -0500 Subject: [PATCH 0025/1387] vscode-utils: Set the sourceRoot attribute on vscode extensions Some extensions contain directories other than `extension` (e.g., `package`, if the extension has a digital signature). The unpacker phase fails if a .vsix file contains more than one directory at the archive's root and the `sourceRoot` attribute is unset. --- pkgs/applications/editors/vscode/extensions/vscode-utils.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix index 0eba230ad8e0..053d11b71eff 100644 --- a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix +++ b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix @@ -32,6 +32,10 @@ let inherit configurePhase buildPhase dontPatchELF dontStrip; + # Some .vsix files contain other directories (e.g., `package`) that we don't use. + # If other directories are present but `sourceRoot` is unset, the unpacker phase fails. + sourceRoot = "extension"; + installPrefix = "share/vscode/extensions/${vscodeExtUniqueId}"; nativeBuildInputs = [ unzip ] ++ nativeBuildInputs; From c0b1470a9a6345e8f9aaa8b78bc629d99e1932d7 Mon Sep 17 00:00:00 2001 From: ocfox Date: Mon, 19 Feb 2024 17:27:32 +0800 Subject: [PATCH 0026/1387] python311Packages.gpsoauth: fix build --- pkgs/development/python-modules/gpsoauth/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gpsoauth/default.nix b/pkgs/development/python-modules/gpsoauth/default.nix index e8b84b492bca..4fe1e18ef784 100644 --- a/pkgs/development/python-modules/gpsoauth/default.nix +++ b/pkgs/development/python-modules/gpsoauth/default.nix @@ -1,9 +1,10 @@ { lib , buildPythonPackage , fetchPypi -, setuptools +, poetry-core , pycryptodomex , pythonOlder +, pythonRelaxDepsHook , requests }: @@ -20,7 +21,8 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - setuptools + pythonRelaxDepsHook + poetry-core ]; propagatedBuildInputs = [ @@ -28,6 +30,10 @@ buildPythonPackage rec { requests ]; + pythonRelaxDeps = [ + "urllib3" + ]; + # upstream tests are not very comprehensive doCheck = false; From ddeb49e0ae72d4b09fedbf5e11aa269dfea98bb0 Mon Sep 17 00:00:00 2001 From: Tim Cuthbertson Date: Thu, 22 Feb 2024 21:17:50 +1100 Subject: [PATCH 0027/1387] gup: 0.9.0 -> 0.9.1 --- pkgs/development/tools/build-managers/gup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/gup/default.nix b/pkgs/development/tools/build-managers/gup/default.nix index 202fdf4d296f..05820b97bd9a 100644 --- a/pkgs/development/tools/build-managers/gup/default.nix +++ b/pkgs/development/tools/build-managers/gup/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchFromGitHub, nix-update-source, lib, python3 , which, runtimeShell, pylint }: stdenv.mkDerivation rec { - version = "0.9.0"; + version = "0.9.1"; src = fetchFromGitHub { owner = "timbertson"; repo = "gup"; rev = "version-${version}"; - sha256 = "12ck047jminfwb4cfzmvfc9dpxg25xian11jgly534rlcbmgmkgq"; + sha256 = "1wfw46b647rkalwds6547ylzy353b3xlklhcl2xjgj2gihvi30mx"; }; pname = "gup"; nativeBuildInputs = [ python3 which pylint ]; From 58a70323a42729bdf94ecb277de79b84be900864 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 25 Feb 2024 21:42:31 +0100 Subject: [PATCH 0028/1387] python311Packages.influxdb3-python: init at 0.3.6 Python module that provides a simple and convenient way to interact with InfluxDB 3.0 https://github.com/InfluxCommunity/influxdb3-python --- .../influxdb3-python/default.nix | 57 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 59 insertions(+) create mode 100644 pkgs/development/python-modules/influxdb3-python/default.nix diff --git a/pkgs/development/python-modules/influxdb3-python/default.nix b/pkgs/development/python-modules/influxdb3-python/default.nix new file mode 100644 index 000000000000..f023b498c05a --- /dev/null +++ b/pkgs/development/python-modules/influxdb3-python/default.nix @@ -0,0 +1,57 @@ +{ lib +, buildPythonPackage +, certifi +, fetchFromGitHub +, pyarrow +, pytestCheckHook +, python-dateutil +, pythonOlder +, reactivex +, setuptools +, urllib3 +}: + +buildPythonPackage rec { + pname = "influxdb3-python"; + version = "0.3.6"; + pyproject = true; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "InfluxCommunity"; + repo = "influxdb3-python"; + rev = "refs/tags/v${version}"; + hash = "sha256-ZKN3chJvtOenk2jp02rvw+HooJcee0hwxWoLvEYjfcg="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + certifi + pyarrow + python-dateutil + reactivex + urllib3 + ]; + + # Missing ORC support + # https://github.com/NixOS/nixpkgs/issues/212863 + # nativeCheckInputs = [ + # pytestCheckHook + # ]; + # + # pythonImportsCheck = [ + # "influxdb_client_3" + # ]; + + meta = with lib; { + description = "Python module that provides a simple and convenient way to interact with InfluxDB 3.0"; + homepage = "https://github.com/InfluxCommunity/influxdb3-python"; + changelog = "https://github.com/InfluxCommunity/influxdb3-python/releases/tag/v${version}"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c12bae10319f..f78d88a04d78 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5610,6 +5610,8 @@ self: super: with self; { influxdb-client = callPackage ../development/python-modules/influxdb-client { }; + influxdb3-python = callPackage ../development/python-modules/influxdb3-python { }; + inform = callPackage ../development/python-modules/inform { }; iniconfig = callPackage ../development/python-modules/iniconfig { }; From df71fdde05c44b51077b47f745f335990d07f1c9 Mon Sep 17 00:00:00 2001 From: "Elliot Speck (Arcayr)" Date: Sun, 24 Dec 2023 02:10:27 +1100 Subject: [PATCH 0029/1387] burpsuite: 2023.10.2.4 -> 2024.1.1.4 --- pkgs/tools/networking/burpsuite/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/burpsuite/default.nix b/pkgs/tools/networking/burpsuite/default.nix index 02d0a4ab77c1..bc3ab38b7484 100644 --- a/pkgs/tools/networking/burpsuite/default.nix +++ b/pkgs/tools/networking/burpsuite/default.nix @@ -1,15 +1,15 @@ { lib, fetchurl, jdk, buildFHSEnv, unzip, makeDesktopItem, proEdition ? false }: let - version = "2023.10.2.4"; + version = "2024.1.1.4"; product = if proEdition then { productName = "pro"; productDesktop = "Burp Suite Professional Edition"; - hash = "sha256-H5/nxVvAoGzRIAOchv9tAYyFgrodh7XugCTn2oUV9Tw="; + hash = "sha256-jJUTsNF7Jy2VbFBIW7ha/ty9ZwVyVX1cTKNZJgD7zg4="; } else { productName = "community"; productDesktop = "Burp Suite Community Edition"; - hash = "sha256-en+eay+XL09Vk6H011fYvxGluMAndedtqCo4dQZvbBM="; + hash = "sha256-VkrI1M4lCdCuQypHSd2W5X6LyqLUhnbKZKMVj0w4THE="; }; src = fetchurl { @@ -48,6 +48,7 @@ buildFHSEnv { expat glib gtk3 + libcanberra-gtk3 libdrm libudev0-shim libxkbcommon @@ -55,6 +56,7 @@ buildFHSEnv { nspr nss pango + gtk3-x11 xorg.libX11 xorg.libxcb xorg.libXcomposite From 8e3ed28f8972295ab0524d90f370221c573ac9bb Mon Sep 17 00:00:00 2001 From: Lin Xianyi Date: Thu, 7 Mar 2024 10:33:25 +0800 Subject: [PATCH 0030/1387] mpvScripts.dynamic-crop: init at 0-unstable-2023-12-22 --- .../video/mpv/scripts/default.nix | 1 + .../video/mpv/scripts/dynamic-crop.nix | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/video/mpv/scripts/dynamic-crop.nix diff --git a/pkgs/applications/video/mpv/scripts/default.nix b/pkgs/applications/video/mpv/scripts/default.nix index 68ccc3b139d1..de4384b59365 100644 --- a/pkgs/applications/video/mpv/scripts/default.nix +++ b/pkgs/applications/video/mpv/scripts/default.nix @@ -67,6 +67,7 @@ let chapterskip = callPackage ./chapterskip.nix { }; convert = callPackage ./convert.nix { }; cutter = callPackage ./cutter.nix { }; + dynamic-crop = callPackage ./dynamic-crop.nix { }; inhibit-gnome = callPackage ./inhibit-gnome.nix { }; mpris = callPackage ./mpris.nix { }; mpv-cheatsheet = callPackage ./mpv-cheatsheet.nix { }; diff --git a/pkgs/applications/video/mpv/scripts/dynamic-crop.nix b/pkgs/applications/video/mpv/scripts/dynamic-crop.nix new file mode 100644 index 000000000000..f2cd7dc07016 --- /dev/null +++ b/pkgs/applications/video/mpv/scripts/dynamic-crop.nix @@ -0,0 +1,26 @@ +{ lib +, fetchFromGitHub +, unstableGitUpdater +, buildLua +}: +buildLua { + pname = "dynamic-crop"; + + version = "0-unstable-2023-12-22"; + src = fetchFromGitHub { + owner = "Ashyni"; + repo = "mpv-scripts"; + rev = "c79a46ba03631eb2a9b4f598aab0b723f03fc531"; + hash = "sha256-W4Dj2tyJHeHLqAndrzllKs4iwMe3Tu8rfzEGBHuke6s="; + }; + passthru.scriptName = "dynamic-crop.lua"; + + passthru.updateScript = unstableGitUpdater { }; + + meta = { + description = ''Script to "cropping" dynamically, hard-coded black bars detected with lavfi-cropdetect filter for Ultra Wide Screen or any screen (Smartphone/Tablet).''; + homepage = "https://github.com/Ashyni/mpv-scripts"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.iynaix ]; + }; +} From a8728bf01b17ff5250ab25ccf2770de086f23ddd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 11 Mar 2024 06:37:59 +0000 Subject: [PATCH 0031/1387] kdePackages.kcolorpicker: 0.3.0 -> 0.3.1 --- pkgs/development/libraries/kcolorpicker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/kcolorpicker/default.nix b/pkgs/development/libraries/kcolorpicker/default.nix index 9a96b92c1258..4af3a77a50e6 100644 --- a/pkgs/development/libraries/kcolorpicker/default.nix +++ b/pkgs/development/libraries/kcolorpicker/default.nix @@ -4,13 +4,13 @@ let isQt6 = lib.versions.major qtbase.version == "6"; in stdenv.mkDerivation rec { pname = "kcolorpicker"; - version = "0.3.0"; + version = "0.3.1"; src = fetchFromGitHub { owner = "ksnip"; repo = "kColorPicker"; rev = "v${version}"; - hash = "sha256-gkjlIiLB3/074EEFrQUa0djvVt/C44O3afqqNis64P0="; + hash = "sha256-FG/A4pDNuhGPOeJNZlsnX3paEy4ibJVWKxn8rVUGpN8="; }; nativeBuildInputs = [ cmake ]; From 4e93621647790cc20d286b7b00d9303770548a42 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 11 Mar 2024 11:02:11 +0100 Subject: [PATCH 0032/1387] libsForQt5.kimageannotator: 0.7.0 -> 0.7.1 --- pkgs/development/libraries/kimageannotator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/kimageannotator/default.nix b/pkgs/development/libraries/kimageannotator/default.nix index e32247a488a3..e179cb0f6c52 100644 --- a/pkgs/development/libraries/kimageannotator/default.nix +++ b/pkgs/development/libraries/kimageannotator/default.nix @@ -4,13 +4,13 @@ let isQt6 = lib.versions.major qtbase.version == "6"; in stdenv.mkDerivation rec { pname = "kimageannotator"; - version = "0.7.0"; + version = "0.7.1"; src = fetchFromGitHub { owner = "ksnip"; repo = "kImageAnnotator"; rev = "v${version}"; - hash = "sha256-Dq9CM/D3nA7MaY9rfwqF/UAw/+1ptKLf3P8jhFdngKk="; + hash = "sha256-LFou8gTF/XDBLNQbA4uurYJHQl7yOTKe2OGklUsmPrg="; }; nativeBuildInputs = [ cmake qttools ]; From a805ae9f3a91702ddb542e6c8b4f260701749ae5 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 11 Mar 2024 11:12:44 +0100 Subject: [PATCH 0033/1387] ksnip: fix build with latest kcolorpicker --- pkgs/tools/misc/ksnip/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/tools/misc/ksnip/default.nix b/pkgs/tools/misc/ksnip/default.nix index 8e5cc40740cc..05920cb7c790 100644 --- a/pkgs/tools/misc/ksnip/default.nix +++ b/pkgs/tools/misc/ksnip/default.nix @@ -31,10 +31,6 @@ stdenv.mkDerivation rec { }) ]; - postPatch = '' - substituteInPlace src/CMakeLists.txt --replace-fail "kColorPicker::kColorPicker" "kColorPicker::kColorPicker-Qt5" - ''; - nativeBuildInputs = [ cmake extra-cmake-modules From b7b5ba669fea7c43c3f6fbc63e5565dccc2aadc0 Mon Sep 17 00:00:00 2001 From: nitrocode <7775707+nitrocode@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:48:08 -0600 Subject: [PATCH 0034/1387] maintainers/team-list: add cloudposse team for atmos Signed-off-by: nitrocode <7775707+nitrocode@users.noreply.github.com> --- maintainers/maintainer-list.nix | 6 ++++++ maintainers/team-list.nix | 9 +++++++++ pkgs/applications/networking/cluster/atmos/default.nix | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ff66c73fb0c0..07188615013e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5176,6 +5176,12 @@ fingerprint = "389A 78CB CD88 5E0C 4701 DEB9 FD42 C7D0 D414 94C8"; }]; }; + dudymas = { + email = "jeremy.white@cloudposse.com"; + github = "dudymas"; + githubId = 928448; + name = "Jeremy White"; + }; dukc = { email = "ajieskola@gmail.com"; github = "dukc"; diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index 39c1ddcc33c4..3c4e7c2842fd 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -137,6 +137,15 @@ with lib.maintainers; { enableFeatureFreezePing = true; }; + cloudposse = { + members = [ + dudymas + ]; + scope = "Maintain atmos and applications made by the Cloud Posse team."; + shortName = "CloudPosse"; + enableFeatureFreezePing = true; + }; + coq = { members = [ cohencyril diff --git a/pkgs/applications/networking/cluster/atmos/default.nix b/pkgs/applications/networking/cluster/atmos/default.nix index cb313d833dae..2cc299a6b2ed 100644 --- a/pkgs/applications/networking/cluster/atmos/default.nix +++ b/pkgs/applications/networking/cluster/atmos/default.nix @@ -37,6 +37,6 @@ buildGoModule rec { changelog = "https://github.com/cloudposse/atmos/releases/tag/v${version}"; description = "Universal Tool for DevOps and Cloud Automation (works with terraform, helm, helmfile, etc)"; license = licenses.asl20; - maintainers = with maintainers; [ rb ]; + maintainers = with maintainers; [ ] ++ teams.cloudposse.members; }; } From b1f23d4045bbc9388a1125fccea59ab72fff93b8 Mon Sep 17 00:00:00 2001 From: j-brn Date: Tue, 12 Mar 2024 12:07:23 +0100 Subject: [PATCH 0035/1387] looking-glass-client: B6 -> B7-rc1 --- .../looking-glass-client/default.nix | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/virtualization/looking-glass-client/default.nix b/pkgs/applications/virtualization/looking-glass-client/default.nix index 67baa3ab91bd..bd45e4ebff4e 100644 --- a/pkgs/applications/virtualization/looking-glass-client/default.nix +++ b/pkgs/applications/virtualization/looking-glass-client/default.nix @@ -22,6 +22,7 @@ , libXinerama , libXcursor , libXpresent +, libXdmcp , wayland , wayland-protocols @@ -30,6 +31,7 @@ , pulseaudio , libsamplerate +, openGLSupport ? false , xorgSupport ? true , waylandSupport ? true , pipewireSupport ? true @@ -43,35 +45,35 @@ let type = "Application"; exec = "looking-glass-client"; icon = "lg-logo"; - terminal = true; }; in stdenv.mkDerivation rec { pname = "looking-glass-client"; - version = "B6"; + version = "B7-rc1"; src = fetchFromGitHub { owner = "gnif"; repo = "LookingGlass"; rev = version; - sha256 = "sha256-6vYbNmNJBCoU23nVculac24tHqH7F4AZVftIjL93WJU="; + sha256 = "sha256-ne1Q+67+P8RHcTsqdiSSwkFf0g3pSNT91WN/lsSzssU="; fetchSubmodules = true; }; nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ libGL libX11 freefont_ttf spice-protocol expat libbfd nettle fontconfig libffi ] - ++ lib.optionals xorgSupport [ libxkbcommon libXi libXScrnSaver libXinerama libXcursor libXpresent libXext libXrandr ] + buildInputs = [ libGL freefont_ttf spice-protocol expat libbfd nettle fontconfig libffi ] + ++ lib.optionals xorgSupport [ libX11 libxkbcommon libXi libXScrnSaver libXinerama libXcursor libXpresent libXext libXrandr libXdmcp ] ++ lib.optionals waylandSupport [ libxkbcommon wayland wayland-protocols ] ++ lib.optionals pipewireSupport [ pipewire libsamplerate ] ++ lib.optionals pulseSupport [ pulseaudio libsamplerate ]; cmakeFlags = [ "-DOPTIMIZE_FOR_NATIVE=OFF" ] - ++ lib.optional (!xorgSupport) "-DENABLE_X11=no" - ++ lib.optional (!waylandSupport) "-DENABLE_WAYLAND=no" - ++ lib.optional (!pulseSupport) "-DENABLE_PULSEAUDIO=no" - ++ lib.optional (!pipewireSupport) "-DENABLE_PIPEWIRE=no"; - + ++ lib.optionals (!openGLSupport) [ "-DENABLE_OPENGL=no" ] + ++ lib.optionals (!xorgSupport) [ "-DENABLE_X11=no" ] + ++ lib.optionals (!waylandSupport) [ "-DENABLE_WAYLAND=no" ] + ++ lib.optionals (waylandSupport) [ "-DENABLE_WAYLAND=yes" ] + ++ lib.optionals (!pulseSupport) [ "-DENABLE_PULSEAUDIO=no" ] + ++ lib.optionals (!pipewireSupport) [ "-DENABLE_PIPEWIRE=no" ]; postUnpack = '' echo ${src.rev} > source/VERSION From 9f6652732882f32067f35bc44f5a5eee83fd8375 Mon Sep 17 00:00:00 2001 From: j-brn Date: Tue, 12 Mar 2024 14:20:50 +0100 Subject: [PATCH 0036/1387] looking-glass-client: enable support for opengl by default doesn't add any additional dependencies, so there is not really a reason to disable it. --- .../virtualization/looking-glass-client/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/looking-glass-client/default.nix b/pkgs/applications/virtualization/looking-glass-client/default.nix index bd45e4ebff4e..b19117c73e97 100644 --- a/pkgs/applications/virtualization/looking-glass-client/default.nix +++ b/pkgs/applications/virtualization/looking-glass-client/default.nix @@ -31,7 +31,7 @@ , pulseaudio , libsamplerate -, openGLSupport ? false +, openGLSupport ? true , xorgSupport ? true , waylandSupport ? true , pipewireSupport ? true From 7e409bb2f28be292945742ae8262125cf93f879b Mon Sep 17 00:00:00 2001 From: j-brn Date: Wed, 13 Mar 2024 02:21:03 +0100 Subject: [PATCH 0037/1387] looking-glass-client: add patch to fix wayland only build --- ...e-X11-config-directives-to-displayse.patch | 57 +++++++++++++++++++ .../looking-glass-client/default.nix | 10 +++- 2 files changed, 64 insertions(+), 3 deletions(-) create mode 100644 pkgs/applications/virtualization/looking-glass-client/0001-client-cmake-move-X11-config-directives-to-displayse.patch diff --git a/pkgs/applications/virtualization/looking-glass-client/0001-client-cmake-move-X11-config-directives-to-displayse.patch b/pkgs/applications/virtualization/looking-glass-client/0001-client-cmake-move-X11-config-directives-to-displayse.patch new file mode 100644 index 000000000000..b044fb47c2e1 --- /dev/null +++ b/pkgs/applications/virtualization/looking-glass-client/0001-client-cmake-move-X11-config-directives-to-displayse.patch @@ -0,0 +1,57 @@ +From: Geoffrey McRae +Date: Wed, 13 Mar 2024 11:17:25 +1100 +Subject: [PATCH] [client] cmake: move X11 config directives to + `displayservers` + +--- + client/CMakeLists.txt | 7 ------- + client/displayservers/CMakeLists.txt | 7 +++++++ + 2 files changed, 7 insertions(+), 7 deletions(-) + +diff --git client/CMakeLists.txt client/CMakeLists.txt +index 3755adcf..eeeb3eb0 100644 +--- client/CMakeLists.txt ++++ client/CMakeLists.txt +@@ -42,19 +42,12 @@ add_feature_info(ENABLE_ASAN ENABLE_ASAN "AddressSanitizer support.") + option(ENABLE_UBSAN "Build with UndefinedBehaviorSanitizer" OFF) + add_feature_info(ENABLE_UBSAN ENABLE_UBSAN "UndefinedBehaviorSanitizer support.") + +-option(ENABLE_X11 "Build with X11 support" ON) +-add_feature_info(ENABLE_X11 ENABLE_X11 "X11 support.") +- + option(ENABLE_PIPEWIRE "Build with PipeWire audio output support" ON) + add_feature_info(ENABLE_PIPEWIRE ENABLE_PIPEWIRE "PipeWire audio support.") + + option(ENABLE_PULSEAUDIO "Build with PulseAudio audio output support" ON) + add_feature_info(ENABLE_PULSEAUDIO ENABLE_PULSEAUDIO "PulseAudio audio support.") + +-if (NOT ENABLE_X11 AND NOT ENABLE_WAYLAND) +- message(FATAL_ERROR "Either ENABLE_X11 or ENABLE_WAYLAND must be on") +-endif() +- + add_compile_options( + "-Wall" + "-Wextra" +diff --git client/displayservers/CMakeLists.txt client/displayservers/CMakeLists.txt +index 5b5f827a..e7c4b25a 100644 +--- client/displayservers/CMakeLists.txt ++++ client/displayservers/CMakeLists.txt +@@ -18,9 +18,16 @@ function(add_displayserver name) + add_subdirectory(${name}) + endfunction() + ++option(ENABLE_X11 "Build with X11 support" ON) ++add_feature_info(ENABLE_X11 ENABLE_X11 "X11 support.") ++ + option(ENABLE_WAYLAND "Build with Wayland support" ON) + add_feature_info(ENABLE_WAYLAND ENABLE_WAYLAND "Wayland support.") + ++if (NOT ENABLE_X11 AND NOT ENABLE_WAYLAND) ++ message(FATAL_ERROR "Either ENABLE_X11 or ENABLE_WAYLAND must be on") ++endif() ++ + # Add/remove displayservers here! + if (ENABLE_WAYLAND) + add_displayserver(Wayland) +-- +2.43.1 diff --git a/pkgs/applications/virtualization/looking-glass-client/default.nix b/pkgs/applications/virtualization/looking-glass-client/default.nix index b19117c73e97..4b224c745c9f 100644 --- a/pkgs/applications/virtualization/looking-glass-client/default.nix +++ b/pkgs/applications/virtualization/looking-glass-client/default.nix @@ -59,10 +59,15 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; + patches = [ + # Fix failing cmake assertion when disabling X11 whithout explicitly enabling Wayland. + ./0001-client-cmake-move-X11-config-directives-to-displayse.patch + ]; + nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ libGL freefont_ttf spice-protocol expat libbfd nettle fontconfig libffi ] - ++ lib.optionals xorgSupport [ libX11 libxkbcommon libXi libXScrnSaver libXinerama libXcursor libXpresent libXext libXrandr libXdmcp ] + buildInputs = [ libX11 libGL freefont_ttf spice-protocol expat libbfd nettle fontconfig libffi ] + ++ lib.optionals xorgSupport [ libxkbcommon libXi libXScrnSaver libXinerama libXcursor libXpresent libXext libXrandr libXdmcp ] ++ lib.optionals waylandSupport [ libxkbcommon wayland wayland-protocols ] ++ lib.optionals pipewireSupport [ pipewire libsamplerate ] ++ lib.optionals pulseSupport [ pulseaudio libsamplerate ]; @@ -71,7 +76,6 @@ stdenv.mkDerivation rec { ++ lib.optionals (!openGLSupport) [ "-DENABLE_OPENGL=no" ] ++ lib.optionals (!xorgSupport) [ "-DENABLE_X11=no" ] ++ lib.optionals (!waylandSupport) [ "-DENABLE_WAYLAND=no" ] - ++ lib.optionals (waylandSupport) [ "-DENABLE_WAYLAND=yes" ] ++ lib.optionals (!pulseSupport) [ "-DENABLE_PULSEAUDIO=no" ] ++ lib.optionals (!pipewireSupport) [ "-DENABLE_PIPEWIRE=no" ]; From bc55ffb14ab98a83c38507eca9e25c11bfeff9d6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 13 Mar 2024 13:17:30 +0100 Subject: [PATCH 0038/1387] espflash: 2.1.0 -> 3.0.0 --- pkgs/by-name/es/espflash/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/es/espflash/package.nix b/pkgs/by-name/es/espflash/package.nix index 47ebfba8bd54..ec2c283f6935 100644 --- a/pkgs/by-name/es/espflash/package.nix +++ b/pkgs/by-name/es/espflash/package.nix @@ -14,13 +14,13 @@ rustPlatform.buildRustPackage rec { pname = "espflash"; - version = "2.1.0"; + version = "3.0.0"; src = fetchFromGitHub { owner = "esp-rs"; repo = "espflash"; rev = "v${version}"; - hash = "sha256-Nv2/33VYpCkPYyUhlVDYJR1BkbtEvEPtmgyZXfVn1ug="; + hash = "sha256-0CnYdz1KG/y4B+dOp9rYE097ctf4GNmyqv3/xywdA6A="; }; nativeBuildInputs = [ @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { SystemConfiguration ]; - cargoHash = "sha256-Xj5FVTssC3e+mMhDHmKqV6lUQgaIv3aVc1yewbQSy9E="; + cargoHash = "sha256-CmhBl+d5odc0QL45aWCJcBZIVeJsdpxJweh7FT8cpyY="; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd espflash \ From a7c88406a6ae1fb0a170ec92179f8e3da756f7de Mon Sep 17 00:00:00 2001 From: Andreas Fuchs Date: Fri, 15 Mar 2024 12:00:06 -0400 Subject: [PATCH 0039/1387] busybox: Set shellPath up so that ash can be a login shell --- pkgs/os-specific/linux/busybox/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix index c72be801aeea..ffeb82d9b41b 100644 --- a/pkgs/os-specific/linux/busybox/default.nix +++ b/pkgs/os-specific/linux/busybox/default.nix @@ -159,6 +159,8 @@ stdenv.mkDerivation rec { doCheck = false; # tries to access the net + passthru.shellPath = "/bin/ash"; + meta = with lib; { description = "Tiny versions of common UNIX utilities in a single small executable"; homepage = "https://busybox.net/"; From f03a4d8e97967e2103f00351fae4acfdf109aabe Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Fri, 15 Mar 2024 18:17:13 -0400 Subject: [PATCH 0040/1387] mermaid-cli: 10.4.0 -> 10.8.0 --- pkgs/by-name/me/mermaid-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/me/mermaid-cli/package.nix b/pkgs/by-name/me/mermaid-cli/package.nix index a45930287a50..a299e69bc69e 100644 --- a/pkgs/by-name/me/mermaid-cli/package.nix +++ b/pkgs/by-name/me/mermaid-cli/package.nix @@ -11,18 +11,18 @@ stdenv.mkDerivation rec { pname = "mermaid-cli"; - version = "10.4.0"; + version = "10.8.0"; src = fetchFromGitHub { owner = "mermaid-js"; repo = "mermaid-cli"; rev = version; - hash = "sha256-mzBN/Hg/03+jYyoAHvjx33HC46ZA6dtHmiSnaExCRR0="; + hash = "sha256-nCLLv8QXx9N4WiUFw3WB+Rpfd4H4oCFa1ac01al+ovY="; }; offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; - hash = "sha256-RQsRGzkuPgGVuEpF5lzv26XKMPLX2NrsjVkGMMkCbO4="; + hash = "sha256-thZxaa7S3vlS1Ws+G5dklun+ISCV908p1Ov7qb8fP3c="; }; nativeBuildInputs = [ From beb139496afe7d5badef702f2fa5a03a1d8d5dc7 Mon Sep 17 00:00:00 2001 From: Schweber <64630479+Schweber@users.noreply.github.com> Date: Sun, 17 Mar 2024 07:52:00 +0000 Subject: [PATCH 0041/1387] nixos/resolvconf: add option "trust-ad" when `useLocalResolver` is enabled --- nixos/modules/config/resolvconf.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/config/resolvconf.nix b/nixos/modules/config/resolvconf.nix index 3b8cc0cb8f42..e52b90c037a8 100644 --- a/nixos/modules/config/resolvconf.nix +++ b/nixos/modules/config/resolvconf.nix @@ -10,7 +10,8 @@ let resolvconfOptions = cfg.extraOptions ++ optional cfg.dnsSingleRequest "single-request" - ++ optional cfg.dnsExtensionMechanism "edns0"; + ++ optional cfg.dnsExtensionMechanism "edns0" + ++ optional cfg.useLocalResolver "trust-ad"; configText = '' From 750d257532550cb0564c31a15b7ff19fcafb8246 Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Mon, 18 Mar 2024 00:41:57 +0100 Subject: [PATCH 0042/1387] libcdio-paranoia: 10.2+0.94+2 -> 10.2+2.0.1 --- pkgs/development/libraries/libcdio-paranoia/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libcdio-paranoia/default.nix b/pkgs/development/libraries/libcdio-paranoia/default.nix index bd39cfb71cb3..b6fd599e0dfd 100644 --- a/pkgs/development/libraries/libcdio-paranoia/default.nix +++ b/pkgs/development/libraries/libcdio-paranoia/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "libcdio-paranoia"; - version = "0.94+2"; + version = "2.0.1"; src = fetchFromGitHub { owner = "rocky"; repo = "libcdio-paranoia"; rev = "release-10.2+${version}"; - sha256 = "1wjgmmaca4baw7k5c3vdap9hnjc49ciagi5kvpvync3aqfmdvkha"; + hash = "sha256-kNGhhslp5noAVeho0kBVfyvb4kQpDY56nyL3a4aFgjE="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; From b0a8cf5243b92b20c2e8bf44d77a1e03126328aa Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sat, 10 Feb 2024 15:46:02 +1300 Subject: [PATCH 0043/1387] dmd: migrate to pkgs/by-name --- pkgs/{development/compilers => by-name/dm}/dmd/binary.nix | 0 pkgs/{development/compilers => by-name/dm}/dmd/bootstrap.nix | 0 pkgs/{development/compilers => by-name/dm}/dmd/generic.nix | 0 .../compilers/dmd/default.nix => by-name/dm/dmd/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 +- 5 files changed, 1 insertion(+), 1 deletion(-) rename pkgs/{development/compilers => by-name/dm}/dmd/binary.nix (100%) rename pkgs/{development/compilers => by-name/dm}/dmd/bootstrap.nix (100%) rename pkgs/{development/compilers => by-name/dm}/dmd/generic.nix (100%) rename pkgs/{development/compilers/dmd/default.nix => by-name/dm/dmd/package.nix} (100%) diff --git a/pkgs/development/compilers/dmd/binary.nix b/pkgs/by-name/dm/dmd/binary.nix similarity index 100% rename from pkgs/development/compilers/dmd/binary.nix rename to pkgs/by-name/dm/dmd/binary.nix diff --git a/pkgs/development/compilers/dmd/bootstrap.nix b/pkgs/by-name/dm/dmd/bootstrap.nix similarity index 100% rename from pkgs/development/compilers/dmd/bootstrap.nix rename to pkgs/by-name/dm/dmd/bootstrap.nix diff --git a/pkgs/development/compilers/dmd/generic.nix b/pkgs/by-name/dm/dmd/generic.nix similarity index 100% rename from pkgs/development/compilers/dmd/generic.nix rename to pkgs/by-name/dm/dmd/generic.nix diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/by-name/dm/dmd/package.nix similarity index 100% rename from pkgs/development/compilers/dmd/default.nix rename to pkgs/by-name/dm/dmd/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e3f54c04f7ea..7043497fbc5f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7493,7 +7493,7 @@ with pkgs; dleyna-server = callPackage ../development/libraries/dleyna-server { }; - dmd = callPackage ../development/compilers/dmd ({ + dmd = callPackage ../by-name/dm/dmd/package.nix ({ inherit (darwin.apple_sdk.frameworks) Foundation; } // lib.optionalAttrs stdenv.isLinux { # https://github.com/NixOS/nixpkgs/pull/206907#issuecomment-1527034123 From 8f5bbcc32721cfa8da85929a7007c2c1755cef0e Mon Sep 17 00:00:00 2001 From: Tom Herbers Date: Fri, 22 Mar 2024 12:01:54 +0100 Subject: [PATCH 0044/1387] bird: 2.15 -> 2.15.1 Changelog: https://gitlab.nic.cz/labs/bird/-/blob/v2.15.1/NEWS --- pkgs/servers/bird/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix index dbf480c401dd..b0a96fcfe087 100644 --- a/pkgs/servers/bird/default.nix +++ b/pkgs/servers/bird/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "bird"; - version = "2.15"; + version = "2.15.1"; src = fetchurl { url = "ftp://bird.network.cz/pub/bird/${pname}-${version}.tar.gz"; - hash = "sha256-emRY+kEQnABVMbI+P3q9Y9cACpnRldtJROvMtTntAvA="; + hash = "sha256-SOhcYi3hZHVsEy6netGoqVzJ/QE3/9DYgnRlic51x10="; }; nativeBuildInputs = [ flex bison ]; From 6254db6165231d0e5a3eedb84daf555fd86b50ce Mon Sep 17 00:00:00 2001 From: ShaddyDC Date: Fri, 22 Mar 2024 13:03:27 +0100 Subject: [PATCH 0045/1387] python3Packages.openusd: 23.11 -> 24.03 --- pkgs/development/python-modules/openusd/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/openusd/default.nix b/pkgs/development/python-modules/openusd/default.nix index 4b323b25669d..52a4bdc40573 100644 --- a/pkgs/development/python-modules/openusd/default.nix +++ b/pkgs/development/python-modules/openusd/default.nix @@ -48,13 +48,13 @@ in buildPythonPackage rec { pname = "openusd"; - version = "23.11"; + version = "24.03"; src = fetchFromGitHub { owner = "PixarAnimationStudios"; repo = "OpenUSD"; rev = "refs/tags/v${version}"; - hash = "sha256-5zQrfB14kXs75WbL3s4eyhxELglhLNxU2L2aVXiyVjg="; + hash = "sha256-EYf8GhXhsAx0Wxz9ibDZEV4E5scL3GPiu3Nje7N5C/I="; }; stdenv = if python.stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else python.stdenv; @@ -147,9 +147,6 @@ buildPythonPackage rec { '' + lib.optionalString withDocs '' mv $out/docs $doc - '' - + '' - rm $out/share -r # only examples ''; meta = { From 5f7be1b9a30b753560c76d416f28da3546b96584 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:45:51 +0100 Subject: [PATCH 0046/1387] dyalog: 18.2.45405 -> 19.0.48958 --- pkgs/by-name/dy/dyalog/dyalogscript.patch | 20 +++- pkgs/by-name/dy/dyalog/mapl.patch | 31 ------ pkgs/by-name/dy/dyalog/package.nix | 128 ++++++---------------- 3 files changed, 52 insertions(+), 127 deletions(-) delete mode 100644 pkgs/by-name/dy/dyalog/mapl.patch diff --git a/pkgs/by-name/dy/dyalog/dyalogscript.patch b/pkgs/by-name/dy/dyalog/dyalogscript.patch index a65878b7adec..3b15aa514112 100644 --- a/pkgs/by-name/dy/dyalog/dyalogscript.patch +++ b/pkgs/by-name/dy/dyalog/dyalogscript.patch @@ -1,8 +1,22 @@ +diff --git a/scriptbin/dyalogscript b/scriptbin/dyalogscript +index c99912738ec2..adeda1fe964e 100755 --- a/scriptbin/dyalogscript +++ b/scriptbin/dyalogscript -@@ -5,1 +5,1 @@ --INSTALLDIR="/opt/mdyalog/18.2/64/unicode" +@@ -2,7 +2,7 @@ + #set -x + ## DO NOT CHANGE THIS FILE + +-INSTALLDIR="/opt/mdyalog/19.0/64/unicode" +INSTALLDIR="@installdir@" -@@ -40,1 +40,1 @@ + EXE="dyalog" + + ARGS="" +@@ -46,7 +46,7 @@ fi + # OPTS="$OPTS RIDE_INIT=$RIDE_INIT" + #fi + -: ${SCRIPTDIR:=$INSTALLDIR} +SCRIPTDIR="@scriptdir@" + export LD_LIBRARY_PATH=${SCRIPTDIR}:${LD_LIBRARY_PATH} + + eval "${SCRIPTDIR}/${EXE}" APLKEYS=\"$INSTALLDIR/aplkeys\" APLTRANS=\"$INSTALLDIR/apltrans\" ${APLT} ${APLK} $OPTS -script \"$SCRIPT\" "$ARGS" diff --git a/pkgs/by-name/dy/dyalog/mapl.patch b/pkgs/by-name/dy/dyalog/mapl.patch deleted file mode 100644 index 32424bea124e..000000000000 --- a/pkgs/by-name/dy/dyalog/mapl.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/mapl b/mapl -index c9d3727..de24c77 100755 ---- a/mapl -+++ b/mapl -@@ -20,26 +20,8 @@ SHORTVERSION=182U64 - LONGVERSION="18.2 64-bit Unicode" - REL="`echo "${LONGVERSION}" | sed 's/ .*$//'`" - --# Find the Dyalog installation directory --if [ "$(uname)" = Linux ]; then -- # this script location, canonical. -- THIS="$(readlink -f $0)" --else -- # this script location. -- THIS="$0" --fi --export DYALOG=$(cd $(dirname $THIS) && pwd) -- - export APL_LANGUAGE_BAR_FILE=${DYALOG}/languagebar.json - --if [ "$(uname)" = Linux ]; then -- if [ "x" = "x${LD_LIBRARY_PATH}" ]; then -- export LD_LIBRARY_PATH="${DYALOG}" -- else -- export LD_LIBRARY_PATH="${DYALOG}:${LD_LIBRARY_PATH}" -- fi --fi -- - # Setup the configuration directory - MYCONFIGDIR=${HOME}/.dyalog - if [ ! -d "${MYCONFIGDIR}" ] ; then diff --git a/pkgs/by-name/dy/dyalog/package.nix b/pkgs/by-name/dy/dyalog/package.nix index c8786d5d6baa..fc4b6696c26b 100644 --- a/pkgs/by-name/dy/dyalog/package.nix +++ b/pkgs/by-name/dy/dyalog/package.nix @@ -1,6 +1,5 @@ { lib , stdenv -, fetchFromGitHub , fetchurl , config @@ -9,28 +8,19 @@ , autoPatchelfHook , dpkg , makeWrapper - -, copyDesktopItems -, makeDesktopItem - -, glib , ncurses5 -, dotnet-sdk_6 +, dotnet-sdk_8 , dotnetSupport ? false , alsa-lib -, gtk2 -, libXdamage -, libXtst -, libXScrnSaver +, gtk3 +, libdrm +, libGL +, mesa , nss , htmlRendererSupport ? false -, R -, rPackages -, rSupport ? false - , unixODBC , sqaplSupport ? false @@ -42,37 +32,7 @@ let dyalogHome = "$out/lib/dyalog"; - rscproxy = rPackages.buildRPackage { - name = "rscproxy"; - src = fetchFromGitHub { - owner = "Dyalog"; - repo = "rscproxy"; - rev = "31de3323fb8596ff5ecbf4bacd030e542cfd8133"; - hash = "sha256-SVoBoAWUmQ+jWaTG7hdmyRq6By4RnmmgWZXoua19/Kg="; - }; - }; - - makeWrapperArgs = [ - "--set DYALOG ${dyalogHome}" - # also needs to be set when the `-script` flag is used - "--add-flags DYALOG=${dyalogHome}" - # needed for default user commands to work - "--add-flags SESSION_FILE=${dyalogHome}/default.dse" - ] - ++ lib.optionals dotnetSupport [ - # needs to be set to run .NET Bridge - "--set DOTNET_ROOT ${dotnet-sdk_6}" - # .NET Bridge files are runtime dependencies, but cannot be patchelf'd - "--prefix LD_LIBRARY_PATH : ${dyalogHome}" - ] - ++ lib.optionals rSupport [ - # RConnect resolves R from PATH - "--prefix PATH : ${R}/bin" - # RConnect uses `ldd` to find `libR.so` - "--prefix LD_LIBRARY_PATH : ${R}/lib/R/lib" - # RConnect uses `rscproxy` to communicate with R - "--prefix R_LIBS_SITE : ${rscproxy}/library" - ]; + makeWrapperArgs = lib.optional dotnetSupport "--set DOTNET_ROOT ${dotnet-sdk_8}"; licenseUrl = "https://www.dyalog.com/uploads/documents/Developer_Software_Licence.pdf"; @@ -91,14 +51,14 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "dyalog"; - version = "18.2.45405"; + version = "19.0.48958"; shortVersion = lib.versions.majorMinor finalAttrs.version; src = assert !acceptLicense -> throw licenseDisclaimer; fetchurl { url = "https://download.dyalog.com/download.php?file=${finalAttrs.shortVersion}/linux_64_${finalAttrs.version}_unicode.x86_64.deb"; - sha256 = "sha256-pA/WGTA6YvwG4MgqbiPBLKSKPtLGQM7BzK6Bmyz5pmM="; + hash = "sha256-+L9XI7Knt91sG/0E3GFSeqjD9Zs+1n72MDfvsXnr77M="; }; outputs = [ "out" ] ++ lib.optional enableDocs "doc"; @@ -107,64 +67,54 @@ stdenv.mkDerivation (finalAttrs: { sourceRoot=$sourceRoot/opt/mdyalog/${finalAttrs.shortVersion}/64/unicode ''; - patches = [ ./dyalogscript.patch ./mapl.patch ]; - - postPatch = lib.optionalString dotnetSupport '' - # Patch to use .NET 6.0 instead of .NET Core 3.1 (can be removed when Dyalog 19.0 releases) - substituteInPlace Dyalog.Net.Bridge.*.json --replace "3.1" "6.0" - ''; + patches = [ ./dyalogscript.patch ]; nativeBuildInputs = [ autoPatchelfHook - copyDesktopItems dpkg makeWrapper ]; buildInputs = [ - glib # Used by Conga and .NET Bridge - ncurses5 # Used by the dyalog binary + stdenv.cc.cc.lib # Used by Conga and .NET Bridge + ncurses5 # Used by the dyalog binary to correctly display in the terminal ] ++ lib.optionals htmlRendererSupport [ alsa-lib - gtk2 - libXdamage - libXtst - libXScrnSaver + gtk3 + libdrm + libGL + mesa nss ] - ++ lib.optionals sqaplSupport [ - unixODBC - ]; + ++ lib.optional sqaplSupport unixODBC; # See which files are not really important: `https://github.com/Dyalog/DyalogDocker/blob/master/rmfiles.sh` installPhase = '' runHook preInstall mkdir -p ${dyalogHome} - cp -r aplfmt aplkeys apltrans fonts Library PublicCACerts SALT StartupSession ${dyalogHome} - cp aplkeys.sh default.dse dyalog dyalog.rt dyalog.dcfg.template dyalog.ver.dcfg.template languagebar.json mapl startup.dyalog ${dyalogHome} + cp -r aplfmt aplkeys apltrans Experimental fonts Library PublicCACerts SALT StartupSession ${dyalogHome} + cp aplkeys.sh default.dse dyalog dyalogc dyalog.rt dyalog.dcfg.template dyalog.ver.dcfg.template languagebar.json mapl StartupSession.aplf ${dyalogHome} mkdir ${dyalogHome}/lib - cp lib/{conga34_64.so,dyalog64.so,libconga34ssl64.so} ${dyalogHome}/lib + cp lib/{conga35_64.so,dyalog64.so,libconga35ssl64.so} ${dyalogHome}/lib # Only keep the most useful workspaces mkdir ${dyalogHome}/ws cp ws/{conga,dfns,isolate,loaddata,salt,sharpplot,util}.dws ${dyalogHome}/ws '' + lib.optionalString dotnetSupport '' - cp libnethost.so Dyalog.Net.Bridge.* ${dyalogHome} + cp libnethost.so Dyalog.Net.Bridge.* Lokad.ILPack.dll ${dyalogHome} '' + lib.optionalString htmlRendererSupport '' - cp -r locales swiftshader ${dyalogHome} - cp libcef.so libEGL.so libGLESv2.so chrome-sandbox natives_blob.bin snapshot_blob.bin icudtl.dat v8_context_snapshot.bin *.pak ${dyalogHome} + cp -r locales ${dyalogHome} + cp libcef.so libEGL.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1 ${dyalogHome} + cp chrome-sandbox icudtl.dat snapshot_blob.bin v8_context_snapshot.bin vk_swiftshader_icd.json *.pak ${dyalogHome} cp lib/htmlrenderer.so ${dyalogHome}/lib '' - + lib.optionalString rSupport '' - cp ws/rconnect.dws ${dyalogHome}/ws - '' + lib.optionalString sqaplSupport '' - cp lib/cxdya64u64u.so ${dyalogHome}/lib + cp lib/cxdya65u64u.so ${dyalogHome}/lib cp ws/sqapl.dws ${dyalogHome}/ws cp odbc.ini.sample sqapl.err sqapl.ini ${dyalogHome} '' @@ -177,10 +127,12 @@ stdenv.mkDerivation (finalAttrs: { ln -s $doc/share/doc/dyalog ${dyalogHome}/help '' + '' - install -Dm644 dyalog.svg $out/share/icons/hicolor/scalable/apps/dyalog.svg + install -Dm644 dyalog.svg -t $out/share/icons/hicolor/scalable/apps + install -Dm644 dyalog.desktop -t $out/share/applications - makeWrapper ${dyalogHome}/dyalog $out/bin/dyalog ${lib.concatStringsSep " " makeWrapperArgs} - makeWrapper ${dyalogHome}/mapl $out/bin/mapl ${lib.concatStringsSep " " makeWrapperArgs} + for exec in "dyalog" "mapl"; do + makeWrapper ${dyalogHome}/$exec $out/bin/$exec ${toString makeWrapperArgs} + done install -Dm755 scriptbin/dyalogscript $out/bin/dyalogscript substituteInPlace $out/bin/dyalogscript \ @@ -190,24 +142,14 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; - preFixup = lib.optionalString htmlRendererSupport '' - # `libudev.so` is a runtime dependency of CEF - patchelf ${dyalogHome}/libcef.so --add-needed libudev.so + # Register some undeclared runtime dependencies to be patched in by autoPatchelfHook + preFixup = '' + patchelf ${dyalogHome}/dyalog --add-needed libncurses.so + '' + + lib.optionalString htmlRendererSupport '' + patchelf ${dyalogHome}/libcef.so --add-needed libudev.so --add-needed libGL.so ''; - desktopItems = [ - (makeDesktopItem { - name = "dyalog"; - desktopName = "Dyalog"; - exec = finalAttrs.meta.mainProgram; - comment = finalAttrs.meta.description; - icon = "dyalog"; - categories = [ "Development" ]; - genericName = "APL interpreter"; - terminal = true; - }) - ]; - meta = { changelog = "https://dyalog.com/dyalog/dyalog-versions/${lib.replaceStrings [ "." ] [ "" ] finalAttrs.shortVersion}.htm"; description = "The Dyalog APL interpreter"; From e335ef799143a9cf15a9cc97b9728b6d30b20d8f Mon Sep 17 00:00:00 2001 From: Yarny0 <41838844+Yarny0@users.noreply.github.com> Date: Sat, 23 Mar 2024 17:02:10 +0100 Subject: [PATCH 0047/1387] tvbrowser: user stripJavaArchivesHook for determinism --- pkgs/applications/misc/tvbrowser/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/tvbrowser/default.nix b/pkgs/applications/misc/tvbrowser/default.nix index 384b5362a4ad..f997652c27ec 100644 --- a/pkgs/applications/misc/tvbrowser/default.nix +++ b/pkgs/applications/misc/tvbrowser/default.nix @@ -5,6 +5,7 @@ , ant , jdk , makeWrapper +, stripJavaArchivesHook , callPackage }: @@ -25,7 +26,7 @@ stdenv.mkDerivation rec { hash = "sha256-dmNfI6T0MU7UtMH+C/2hiAeDwZlFCB4JofQViZezoqI="; }; - nativeBuildInputs = [ ant jdk makeWrapper ]; + nativeBuildInputs = [ ant jdk makeWrapper stripJavaArchivesHook ]; buildPhase = '' runHook preBuild From 91238caafb3ecf0c91fbb19dbc36da932bfbd443 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Sat, 23 Mar 2024 19:03:46 +0100 Subject: [PATCH 0048/1387] python3Packages.pysimplegui: change license to unfree --- pkgs/development/python-modules/pysimplegui/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pysimplegui/default.nix b/pkgs/development/python-modules/pysimplegui/default.nix index 30e5de7abd8d..a3ec40cc80cf 100644 --- a/pkgs/development/python-modules/pysimplegui/default.nix +++ b/pkgs/development/python-modules/pysimplegui/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python GUIs for Humans"; homepage = "https://github.com/PySimpleGUI/PySimpleGUI"; - license = licenses.lgpl3Plus; + license = licenses.unfree; maintainers = with maintainers; [ lucasew ]; }; } From 642b9fc72b7c08d47ab0f8b01c5982d956e109bc Mon Sep 17 00:00:00 2001 From: Naxdy Date: Sat, 23 Mar 2024 19:08:33 +0100 Subject: [PATCH 0049/1387] python3Packages.pysimplegui: mark as broken --- pkgs/development/python-modules/pysimplegui/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pysimplegui/default.nix b/pkgs/development/python-modules/pysimplegui/default.nix index a3ec40cc80cf..58deefb4f3d3 100644 --- a/pkgs/development/python-modules/pysimplegui/default.nix +++ b/pkgs/development/python-modules/pysimplegui/default.nix @@ -31,5 +31,6 @@ buildPythonPackage rec { homepage = "https://github.com/PySimpleGUI/PySimpleGUI"; license = licenses.unfree; maintainers = with maintainers; [ lucasew ]; + broken = true; # update to v5 broke the package, it now needs rsa and is trying to access an X11 socket? }; } From ab0bd8ca527f9e21a80562f39eb4a5a9a565780a Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 15:48:22 +0100 Subject: [PATCH 0050/1387] puppet-lint: add meta, passthru.{tests,updateScript} --- .../tools/puppet/puppet-lint/default.nix | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/puppet/puppet-lint/default.nix b/pkgs/development/tools/puppet/puppet-lint/default.nix index 2940605b1b08..588d9f0c86fa 100644 --- a/pkgs/development/tools/puppet/puppet-lint/default.nix +++ b/pkgs/development/tools/puppet/puppet-lint/default.nix @@ -1,7 +1,30 @@ -{ bundlerApp }: +{ + bundlerApp, + bundlerUpdateScript, + lib, + puppet-lint, + testers, +}: bundlerApp { pname = "puppet-lint"; gemdir = ./.; exes = [ "puppet-lint" ]; + + passthru = { + tests.version = testers.testVersion { + package = puppet-lint; + version = (import ./gemset.nix).puppet-lint.version; + }; + updateScript = bundlerUpdateScript "puppet-lint"; + }; + + meta = { + description = "Checks Puppet code against the recommended Puppet language style guide"; + homepage = "https://github.com/puppetlabs/puppet-lint"; + changelog = "https://github.com/puppetlabs/puppet-lint/blob/main/CHANGELOG.md"; + license = lib.licenses.mit; + mainProgram = "puppet-lint"; + maintainers = with lib.maintainers; [ anthonyroussel ]; + }; } From 1e2f6ebbedc567823c188b256c7e55fc9612f51d Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 15:57:25 +0100 Subject: [PATCH 0051/1387] puppet-lint: 2.5.2 -> 4.2.4 https://github.com/puppetlabs/puppet-lint/compare/2.5.2...v4.2.4 --- pkgs/development/tools/puppet/puppet-lint/Gemfile.lock | 4 ++-- pkgs/development/tools/puppet/puppet-lint/gemset.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/puppet/puppet-lint/Gemfile.lock b/pkgs/development/tools/puppet/puppet-lint/Gemfile.lock index 7569b5e2d13c..61842458aa5b 100644 --- a/pkgs/development/tools/puppet/puppet-lint/Gemfile.lock +++ b/pkgs/development/tools/puppet/puppet-lint/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - puppet-lint (2.5.2) + puppet-lint (4.2.4) PLATFORMS ruby @@ -10,4 +10,4 @@ DEPENDENCIES puppet-lint BUNDLED WITH - 2.2.24 + 2.5.6 diff --git a/pkgs/development/tools/puppet/puppet-lint/gemset.nix b/pkgs/development/tools/puppet/puppet-lint/gemset.nix index e3911e63536a..f936a39af0a0 100644 --- a/pkgs/development/tools/puppet/puppet-lint/gemset.nix +++ b/pkgs/development/tools/puppet/puppet-lint/gemset.nix @@ -4,9 +4,9 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rcj3cb6lf90g6vvhh3c9p8yn7pgibglf9k5878bzd6pn5ag0h9v"; + sha256 = "1n2pffwxj1n33hc7aw74g6a4gn5v7rawcs7rglidbdq1g4kzd829"; type = "gem"; }; - version = "2.5.2"; + version = "4.2.4"; }; } From 5b7b5e9e1df432451ae1d955537b4b9d96bd2233 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 15:59:39 +0100 Subject: [PATCH 0052/1387] puppet-lint: move to pkgs/by-name --- .../tools/puppet => by-name/pu}/puppet-lint/Gemfile | 0 .../tools/puppet => by-name/pu}/puppet-lint/Gemfile.lock | 0 .../tools/puppet => by-name/pu}/puppet-lint/gemset.nix | 0 .../default.nix => by-name/pu/puppet-lint/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 5 files changed, 2 deletions(-) rename pkgs/{development/tools/puppet => by-name/pu}/puppet-lint/Gemfile (100%) rename pkgs/{development/tools/puppet => by-name/pu}/puppet-lint/Gemfile.lock (100%) rename pkgs/{development/tools/puppet => by-name/pu}/puppet-lint/gemset.nix (100%) rename pkgs/{development/tools/puppet/puppet-lint/default.nix => by-name/pu/puppet-lint/package.nix} (100%) diff --git a/pkgs/development/tools/puppet/puppet-lint/Gemfile b/pkgs/by-name/pu/puppet-lint/Gemfile similarity index 100% rename from pkgs/development/tools/puppet/puppet-lint/Gemfile rename to pkgs/by-name/pu/puppet-lint/Gemfile diff --git a/pkgs/development/tools/puppet/puppet-lint/Gemfile.lock b/pkgs/by-name/pu/puppet-lint/Gemfile.lock similarity index 100% rename from pkgs/development/tools/puppet/puppet-lint/Gemfile.lock rename to pkgs/by-name/pu/puppet-lint/Gemfile.lock diff --git a/pkgs/development/tools/puppet/puppet-lint/gemset.nix b/pkgs/by-name/pu/puppet-lint/gemset.nix similarity index 100% rename from pkgs/development/tools/puppet/puppet-lint/gemset.nix rename to pkgs/by-name/pu/puppet-lint/gemset.nix diff --git a/pkgs/development/tools/puppet/puppet-lint/default.nix b/pkgs/by-name/pu/puppet-lint/package.nix similarity index 100% rename from pkgs/development/tools/puppet/puppet-lint/default.nix rename to pkgs/by-name/pu/puppet-lint/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 690d87da8118..2581d85eeba0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19532,8 +19532,6 @@ with pkgs; puppet-bolt = callPackage ../tools/admin/puppet/puppet-bolt { }; - puppet-lint = callPackage ../development/tools/puppet/puppet-lint { }; - puppeteer-cli = callPackage ../tools/graphics/puppeteer-cli { }; pyrseas = callPackage ../development/tools/database/pyrseas { }; From 2e1fe503f85c2244328c3a5df239bbf63e6c6976 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:18:33 +0100 Subject: [PATCH 0053/1387] puppet-bolt: 3.24.0 -> 3.28.0 https://github.com/puppetlabs/bolt/compare/3.24.0...3.28.0 --- .../admin/puppet/puppet-bolt/Gemfile.lock | 152 +++++----- .../tools/admin/puppet/puppet-bolt/gemset.nix | 278 +++++++++++------- 2 files changed, 247 insertions(+), 183 deletions(-) diff --git a/pkgs/tools/admin/puppet/puppet-bolt/Gemfile.lock b/pkgs/tools/admin/puppet/puppet-bolt/Gemfile.lock index d5c402330b3e..a0156a8912e4 100644 --- a/pkgs/tools/admin/puppet/puppet-bolt/Gemfile.lock +++ b/pkgs/tools/admin/puppet/puppet-bolt/Gemfile.lock @@ -1,24 +1,29 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (2.3.6) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) - aws-eventstream (1.2.0) - aws-partitions (1.607.0) - aws-sdk-core (3.131.2) - aws-eventstream (~> 1, >= 1.0.2) - aws-partitions (~> 1, >= 1.525.0) - aws-sigv4 (~> 1.1) + CFPropertyList (3.0.7) + base64 + nkf + rexml + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + aws-eventstream (1.3.0) + aws-partitions (1.899.0) + aws-sdk-core (3.191.4) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.651.0) + aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-ec2 (1.322.0) - aws-sdk-core (~> 3, >= 3.127.0) + aws-sdk-ec2 (1.444.0) + aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sigv4 (1.5.0) + aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) - bindata (2.4.10) - bolt (3.24.0) - CFPropertyList (~> 2.2) + base64 (0.2.0) + bigdecimal (3.1.7) + bindata (2.5.0) + bolt (3.28.0) + CFPropertyList (>= 2.2) addressable (~> 2.5) aws-sdk-ec2 (~> 1) concurrent-ruby (~> 1.0) @@ -27,14 +32,14 @@ GEM jwt (~> 2.2) logging (~> 2.2) minitar (~> 0.6) - net-scp (~> 1.2) - net-ssh (>= 4.0, < 7.0) + net-scp (>= 1.2, < 5.0) + net-ssh (>= 4.0, < 8.0) net-ssh-krb (~> 0.5) orchestrator_client (~> 0.5) puppet (>= 6.18.0) puppet-resource_api (>= 1.8.1) - puppet-strings (~> 2.3) - puppetfile-resolver (~> 0.5) + puppet-strings (>= 2.3.0, < 5.0) + puppetfile-resolver (>= 0.6.2, < 1.0) r10k (~> 3.10) ruby_smb (~> 1.0) terminal-table (~> 3.0) @@ -42,15 +47,15 @@ GEM winrm-fs (~> 1.3) builder (3.2.4) colored2 (3.1.2) - concurrent-ruby (1.1.10) - connection_pool (2.2.5) + concurrent-ruby (1.2.3) + connection_pool (2.4.1) cri (2.15.11) deep_merge (1.2.2) - erubi (1.10.0) - facter (4.2.10) + erubi (1.12.0) + facter (4.6.1) hocon (~> 1.3) thor (>= 1.0.1, < 2.0) - faraday (1.10.0) + faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -75,31 +80,34 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.2.0) faraday (~> 1.0) - fast_gettext (1.1.2) - ffi (1.15.5) - gettext (3.2.9) + fast_gettext (2.3.0) + ffi (1.16.3) + forwardable (1.3.3) + gettext (3.4.9) + erubi locale (>= 2.0.5) + prime + racc text (>= 1.3.0) - gettext-setup (0.34) - fast_gettext (~> 1.1.0) - gettext (>= 3.0.2, < 3.3.0) + gettext-setup (1.1.0) + fast_gettext (~> 2.1) + gettext (~> 3.4) locale gssapi (1.3.1) ffi (>= 1.0.1) gyoku (1.4.0) builder (>= 2.1.2) rexml (~> 3.0) - hiera (3.9.0) - hiera-eyaml (3.3.0) + hiera-eyaml (3.4.0) highline optimist - highline (2.0.3) - hocon (1.3.1) + highline (3.0.1) + hocon (1.4.0) httpclient (2.8.3) - jmespath (1.6.1) - jwt (2.2.3) + jmespath (1.6.2) + jwt (2.7.1) little-plugger (1.1.4) - locale (2.1.3) + locale (2.1.4) log4r (1.1.10) logging (2.3.1) little-plugger (~> 1.1) @@ -107,58 +115,63 @@ GEM minitar (0.9) molinillo (0.8.0) multi_json (1.15.0) - multipart-post (2.2.3) - net-http-persistent (4.0.1) + multipart-post (2.4.0) + net-http-persistent (4.0.2) connection_pool (~> 2.2) - net-scp (1.2.1) - net-ssh (>= 2.6.5) - net-ssh (6.1.0) + net-scp (4.0.0) + net-ssh (>= 2.6.5, < 8.0.0) + net-ssh (7.2.1) net-ssh-krb (0.5.1) gssapi (~> 1.3.0) net-ssh (>= 2.0) - nori (2.6.0) - optimist (3.0.1) - orchestrator_client (0.6.1) + nkf (0.2.0) + nori (2.7.0) + bigdecimal + optimist (3.1.0) + orchestrator_client (0.7.0) faraday (~> 1.4) net-http-persistent (~> 4.0) - public_suffix (4.0.7) - puppet (7.17.0) + prime (0.1.2) + forwardable + singleton + public_suffix (5.0.4) + puppet (8.5.1) concurrent-ruby (~> 1.0) deep_merge (~> 1.0) - facter (> 2.0.1, < 5) - fast_gettext (>= 1.1, < 3) - hiera (>= 3.2.1, < 4) + facter (>= 4.3.0, < 5) + fast_gettext (>= 2.1, < 3) locale (~> 2.1) - multi_json (~> 1.10) + multi_json (~> 1.13) puppet-resource_api (~> 1.5) scanf (~> 1.0) semantic_puppet (~> 1.0) - puppet-resource_api (1.8.14) + puppet-resource_api (1.9.0) hocon (>= 1.0) - puppet-strings (2.9.0) - rgen - yard (~> 0.9.5) + puppet-strings (4.1.2) + rgen (~> 0.9) + yard (~> 0.9) puppet_forge (3.2.0) faraday (~> 1.3) faraday_middleware (~> 1.0) minitar semantic_puppet (~> 1.0) - puppetfile-resolver (0.6.1) + puppetfile-resolver (0.6.3) molinillo (~> 0.6) semantic_puppet (~> 1.0) - r10k (3.15.0) + r10k (3.16.0) colored2 (= 3.1.2) cri (>= 2.15.10) fast_gettext (>= 1.1.0, < 3.0.0) gettext (>= 3.0.2, < 4.0.0) - gettext-setup (~> 0.24) - jwt (~> 2.2.3) + gettext-setup (>= 0.24, < 2.0.0) + jwt (>= 2.2.3, < 2.8.0) log4r (= 1.1.10) minitar (~> 0.9) multi_json (~> 1.10) - puppet_forge (>= 2.3.0) - rexml (3.2.5) - rgen (0.9.0) + puppet_forge (>= 2.3.0, < 4.0.0) + racc (1.7.3) + rexml (3.2.6) + rgen (0.9.1) ruby2_keywords (0.0.5) ruby_smb (1.1.0) bindata @@ -167,14 +180,14 @@ GEM rubyntlm (0.6.3) rubyzip (2.3.2) scanf (1.0.0) - semantic_puppet (1.0.4) + semantic_puppet (1.1.0) + singleton (0.2.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) text (1.3.1) - thor (1.2.1) - unicode-display_width (2.2.0) - webrick (1.7.0) - windows_error (0.1.4) + thor (1.3.1) + unicode-display_width (2.5.0) + windows_error (0.1.5) winrm (2.3.6) builder (>= 2.1.2) erubi (~> 1.8) @@ -189,8 +202,7 @@ GEM logging (>= 1.6.1, < 3.0) rubyzip (~> 2.0) winrm (~> 2.0) - yard (0.9.28) - webrick (~> 1.7.0) + yard (0.9.36) PLATFORMS ruby @@ -199,4 +211,4 @@ DEPENDENCIES bolt BUNDLED WITH - 2.3.9 + 2.5.6 diff --git a/pkgs/tools/admin/puppet/puppet-bolt/gemset.nix b/pkgs/tools/admin/puppet/puppet-bolt/gemset.nix index fc02ba396183..df8e2c3fb8ce 100644 --- a/pkgs/tools/admin/puppet/puppet-bolt/gemset.nix +++ b/pkgs/tools/admin/puppet/puppet-bolt/gemset.nix @@ -5,30 +5,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "022r3m9wdxljpbya69y2i3h9g3dhhfaqzidf95m6qjzms792jvgp"; + sha256 = "0irbdwkkjwzajq1ip6ba46q49sxnrl2cw7ddkdhsfhb6aprnm3vr"; type = "gem"; }; - version = "2.8.0"; + version = "2.8.6"; }; aws-eventstream = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1pyis1nvnbjxk12a43xvgj2gv0mvp4cnkc1gzw0v1018r61399gz"; + sha256 = "0gvdg4yx4p9av2glmp7vsxhs0n8fj1ga9kq2xdb8f95j7b04qhzi"; type = "gem"; }; - version = "1.2.0"; + version = "1.3.0"; }; aws-partitions = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0af0fv57wgnzn4sjbhwd504dina62i60by3npl14ad4bc2aw7pnc"; + sha256 = "0mydgvc5wn4adsic86907hzyfhgvzaq6nr394pnvk83ryv4zx77p"; type = "gem"; }; - version = "1.607.0"; + version = "1.899.0"; }; aws-sdk-core = { dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"]; @@ -36,10 +36,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "164abp3cvmvfa2qsgzbxvkafbhwbgn3qwknp0amwmxw5nwvz8p3s"; + sha256 = "0dlalj0pw6nfmmfqddjj8b5rv6lq1hqdq19im3s8fjq5ln5ij8lr"; type = "gem"; }; - version = "3.131.2"; + version = "3.191.4"; }; aws-sdk-ec2 = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -47,10 +47,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1c56an4cmvr1ync8pif588b4alvv8zfchna092xjbdzx4ip1yrfg"; + sha256 = "19gfcb07kvywx9ymdf80k4i3yc61h41cdxnygp7197h92ff4qxhv"; type = "gem"; }; - version = "1.322.0"; + version = "1.444.0"; }; aws-sigv4 = { dependencies = ["aws-eventstream"]; @@ -58,20 +58,40 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xp7diwq7nv4vvxrl9x3lis2l4x6bissrfzbfyy6rv5bmj5w109z"; + sha256 = "1g3w27wzjy4si6kp49w10as6ml6g6zl3xrfqs5ikpfciidv9kpc4"; type = "gem"; }; - version = "1.5.0"; + version = "1.8.0"; + }; + base64 = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g"; + type = "gem"; + }; + version = "0.2.0"; + }; + bigdecimal = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0cq1c29zbkcxgdihqisirhcw76xc768z2zpd5vbccpq0l1lv76g7"; + type = "gem"; + }; + version = "3.1.7"; }; bindata = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "06lqi4svq5qls9f7nnvd2zmjdqmi2sf82sq78ci5d78fq0z5x2vr"; + sha256 = "08r67nglsqnxrbn803szf5bdnqhchhq8kf2by94f37fcl65wpp19"; type = "gem"; }; - version = "2.4.10"; + version = "2.5.0"; }; bolt = { dependencies = ["CFPropertyList" "addressable" "aws-sdk-ec2" "concurrent-ruby" "ffi" "hiera-eyaml" "jwt" "logging" "minitar" "net-scp" "net-ssh" "net-ssh-krb" "orchestrator_client" "puppet" "puppet-resource_api" "puppet-strings" "puppetfile-resolver" "r10k" "ruby_smb" "terminal-table" "winrm" "winrm-fs"]; @@ -79,10 +99,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0jshg2b2j24zgkh2nldwjqxm43dz9val6scxsjvq5kg3bwkdrby8"; + sha256 = "1abj694v2asrlzpr68shy3whf73ajk6626zqy6mhmyy8qmg8i19h"; type = "gem"; }; - version = "3.24.0"; + version = "3.28.0"; }; builder = { groups = ["default"]; @@ -95,14 +115,15 @@ version = "3.2.4"; }; CFPropertyList = { + dependencies = ["base64" "nkf" "rexml"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0hadm41xr1fq3qp74jd9l5q8l0j9083rgklgzsilllwaav7qrrid"; + sha256 = "0k1w5i4lb1z941m7ds858nly33f3iv12wvr1zav5x3fa99hj2my4"; type = "gem"; }; - version = "2.3.6"; + version = "3.0.7"; }; colored2 = { groups = ["default"]; @@ -119,20 +140,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0s4fpn3mqiizpmpy2a24k4v365pv75y50292r8ajrv4i1p5b2k14"; + sha256 = "1qh1b14jwbbj242klkyz5fc7npd4j0mvndz62gajhvl1l3wd7zc2"; type = "gem"; }; - version = "1.1.10"; + version = "1.2.3"; }; connection_pool = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ffdxhgirgc86qb42yvmfj6v1v0x4lvi0pxn9zhghkff44wzra0k"; + sha256 = "1x32mcpm2cl5492kd6lbjbaf17qsssmpx9kdyr7z1wcif2cwyh0g"; type = "gem"; }; - version = "2.2.5"; + version = "2.4.1"; }; cri = { groups = ["default"]; @@ -159,10 +180,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "09l8lz3j00m898li0yfsnb6ihc63rdvhw3k5xczna5zrjk104f2l"; + sha256 = "08s75vs9cxlc4r1q2bjg4br8g9wc5lc5x5vl0vv4zq5ivxsdpgi7"; type = "gem"; }; - version = "1.10.0"; + version = "1.12.0"; }; facter = { dependencies = ["hocon" "thor"]; @@ -170,10 +191,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "16xwli99vqj5329wzmf0ifzikllrym46scm9xp28syfygsrz39j0"; + sha256 = "0pxpldfcf40dr9khra3sa131ij7gzd97bba2vpw89c785pl736a7"; type = "gem"; }; - version = "4.2.10"; + version = "4.6.1"; }; faraday = { dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"]; @@ -181,10 +202,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "00palwawk897p5gypw5wjrh93d4p0xz2yl9w93yicb4kq7amh8d4"; + sha256 = "1c760q0ks4vj4wmaa7nh1dgvgqiwaw0mjr7v8cymy7i3ffgjxx90"; type = "gem"; }; - version = "1.10.0"; + version = "1.10.3"; }; faraday-em_http = { groups = ["default"]; @@ -303,31 +324,41 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ci71w9jb979c379c7vzm88nc3k6lf68kbrsgw9nlx5g4hng0s78"; + sha256 = "112gsrqah2w03kgi9mjsn6hl74mrwckphf223h36iayc4djf4lq2"; type = "gem"; }; - version = "1.1.2"; + version = "2.3.0"; }; ffi = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1862ydmclzy1a0cjbvm8dz7847d9rch495ib0zb64y84d3xd4bkg"; + sha256 = "1yvii03hcgqj30maavddqamqy50h7y6xcn2wcyq72wn823zl4ckd"; type = "gem"; }; - version = "1.15.5"; + version = "1.16.3"; }; - gettext = { - dependencies = ["locale" "text"]; + forwardable = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0764vj7gacn0aypm2bf6m46dzjzwzrjlmbyx6qwwwzbmi94r40wr"; + sha256 = "1b5g1i3xdvmxxpq4qp0z4v78ivqnazz26w110fh4cvzsdayz8zgi"; type = "gem"; }; - version = "3.2.9"; + version = "1.3.3"; + }; + gettext = { + dependencies = ["erubi" "locale" "prime" "racc" "text"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "16h0kda5z4s4zqygyk0f52xzs9mlz9r4lnhjwk729hhmdbz68a19"; + type = "gem"; + }; + version = "3.4.9"; }; gettext-setup = { dependencies = ["fast_gettext" "gettext" "locale"]; @@ -335,10 +366,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vfnayz20xd8q0sz27816kvgia9z2dpj9fy7z15da239wmmnz7ga"; + sha256 = "1v6liz934gmx1wv1z6bvpim6aanbr66xjhb90lc9z1jxayczmm1a"; type = "gem"; }; - version = "0.34"; + version = "1.1.0"; }; gssapi = { dependencies = ["ffi"]; @@ -362,46 +393,36 @@ }; version = "1.4.0"; }; - hiera = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "01kh882rp9xdy2cx2avax79ywpfxqhnwsn05cxwyiqrhfkk36p4x"; - type = "gem"; - }; - version = "3.9.0"; - }; hiera-eyaml = { dependencies = ["highline" "optimist"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1iydhxavcniprqly7ad8c2413jwvrdf7zjmzl3xxlnkmq9900zf9"; + sha256 = "0m7zr33qfhvwxqx4kh61rabmbkhp3y4ans66kfpgrzjyvj1vdb6d"; type = "gem"; }; - version = "3.3.0"; + version = "3.4.0"; }; highline = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0yclf57n2j3cw8144ania99h1zinf8q3f5zrhqa754j6gl95rp9d"; + sha256 = "02ghhvigqbq4252gsi4w8a9klkdkybmbz29ghfp1y6sqzlcb466a"; type = "gem"; }; - version = "2.0.3"; + version = "3.0.1"; }; hocon = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0mifv4vfvppfdpkd0cwgy634sj0aplz6ys84sp8s11qrnm6vlnmn"; + sha256 = "106dmzsl1bxkqw5xaif012nwwfr3k9wff32cqc77ibjngknj6477"; type = "gem"; }; - version = "1.3.1"; + version = "1.4.0"; }; httpclient = { groups = ["default"]; @@ -418,20 +439,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1mnvb80cdg7fzdcs3xscv21p28w4igk5sj5m7m81xp8v2ks87jj0"; + sha256 = "1cdw9vw2qly7q7r41s7phnac264rbsdqgj4l0h4nqgbjb157g393"; type = "gem"; }; - version = "1.6.1"; + version = "1.6.2"; }; jwt = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "036i5fc09275ms49mw43mh4i9pwaap778ra2pmx06ipzyyjl6bfs"; + sha256 = "16z11alz13vfc4zs5l3fk6n51n2jw9lskvc4h4prnww0y797qd87"; type = "gem"; }; - version = "2.2.3"; + version = "2.7.1"; }; little-plugger = { groups = ["default"]; @@ -448,10 +469,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0997465kxvpxm92fiwc2b16l49mngk7b68g5k35ify0m3q0yxpdn"; + sha256 = "107pm4ccmla23z963kyjldgngfigvchnv85wr6m69viyxxrrjbsj"; type = "gem"; }; - version = "2.1.3"; + version = "2.1.4"; }; log4r = { groups = ["default"]; @@ -509,10 +530,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1n0kvnrcrjn31jb97kcx3wj1f5kkjza7yygfq8rxzf3i57g7jaa6"; + sha256 = "1033p35166d9p97y4vajbbvr13pmkk9zwn7sylxpmk9jrpk8ri67"; type = "gem"; }; - version = "2.2.3"; + version = "2.4.0"; }; net-http-persistent = { dependencies = ["connection_pool"]; @@ -520,10 +541,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1yfypmfg1maf20yfd22zzng8k955iylz7iip0mgc9lazw36g8li7"; + sha256 = "0i1as2lgnw7b4jid0gw5glv5hnxz36nmfsbr9rmxbcap72ijgy03"; type = "gem"; }; - version = "4.0.1"; + version = "4.0.2"; }; net-scp = { dependencies = ["net-ssh"]; @@ -531,20 +552,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0b0jqrcsp4bbi4n4mzyf70cp2ysyp6x07j8k8cqgxnvb4i3a134j"; + sha256 = "1si2nq9l6jy5n2zw1q59a5gaji7v9vhy8qx08h4fg368906ysbdk"; type = "gem"; }; - version = "1.2.1"; + version = "4.0.0"; }; net-ssh = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0jp3jgcn8cij407xx9ldb5h9c6jv13jc4cf6kk2idclz43ww21c9"; + sha256 = "1i01340c4i144vvn3x54lc2rb77ch829qipl1rh6rqwm3yxzml9w"; type = "gem"; }; - version = "6.1.0"; + version = "7.2.1"; }; net-ssh-krb = { dependencies = ["gssapi" "net-ssh"]; @@ -557,25 +578,36 @@ }; version = "0.5.1"; }; - nori = { + nkf = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "066wc774a2zp4vrq3k7k8p0fhv30ymqmxma1jj7yg5735zls8agn"; + sha256 = "09piyp2pd74klb9wcn0zw4mb5l0k9wzwppxggxi1yi95l2ym3hgv"; type = "gem"; }; - version = "2.6.0"; + version = "0.2.0"; + }; + nori = { + dependencies = ["bigdecimal"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "12wfv36jzc0978ij5c56nnfh5k8ax574njawigs98ysmp1x5s2ql"; + type = "gem"; + }; + version = "2.7.0"; }; optimist = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vg2chy1cfmdj6c1gryl8zvjhhmb3plwgyh1jfnpq4fnfqv7asrk"; + sha256 = "0q4jqq3v1bxlfr9jgqmahnygkvl81lr6s1rhm8qg66c9xr9nz241"; type = "gem"; }; - version = "3.0.1"; + version = "3.1.0"; }; orchestrator_client = { dependencies = ["faraday" "net-http-persistent"]; @@ -583,31 +615,42 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1lfispcl4sr1c7am22j55sj5xvsky422b3bh7645j3n12zqg7pp2"; + sha256 = "05jb10gjffrj5wy8ps1chki3n0z734bx1nx7a6wahh7cjnrqqmsg"; type = "gem"; }; - version = "0.6.1"; + version = "0.7.0"; + }; + prime = { + dependencies = ["forwardable" "singleton"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1973kz8lbck6ga5v42f55jk8b8pnbgwp9p67dl1xw15gvz55dsfl"; + type = "gem"; + }; + version = "0.1.2"; }; public_suffix = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1f3knlwfwm05sfbaihrxm4g772b79032q14c16q4b38z8bi63qcb"; + sha256 = "1bni4qjrsh2q49pnmmd6if4iv3ak36bd2cckrs6npl111n769k9m"; type = "gem"; }; - version = "4.0.7"; + version = "5.0.4"; }; puppet = { - dependencies = ["concurrent-ruby" "deep_merge" "facter" "fast_gettext" "hiera" "locale" "multi_json" "puppet-resource_api" "scanf" "semantic_puppet"]; + dependencies = ["concurrent-ruby" "deep_merge" "facter" "fast_gettext" "locale" "multi_json" "puppet-resource_api" "scanf" "semantic_puppet"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1lfpmfjc95a7s19h1q0hwjcm6gzgiaxklpayxy32p8c2hzwzjk00"; + sha256 = "1dhax5d40c03n0lffy10mvs0c3mgfqq1dsc3gb5ihgb2l1sbs0a7"; type = "gem"; }; - version = "7.17.0"; + version = "8.5.1"; }; puppet-resource_api = { dependencies = ["hocon"]; @@ -615,10 +658,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1dchnnrrx0wd0pcrry5aaqwnbbgvp81g6f3brqhgvkc397kly3lj"; + sha256 = "0rxy5s7hl707x4sc1b4v2yqyii6pkym2gmsam3ri0f0xmmzyg0jb"; type = "gem"; }; - version = "1.8.14"; + version = "1.9.0"; }; puppet-strings = { dependencies = ["rgen" "yard"]; @@ -626,10 +669,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0w3rc5swdin44an1l5jgnljv46yflcd2d2zvakd54nvdh0r30ypx"; + sha256 = "0zcs25xxkfymks4knilryfpr8k0v7z3nazdm61v7a1x4rxhs7sxp"; type = "gem"; }; - version = "2.9.0"; + version = "4.1.2"; }; puppet_forge = { dependencies = ["faraday" "faraday_middleware" "minitar" "semantic_puppet"]; @@ -648,10 +691,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0d36nzdlb7gvsikbvkm840qd5xglyph6ry395ynch6g75vlkr5xi"; + sha256 = "1kil8sbrl9c34ygrgm35893zygr4j6fjvfhbs4rs0b5n3cjrainm"; type = "gem"; }; - version = "0.6.1"; + version = "0.6.3"; }; r10k = { dependencies = ["colored2" "cri" "fast_gettext" "gettext" "gettext-setup" "jwt" "log4r" "minitar" "multi_json" "puppet_forge"]; @@ -659,30 +702,40 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0hdlq01186w9bx270iyyk10w6jccxc4f0dx7kxgg6lnl1rsnkd4i"; + sha256 = "198bar06xqap19j9y831j98ahd3w4ky2k0klwaa39sa1p6fpcjdi"; type = "gem"; }; - version = "3.15.0"; + version = "3.16.0"; + }; + racc = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp"; + type = "gem"; + }; + version = "1.7.3"; }; rexml = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; + sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; type = "gem"; }; - version = "3.2.5"; + version = "3.2.6"; }; rgen = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "18ryflbkc2pvbb7jwl35pnyb1mlx9fby85dnqi7hsbz78mzsf87n"; + sha256 = "1abg3frzak6inwbr4caq6mfd5spx37xnwlxss8615jr12wh525vp"; type = "gem"; }; - version = "0.9.0"; + version = "0.9.1"; }; ruby2_keywords = { groups = ["default"]; @@ -740,10 +793,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0gg1bizlgb8wswxwy3irgppqvd6mlr27qsp0fzpm459wffzq10sx"; + sha256 = "0ndqm3jnpdlwkk1jwqdyyb7yw7gv6r4kmjs30g09ap8siv80ilaj"; type = "gem"; }; - version = "1.0.4"; + version = "1.1.0"; + }; + singleton = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0qq54imvbksnckzf9hrq9bjzcdb0n8wfv6l5jc0di10n88277jx6"; + type = "gem"; + }; + version = "0.2.0"; }; terminal-table = { dependencies = ["unicode-display_width"]; @@ -771,40 +834,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0inl77jh4ia03jw3iqm5ipr76ghal3hyjrd6r8zqsswwvi9j2xdi"; + sha256 = "1vq1fjp45az9hfp6fxljhdrkv75cvbab1jfrwcw738pnsiqk8zps"; type = "gem"; }; - version = "1.2.1"; + version = "1.3.1"; }; unicode-display_width = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1nlfck6z986fngp0r74maswmyb1rcksc8xc3mfpw9cj23c3s8zwn"; + sha256 = "1d0azx233nags5jx3fqyr23qa2rhgzbhv8pxp46dgbg1mpf82xky"; type = "gem"; }; - version = "2.2.0"; - }; - webrick = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1d4cvgmxhfczxiq5fr534lmizkhigd15bsx5719r5ds7k7ivisc7"; - type = "gem"; - }; - version = "1.7.0"; + version = "2.5.0"; }; windows_error = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0zmm2if81ia33hp18h8yrgnpgcdyrxziyf185r0zx8qy7n8mlchl"; + sha256 = "1825v7hvcl0xss6scyfv76i0cs0kvj72wy20kn7xqylw9avjga2r"; type = "gem"; }; - version = "0.1.4"; + version = "0.1.5"; }; winrm = { dependencies = ["builder" "erubi" "gssapi" "gyoku" "httpclient" "logging" "nori" "rubyntlm"]; @@ -829,14 +882,13 @@ version = "1.3.5"; }; yard = { - dependencies = ["webrick"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0p1if8g9ww6hlpfkphqv3y1z0rbqnnrvb38c5qhnala0f8qpw6yk"; + sha256 = "1r0b8w58p7gy06wph1qdjv2p087hfnmhd9jk23vjdj803dn761am"; type = "gem"; }; - version = "0.9.28"; + version = "0.9.36"; }; } From 79f0d47bb9daca4c191be13e16633ce5bd0fb183 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:22:36 +0100 Subject: [PATCH 0054/1387] puppet-bolt: add meta.changelog, maintainers, and remove `with lib;` --- .../admin/puppet/puppet-bolt/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/admin/puppet/puppet-bolt/default.nix b/pkgs/tools/admin/puppet/puppet-bolt/default.nix index cf6ffb6fb893..23047c3cff47 100644 --- a/pkgs/tools/admin/puppet/puppet-bolt/default.nix +++ b/pkgs/tools/admin/puppet/puppet-bolt/default.nix @@ -1,4 +1,11 @@ -{ lib, bundlerApp, makeWrapper, bundlerUpdateScript, puppet-bolt, testers }: +{ + bundlerApp, + bundlerUpdateScript, + lib, + makeWrapper, + puppet-bolt, + testers, +}: bundlerApp { pname = "bolt"; @@ -26,11 +33,13 @@ bundlerApp { updateScript = bundlerUpdateScript "puppet-bolt"; }; - meta = with lib; { + meta = { description = "Execute commands remotely over SSH and WinRM"; homepage = "https://github.com/puppetlabs/bolt"; - license = licenses.asl20; - maintainers = with maintainers; [ uvnikita ]; - platforms = platforms.unix; + changelog = "https://github.com/puppetlabs/bolt/blob/main/CHANGELOG.md"; + license = lib.licenses.asl20; + mainProgram = "bolt"; + maintainers = with lib.maintainers; [ uvnikita anthonyroussel ]; + platforms = lib.platforms.unix; }; } From 408f89c6ccc85df7b45474c2c436bf086e44cb5f Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:23:28 +0100 Subject: [PATCH 0055/1387] puppet-bolt: move to pkgs/by-name --- pkgs/{tools/admin/puppet => by-name/pu}/puppet-bolt/Gemfile | 0 .../{tools/admin/puppet => by-name/pu}/puppet-bolt/Gemfile.lock | 0 pkgs/{tools/admin/puppet => by-name/pu}/puppet-bolt/gemset.nix | 0 .../default.nix => by-name/pu/puppet-bolt/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 5 files changed, 2 deletions(-) rename pkgs/{tools/admin/puppet => by-name/pu}/puppet-bolt/Gemfile (100%) rename pkgs/{tools/admin/puppet => by-name/pu}/puppet-bolt/Gemfile.lock (100%) rename pkgs/{tools/admin/puppet => by-name/pu}/puppet-bolt/gemset.nix (100%) rename pkgs/{tools/admin/puppet/puppet-bolt/default.nix => by-name/pu/puppet-bolt/package.nix} (100%) diff --git a/pkgs/tools/admin/puppet/puppet-bolt/Gemfile b/pkgs/by-name/pu/puppet-bolt/Gemfile similarity index 100% rename from pkgs/tools/admin/puppet/puppet-bolt/Gemfile rename to pkgs/by-name/pu/puppet-bolt/Gemfile diff --git a/pkgs/tools/admin/puppet/puppet-bolt/Gemfile.lock b/pkgs/by-name/pu/puppet-bolt/Gemfile.lock similarity index 100% rename from pkgs/tools/admin/puppet/puppet-bolt/Gemfile.lock rename to pkgs/by-name/pu/puppet-bolt/Gemfile.lock diff --git a/pkgs/tools/admin/puppet/puppet-bolt/gemset.nix b/pkgs/by-name/pu/puppet-bolt/gemset.nix similarity index 100% rename from pkgs/tools/admin/puppet/puppet-bolt/gemset.nix rename to pkgs/by-name/pu/puppet-bolt/gemset.nix diff --git a/pkgs/tools/admin/puppet/puppet-bolt/default.nix b/pkgs/by-name/pu/puppet-bolt/package.nix similarity index 100% rename from pkgs/tools/admin/puppet/puppet-bolt/default.nix rename to pkgs/by-name/pu/puppet-bolt/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2581d85eeba0..0f0078e2e2c2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19530,8 +19530,6 @@ with pkgs; pup = callPackage ../development/tools/pup { }; - puppet-bolt = callPackage ../tools/admin/puppet/puppet-bolt { }; - puppeteer-cli = callPackage ../tools/graphics/puppeteer-cli { }; pyrseas = callPackage ../development/tools/database/pyrseas { }; From fd3715a45d5c90bd5aef993b0da99063c6d303c7 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:31:44 +0100 Subject: [PATCH 0056/1387] r10k: add anthonyroussel to maintainers --- pkgs/tools/system/r10k/default.nix | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/system/r10k/default.nix b/pkgs/tools/system/r10k/default.nix index 75b75d00253e..9b117c376b0f 100644 --- a/pkgs/tools/system/r10k/default.nix +++ b/pkgs/tools/system/r10k/default.nix @@ -1,4 +1,12 @@ -{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, git, gnutar, gzip }: +{ + bundlerApp, + bundlerUpdateScript, + git, + gnutar, + gzip, + lib, + makeWrapper, +}: bundlerApp { pname = "r10k"; @@ -8,17 +16,23 @@ bundlerApp { nativeBuildInputs = [ makeWrapper ]; postBuild = '' - wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]} + wrapProgram $out/bin/r10k --prefix PATH : ${ + lib.makeBinPath [ + git + gnutar + gzip + ] + } ''; passthru.updateScript = bundlerUpdateScript "r10k"; - meta = with lib; { + meta = { description = "Puppet environment and module deployment"; - homepage = "https://github.com/puppetlabs/r10k"; - license = licenses.asl20; - maintainers = with maintainers; [ zimbatm manveru nicknovitski ]; - platforms = platforms.unix; + homepage = "https://github.com/puppetlabs/r10k"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ zimbatm manveru nicknovitski anthonyroussel ]; + platforms = lib.platforms.unix; mainProgram = "r10k"; }; } From 8928b12689971f57edf37caa75a7f26bb3836258 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:33:02 +0100 Subject: [PATCH 0057/1387] r10k: 3.4.1 -> 4.0.1 https://github.com/puppetlabs/r10k/compare/3.4.1...4.0.1 --- pkgs/tools/system/r10k/Gemfile.lock | 64 +++++++----- pkgs/tools/system/r10k/gemset.nix | 147 ++++++++++++++++++++++------ 2 files changed, 154 insertions(+), 57 deletions(-) diff --git a/pkgs/tools/system/r10k/Gemfile.lock b/pkgs/tools/system/r10k/Gemfile.lock index 9f55e273ef25..2fa564f46cbd 100644 --- a/pkgs/tools/system/r10k/Gemfile.lock +++ b/pkgs/tools/system/r10k/Gemfile.lock @@ -2,41 +2,55 @@ GEM remote: https://rubygems.org/ specs: colored2 (3.1.2) - cri (2.15.10) - faraday (0.17.3) - multipart-post (>= 1.2, < 3) - faraday_middleware (0.13.1) - faraday (>= 0.7.4, < 1.0) - fast_gettext (1.1.2) - gettext (3.2.9) + cri (2.15.11) + erubi (1.12.0) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-follow_redirects (0.3.0) + faraday (>= 1, < 3) + faraday-net_http (3.1.0) + net-http + fast_gettext (2.3.0) + forwardable (1.3.3) + gettext (3.4.9) + erubi locale (>= 2.0.5) + prime + racc text (>= 1.3.0) - gettext-setup (0.34) - fast_gettext (~> 1.1.0) - gettext (>= 3.0.2, < 3.3.0) + gettext-setup (1.1.0) + fast_gettext (~> 2.1) + gettext (~> 3.4) locale - locale (2.1.3) + jwt (2.7.1) + locale (2.1.4) log4r (1.1.10) minitar (0.9) - multi_json (1.14.1) - multipart-post (2.1.1) - puppet_forge (2.3.3) - faraday (>= 0.9.0, < 0.18.0, != 0.13.1) - faraday_middleware (>= 0.9.0, < 0.14.0) - gettext-setup (~> 0.11) + multi_json (1.15.0) + net-http (0.4.1) + uri + prime (0.1.2) + forwardable + singleton + puppet_forge (5.0.3) + faraday (~> 2.0) + faraday-follow_redirects (~> 0.3.0) minitar semantic_puppet (~> 1.0) - r10k (3.4.1) + r10k (4.0.1) colored2 (= 3.1.2) - cri (>= 2.15.10, < 3.0.0) - fast_gettext (~> 1.1.0) - gettext (>= 3.0.2, < 3.3.0) - gettext-setup (~> 0.24) + cri (>= 2.15.10) + gettext-setup (>= 0.24, < 2.0) + jwt (>= 2.2.3, < 2.8.0) log4r (= 1.1.10) + minitar (~> 0.9) multi_json (~> 1.10) - puppet_forge (~> 2.3.0) - semantic_puppet (1.0.2) + puppet_forge (>= 4.1, < 6) + racc (1.7.3) + semantic_puppet (1.1.0) + singleton (0.2.0) text (1.3.1) + uri (0.13.0) PLATFORMS ruby @@ -45,4 +59,4 @@ DEPENDENCIES r10k BUNDLED WITH - 2.1.4 + 2.5.6 diff --git a/pkgs/tools/system/r10k/gemset.nix b/pkgs/tools/system/r10k/gemset.nix index 9b46cce00da9..d00446690566 100644 --- a/pkgs/tools/system/r10k/gemset.nix +++ b/pkgs/tools/system/r10k/gemset.nix @@ -14,53 +14,84 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1h45kw2s4bjwgbfsrncs30av0j4zjync3wmcc6lpdnzbcxs7yms2"; + sha256 = "1bhsgnjav94mz5vf3305gxz1g34gm9kxvnrn1dkz530r8bpj0hr5"; type = "gem"; }; - version = "2.15.10"; + version = "2.15.11"; }; - faraday = { - dependencies = ["multipart-post"]; + erubi = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "13aghksmni2sl15y7wfpx6k5l3lfd8j9gdyqi6cbw6jgc7bqyyn2"; + sha256 = "08s75vs9cxlc4r1q2bjg4br8g9wc5lc5x5vl0vv4zq5ivxsdpgi7"; type = "gem"; }; - version = "0.17.3"; + version = "1.12.0"; }; - faraday_middleware = { + faraday = { + dependencies = ["faraday-net_http"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1qqb1rmk0f9m82iijjlqadh5yby1bhnr6svjk9vxdvh6f181988s"; + type = "gem"; + }; + version = "2.9.0"; + }; + faraday-follow_redirects = { dependencies = ["faraday"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1a93rs58bakqck7bcihasz66a1riy22h2zpwrpmb13gp8mw3wkmr"; + sha256 = "1y87p3yk15bjbk0z9mf01r50lzxvp7agr56lbm9gxiz26mb9fbfr"; type = "gem"; }; - version = "0.13.1"; + version = "0.3.0"; + }; + faraday-net_http = { + dependencies = ["net-http"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "17w51yk4rrm9rpnbc3x509s619kba0jga3qrj4b17l30950vw9qn"; + type = "gem"; + }; + version = "3.1.0"; }; fast_gettext = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ci71w9jb979c379c7vzm88nc3k6lf68kbrsgw9nlx5g4hng0s78"; + sha256 = "112gsrqah2w03kgi9mjsn6hl74mrwckphf223h36iayc4djf4lq2"; type = "gem"; }; - version = "1.1.2"; + version = "2.3.0"; }; - gettext = { - dependencies = ["locale" "text"]; + forwardable = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0764vj7gacn0aypm2bf6m46dzjzwzrjlmbyx6qwwwzbmi94r40wr"; + sha256 = "1b5g1i3xdvmxxpq4qp0z4v78ivqnazz26w110fh4cvzsdayz8zgi"; type = "gem"; }; - version = "3.2.9"; + version = "1.3.3"; + }; + gettext = { + dependencies = ["erubi" "locale" "prime" "racc" "text"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "16h0kda5z4s4zqygyk0f52xzs9mlz9r4lnhjwk729hhmdbz68a19"; + type = "gem"; + }; + version = "3.4.9"; }; gettext-setup = { dependencies = ["fast_gettext" "gettext" "locale"]; @@ -68,20 +99,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vfnayz20xd8q0sz27816kvgia9z2dpj9fy7z15da239wmmnz7ga"; + sha256 = "1v6liz934gmx1wv1z6bvpim6aanbr66xjhb90lc9z1jxayczmm1a"; type = "gem"; }; - version = "0.34"; + version = "1.1.0"; + }; + jwt = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "16z11alz13vfc4zs5l3fk6n51n2jw9lskvc4h4prnww0y797qd87"; + type = "gem"; + }; + version = "2.7.1"; }; locale = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0997465kxvpxm92fiwc2b16l49mngk7b68g5k35ify0m3q0yxpdn"; + sha256 = "107pm4ccmla23z963kyjldgngfigvchnv85wr6m69viyxxrrjbsj"; type = "gem"; }; - version = "2.1.3"; + version = "2.1.4"; }; log4r = { groups = ["default"]; @@ -108,52 +149,84 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xy54mjf7xg41l8qrg1bqri75agdqmxap9z466fjismc1rn2jwfr"; + sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z"; type = "gem"; }; - version = "1.14.1"; + version = "1.15.0"; }; - multipart-post = { + net-http = { + dependencies = ["uri"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1zgw9zlwh2a6i1yvhhc4a84ry1hv824d6g2iw2chs3k5aylpmpfj"; + sha256 = "10n2n9aq00ih8v881af88l1zyrqgs5cl3njdw8argjwbl5ggqvm9"; type = "gem"; }; - version = "2.1.1"; + version = "0.4.1"; + }; + prime = { + dependencies = ["forwardable" "singleton"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1973kz8lbck6ga5v42f55jk8b8pnbgwp9p67dl1xw15gvz55dsfl"; + type = "gem"; + }; + version = "0.1.2"; }; puppet_forge = { - dependencies = ["faraday" "faraday_middleware" "gettext-setup" "minitar" "semantic_puppet"]; + dependencies = ["faraday" "faraday-follow_redirects" "minitar" "semantic_puppet"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1lyd10ai27lxylywjxpwyxikx5hblsdchid3chymrrv55x217cny"; + sha256 = "168w15y5rnsm6wspqxn0wg543r89cbajc8wky0sg9vzpgpr27176"; type = "gem"; }; - version = "2.3.3"; + version = "5.0.3"; }; r10k = { - dependencies = ["colored2" "cri" "fast_gettext" "gettext" "gettext-setup" "log4r" "multi_json" "puppet_forge"]; + dependencies = ["colored2" "cri" "gettext-setup" "jwt" "log4r" "minitar" "multi_json" "puppet_forge"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0nlckw4yr2ph14i9h0blsdb5zmrzqh3aknkm0dg3hrcx8ygncai6"; + sha256 = "1g7bx9k112mnxpnasj59zaz2c7x51ia856b5q41kfr3i9y2q3k78"; type = "gem"; }; - version = "3.4.1"; + version = "4.0.1"; + }; + racc = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp"; + type = "gem"; + }; + version = "1.7.3"; }; semantic_puppet = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "046m45rdwpvfz77s7bxid27c89w329c1nj593p74wdd8kknf0nv0"; + sha256 = "0ndqm3jnpdlwkk1jwqdyyb7yw7gv6r4kmjs30g09ap8siv80ilaj"; type = "gem"; }; - version = "1.0.2"; + version = "1.1.0"; + }; + singleton = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0qq54imvbksnckzf9hrq9bjzcdb0n8wfv6l5jc0di10n88277jx6"; + type = "gem"; + }; + version = "0.2.0"; }; text = { groups = ["default"]; @@ -165,4 +238,14 @@ }; version = "1.3.1"; }; + uri = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "094gk72ckazf495qc76gk09b5i318d5l9m7bicg2wxlrjcm3qm96"; + type = "gem"; + }; + version = "0.13.0"; + }; } From bc833bf0250e61ee702deac1750e68aaf3630e62 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:34:50 +0100 Subject: [PATCH 0058/1387] r10k: add passthru.tests.version --- pkgs/tools/system/r10k/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/system/r10k/default.nix b/pkgs/tools/system/r10k/default.nix index 9b117c376b0f..ab38363ab596 100644 --- a/pkgs/tools/system/r10k/default.nix +++ b/pkgs/tools/system/r10k/default.nix @@ -6,6 +6,8 @@ gzip, lib, makeWrapper, + r10k, + testers, }: bundlerApp { @@ -25,7 +27,14 @@ bundlerApp { } ''; - passthru.updateScript = bundlerUpdateScript "r10k"; + passthru = { + tests.version = testers.testVersion { + command = "${lib.getExe r10k} version"; + package = r10k; + version = (import ./gemset.nix).r10k.version; + }; + updateScript = bundlerUpdateScript "r10k"; + }; meta = { description = "Puppet environment and module deployment"; From dc611ed73dd741ca81e94cc11bf812bb70502742 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:37:15 +0100 Subject: [PATCH 0059/1387] r10k: move to pkgs/by-name --- pkgs/{tools/system => by-name/r1}/r10k/Gemfile | 0 pkgs/{tools/system => by-name/r1}/r10k/Gemfile.lock | 0 pkgs/{tools/system => by-name/r1}/r10k/gemset.nix | 0 .../system/r10k/default.nix => by-name/r1/r10k/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 5 files changed, 2 deletions(-) rename pkgs/{tools/system => by-name/r1}/r10k/Gemfile (100%) rename pkgs/{tools/system => by-name/r1}/r10k/Gemfile.lock (100%) rename pkgs/{tools/system => by-name/r1}/r10k/gemset.nix (100%) rename pkgs/{tools/system/r10k/default.nix => by-name/r1/r10k/package.nix} (100%) diff --git a/pkgs/tools/system/r10k/Gemfile b/pkgs/by-name/r1/r10k/Gemfile similarity index 100% rename from pkgs/tools/system/r10k/Gemfile rename to pkgs/by-name/r1/r10k/Gemfile diff --git a/pkgs/tools/system/r10k/Gemfile.lock b/pkgs/by-name/r1/r10k/Gemfile.lock similarity index 100% rename from pkgs/tools/system/r10k/Gemfile.lock rename to pkgs/by-name/r1/r10k/Gemfile.lock diff --git a/pkgs/tools/system/r10k/gemset.nix b/pkgs/by-name/r1/r10k/gemset.nix similarity index 100% rename from pkgs/tools/system/r10k/gemset.nix rename to pkgs/by-name/r1/r10k/gemset.nix diff --git a/pkgs/tools/system/r10k/default.nix b/pkgs/by-name/r1/r10k/package.nix similarity index 100% rename from pkgs/tools/system/r10k/default.nix rename to pkgs/by-name/r1/r10k/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0f0078e2e2c2..f498d35a48b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19547,8 +19547,6 @@ with pkgs; qxmledit = libsForQt5.callPackage ../applications/editors/qxmledit {} ; - r10k = callPackage ../tools/system/r10k { }; - radare2 = callPackage ../development/tools/analysis/radare2 ({ lua = lua5; } // (config.radare or {})); From 5ccb83a906d114d69c938fc09a57c04de9398cb6 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:40:37 +0100 Subject: [PATCH 0060/1387] pdk: format with nixfmt-rfc-style --- pkgs/by-name/pd/pdk/package.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/pd/pdk/package.nix b/pkgs/by-name/pd/pdk/package.nix index 20d99e034d60..56270b8895b9 100644 --- a/pkgs/by-name/pd/pdk/package.nix +++ b/pkgs/by-name/pd/pdk/package.nix @@ -1,8 +1,9 @@ -{ lib, +{ bundlerApp, bundlerUpdateScript, + gnumake, + lib, makeWrapper, - gnumake }: bundlerApp { @@ -18,10 +19,10 @@ bundlerApp { passthru.updateScript = bundlerUpdateScript "pdk"; - meta = with lib; { + meta = { description = "Puppet Development Kit"; - homepage = "https://github.com/puppetlabs/pdk"; - license = licenses.asl20; - maintainers = with maintainers; [ netali ]; + homepage = "https://github.com/puppetlabs/pdk"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ netali ]; }; } From 6826d9de871ca589f1b34970c87ab5cbd1070dec Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:40:53 +0100 Subject: [PATCH 0061/1387] pdk: add anthonyroussel to maintainers --- pkgs/by-name/pd/pdk/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/pd/pdk/package.nix b/pkgs/by-name/pd/pdk/package.nix index 56270b8895b9..025f0ad13e9f 100644 --- a/pkgs/by-name/pd/pdk/package.nix +++ b/pkgs/by-name/pd/pdk/package.nix @@ -23,6 +23,6 @@ bundlerApp { description = "Puppet Development Kit"; homepage = "https://github.com/puppetlabs/pdk"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ netali ]; + maintainers = with lib.maintainers; [ netali anthonyroussel ]; }; } From 6efd3efcb147e2cae621aad1e6aa6993f63c454c Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:42:33 +0100 Subject: [PATCH 0062/1387] pdk: add passthru.tests.version, meta.changelog, meta.mainProgram --- pkgs/by-name/pd/pdk/package.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/pd/pdk/package.nix b/pkgs/by-name/pd/pdk/package.nix index 025f0ad13e9f..91bd27a53a44 100644 --- a/pkgs/by-name/pd/pdk/package.nix +++ b/pkgs/by-name/pd/pdk/package.nix @@ -4,6 +4,8 @@ gnumake, lib, makeWrapper, + pdk, + testers, }: bundlerApp { @@ -17,12 +19,20 @@ bundlerApp { wrapProgram $out/bin/pdk --prefix PATH : ${lib.makeBinPath [ gnumake ]} ''; - passthru.updateScript = bundlerUpdateScript "pdk"; + passthru = { + tests.version = testers.testVersion { + package = pdk; + version = (import ./gemset.nix).pdk.version; + }; + updateScript = bundlerUpdateScript "pdk"; + }; meta = { + changelog = "https://github.com/puppetlabs/pdk/blob/main/CHANGELOG.md"; description = "Puppet Development Kit"; homepage = "https://github.com/puppetlabs/pdk"; license = lib.licenses.asl20; + mainProgram = "pdk"; maintainers = with lib.maintainers; [ netali anthonyroussel ]; }; } From ea80fbe7c3d3d235dfbedef24ab4bd1c7b55b941 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:44:44 +0100 Subject: [PATCH 0063/1387] facter: 3.14.17 -> 4.6.1 https://github.com/puppetlabs/facter/compare/3.14.17...4.6.1 --- pkgs/tools/system/facter/Gemfile | 5 ++ pkgs/tools/system/facter/Gemfile.lock | 17 ++++++ pkgs/tools/system/facter/default.nix | 87 ++++++++++++++++++--------- pkgs/tools/system/facter/gemset.nix | 33 ++++++++++ 4 files changed, 112 insertions(+), 30 deletions(-) create mode 100644 pkgs/tools/system/facter/Gemfile create mode 100644 pkgs/tools/system/facter/Gemfile.lock create mode 100644 pkgs/tools/system/facter/gemset.nix diff --git a/pkgs/tools/system/facter/Gemfile b/pkgs/tools/system/facter/Gemfile new file mode 100644 index 000000000000..eff7af10b5d6 --- /dev/null +++ b/pkgs/tools/system/facter/Gemfile @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gem "facter" diff --git a/pkgs/tools/system/facter/Gemfile.lock b/pkgs/tools/system/facter/Gemfile.lock new file mode 100644 index 000000000000..d980285ae0f3 --- /dev/null +++ b/pkgs/tools/system/facter/Gemfile.lock @@ -0,0 +1,17 @@ +GEM + remote: https://rubygems.org/ + specs: + facter (4.6.1) + hocon (~> 1.3) + thor (>= 1.0.1, < 2.0) + hocon (1.4.0) + thor (1.3.1) + +PLATFORMS + ruby + +DEPENDENCIES + facter + +BUNDLED WITH + 2.5.6 diff --git a/pkgs/tools/system/facter/default.nix b/pkgs/tools/system/facter/default.nix index 02c48d302ac3..38d037c53efb 100644 --- a/pkgs/tools/system/facter/default.nix +++ b/pkgs/tools/system/facter/default.nix @@ -1,39 +1,66 @@ -{ lib, stdenv, fetchFromGitHub, boost, cmake, cpp-hocon, curl, leatherman, libwhereami, yaml-cpp, openssl, ruby, util-linux }: +{ + bundlerApp, + bundlerUpdateScript, + coreutils, + facter, + gnugrep, + iproute2, + lib, + makeWrapper, + nettools, + pciutils, + procps, + stdenv, + testers, + util-linux, + virt-what, + zfs, +}: -stdenv.mkDerivation rec { +bundlerApp { pname = "facter"; - version = "3.14.17"; + gemdir = ./.; + exes = [ "facter" ]; - src = fetchFromGitHub { - sha256 = "sha256-RvsUt1DyN8Xr+Xtz84mbKlDwxLewgK6qklYVdQHu6q0="; - rev = version; - repo = pname; - owner = "puppetlabs"; + nativeBuildInputs = [ makeWrapper ]; + + postBuild = + let + runtimeDependencies = + [ + coreutils + gnugrep + nettools + pciutils + procps + util-linux + ] + ++ lib.optionals stdenv.isLinux [ + iproute2 + virt-what + zfs + ]; + in + '' + wrapProgram $out/bin/facter --prefix PATH : ${lib.makeBinPath runtimeDependencies} + ''; + + passthru = { + tests.version = testers.testVersion { + command = "${lib.getExe facter} --version"; + package = facter; + version = (import ./gemset.nix).facter.version; + }; + updateScript = bundlerUpdateScript "facter"; }; - postPatch = '' - sed '1i#include ' -i lib/src/facts/glib/load_average_resolver.cc # gcc12 - ''; - - CXXFLAGS = lib.optionalString stdenv.cc.isGNU "-fpermissive -Wno-error=catch-value"; - NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lblkid"; - - cmakeFlags = [ - "-DFACTER_RUBY=${ruby}/lib/libruby${stdenv.hostPlatform.extensions.sharedLibrary}" - "-DRUBY_LIB_INSTALL=${placeholder "out"}/lib/ruby" - ]; - - env.NIX_CFLAGS_COMPILE = "-Wno-error"; - - nativeBuildInputs = [ cmake ]; - buildInputs = [ boost cpp-hocon curl leatherman libwhereami yaml-cpp openssl ruby util-linux ]; - - meta = with lib; { - homepage = "https://github.com/puppetlabs/facter"; + meta = { + changelog = "https://www.puppet.com/docs/puppet/latest/release_notes_facter.html"; description = "A system inventory tool"; - license = licenses.asl20; - maintainers = [ maintainers.womfoo ]; - platforms = platforms.unix; + homepage = "https://github.com/puppetlabs/facter"; + license = lib.licenses.asl20; mainProgram = "facter"; + maintainers = with lib.maintainers; [ womfoo anthonyroussel ]; + platforms = lib.platforms.unix; }; } diff --git a/pkgs/tools/system/facter/gemset.nix b/pkgs/tools/system/facter/gemset.nix new file mode 100644 index 000000000000..6f1cf7a2b8b0 --- /dev/null +++ b/pkgs/tools/system/facter/gemset.nix @@ -0,0 +1,33 @@ +{ + facter = { + dependencies = ["hocon" "thor"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0pxpldfcf40dr9khra3sa131ij7gzd97bba2vpw89c785pl736a7"; + type = "gem"; + }; + version = "4.6.1"; + }; + hocon = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "106dmzsl1bxkqw5xaif012nwwfr3k9wff32cqc77ibjngknj6477"; + type = "gem"; + }; + version = "1.4.0"; + }; + thor = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1vq1fjp45az9hfp6fxljhdrkv75cvbab1jfrwcw738pnsiqk8zps"; + type = "gem"; + }; + version = "1.3.1"; + }; +} From fe26578be988f00bd629d7775a04c7ae87c3574e Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 16:55:03 +0100 Subject: [PATCH 0064/1387] facter: move to pkgs/by-name --- pkgs/{tools/system => by-name/fa}/facter/Gemfile | 0 pkgs/{tools/system => by-name/fa}/facter/Gemfile.lock | 0 pkgs/{tools/system => by-name/fa}/facter/gemset.nix | 0 .../system/facter/default.nix => by-name/fa/facter/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 5 files changed, 2 deletions(-) rename pkgs/{tools/system => by-name/fa}/facter/Gemfile (100%) rename pkgs/{tools/system => by-name/fa}/facter/Gemfile.lock (100%) rename pkgs/{tools/system => by-name/fa}/facter/gemset.nix (100%) rename pkgs/{tools/system/facter/default.nix => by-name/fa/facter/package.nix} (100%) diff --git a/pkgs/tools/system/facter/Gemfile b/pkgs/by-name/fa/facter/Gemfile similarity index 100% rename from pkgs/tools/system/facter/Gemfile rename to pkgs/by-name/fa/facter/Gemfile diff --git a/pkgs/tools/system/facter/Gemfile.lock b/pkgs/by-name/fa/facter/Gemfile.lock similarity index 100% rename from pkgs/tools/system/facter/Gemfile.lock rename to pkgs/by-name/fa/facter/Gemfile.lock diff --git a/pkgs/tools/system/facter/gemset.nix b/pkgs/by-name/fa/facter/gemset.nix similarity index 100% rename from pkgs/tools/system/facter/gemset.nix rename to pkgs/by-name/fa/facter/gemset.nix diff --git a/pkgs/tools/system/facter/default.nix b/pkgs/by-name/fa/facter/package.nix similarity index 100% rename from pkgs/tools/system/facter/default.nix rename to pkgs/by-name/fa/facter/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 690d87da8118..2763750b2344 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5271,8 +5271,6 @@ with pkgs; facedetect = callPackage ../tools/graphics/facedetect { }; - facter = callPackage ../tools/system/facter { }; - faketty = callPackage ../tools/misc/faketty { }; fasd = callPackage ../tools/misc/fasd { }; From 7705fda40a3f262ce0afe352e7dbd57a62d250d1 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 24 Mar 2024 17:46:46 +0100 Subject: [PATCH 0065/1387] pdk: fix build for all ruby platforms --- pkgs/by-name/pd/pdk/Gemfile.lock | 12 ++++++------ pkgs/by-name/pd/pdk/gemset.nix | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/pd/pdk/Gemfile.lock b/pkgs/by-name/pd/pdk/Gemfile.lock index 9cf412d55a74..85ab3bacbae5 100644 --- a/pkgs/by-name/pd/pdk/Gemfile.lock +++ b/pkgs/by-name/pd/pdk/Gemfile.lock @@ -7,15 +7,15 @@ GEM concurrent-ruby (1.1.10) cri (2.15.11) deep_merge (1.2.2) - diff-lcs (1.5.0) - facter (4.5.1) + diff-lcs (1.5.1) + facter (4.6.1) hocon (~> 1.3) thor (>= 1.0.1, < 2.0) ffi (1.16.3) hitimes (2.0.0) hocon (1.4.0) httpclient (2.8.3) - json-schema (4.1.1) + json-schema (4.2.0) addressable (>= 2.8) json_pure (2.6.3) minitar (0.9) @@ -41,7 +41,7 @@ GEM tty-spinner (~> 0.9) tty-which (~> 0.5) public_suffix (5.0.4) - thor (1.3.0) + thor (1.3.1) tty-color (0.6.0) tty-cursor (0.7.1) tty-prompt (0.23.1) @@ -58,10 +58,10 @@ GEM wisper (2.0.1) PLATFORMS - x86_64-linux + ruby DEPENDENCIES pdk (= 3.0.1) BUNDLED WITH - 2.4.22 + 2.5.6 diff --git a/pkgs/by-name/pd/pdk/gemset.nix b/pkgs/by-name/pd/pdk/gemset.nix index cfc47fa4bb32..6d8fa5dceb08 100644 --- a/pkgs/by-name/pd/pdk/gemset.nix +++ b/pkgs/by-name/pd/pdk/gemset.nix @@ -55,10 +55,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0rwvjahnp7cpmracd8x732rjgnilqv2sx7d1gfrysslc3h039fa9"; + sha256 = "1znxccz83m4xgpd239nyqxlifdb7m8rlfayk6s259186nkgj6ci7"; type = "gem"; }; - version = "1.5.0"; + version = "1.5.1"; }; facter = { dependencies = ["hocon" "thor"]; @@ -66,10 +66,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0zpmih27d074zh4jvp4y0a539bh46rd3p02q2aiga3y4981nmh4w"; + sha256 = "0pxpldfcf40dr9khra3sa131ij7gzd97bba2vpw89c785pl736a7"; type = "gem"; }; - version = "4.5.1"; + version = "4.6.1"; }; ffi = { groups = ["default"]; @@ -117,10 +117,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0j9dz9sf7swwmfahlngph8n9ibm0cx7mdy9zpv3w44578nbkka49"; + sha256 = "1h23nlk1a5xg7ayayzkanrgy3s5sk57vmc3awqbplqwzf8827rdd"; type = "gem"; }; - version = "4.1.1"; + version = "4.2.0"; }; json_pure = { groups = ["default"]; @@ -189,10 +189,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1hx77jxkrwi66yvs10wfxqa8s25ds25ywgrrf66acm9nbfg7zp0s"; + sha256 = "1vq1fjp45az9hfp6fxljhdrkv75cvbab1jfrwcw738pnsiqk8zps"; type = "gem"; }; - version = "1.3.0"; + version = "1.3.1"; }; tty-color = { groups = ["default"]; From f528df9f37632a8b0b833022db4251c1ff97002c Mon Sep 17 00:00:00 2001 From: David Warde-Farley Date: Sat, 23 Mar 2024 20:52:31 +0000 Subject: [PATCH 0066/1387] rocmPackages_6.hiprand: init at 6.0.2 Per the rocRAND README: "As of version 5.0, [hipRAND] was split into a separate library. As of version 6.0, hipRAND can no longer be built from rocRAND." Also fixes `buildTests = true` behaviour for rocRAND. --- pkgs/development/rocm-modules/6/default.nix | 5 +- .../rocm-modules/6/hiprand/default.nix | 76 +++++++++++++++++++ .../rocm-modules/6/rocrand/default.nix | 3 +- 3 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 pkgs/development/rocm-modules/6/hiprand/default.nix diff --git a/pkgs/development/rocm-modules/6/default.nix b/pkgs/development/rocm-modules/6/default.nix index e4e745f74b56..56875144890b 100644 --- a/pkgs/development/rocm-modules/6/default.nix +++ b/pkgs/development/rocm-modules/6/default.nix @@ -150,7 +150,10 @@ in rec { stdenv = llvm.rocmClangStdenv; }; - hiprand = rocrand; # rocrand includes hiprand + hiprand = callPackage ./hiprand { + inherit rocmUpdateScript rocm-cmake clr rocrand; + stdenv = llvm.rocmClangStdenv; + }; rocfft = callPackage ./rocfft { inherit rocmUpdateScript rocm-cmake rocrand rocfft clr; diff --git a/pkgs/development/rocm-modules/6/hiprand/default.nix b/pkgs/development/rocm-modules/6/hiprand/default.nix new file mode 100644 index 000000000000..7251a0e5a07e --- /dev/null +++ b/pkgs/development/rocm-modules/6/hiprand/default.nix @@ -0,0 +1,76 @@ +{ lib +, stdenv +, fetchFromGitHub +, rocmUpdateScript +, cmake +, rocm-cmake +, clr +, rocrand +, gtest +, buildTests ? false +, gpuTargets ? [ ] +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "hiprand"; + version = "6.0.2"; + + outputs = [ + "out" + ] ++ lib.optionals buildTests [ + "test" + ]; + + src = fetchFromGitHub { + owner = "ROCm"; + repo = "hipRAND"; + rev = "rocm-${finalAttrs.version}"; + hash = "sha256-uGHzOhUX5JEknVFwhHhWFdPmwLS/TuaXYMeItS7tXIg="; + }; + + nativeBuildInputs = [ + cmake + rocm-cmake + clr + ]; + + buildInputs = [ rocrand ] ++ (lib.optionals buildTests [ gtest ]); + + cmakeFlags = [ + "-DCMAKE_C_COMPILER=hipcc" + "-DCMAKE_CXX_COMPILER=hipcc" + "-DHIP_ROOT_DIR=${clr}" + # Manually define CMAKE_INSTALL_ + # See: https://github.com/NixOS/nixpkgs/pull/197838 + "-DCMAKE_INSTALL_BINDIR=bin" + "-DCMAKE_INSTALL_LIBDIR=lib" + "-DCMAKE_INSTALL_INCLUDEDIR=include" + ] ++ lib.optionals (gpuTargets != [ ]) [ + "-DAMDGPU_TARGETS=${lib.concatStringsSep ";" gpuTargets}" + ] ++ lib.optionals buildTests [ + "-DBUILD_TEST=ON" + ]; + + postInstall = lib.optionalString buildTests '' + mkdir -p $test/bin + mv $out/bin/test_* $test/bin + rm -r $out/bin/hipRAND + # Fail if bin/ isn't actually empty + rmdir $out/bin + ''; + + passthru.updateScript = rocmUpdateScript { + name = finalAttrs.pname; + owner = finalAttrs.src.owner; + repo = finalAttrs.src.repo; + }; + + meta = with lib; { + description = "A HIP wrapper for rocRAND and cuRAND"; + homepage = "https://github.com/ROCm/hipRAND"; + license = with licenses; [ mit ]; + maintainers = teams.rocm.members; + platforms = platforms.linux; + broken = versions.minor finalAttrs.version != versions.minor stdenv.cc.version || versionAtLeast finalAttrs.version "7.0.0"; + }; +}) diff --git a/pkgs/development/rocm-modules/6/rocrand/default.nix b/pkgs/development/rocm-modules/6/rocrand/default.nix index f09ff3b12059..7d0e80b5af4e 100644 --- a/pkgs/development/rocm-modules/6/rocrand/default.nix +++ b/pkgs/development/rocm-modules/6/rocrand/default.nix @@ -29,7 +29,6 @@ stdenv.mkDerivation (finalAttrs: { repo = "rocRAND"; rev = "rocm-${finalAttrs.version}"; hash = "sha256-BBkcYOP+zh3OQTxuSkeiJizwnE9Gr5Jbhx0e8SU/mmU="; - fetchSubmodules = true; # For inline hipRAND }; nativeBuildInputs = [ @@ -68,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $benchmark/bin mv $out/bin/benchmark_* $benchmark/bin '' + lib.optionalString (buildTests || buildBenchmarks) '' + rm -r $out/bin/rocRAND + # Fail if bin/ isn't actually empty rmdir $out/bin ''; From c4304c2afae4abf0e40672f72ac6729a226bf6b3 Mon Sep 17 00:00:00 2001 From: Robert Medeiros Date: Mon, 25 Mar 2024 16:22:35 -0400 Subject: [PATCH 0067/1387] iroh: 0.11.0 -> 0.13.0 --- pkgs/applications/networking/iroh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/iroh/default.nix b/pkgs/applications/networking/iroh/default.nix index ac525fd2fa11..a43620499996 100644 --- a/pkgs/applications/networking/iroh/default.nix +++ b/pkgs/applications/networking/iroh/default.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage rec { pname = "iroh"; - version = "0.11.0"; + version = "0.13.0"; src = fetchFromGitHub { owner = "n0-computer"; repo = pname; rev = "v${version}"; - hash = "sha256-b3XpKAV/K+69tQmjM1CGzoOTcaQHB6q3gpoSa/YFwak="; + hash = "sha256-lyDwvVPkHCHZtb/p5PixD31Rl9kXozHw/SxIH1MJPwo="; }; - cargoHash = "sha256-dnEEque40qi7vuUxY/UDZ5Kz8LTuz0GvYVjTxl8eMvI="; + cargoHash = "sha256-yCI6g/ZTC5JLxwICRDmH4TzUYQtj3PJXdhBD7JSGO1s="; buildInputs = lib.optionals stdenv.isDarwin ( with darwin.apple_sdk.frameworks; [ From ad594b450386bbc658196638cc778382c4d0a665 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 25 Mar 2024 11:35:25 +0100 Subject: [PATCH 0068/1387] urserver: 3.10.0.2467 -> 3.13.0.2505 --- nixos/modules/services/x11/urserver.nix | 2 +- pkgs/servers/urserver/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/x11/urserver.nix b/nixos/modules/services/x11/urserver.nix index d0b6e0775e5d..9ba26c574193 100644 --- a/nixos/modules/services/x11/urserver.nix +++ b/nixos/modules/services/x11/urserver.nix @@ -14,7 +14,7 @@ in { allowedUDPPorts = [ 9511 9512 ]; }; - systemd.user.services.urserver = { + systemd.user.services.urserver = { description = '' Server for Unified Remote: The one-and-only remote for your computer. ''; diff --git a/pkgs/servers/urserver/default.nix b/pkgs/servers/urserver/default.nix index c84d40b69c22..933467f895f2 100644 --- a/pkgs/servers/urserver/default.nix +++ b/pkgs/servers/urserver/default.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation rec { pname = "urserver"; - version = "3.10.0.2467"; + version = "3.13.0.2505"; src = fetchurl { url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion version) 3}/urserver-${version}.tar.gz"; - sha256 = "sha256-IaLRhia6mb4h7x5MbBRtPJxJ3uTlkfOzmoTwYzwfbWA="; + hash = "sha256-rklv6Ppha1HhEPunbL8ELYdQ9Z1FN4FrVsNwny3/gA4="; }; nativeBuildInputs = [ From ce845d58a1d9e009cf02efd53185201d791c04f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 25 Mar 2024 23:25:31 +0100 Subject: [PATCH 0069/1387] urserver: use finalAttrs instead of rec --- pkgs/servers/urserver/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/urserver/default.nix b/pkgs/servers/urserver/default.nix index 933467f895f2..c5c57f70f098 100644 --- a/pkgs/servers/urserver/default.nix +++ b/pkgs/servers/urserver/default.nix @@ -7,12 +7,12 @@ , makeWrapper }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "urserver"; version = "3.13.0.2505"; src = fetchurl { - url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion version) 3}/urserver-${version}.tar.gz"; + url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion finalAttrs.version) 3}/urserver-${finalAttrs.version}.tar.gz"; hash = "sha256-rklv6Ppha1HhEPunbL8ELYdQ9Z1FN4FrVsNwny3/gA4="; }; @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { installPhase = '' install -m755 -D urserver $out/bin/urserver - wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" + wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}" cp -r remotes $out/bin/remotes cp -r manager $out/bin/manager ''; @@ -43,4 +43,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ sfrijters ]; platforms = [ "x86_64-linux" ]; }; -} +}) From 39035bd2630b15e2f18ed3eb7d399d85d53db5af Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 26 Mar 2024 03:34:01 +0100 Subject: [PATCH 0070/1387] gnunet: 0.20.0 -> 0.21.1 --- pkgs/applications/networking/p2p/gnunet/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix index 27476d3b48a7..3f5e2f7c58a2 100644 --- a/pkgs/applications/networking/p2p/gnunet/default.nix +++ b/pkgs/applications/networking/p2p/gnunet/default.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "gnunet"; - version = "0.20.0"; + version = "0.21.1"; src = fetchurl { - url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz"; - sha256 = "sha256-VgKeeKmcBNUrE1gJSuUHTkzY6puYz2hV9XrZryeslRg="; + url = "mirror://gnu/gnunet/gnunet-${version}.tar.gz"; + hash = "sha256-k+aLPqynCHJz49doX+auOLLoBV5MnnANNg3UBVJJeFw="; }; enableParallelBuilding = true; @@ -34,10 +34,6 @@ stdenv.mkDerivation rec { # builds. find . \( -iname \*test\*.c -or -name \*.conf \) | \ xargs sed -ie "s|/tmp|$TMPDIR|g" - - sed -ie 's|@LDFLAGS@|@LDFLAGS@ $(Z_LIBS)|g' \ - src/regex/Makefile.in \ - src/fs/Makefile.in ''; # unfortunately, there's still a few failures with impure tests From 8922d75e9314b1b9586e4241bf4cead018046dae Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 26 Mar 2024 03:34:14 +0100 Subject: [PATCH 0071/1387] gnunet-gtk: 0.20.0 -> 0.21.0 --- pkgs/applications/networking/p2p/gnunet/gtk.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/gtk.nix b/pkgs/applications/networking/p2p/gnunet/gtk.nix index 94504f2b9956..640ffeef7588 100644 --- a/pkgs/applications/networking/p2p/gnunet/gtk.nix +++ b/pkgs/applications/networking/p2p/gnunet/gtk.nix @@ -13,11 +13,11 @@ stdenv.mkDerivation rec { pname = "gnunet-gtk"; - version = "0.20.0"; + version = "0.21.0"; src = fetchurl { - url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz"; - sha256 = "sha256-6ZHlDIKrTmr/aRz4k5FtRVxZ7B9Hlh2w42QT4YRsVi0="; + url = "mirror://gnu/gnunet/gnunet-gtk-${version}.tar.gz"; + hash = "sha256-vQFtKFI57YG64WpKVngx1kq687hI+f1kpP9ooK53/aw="; }; nativeBuildInputs= [ From 71401e8d39f75823469799cb2f256dc3f925cb8c Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 27 Mar 2024 15:05:35 -0400 Subject: [PATCH 0072/1387] python3Packages.snakemake: init at 8.4.12 --- pkgs/top-level/python-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 377d5e2587d1..171fa7593439 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13692,6 +13692,10 @@ self: super: with self; { inherit (self) python; }); + snakemake = toPythonModule (pkgs.snakemake.override { + python3 = python; + }); + snakemake-executor-plugin-cluster-generic = callPackage ../development/python-modules/snakemake-executor-plugin-cluster-generic { }; snakemake-interface-common = callPackage ../development/python-modules/snakemake-interface-common { }; From 37d707fb47e084080006bf67b68a7cc8acfd4f03 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 26 Mar 2024 13:29:46 -0400 Subject: [PATCH 0073/1387] python311Packages.snakemake-storage-plugin-s3: init at 0.2.10 --- .../snakemake-storage-plugin-s3/default.nix | 54 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix new file mode 100644 index 000000000000..9f194eb25357 --- /dev/null +++ b/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix @@ -0,0 +1,54 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, boto3 +, botocore +, poetry-core +, snakemake +, snakemake-interface-storage-plugins +, snakemake-interface-common +, urllib3 +}: + +buildPythonPackage rec { + pname = "snakemake-storage-plugin-s3"; + version = "0.2.10"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "snakemake"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-k21DRQdSUFkdwNb7MZJmClhIg+pdSc7H6FkDrbf4DT8="; + }; + + postPatch = '' + substituteInPlace pyproject.toml \ + --replace ">=2.0,<2.2" "*" + ''; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + boto3 + botocore + snakemake-interface-storage-plugins + snakemake-interface-common + urllib3 + ]; + + nativeCheckInputs = [ + snakemake + ]; + + pythonImportsCheck = [ "snakemake_storage_plugin_s3" ]; + + meta = with lib; { + description = "A Snakemake storage plugin for S3 API storage (AWS S3, MinIO, etc.)"; + homepage = "https://github.com/snakemake/snakemake-storage-plugin-s3"; + license = licenses.mit; + maintainers = with maintainers; [ veprbl ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 171fa7593439..8fad03dc3c27 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13704,6 +13704,8 @@ self: super: with self; { snakemake-interface-storage-plugins = callPackage ../development/python-modules/snakemake-interface-storage-plugins { }; + snakemake-storage-plugin-s3 = callPackage ../development/python-modules/snakemake-storage-plugin-s3 { }; + snakebite = callPackage ../development/python-modules/snakebite { }; snakeviz = callPackage ../development/python-modules/snakeviz { }; From 2f5200175fa9da14e5a328e878ffe97d3483cb04 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 26 Mar 2024 13:40:21 -0400 Subject: [PATCH 0074/1387] python311Packages.snakemake-storage-plugin-xrootd: init at unstable-2023-12-16 --- .../default.nix | 51 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 53 insertions(+) create mode 100644 pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix new file mode 100644 index 000000000000..82d8c2928c3c --- /dev/null +++ b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix @@ -0,0 +1,51 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, poetry-core +, snakemake +, snakemake-interface-storage-plugins +, snakemake-interface-common +, xrootd +}: + +buildPythonPackage rec { + pname = "snakemake-storage-plugin-xrootd"; + version = "unstable-2023-12-16"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "snakemake"; + repo = pname; + rev = "408f1e956b5427c34b49eeca340492a438e8eccb"; + hash = "sha256-CcSG//D9kz0Q4LtaSngJpCtY0dbNFFuKMVmBxR1fcMo="; + }; + + # xrootd<6.0.0,>=5.6.4 not satisfied by version 5.7rc20240303 + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'xrootd = "^5.6.4"' "" + ''; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + snakemake-interface-storage-plugins + snakemake-interface-common + xrootd + ]; + + nativeCheckInputs = [ + snakemake + ]; + + pythonImportsCheck = [ "snakemake_storage_plugin_xrootd" ]; + + meta = with lib; { + description = "A Snakemake storage plugin for handling input and output via XRootD"; + homepage = "https://github.com/snakemake/snakemake-storage-plugin-xrootd"; + license = licenses.mit; + maintainers = with maintainers; [ veprbl ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8fad03dc3c27..26c1526aedfd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13706,6 +13706,8 @@ self: super: with self; { snakemake-storage-plugin-s3 = callPackage ../development/python-modules/snakemake-storage-plugin-s3 { }; + snakemake-storage-plugin-xrootd = callPackage ../development/python-modules/snakemake-storage-plugin-xrootd { }; + snakebite = callPackage ../development/python-modules/snakebite { }; snakeviz = callPackage ../development/python-modules/snakeviz { }; From aba056a13cd6f2dc0248f115bfc5c6b545b8b2f0 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 28 Mar 2024 03:48:24 +0000 Subject: [PATCH 0075/1387] ryujinx: Add udev dependency --- pkgs/by-name/ry/ryujinx/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ry/ryujinx/package.nix b/pkgs/by-name/ry/ryujinx/package.nix index c7ef62648308..3a267fcd7fe2 100644 --- a/pkgs/by-name/ry/ryujinx/package.nix +++ b/pkgs/by-name/ry/ryujinx/package.nix @@ -19,6 +19,7 @@ , fontconfig , glew , libGL +, udev , SDL2 , SDL2_mixer }: @@ -49,6 +50,7 @@ buildDotnetModule rec { pulseaudio vulkan-loader ffmpeg + udev # Avalonia UI libICE From ac306ef3360448b542625e036febf9e8157e01fe Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 28 Mar 2024 03:48:44 +0000 Subject: [PATCH 0076/1387] =?UTF-8?q?ryujinx:=201.1.1242=20=E2=86=92=201.1?= =?UTF-8?q?.1248?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/by-name/ry/ryujinx/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ry/ryujinx/package.nix b/pkgs/by-name/ry/ryujinx/package.nix index 3a267fcd7fe2..622d6d5f51dc 100644 --- a/pkgs/by-name/ry/ryujinx/package.nix +++ b/pkgs/by-name/ry/ryujinx/package.nix @@ -26,13 +26,13 @@ buildDotnetModule rec { pname = "ryujinx"; - version = "1.1.1242"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml + version = "1.1.1248"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml src = fetchFromGitHub { owner = "Ryujinx"; repo = "Ryujinx"; - rev = "c94a73ec60f3f75b36179cbc93d046701ed96253"; - sha256 = "0wksc3c63insll1jl0w6pa7vfgvkc50dzkwip676q3j8749fpzql"; + rev = "7124d679fd4345f2ed517e77ab40d90e6bef9650"; + sha256 = "11lp9j885j1ybl9arj51233396r9qdsy53ahwhwsmjgz71n1d2i5"; }; dotnet-sdk = dotnetCorePackages.sdk_8_0; From de757d162ccddfbc56202142c6049cd3c5879731 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 28 Mar 2024 10:06:55 +0100 Subject: [PATCH 0077/1387] python311Packages.sentry-sdk: 1.42.0 -> 1.43.0 Diff: https://github.com/getsentry/sentry-python/compare/refs/tags/1.42.0...1.43.0 Changelog: https://github.com/getsentry/sentry-python/blob/1.43.0/CHANGELOG.md --- pkgs/development/python-modules/sentry-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index f225853368b5..9a173b7597d3 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { pname = "sentry-sdk"; - version = "1.42.0"; + version = "1.43.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -47,7 +47,7 @@ buildPythonPackage rec { owner = "getsentry"; repo = "sentry-python"; rev = "refs/tags/${version}"; - hash = "sha256-LZn7oWwKdHi/KScitFnNDX7pI92mNkC6niGP+BixjtA="; + hash = "sha256-HBmAIsn19pdiCnllyWiNdY6QkObvYgK+KDxrmr1VPgA="; }; nativeBuildInputs = [ From 495212307ee5eee425325be3111ef02e6b816827 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:04:37 +0100 Subject: [PATCH 0078/1387] espflash: fix build on darwin --- pkgs/by-name/es/espflash/package.nix | 2 ++ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/es/espflash/package.nix b/pkgs/by-name/es/espflash/package.nix index ec2c283f6935..5615e3cf8cf8 100644 --- a/pkgs/by-name/es/espflash/package.nix +++ b/pkgs/by-name/es/espflash/package.nix @@ -6,6 +6,7 @@ , installShellFiles , udev , stdenv +, CoreServices , Security , nix-update-script , openssl @@ -34,6 +35,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ udev ] ++ lib.optionals stdenv.isDarwin [ + CoreServices Security SystemConfiguration ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bab08f433b80..702fa132c1ab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31020,7 +31020,7 @@ with pkgs; espeakup = callPackage ../applications/accessibility/espeakup { }; espflash = callPackage ../by-name/es/espflash/package.nix { - inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; + inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; }; etebase-server = with python3Packages; toPythonApplication etebase-server; From e7246dee1edf80f21ae48a6a0292f63d37428e2e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 28 Mar 2024 17:19:42 +0100 Subject: [PATCH 0079/1387] python312Packages.xlsxwriter: 3.1.9 -> 3.2.0 Diff: https://github.com/jmcnamara/XlsxWriter/compare/RELEASE_3.1.9...RELEASE_3.2.0 Changelog: https://xlsxwriter.readthedocs.io/changes.html --- pkgs/development/python-modules/xlsxwriter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xlsxwriter/default.nix b/pkgs/development/python-modules/xlsxwriter/default.nix index 9eb6c83716aa..4d5c727e6f37 100644 --- a/pkgs/development/python-modules/xlsxwriter/default.nix +++ b/pkgs/development/python-modules/xlsxwriter/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "xlsxwriter"; - version = "3.1.9"; + version = "3.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "jmcnamara"; repo = "XlsxWriter"; rev = "RELEASE_${version}"; - hash = "sha256-FkSInLinyn/eXBMSuivzFxCTZijOKdSG4l+gHyKENuY="; + hash = "sha256-HLSIKoGBSzU7N/lskVeVbfdOezTloMrwAahJbcnqJrw="; }; nativeCheckInputs = [ From e7231a2475db44dcfe2e8463ce29e36a52f0ae9c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 28 Mar 2024 17:21:37 +0100 Subject: [PATCH 0080/1387] python312Packages.xlsxwriter: refactor --- pkgs/development/python-modules/xlsxwriter/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xlsxwriter/default.nix b/pkgs/development/python-modules/xlsxwriter/default.nix index 4d5c727e6f37..115993e756bc 100644 --- a/pkgs/development/python-modules/xlsxwriter/default.nix +++ b/pkgs/development/python-modules/xlsxwriter/default.nix @@ -3,12 +3,13 @@ , fetchFromGitHub , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "xlsxwriter"; version = "3.2.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,6 +20,10 @@ buildPythonPackage rec { hash = "sha256-HLSIKoGBSzU7N/lskVeVbfdOezTloMrwAahJbcnqJrw="; }; + build-system = [ + setuptools + ]; + nativeCheckInputs = [ pytestCheckHook ]; @@ -29,10 +34,10 @@ buildPythonPackage rec { meta = with lib; { description = "Module for creating Excel XLSX files"; - mainProgram = "vba_extract.py"; homepage = "https://xlsxwriter.readthedocs.io/"; changelog = "https://xlsxwriter.readthedocs.io/changes.html"; license = licenses.bsd2; maintainers = with maintainers; [ jluttine ]; + mainProgram = "vba_extract.py"; }; } From 974a3a22aa6481adf99d02c334aea62110398b76 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 29 Mar 2024 11:30:18 +0100 Subject: [PATCH 0081/1387] python312Packages.attrdict: refactor --- .../python-modules/attrdict/default.nix | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/attrdict/default.nix b/pkgs/development/python-modules/attrdict/default.nix index 4054fbd78b68..21d6a1fde8d3 100644 --- a/pkgs/development/python-modules/attrdict/default.nix +++ b/pkgs/development/python-modules/attrdict/default.nix @@ -1,17 +1,16 @@ { lib , buildPythonPackage , fetchPypi -, coverage -, pythonOlder -, nose , pytestCheckHook +, pythonOlder +, setuptools , six }: buildPythonPackage rec { pname = "attrdict"; version = "2.0.1"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -20,26 +19,25 @@ buildPythonPackage rec { hash = "sha256-NckGmLVcaDlGCRF3F3qenAcToIYPDgSf69cmSczXe3A="; }; - propagatedBuildInputs = [ - six - ]; - - nativeCheckInputs = [ - coverage - nose - ]; - postPatch = '' substituteInPlace attrdict/merge.py \ - --replace "from collections" "from collections.abc" + --replace-fail "from collections" "from collections.abc" substituteInPlace attrdict/mapping.py \ - --replace "from collections" "from collections.abc" + --replace-fail "from collections" "from collections.abc" substituteInPlace attrdict/default.py \ - --replace "from collections" "from collections.abc" + --replace-fail "from collections" "from collections.abc" substituteInPlace attrdict/mixins.py \ - --replace "from collections" "from collections.abc" + --replace-fail "from collections" "from collections.abc" ''; + build-system = [ + setuptools + ]; + + dependencies = [ + six + ]; + # Tests are not shipped and source is not tagged doCheck = false; @@ -50,6 +48,7 @@ buildPythonPackage rec { meta = with lib; { description = "A dict with attribute-style access"; homepage = "https://github.com/bcj/AttrDict"; + changelog = "https://github.com/bcj/AttrDict/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ ]; }; From 2a85869152a4967491f8084721216dd3c721d3ae Mon Sep 17 00:00:00 2001 From: "Ian M. Jones" Date: Fri, 29 Mar 2024 17:54:53 +0000 Subject: [PATCH 0082/1387] snippetexpander: 1.0.1 -> 1.0.2 --- pkgs/by-name/sn/snippetexpander/package.nix | 21 +++++++++--- pkgs/by-name/sn/snippetexpanderd/package.nix | 34 +++++++++++-------- .../by-name/sn/snippetexpandergui/package.nix | 26 ++++++++------ pkgs/by-name/sn/snippetexpanderx/package.nix | 10 +++--- 4 files changed, 57 insertions(+), 34 deletions(-) diff --git a/pkgs/by-name/sn/snippetexpander/package.nix b/pkgs/by-name/sn/snippetexpander/package.nix index 1f5f3a954ec0..2d50515c5026 100644 --- a/pkgs/by-name/sn/snippetexpander/package.nix +++ b/pkgs/by-name/sn/snippetexpander/package.nix @@ -1,9 +1,11 @@ { lib , buildGoModule , fetchFromSourcehut +, makeWrapper , scdoc , installShellFiles , snippetexpanderd +, snippetexpanderx }: buildGoModule rec { @@ -11,24 +13,27 @@ buildGoModule rec { pname = "snippetexpander"; - vendorHash = "sha256-wSAho59yxcXTu1zQ5x783HT4gtfSM4GdsOEeC1wfHhE="; + vendorHash = "sha256-W9NkENdZRzqSAONI9QS2EI5aERK+AaPqwYwITKLwXQE="; proxyVendor = true; modRoot = "cmd/snippetexpander"; nativeBuildInputs = [ + makeWrapper scdoc installShellFiles ]; buildInputs = [ snippetexpanderd + snippetexpanderx ]; ldflags = [ "-s" "-w" + "-X 'main.version=${src.rev}'" ]; postInstall = '' @@ -36,12 +41,18 @@ buildGoModule rec { installManPage snippetexpander.1 ''; - meta = with lib; { + postFixup = '' + # Ensure snippetexpanderd and snippetexpanderx are available to start/stop. + wrapProgram $out/bin/snippetexpander \ + --prefix PATH : ${lib.makeBinPath [ snippetexpanderd snippetexpanderx ]} + ''; + + meta = { description = "Your little expandable text snippet helper CLI"; homepage = "https://snippetexpander.org"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ianmjones ]; - platforms = platforms.linux; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ ianmjones ]; + platforms = lib.platforms.linux; mainProgram = "snippetexpander"; }; } diff --git a/pkgs/by-name/sn/snippetexpanderd/package.nix b/pkgs/by-name/sn/snippetexpanderd/package.nix index 308803ad9eec..7cde3eaf527a 100644 --- a/pkgs/by-name/sn/snippetexpanderd/package.nix +++ b/pkgs/by-name/sn/snippetexpanderd/package.nix @@ -2,44 +2,49 @@ , stdenv , buildGoModule , fetchFromSourcehut -, pkg-config , makeWrapper , scdoc , installShellFiles -, xorg -, gtk3 +, xclip +, wl-clipboard +, xdotool +, wtype }: buildGoModule rec { pname = "snippetexpanderd"; - version = "1.0.1"; + version = "1.0.2"; src = fetchFromSourcehut { owner = "~ianmjones"; repo = "snippetexpander"; rev = "v${version}"; - hash = "sha256-y3TJ+L3kXYfZFzAD1vmhvP6Yarctu5LHq/74005h8sI="; + hash = "sha256-iEoBri+NuFfLkARUBA+D/Fe9xk6PPV62N/YRqPv9C/A="; }; - vendorHash = "sha256-QX8HI8I1ZJI6HJ1sl86OiJ4nxwFAjHH8h1zB9ASJaQs="; + vendorHash = "sha256-W9NkENdZRzqSAONI9QS2EI5aERK+AaPqwYwITKLwXQE="; + + proxyVendor = true; modRoot = "cmd/snippetexpanderd"; nativeBuildInputs = [ - pkg-config makeWrapper scdoc installShellFiles ]; buildInputs = [ - xorg.libX11 - gtk3 + xclip + wl-clipboard + xdotool + wtype ]; ldflags = [ "-s" "-w" + "-X 'main.version=${src.rev}'" ]; postInstall = '' @@ -48,16 +53,17 @@ buildGoModule rec { ''; postFixup = '' + # Ensure xclip/wcopy and xdotool/wtype are available for copy and paste duties. wrapProgram $out/bin/snippetexpanderd \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ xorg.libX11 ]} + --prefix PATH : ${lib.makeBinPath [ xclip wl-clipboard xdotool wtype ]} ''; - meta = with lib; { + meta = { description = "Your little expandable text snippet helper daemon"; homepage = "https://snippetexpander.org"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ianmjones ]; - platforms = platforms.linux; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ ianmjones ]; + platforms = lib.platforms.linux; mainProgram = "snippetexpanderd"; }; } diff --git a/pkgs/by-name/sn/snippetexpandergui/package.nix b/pkgs/by-name/sn/snippetexpandergui/package.nix index 1ce5f5d9cbe5..c43ce82c5ea7 100644 --- a/pkgs/by-name/sn/snippetexpandergui/package.nix +++ b/pkgs/by-name/sn/snippetexpandergui/package.nix @@ -1,7 +1,7 @@ { lib , buildGoModule , fetchFromSourcehut -, makeWrapper +, wrapGAppsHook , wails , scdoc , installShellFiles @@ -10,6 +10,7 @@ , webkitgtk , gsettings-desktop-schemas , snippetexpanderd +, snippetexpanderx }: buildGoModule rec { @@ -17,30 +18,31 @@ buildGoModule rec { pname = "snippetexpandergui"; - vendorHash = "sha256-iZfZdT8KlfZMVLQcYmo6EooIdsSGrpO/ojwT9Ft1GQI="; + vendorHash = "sha256-W9NkENdZRzqSAONI9QS2EI5aERK+AaPqwYwITKLwXQE="; proxyVendor = true; modRoot = "cmd/snippetexpandergui"; nativeBuildInputs = [ - makeWrapper wails scdoc installShellFiles + wrapGAppsHook ]; buildInputs = [ xorg.libX11 gtk3 webkitgtk - gsettings-desktop-schemas snippetexpanderd + snippetexpanderx ]; ldflags = [ "-s" "-w" + "-X 'main.version=${src.rev}'" ]; tags = [ @@ -54,17 +56,19 @@ buildGoModule rec { installManPage snippetexpandergui.1 ''; - postFixup = '' - wrapProgram $out/bin/snippetexpandergui \ - --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name} + preFixup = '' + gappsWrapperArgs+=( + # Ensure snippetexpanderd and snippetexpanderx are available to start/stop. + --prefix PATH : ${lib.makeBinPath [ snippetexpanderd snippetexpanderx ]} + ) ''; - meta = with lib; { + meta = { description = "Your little expandable text snippet helper GUI"; homepage = "https://snippetexpander.org"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ianmjones ]; - platforms = platforms.linux; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ ianmjones ]; + platforms = lib.platforms.linux; mainProgram = "snippetexpandergui"; }; } diff --git a/pkgs/by-name/sn/snippetexpanderx/package.nix b/pkgs/by-name/sn/snippetexpanderx/package.nix index bb7ad94f51c9..50da8f05503f 100644 --- a/pkgs/by-name/sn/snippetexpanderx/package.nix +++ b/pkgs/by-name/sn/snippetexpanderx/package.nix @@ -42,6 +42,8 @@ stdenv.mkDerivation rec { snippetexpanderd ]; + makeFlags = [ "VERSION=${src.rev}" ]; + installPhase = '' runHook preInstall mkdir -p $out/bin @@ -53,12 +55,12 @@ stdenv.mkDerivation rec { # There are no tests. doCheck = false; - meta = with lib; { + meta = { description = "Your little expandable text snippet helper auto expander daemon"; homepage = "https://snippetexpander.org"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ ianmjones ]; - platforms = platforms.linux; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ ianmjones ]; + platforms = lib.platforms.linux; mainProgram = "snippetexpanderx"; }; } From 2970d6ef5f313031e1e2976596ddbabc1449f674 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Mar 2024 20:00:09 +0000 Subject: [PATCH 0083/1387] lilypond-unstable: 2.25.13 -> 2.25.14 --- pkgs/misc/lilypond/unstable.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/lilypond/unstable.nix b/pkgs/misc/lilypond/unstable.nix index 5013f88dbdfc..f500a7971315 100644 --- a/pkgs/misc/lilypond/unstable.nix +++ b/pkgs/misc/lilypond/unstable.nix @@ -1,10 +1,10 @@ { lib, fetchurl, lilypond }: lilypond.overrideAttrs (oldAttrs: rec { - version = "2.25.13"; + version = "2.25.14"; src = fetchurl { url = "https://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz"; - hash = "sha256-ojoW3hq+DvgGlvWSRNk9VCooRzi5spp8o8oKqb74tmc="; + hash = "sha256-b0qfNjr5jxEJbCYINX2/JhESMOIf9DefRHI47gn5Zio="; }; passthru.updateScript = { From 55b4583c4ff04f69258c84207bcaae77c6a4c85a Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Sun, 31 Mar 2024 13:13:50 +0200 Subject: [PATCH 0084/1387] orca-slicer: 1.9.1 -> 2.0.0 --- pkgs/applications/misc/bambu-studio/orca-slicer.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/bambu-studio/orca-slicer.nix b/pkgs/applications/misc/bambu-studio/orca-slicer.nix index dc55a4d02f69..5e10050078d6 100644 --- a/pkgs/applications/misc/bambu-studio/orca-slicer.nix +++ b/pkgs/applications/misc/bambu-studio/orca-slicer.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, makeDesktopItem, bambu-studio }: bambu-studio.overrideAttrs (finalAttrs: previousAttrs: { - version = "1.9.1"; + version = "2.0.0"; pname = "orca-slicer"; # Don't inherit patches from bambu-studio @@ -13,7 +13,7 @@ bambu-studio.overrideAttrs (finalAttrs: previousAttrs: { owner = "SoftFever"; repo = "OrcaSlicer"; rev = "v${finalAttrs.version}"; - hash = "sha256-+JYUpyEr3xraJEb1wDkyle+jAQiNE+AMUTT1fhh4Clw="; + hash = "sha256-YlLDUH3ODIfax5QwnsVJi1JjZ9WtxP3ssqRP1C4d4bw="; }; meta = with lib; { From 156f69bbcb280c059a6418de7fd0921fab64ea1b Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 31 Mar 2024 19:32:05 +0200 Subject: [PATCH 0085/1387] postgresqlPackages.pg_safeupdate: add myself as maintainer --- pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix b/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix index 4c601896b45b..bbbff37da62b 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/eradman/pg-safeupdate"; changelog = "https://github.com/eradman/pg-safeupdate/raw/${src.rev}/NEWS"; platforms = postgresql.meta.platforms; + maintainers = with maintainers; [ wolfgangwalther ]; license = licenses.postgresql; broken = versionOlder postgresql.version "14"; }; From 7a358ffd0ec3e867fa118bdeb01bf45f2131082b Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 31 Mar 2024 19:32:16 +0200 Subject: [PATCH 0086/1387] postgresqlPackages.postgis: add myself as maintainer --- pkgs/servers/sql/postgresql/ext/postgis.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/postgresql/ext/postgis.nix b/pkgs/servers/sql/postgresql/ext/postgis.nix index 523bd154f6e5..6569439e351e 100644 --- a/pkgs/servers/sql/postgresql/ext/postgis.nix +++ b/pkgs/servers/sql/postgresql/ext/postgis.nix @@ -81,7 +81,7 @@ stdenv.mkDerivation rec { homepage = "https://postgis.net/"; changelog = "https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"; license = licenses.gpl2; - maintainers = with maintainers; teams.geospatial.members ++ [ marcweber ]; + maintainers = with maintainers; teams.geospatial.members ++ [ marcweber wolfgangwalther ]; inherit (postgresql.meta) platforms; }; } From 5e0eeb362bcfa4017e6e57b091c95a0dcb8ba571 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 26 Mar 2024 10:33:21 +0100 Subject: [PATCH 0087/1387] postgresql{12,13}Packages.pg_safeupdate: 1.5 -> 1.4 pg_safeupdate was updated to 1.5 in #269755. v1.5 is not compatible with PostgreSQL 12 and 13 anymore, so those were marked as broken. However, this blocks anyone using PostgreSQL 12 or 13 with pg_safeupdate from updating nixpkgs. Instead, the old version should have been kept for PG 12 and 13. --- .../sql/postgresql/ext/pg_safeupdate.nix | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix b/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix index bbbff37da62b..c2213d9b6ca3 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_safeupdate.nix @@ -1,8 +1,31 @@ { lib, stdenv, fetchFromGitHub, postgresql }: +with { + "12" = { + version = "1.4"; + sha256 = "sha256-1cyvVEC9MQGMr7Tg6EUbsVBrMc8ahdFS3+CmDkmAq4Y="; + }; + "13" = { + version = "1.4"; + sha256 = "sha256-1cyvVEC9MQGMr7Tg6EUbsVBrMc8ahdFS3+CmDkmAq4Y="; + }; + "14" = { + version = "1.5"; + sha256 = "sha256-RRSpkWLFuif+6RCncnsb1NnjKnIIRY9KgebKkjCN5cs="; + }; + "15" = { + version = "1.5"; + sha256 = "sha256-RRSpkWLFuif+6RCncnsb1NnjKnIIRY9KgebKkjCN5cs="; + }; + "16" = { + version = "1.5"; + sha256 = "sha256-RRSpkWLFuif+6RCncnsb1NnjKnIIRY9KgebKkjCN5cs="; + }; +}."${lib.versions.major postgresql.version}" or (throw "pg_safeupdate: version specification for pg ${postgresql.version} missing."); + stdenv.mkDerivation rec { pname = "pg-safeupdate"; - version = "1.5"; + inherit version; buildInputs = [ postgresql ]; @@ -10,7 +33,7 @@ stdenv.mkDerivation rec { owner = "eradman"; repo = pname; rev = version; - sha256 = "sha256-RRSpkWLFuif+6RCncnsb1NnjKnIIRY9KgebKkjCN5cs="; + inherit sha256; }; installPhase = '' @@ -24,6 +47,5 @@ stdenv.mkDerivation rec { platforms = postgresql.meta.platforms; maintainers = with maintainers; [ wolfgangwalther ]; license = licenses.postgresql; - broken = versionOlder postgresql.version "14"; }; } From 516577950334e577d880f7f6ddc490338a2d0e3d Mon Sep 17 00:00:00 2001 From: David Warde-Farley Date: Fri, 29 Mar 2024 20:17:09 +0000 Subject: [PATCH 0088/1387] rocmPackages_5.miopen: correctly link gtest --- pkgs/development/rocm-modules/5/miopen/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/rocm-modules/5/miopen/default.nix b/pkgs/development/rocm-modules/5/miopen/default.nix index 33959efa00eb..1c072ef1a304 100644 --- a/pkgs/development/rocm-modules/5/miopen/default.nix +++ b/pkgs/development/rocm-modules/5/miopen/default.nix @@ -156,6 +156,7 @@ in stdenv.mkDerivation (finalAttrs: { python3Packages.breathe python3Packages.myst-parser ] ++ lib.optionals buildTests [ + gtest zlib ]; @@ -190,6 +191,9 @@ in stdenv.mkDerivation (finalAttrs: { substituteInPlace test/gtest/CMakeLists.txt \ --replace "include(googletest)" "" + substituteInPlace test/gtest/CMakeLists.txt \ + --replace-fail " gtest_main " " ${gtest}/lib/libgtest.so ${gtest}/lib/libgtest_main.so " + ln -sf ${gfx900} src/kernels/gfx900.kdb ln -sf ${gfx906} src/kernels/gfx906.kdb ln -sf ${gfx908} src/kernels/gfx908.kdb From 4eac13a88cadc64d65c90a34bb699a31f239aa3b Mon Sep 17 00:00:00 2001 From: David Warde-Farley Date: Fri, 29 Mar 2024 20:17:25 +0000 Subject: [PATCH 0089/1387] rocmPackages_6.miopen: correctly link gtest --- pkgs/development/rocm-modules/6/miopen/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/rocm-modules/6/miopen/default.nix b/pkgs/development/rocm-modules/6/miopen/default.nix index f78bcb602e69..09bcf1042953 100644 --- a/pkgs/development/rocm-modules/6/miopen/default.nix +++ b/pkgs/development/rocm-modules/6/miopen/default.nix @@ -155,6 +155,7 @@ in stdenv.mkDerivation (finalAttrs: { python3Packages.breathe python3Packages.myst-parser ] ++ lib.optionals buildTests [ + gtest zlib ]; @@ -185,6 +186,9 @@ in stdenv.mkDerivation (finalAttrs: { substituteInPlace test/gtest/CMakeLists.txt \ --replace "include(googletest)" "" + substituteInPlace test/gtest/CMakeLists.txt \ + --replace-fail " gtest_main " " ${gtest}/lib/libgtest.so ${gtest}/lib/libgtest_main.so " + ln -sf ${gfx900} src/kernels/gfx900.kdb ln -sf ${gfx906} src/kernels/gfx906.kdb ln -sf ${gfx908} src/kernels/gfx908.kdb From 7d63c7740545dc0eefb8348c273240877ad24b94 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Mon, 1 Apr 2024 13:58:03 -0400 Subject: [PATCH 0090/1387] ruby: improve failure message when missing cargoHash Without this, doing e.g. `pkgs.mkRuby` without a `cargoHash` param would mean that the `fetchCargoTarball` drv was not a FOD and thus had no network access and would give confusing network failure messages. This forces specifying non-null `cargoHash` if it is actually being used, while allowing it to still be `null` when not needed. --- pkgs/development/interpreters/ruby/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 9ec7a448b59f..8aed13444198 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -125,7 +125,7 @@ let cargoDeps = if yjitSupport then rustPlatform.fetchCargoTarball { inherit (finalAttrs) src; sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}"; - hash = cargoHash; + hash = assert cargoHash != null; cargoHash; } else null; postUnpack = opString rubygemsSupport '' From 71caf0987d4aea89faa33bddea7b9fbc30050bd7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 1 Apr 2024 20:55:53 +0000 Subject: [PATCH 0091/1387] boinc: 7.24.3 -> 8.0.1 --- pkgs/applications/science/misc/boinc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix index b2a76f5fb252..6a0aafad3e91 100644 --- a/pkgs/applications/science/misc/boinc/default.nix +++ b/pkgs/applications/science/misc/boinc/default.nix @@ -27,14 +27,14 @@ stdenv.mkDerivation rec { pname = "boinc"; - version = "7.24.3"; + version = "8.0.1"; src = fetchFromGitHub { name = "${pname}-${version}-src"; owner = "BOINC"; repo = "boinc"; rev = "client_release/${lib.versions.majorMinor version}/${version}"; - hash = "sha256-0gyCO5t8t0SbOCBClVVu+C2VpBlxsnoRHBRYgI8nNO4="; + hash = "sha256-pjk9+VRWrFIoHolIEEWlRx89hifLNeFtIi34F1OBD38="; }; nativeBuildInputs = [ libtool automake autoconf m4 pkg-config ]; From 080c08d3c1d6525f92c7a9eb9f04bd000e772b63 Mon Sep 17 00:00:00 2001 From: "Janik H." Date: Sat, 16 Mar 2024 21:05:56 +0100 Subject: [PATCH 0092/1387] nixosTests.networking: split router into a separate file and remove `with lib;` antipattern this commit also does a tiny bit more, namely: - removing unnecessary ping's to the hosts own ip - and simplifying a few pieces of code like changing `{ inherit (pkgs) lib pkgs; };` to `{ inherit lib pkgs; };` --- nixos/tests/all-tests.nix | 4 +- .../networkd-and-scripted.nix} | 284 +++++------------- nixos/tests/networking/router.nix | 82 +++++ 3 files changed, 161 insertions(+), 209 deletions(-) rename nixos/tests/{networking.nix => networking/networkd-and-scripted.nix} (79%) create mode 100644 nixos/tests/networking/router.nix diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index b2e824642092..e9d9cb914867 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -581,8 +581,8 @@ in { netbird = handleTest ./netbird.nix {}; neo4j = handleTest ./neo4j.nix {}; netdata = handleTest ./netdata.nix {}; - networking.networkd = handleTest ./networking.nix { networkd = true; }; - networking.scripted = handleTest ./networking.nix { networkd = false; }; + networking.scripted = handleTest ./networking/networkd-and-scripted.nix { networkd = false; }; + networking.networkd = handleTest ./networking/networkd-and-scripted.nix { networkd = true; }; netbox_3_6 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_6; }; netbox_3_7 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_7; }; netbox-upgrade = handleTest ./web-apps/netbox-upgrade.nix {}; diff --git a/nixos/tests/networking.nix b/nixos/tests/networking/networkd-and-scripted.nix similarity index 79% rename from nixos/tests/networking.nix rename to nixos/tests/networking/networkd-and-scripted.nix index 6bd89902eedb..777c00f74e22 100644 --- a/nixos/tests/networking.nix +++ b/nixos/tests/networking/networkd-and-scripted.nix @@ -4,98 +4,19 @@ # bool: whether to use networkd in the tests , networkd }: -with import ../lib/testing-python.nix { inherit system pkgs; }; -with pkgs.lib; +with import ../../lib/testing-python.nix { inherit system pkgs; }; let - qemu-common = import ../lib/qemu-common.nix { inherit (pkgs) lib pkgs; }; - - router = { config, pkgs, lib, ... }: - with pkgs.lib; - let - vlanIfs = range 1 (length config.virtualisation.vlans); - in { - environment.systemPackages = [ pkgs.iptables ]; # to debug firewall rules - virtualisation.vlans = [ 1 2 3 ]; - boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true; - networking = { - useDHCP = false; - useNetworkd = networkd; - firewall.checkReversePath = true; - firewall.allowedUDPPorts = [ 547 ]; - interfaces = mkOverride 0 (listToAttrs (forEach vlanIfs (n: - nameValuePair "eth${toString n}" { - ipv4.addresses = [ { address = "192.168.${toString n}.1"; prefixLength = 24; } ]; - ipv6.addresses = [ { address = "fd00:1234:5678:${toString n}::1"; prefixLength = 64; } ]; - }))); - }; - services.kea = { - dhcp4 = { - enable = true; - settings = { - interfaces-config = { - interfaces = map (n: "eth${toString n}") vlanIfs; - dhcp-socket-type = "raw"; - service-sockets-require-all = true; - service-sockets-max-retries = 5; - service-sockets-retry-wait-time = 2500; - }; - subnet4 = map (n: { - id = n; - subnet = "192.168.${toString n}.0/24"; - pools = [{ pool = "192.168.${toString n}.3 - 192.168.${toString n}.254"; }]; - option-data = [{ name = "routers"; data = "192.168.${toString n}.1"; }]; - - reservations = [{ - hw-address = qemu-common.qemuNicMac n 1; - hostname = "client${toString n}"; - ip-address = "192.168.${toString n}.2"; - }]; - }) vlanIfs; - }; - }; - dhcp6 = { - enable = true; - settings = { - interfaces-config = { - interfaces = map (n: "eth${toString n}") vlanIfs; - service-sockets-require-all = true; - service-sockets-max-retries = 5; - service-sockets-retry-wait-time = 2500; - }; - - subnet6 = map (n: { - id = n; - subnet = "fd00:1234:5678:${toString n}::/64"; - interface = "eth${toString n}"; - pools = [{ pool = "fd00:1234:5678:${toString n}::2-fd00:1234:5678:${toString n}::2"; }]; - }) vlanIfs; - }; - }; - }; - services.radvd = { - enable = true; - config = flip concatMapStrings vlanIfs (n: '' - interface eth${toString n} { - AdvSendAdvert on; - AdvManagedFlag on; - AdvOtherConfigFlag on; - - prefix fd00:1234:5678:${toString n}::/64 { - AdvAutonomous off; - }; - }; - ''); - }; - }; - + lib = pkgs.lib; + router = import ./router.nix { inherit networkd; }; + clientConfig = extraConfig: lib.recursiveUpdate { + networking.useDHCP = false; + networking.useNetworkd = networkd; + } extraConfig; testCases = { loopback = { name = "Loopback"; - nodes.client = { pkgs, ... }: with pkgs.lib; { - networking.useDHCP = false; - networking.useNetworkd = networkd; - }; + nodes.client = clientConfig {}; testScript = '' start_all() client.wait_for_unit("network.target") @@ -107,12 +28,10 @@ let static = { name = "Static"; nodes.router = router; - nodes.client = { pkgs, ... }: with pkgs.lib; { + nodes.client = clientConfig { virtualisation.interfaces.enp1s0.vlan = 1; virtualisation.interfaces.enp2s0.vlan = 2; networking = { - useNetworkd = networkd; - useDHCP = false; defaultGateway = { address = "192.168.1.1"; interface = "enp1s0"; }; defaultGateway6 = { address = "fd00:1234:5678:1::1"; interface = "enp1s0"; }; interfaces.enp1s0.ipv4.addresses = [ @@ -125,8 +44,7 @@ let ]; }; }; - testScript = { ... }: - '' + testScript = '' start_all() client.wait_for_unit("network.target") @@ -139,35 +57,23 @@ let with subtest("Test vlan 1"): client.wait_until_succeeds("ping -c 1 192.168.1.1") - client.wait_until_succeeds("ping -c 1 192.168.1.2") - client.wait_until_succeeds("ping -c 1 192.168.1.3") - client.wait_until_succeeds("ping -c 1 192.168.1.10") - - router.wait_until_succeeds("ping -c 1 192.168.1.1") router.wait_until_succeeds("ping -c 1 192.168.1.2") router.wait_until_succeeds("ping -c 1 192.168.1.3") router.wait_until_succeeds("ping -c 1 192.168.1.10") with subtest("Test vlan 2"): client.wait_until_succeeds("ping -c 1 192.168.2.1") - client.wait_until_succeeds("ping -c 1 192.168.2.2") - - router.wait_until_succeeds("ping -c 1 192.168.2.1") router.wait_until_succeeds("ping -c 1 192.168.2.2") with subtest("Test default gateway"): - router.wait_until_succeeds("ping -c 1 192.168.3.1") client.wait_until_succeeds("ping -c 1 192.168.3.1") - router.wait_until_succeeds("ping -c 1 fd00:1234:5678:3::1") client.wait_until_succeeds("ping -c 1 fd00:1234:5678:3::1") ''; }; routeType = { name = "RouteType"; - nodes.client = { pkgs, ... }: with pkgs.lib; { + nodes.client = clientConfig { networking = { - useDHCP = false; - useNetworkd = networkd; interfaces.eth1.ipv4.routes = [{ address = "192.168.1.127"; prefixLength = 32; @@ -184,7 +90,7 @@ let dhcpDefault = { name = "useDHCP-by-default"; nodes.router = router; - nodes.client = { lib, ... }: { + nodes.client = { # Disable test driver default config networking.interfaces = lib.mkForce { # Make sure DHCP defaults correctly even when some unrelated config @@ -198,28 +104,22 @@ let start_all() client.wait_for_unit("multi-user.target") client.wait_until_succeeds("ip addr show dev enp1s0 | grep '192.168.1'") - client.shell_interact() - client.succeed("ping -c 1 192.168.1.1") router.succeed("ping -c 1 192.168.1.1") - router.succeed("ping -c 1 192.168.1.2") client.succeed("ping -c 1 192.168.1.2") ''; }; dhcpSimple = { name = "SimpleDHCP"; nodes.router = router; - nodes.client = { pkgs, ... }: with pkgs.lib; { + nodes.client = clientConfig { virtualisation.interfaces.enp1s0.vlan = 1; virtualisation.interfaces.enp2s0.vlan = 2; networking = { - useNetworkd = networkd; - useDHCP = false; interfaces.enp1s0.useDHCP = true; interfaces.enp2s0.useDHCP = true; }; }; - testScript = { ... }: - '' + testScript = '' start_all() client.wait_for_unit("network.target") @@ -234,44 +134,31 @@ let with subtest("Test vlan 1"): client.wait_until_succeeds("ping -c 1 192.168.1.1") - client.wait_until_succeeds("ping -c 1 192.168.1.2") client.wait_until_succeeds("ping -c 1 fd00:1234:5678:1::1") - client.wait_until_succeeds("ping -c 1 fd00:1234:5678:1::2") - - router.wait_until_succeeds("ping -c 1 192.168.1.1") router.wait_until_succeeds("ping -c 1 192.168.1.2") - router.wait_until_succeeds("ping -c 1 fd00:1234:5678:1::1") router.wait_until_succeeds("ping -c 1 fd00:1234:5678:1::2") with subtest("Test vlan 2"): client.wait_until_succeeds("ping -c 1 192.168.2.1") - client.wait_until_succeeds("ping -c 1 192.168.2.2") client.wait_until_succeeds("ping -c 1 fd00:1234:5678:2::1") - client.wait_until_succeeds("ping -c 1 fd00:1234:5678:2::2") - - router.wait_until_succeeds("ping -c 1 192.168.2.1") router.wait_until_succeeds("ping -c 1 192.168.2.2") - router.wait_until_succeeds("ping -c 1 fd00:1234:5678:2::1") router.wait_until_succeeds("ping -c 1 fd00:1234:5678:2::2") ''; }; dhcpOneIf = { name = "OneInterfaceDHCP"; nodes.router = router; - nodes.client = { pkgs, ... }: with pkgs.lib; { + nodes.client = clientConfig { virtualisation.interfaces.enp1s0.vlan = 1; virtualisation.interfaces.enp2s0.vlan = 2; networking = { - useNetworkd = networkd; - useDHCP = false; interfaces.enp1s0 = { mtu = 1343; useDHCP = true; }; }; }; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to come up"): @@ -286,9 +173,6 @@ let with subtest("Test vlan 1"): client.wait_until_succeeds("ping -c 1 192.168.1.1") - client.wait_until_succeeds("ping -c 1 192.168.1.2") - - router.wait_until_succeeds("ping -c 1 192.168.1.1") router.wait_until_succeeds("ping -c 1 192.168.1.2") with subtest("Test vlan 2"): @@ -300,17 +184,15 @@ let ''; }; bond = let - node = address: { pkgs, ... }: with pkgs.lib; { + node = address: clientConfig { virtualisation.interfaces.enp1s0.vlan = 1; virtualisation.interfaces.enp2s0.vlan = 2; networking = { - useNetworkd = networkd; - useDHCP = false; bonds.bond0 = { interfaces = [ "enp1s0" "enp2s0" ]; driverOptions.mode = "802.3ad"; }; - interfaces.bond0.ipv4.addresses = mkOverride 0 + interfaces.bond0.ipv4.addresses = lib.mkOverride 0 [ { inherit address; prefixLength = 30; } ]; }; }; @@ -318,8 +200,7 @@ let name = "Bond"; nodes.client1 = node "192.168.1.1"; nodes.client2 = node "192.168.1.2"; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to come up"): @@ -339,7 +220,7 @@ let ''; }; bridge = let - node = { address, vlan }: { pkgs, ... }: with pkgs.lib; { + node = { address, vlan }: { pkgs, ... }: { virtualisation.interfaces.enp1s0.vlan = vlan; networking = { useNetworkd = networkd; @@ -351,21 +232,20 @@ let name = "Bridge"; nodes.client1 = node { address = "192.168.1.2"; vlan = 1; }; nodes.client2 = node { address = "192.168.1.3"; vlan = 2; }; - nodes.router = { pkgs, ... }: with pkgs.lib; { + nodes.router = { virtualisation.interfaces.enp1s0.vlan = 1; virtualisation.interfaces.enp2s0.vlan = 2; networking = { useNetworkd = networkd; useDHCP = false; bridges.bridge.interfaces = [ "enp1s0" "enp2s0" ]; - interfaces.eth1.ipv4.addresses = mkOverride 0 [ ]; - interfaces.eth2.ipv4.addresses = mkOverride 0 [ ]; - interfaces.bridge.ipv4.addresses = mkOverride 0 + interfaces.eth1.ipv4.addresses = lib.mkOverride 0 [ ]; + interfaces.eth2.ipv4.addresses = lib.mkOverride 0 [ ]; + interfaces.bridge.ipv4.addresses = lib.mkOverride 0 [ { address = "192.168.1.1"; prefixLength = 24; } ]; }; }; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to come up"): @@ -389,7 +269,7 @@ let macvlan = { name = "MACVLAN"; nodes.router = router; - nodes.client = { pkgs, ... }: with pkgs.lib; { + nodes.client = { pkgs, ... }: { environment.systemPackages = [ pkgs.iptables ]; # to debug firewall rules virtualisation.interfaces.enp1s0.vlan = 1; networking = { @@ -404,8 +284,7 @@ let interfaces.macvlan.useDHCP = true; }; }; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to come up"): @@ -439,34 +318,31 @@ let }; fou = { name = "foo-over-udp"; - nodes.machine = { ... }: { + nodes.machine = clientConfig { virtualisation.interfaces.enp1s0.vlan = 1; networking = { - useNetworkd = networkd; - useDHCP = false; interfaces.enp1s0.ipv4.addresses = [ { address = "192.168.1.1"; prefixLength = 24; } ]; fooOverUDP = { fou1 = { port = 9001; }; fou2 = { port = 9002; protocol = 41; }; - fou3 = mkIf (!networkd) + fou3 = lib.mkIf (!networkd) { port = 9003; local.address = "192.168.1.1"; }; - fou4 = mkIf (!networkd) + fou4 = lib.mkIf (!networkd) { port = 9004; local = { address = "192.168.1.1"; dev = "enp1s0"; }; }; }; }; systemd.services = { - fou3-fou-encap.after = optional (!networkd) "network-addresses-enp1s0.service"; + fou3-fou-encap.after = lib.optional (!networkd) "network-addresses-enp1s0.service"; }; }; - testScript = { ... }: - '' + testScript = '' import json machine.wait_for_unit("network.target") fous = json.loads(machine.succeed("ip -json fou show")) assert {"port": 9001, "gue": None, "family": "inet"} in fous, "fou1 exists" assert {"port": 9002, "ipproto": 41, "family": "inet"} in fous, "fou2 exists" - '' + optionalString (!networkd) '' + '' + lib.optionalString (!networkd) '' assert { "port": 9003, "gue": None, @@ -483,7 +359,7 @@ let ''; }; sit = let - node = { address4, remote, address6 }: { pkgs, ... }: with pkgs.lib; { + node = { address4, remote, address6 }: { pkgs, ... }: { virtualisation.interfaces.enp1s0.vlan = 1; networking = { useNetworkd = networkd; @@ -493,9 +369,9 @@ let local = address4; dev = "enp1s0"; }; - interfaces.enp1s0.ipv4.addresses = mkOverride 0 + interfaces.enp1s0.ipv4.addresses = lib.mkOverride 0 [ { address = address4; prefixLength = 24; } ]; - interfaces.sit.ipv6.addresses = mkOverride 0 + interfaces.sit.ipv6.addresses = lib.mkOverride 0 [ { address = address6; prefixLength = 64; } ]; }; }; @@ -506,7 +382,7 @@ let # client2 does the reverse, sending in proto-41 and accepting only UDP incoming. # that way we'll notice when either SIT itself or FOU breaks. nodes.client1 = args@{ pkgs, ... }: - mkMerge [ + lib.mkMerge [ (node { address4 = "192.168.1.1"; remote = "192.168.1.2"; address6 = "fc00::1"; } args) { networking = { @@ -516,7 +392,7 @@ let } ]; nodes.client2 = args@{ pkgs, ... }: - mkMerge [ + lib.mkMerge [ (node { address4 = "192.168.1.2"; remote = "192.168.1.1"; address6 = "fc00::2"; } args) { networking = { @@ -525,8 +401,7 @@ let }; } ]; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to be configured"): @@ -546,7 +421,7 @@ let ''; }; gre = let - node = { pkgs, ... }: with pkgs.lib; { + node = { ... }: { networking = { useNetworkd = networkd; useDHCP = false; @@ -556,7 +431,7 @@ let in { name = "GRE"; nodes.client1 = args@{ pkgs, ... }: - mkMerge [ + lib.mkMerge [ (node args) { virtualisation.vlans = [ 1 2 4 ]; @@ -578,21 +453,21 @@ let }; }; bridges.bridge.interfaces = [ "greTunnel" "eth1" ]; - interfaces.eth1.ipv4.addresses = mkOverride 0 []; - interfaces.bridge.ipv4.addresses = mkOverride 0 [ + interfaces.eth1.ipv4.addresses = lib.mkOverride 0 []; + interfaces.bridge.ipv4.addresses = lib.mkOverride 0 [ { address = "192.168.1.1"; prefixLength = 24; } ]; interfaces.eth3.ipv6.addresses = [ { address = "fd00:1234:5678:4::1"; prefixLength = 64; } ]; - interfaces.gre6Tunnel.ipv6.addresses = mkOverride 0 [ + interfaces.gre6Tunnel.ipv6.addresses = lib.mkOverride 0 [ { address = "fc00::1"; prefixLength = 64; } ]; }; } ]; nodes.client2 = args@{ pkgs, ... }: - mkMerge [ + lib.mkMerge [ (node args) { virtualisation.vlans = [ 2 3 4 ]; @@ -614,21 +489,20 @@ let }; }; bridges.bridge.interfaces = [ "greTunnel" "eth2" ]; - interfaces.eth2.ipv4.addresses = mkOverride 0 []; - interfaces.bridge.ipv4.addresses = mkOverride 0 [ + interfaces.eth2.ipv4.addresses = lib.mkOverride 0 []; + interfaces.bridge.ipv4.addresses = lib.mkOverride 0 [ { address = "192.168.1.2"; prefixLength = 24; } ]; interfaces.eth3.ipv6.addresses = [ { address = "fd00:1234:5678:4::2"; prefixLength = 64; } ]; - interfaces.gre6Tunnel.ipv6.addresses = mkOverride 0 [ + interfaces.gre6Tunnel.ipv6.addresses = lib.mkOverride 0 [ { address = "fc00::2"; prefixLength = 64; } ]; }; } ]; - testScript = { ... }: - '' + testScript = '' import json start_all() @@ -658,8 +532,7 @@ let ''; }; vlan = let - node = address: { pkgs, ... }: with pkgs.lib; { - #virtualisation.vlans = [ 1 ]; + node = address: { networking = { useNetworkd = networkd; useDHCP = false; @@ -667,9 +540,9 @@ let id = 1; interface = "eth0"; }; - interfaces.eth0.ipv4.addresses = mkOverride 0 [ ]; - interfaces.eth1.ipv4.addresses = mkOverride 0 [ ]; - interfaces.vlan.ipv4.addresses = mkOverride 0 + interfaces.eth0.ipv4.addresses = lib.mkOverride 0 [ ]; + interfaces.eth1.ipv4.addresses = lib.mkOverride 0 [ ]; + interfaces.vlan.ipv4.addresses = lib.mkOverride 0 [ { inherit address; prefixLength = 24; } ]; }; }; @@ -677,8 +550,7 @@ let name = "vlan"; nodes.client1 = node "192.168.1.1"; nodes.client2 = node "192.168.1.2"; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to be configured"): @@ -695,14 +567,14 @@ let vlanIP = number: "10.1.1.${number}"; baseInterface = "enp1s0"; vlanInterface = "vlan42"; - node = number: {pkgs, ... }: with pkgs.lib; { + node = number: { virtualisation.interfaces.enp1s0.vlan = 1; networking = { #useNetworkd = networkd; useDHCP = false; vlans.${vlanInterface} = { id = 42; interface = baseInterface; }; - interfaces.${baseInterface}.ipv4.addresses = mkOverride 0 [{ address = baseIP number; prefixLength = 24; }]; - interfaces.${vlanInterface}.ipv4.addresses = mkOverride 0 [{ address = vlanIP number; prefixLength = 24; }]; + interfaces.${baseInterface}.ipv4.addresses = lib.mkOverride 0 [{ address = baseIP number; prefixLength = 24; }]; + interfaces.${vlanInterface}.ipv4.addresses = lib.mkOverride 0 [{ address = vlanIP number; prefixLength = 24; }]; }; }; @@ -713,8 +585,7 @@ let name = "vlan-ping"; nodes.server = node serverNodeNum; nodes.client = node clientNodeNum; - testScript = { ... }: - '' + testScript = '' start_all() with subtest("Wait for networking to be configured"): @@ -778,7 +649,7 @@ let machine.wait_until_succeeds("ip link show dev tun0 | grep 'mtu 1343'") assert "02:de:ad:be:ef:01" in machine.succeed("ip link show dev tap0") '' # network-addresses-* only exist in scripted networking - + optionalString (!networkd) '' + + lib.optionalString (!networkd) '' with subtest("Test interfaces clean up"): machine.succeed("systemctl stop network-addresses-tap0") machine.sleep(10) @@ -792,13 +663,13 @@ let }; privacy = { name = "Privacy"; - nodes.router = { ... }: { + nodes.router = { virtualisation.interfaces.enp1s0.vlan = 1; boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true; networking = { useNetworkd = networkd; useDHCP = false; - interfaces.enp1s0.ipv6.addresses = singleton { + interfaces.enp1s0.ipv6.addresses = lib.singleton { address = "fd00:1234:5678:1::1"; prefixLength = 64; }; @@ -819,34 +690,33 @@ let ''; }; }; - nodes.client_with_privacy = { pkgs, ... }: with pkgs.lib; { + nodes.client_with_privacy = { virtualisation.interfaces.enp1s0.vlan = 1; networking = { useNetworkd = networkd; useDHCP = false; interfaces.enp1s0 = { tempAddress = "default"; - ipv4.addresses = mkOverride 0 [ ]; - ipv6.addresses = mkOverride 0 [ ]; + ipv4.addresses = lib.mkOverride 0 [ ]; + ipv6.addresses = lib.mkOverride 0 [ ]; useDHCP = true; }; }; }; - nodes.client = { pkgs, ... }: with pkgs.lib; { + nodes.client = { virtualisation.interfaces.enp1s0.vlan = 1; networking = { useNetworkd = networkd; useDHCP = false; interfaces.enp1s0 = { tempAddress = "enabled"; - ipv4.addresses = mkOverride 0 [ ]; - ipv6.addresses = mkOverride 0 [ ]; + ipv4.addresses = lib.mkOverride 0 [ ]; + ipv6.addresses = lib.mkOverride 0 [ ]; useDHCP = true; }; }; }; - testScript = { ... }: - '' + testScript = '' start_all() client.wait_for_unit("network.target") @@ -943,7 +813,7 @@ let ipv6Table, targetIPv6Table ) - '' + optionalString (!networkd) '' + '' + lib.optionalString (!networkd) '' with subtest("test clean-up of the tables"): machine.succeed("systemctl stop network-addresses-eth0") ipv4Residue = machine.succeed("ip -4 route list dev eth0 | head -n-3").strip() @@ -958,7 +828,7 @@ let }; rename = if networkd then { name = "RenameInterface"; - nodes.machine = { pkgs, ... }: { + nodes.machine = { virtualisation.vlans = [ 1 ]; networking = { useNetworkd = networkd; @@ -982,7 +852,7 @@ let # (as it's handled by udev, not networkd) link = { name = "Link"; - nodes.client = { pkgs, ... }: { + nodes.client = { virtualisation.vlans = [ 1 ]; networking = { useNetworkd = networkd; @@ -1007,7 +877,7 @@ let testMac = "06:00:00:00:02:00"; in { name = "WlanInterface"; - nodes.machine = { pkgs, ... }: { + nodes.machine = { boot.kernelModules = [ "mac80211_hwsim" ]; networking.wlanInterfaces = { wlan0 = { device = "wlan0"; }; @@ -1033,10 +903,10 @@ let ]; in { name = "naughtyInterfaceNames"; - nodes.machine = { pkgs, ... }: { + nodes.machine = { networking.useNetworkd = networkd; - networking.bridges = listToAttrs - (flip map ifnames + networking.bridges = lib.listToAttrs + (lib.flip builtins.map ifnames (name: { inherit name; value.interfaces = []; })); }; testScript = '' @@ -1048,7 +918,7 @@ let }; caseSensitiveRenaming = { name = "CaseSensitiveRenaming"; - nodes.machine = { pkgs, ... }: { + nodes.machine = { virtualisation.interfaces.enCustom.vlan = 11; networking = { useNetworkd = networkd; @@ -1063,6 +933,6 @@ let }; }; -in mapAttrs (const (attrs: makeTest (attrs // { +in lib.mapAttrs (lib.const (attrs: makeTest (attrs // { name = "${attrs.name}-Networking-${if networkd then "Networkd" else "Scripted"}"; }))) testCases diff --git a/nixos/tests/networking/router.nix b/nixos/tests/networking/router.nix new file mode 100644 index 000000000000..e0ad7fa01591 --- /dev/null +++ b/nixos/tests/networking/router.nix @@ -0,0 +1,82 @@ +{ networkd }: { config, pkgs, ... }: + let + inherit (pkgs) lib; + qemu-common = import ../../lib/qemu-common.nix { inherit lib pkgs; }; + vlanIfs = lib.range 1 (lib.length config.virtualisation.vlans); + in { + environment.systemPackages = [ pkgs.iptables ]; # to debug firewall rules + virtualisation.vlans = [ 1 2 3 ]; + boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true; + networking = { + useDHCP = false; + useNetworkd = networkd; + firewall.checkReversePath = true; + firewall.allowedUDPPorts = [ 547 ]; + interfaces = lib.mkOverride 0 (lib.listToAttrs (lib.forEach vlanIfs (n: + lib.nameValuePair "eth${toString n}" { + ipv4.addresses = [ { address = "192.168.${toString n}.1"; prefixLength = 24; } ]; + ipv6.addresses = [ { address = "fd00:1234:5678:${toString n}::1"; prefixLength = 64; } ]; + }))); + }; + services.kea = { + dhcp4 = { + enable = true; + settings = { + interfaces-config = { + interfaces = map (n: "eth${toString n}") vlanIfs; + dhcp-socket-type = "raw"; + service-sockets-require-all = true; + service-sockets-max-retries = 5; + service-sockets-retry-wait-time = 2500; + }; + subnet4 = map (n: { + id = n; + subnet = "192.168.${toString n}.0/24"; + pools = [{ pool = "192.168.${toString n}.3 - 192.168.${toString n}.254"; }]; + option-data = [ + { data = "192.168.${toString n}.1"; name = "routers"; } + { data = "192.168.${toString n}.1"; name = "domain-name-servers"; } + ]; + + reservations = [{ + hw-address = qemu-common.qemuNicMac n 1; + hostname = "client${toString n}"; + ip-address = "192.168.${toString n}.2"; + }]; + }) vlanIfs; + }; + }; + dhcp6 = { + enable = true; + settings = { + interfaces-config = { + interfaces = map (n: "eth${toString n}") vlanIfs; + service-sockets-require-all = true; + service-sockets-max-retries = 5; + service-sockets-retry-wait-time = 2500; + }; + + subnet6 = map (n: { + id = n; + subnet = "fd00:1234:5678:${toString n}::/64"; + interface = "eth${toString n}"; + pools = [{ pool = "fd00:1234:5678:${toString n}::2-fd00:1234:5678:${toString n}::2"; }]; + }) vlanIfs; + }; + }; + }; + services.radvd = { + enable = true; + config = lib.flip lib.concatMapStrings vlanIfs (n: '' + interface eth${toString n} { + AdvSendAdvert on; + AdvManagedFlag on; + AdvOtherConfigFlag on; + + prefix fd00:1234:5678:${toString n}::/64 { + AdvAutonomous off; + }; + }; + ''); + }; + } From ccf3cfcdf6d0db22be34af601fbe8d022880fc02 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 2 Apr 2024 17:20:38 +1300 Subject: [PATCH 0093/1387] dmd: modernize --- pkgs/by-name/dm/dmd/generic.nix | 54 ++++++++++++++------------------- pkgs/by-name/dm/dmd/package.nix | 4 +-- 2 files changed, 25 insertions(+), 33 deletions(-) diff --git a/pkgs/by-name/dm/dmd/generic.nix b/pkgs/by-name/dm/dmd/generic.nix index 88fabd9c83fb..06257b270266 100644 --- a/pkgs/by-name/dm/dmd/generic.nix +++ b/pkgs/by-name/dm/dmd/generic.nix @@ -1,6 +1,6 @@ { version -, dmdSha256 -, phobosSha256 +, dmdHash +, phobosHash }: { stdenv @@ -22,7 +22,7 @@ , git , unzip , dmdBootstrap ? callPackage ./bootstrap.nix { } -, dmd_bin ? "${dmdBootstrap}/bin" +, dmdBin ? "${dmdBootstrap}/bin" }: let @@ -45,7 +45,7 @@ let pathToDmd = "\${NIX_BUILD_TOP}/dmd/generated/${osname}/release/${bits}/dmd"; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "dmd"; inherit version; @@ -55,15 +55,15 @@ stdenv.mkDerivation rec { (fetchFromGitHub { owner = "dlang"; repo = "dmd"; - rev = "v${version}"; - sha256 = dmdSha256; + rev = "v${finalAttrs.version}"; + hash = dmdHash; name = "dmd"; }) (fetchFromGitHub { owner = "dlang"; repo = "phobos"; - rev = "v${version}"; - sha256 = phobosSha256; + rev = "v${finalAttrs.version}"; + hash = phobosHash; name = "phobos"; }) ]; @@ -80,7 +80,7 @@ stdenv.mkDerivation rec { url = "https://github.com/dlang/dmd/commit/c4d33e5eb46c123761ac501e8c52f33850483a8a.patch"; stripLen = 1; extraPrefix = "dmd/"; - sha256 = "sha256-N21mAPfaTo+zGCip4njejasraV5IsWVqlGR5eOdFZZE="; + hash = "sha256-N21mAPfaTo+zGCip4njejasraV5IsWVqlGR5eOdFZZE="; }) ]; @@ -102,18 +102,14 @@ stdenv.mkDerivation rec { # https://issues.dlang.org/show_bug.cgi?id=23317 rm dmd/compiler/test/runnable/cdvecfill.sh rm dmd/compiler/test/compilable/cdcmp.d - '' - - + lib.optionalString (lib.versionAtLeast version "2.089.0" && lib.versionOlder version "2.092.2") '' + '' + lib.optionalString (lib.versionAtLeast version "2.089.0" && lib.versionOlder version "2.092.2") '' rm dmd/compiler/test/dshell/test6952.d '' + lib.optionalString (lib.versionAtLeast version "2.092.2") '' - substituteInPlace dmd/compiler/test/dshell/test6952.d --replace "/usr/bin/env bash" "${bash}/bin/bash" - '' - - + lib.optionalString stdenv.isLinux '' - substituteInPlace phobos/std/socket.d --replace "assert(ih.addrList[0] == 0x7F_00_00_01);" "" + substituteInPlace dmd/compiler/test/dshell/test6952.d --replace-fail "/usr/bin/env bash" "${bash}/bin/bash" + '' + lib.optionalString stdenv.isLinux '' + substituteInPlace phobos/std/socket.d --replace-fail "assert(ih.addrList[0] == 0x7F_00_00_01);" "" '' + lib.optionalString stdenv.isDarwin '' - substituteInPlace phobos/std/socket.d --replace "foreach (name; names)" "names = []; foreach (name; names)" + substituteInPlace phobos/std/socket.d --replace-fail "foreach (name; names)" "names = []; foreach (name; names)" ''; nativeBuildInputs = [ @@ -148,11 +144,9 @@ stdenv.mkDerivation rec { runHook preBuild export buildJobs=$NIX_BUILD_CORES - if [ -z $enableParallelBuilding ]; then - buildJobs=1 - fi + [ -z "$enableParallelBuilding" ] && buildJobs=1 - ${dmd_bin}/rdmd dmd/compiler/src/build.d -j$buildJobs HOST_DMD=${dmd_bin}/dmd $buildFlags + ${dmdBin}/rdmd dmd/compiler/src/build.d -j$buildJobs HOST_DMD=${dmdBin}/dmd $buildFlags make -C dmd/druntime -f posix.mak DMD=${pathToDmd} $buildFlags -j$buildJobs echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile echo ${lib.getLib curl}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} > LibcurlPathFile @@ -163,9 +157,9 @@ stdenv.mkDerivation rec { doCheck = true; - checkFlags = buildFlags; + checkFlags = finalAttrs.buildFlags; - # many tests are disbled because they are failing + # many tests are disabled because they are failing # NOTE: Purity check is disabled for checkPhase because it doesn't fare well # with the DMD linker. See https://github.com/NixOS/nixpkgs/issues/97420 @@ -173,9 +167,7 @@ stdenv.mkDerivation rec { runHook preCheck export checkJobs=$NIX_BUILD_CORES - if [ -z $enableParallelChecking ]; then - checkJobs=1 - fi + [ -z "$enableParallelChecking" ] && checkJobs=1 NIX_ENFORCE_PURITY= \ make -C dmd/compiler/test $checkFlags CC=$CXX SHELL=$SHELL -j$checkJobs N=$checkJobs @@ -200,7 +192,7 @@ stdenv.mkDerivation rec { cp phobos/generated/${osname}/release/${bits}/libphobos2.* $out/lib/ wrapProgram $out/bin/dmd \ - --prefix PATH ":" "${targetPackages.stdenv.cc}/bin" \ + --prefix PATH : "${targetPackages.stdenv.cc}/bin" \ --set-default CC "${targetPackages.stdenv.cc}/bin/cc" substitute ${dmdConfFile} "$out/bin/dmd.conf" --subst-var out @@ -209,19 +201,19 @@ stdenv.mkDerivation rec { ''; preFixup = '' - find $out/bin -type f -exec ${removeReferencesTo}/bin/remove-references-to -t ${dmd_bin}/dmd '{}' + + find $out/bin -type f -exec ${removeReferencesTo}/bin/remove-references-to -t ${dmdBin}/dmd '{}' + ''; disallowedReferences = [ dmdBootstrap ]; meta = with lib; { description = "Official reference compiler for the D language"; - mainProgram = "dmd"; homepage = "https://dlang.org/"; # Everything is now Boost licensed, even the backend. # https://github.com/dlang/dmd/pull/6680 license = licenses.boost; + mainProgram = "dmd"; maintainers = with maintainers; [ lionello dukc jtbx ]; platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]; }; -} +}) diff --git a/pkgs/by-name/dm/dmd/package.nix b/pkgs/by-name/dm/dmd/package.nix index bdc9fafd4f06..547871808102 100644 --- a/pkgs/by-name/dm/dmd/package.nix +++ b/pkgs/by-name/dm/dmd/package.nix @@ -1,5 +1,5 @@ import ./generic.nix { version = "2.106.1"; - dmdSha256 = "sha256-vjYa/Pxrz7J2htXT+fa+xaeen/Vxne++lELbHTSXBK8="; - phobosSha256 = "sha256-yRL9ub3u4mREG9PVxBvgQ/LDXD57RadPTZ2h08qyh/s="; + dmdHash = "sha256-vjYa/Pxrz7J2htXT+fa+xaeen/Vxne++lELbHTSXBK8="; + phobosHash = "sha256-yRL9ub3u4mREG9PVxBvgQ/LDXD57RadPTZ2h08qyh/s="; } From d1fec21f6470b913d0f1a164fd807f65d79ae6a4 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 2 Apr 2024 17:20:43 +1300 Subject: [PATCH 0094/1387] dtools: migrate to pkgs/by-name --- .../tools/dtools/default.nix => by-name/dt/dtools/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/dtools/default.nix => by-name/dt/dtools/package.nix} (100%) diff --git a/pkgs/development/tools/dtools/default.nix b/pkgs/by-name/dt/dtools/package.nix similarity index 100% rename from pkgs/development/tools/dtools/default.nix rename to pkgs/by-name/dt/dtools/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7043497fbc5f..faecac6daccc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5117,8 +5117,6 @@ with pkgs; dsvpn = callPackage ../applications/networking/dsvpn { }; - dtools = callPackage ../development/tools/dtools { }; - dwt1-shell-color-scripts = callPackage ../tools/misc/dwt1-shell-color-scripts { }; dtrx = callPackage ../tools/compression/dtrx { }; From b01c88e620c8e9205123b608b84801729537a09e Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 2 Apr 2024 17:20:43 +1300 Subject: [PATCH 0095/1387] dtools: refactor o switch to using finalAttrs pattern over rec expression in mkDerivation call o use hash over sha256 in calls to fetchers o remove the build-time dependency on gnumake42; dtools now builds fine with the latest version of GNU make o use stdenv's implicit phases that build+install with make o specify make flags through makeFlags rather than through an arbitrary attribute o remove unnecessary make flags o build with parallelism o use checkTarget instead of providing a full checkPhase o clean up meta --- pkgs/by-name/dt/dtools/disabled-tests.diff | 11 +++++ pkgs/by-name/dt/dtools/package.nix | 53 ++++++++++++---------- 2 files changed, 39 insertions(+), 25 deletions(-) create mode 100644 pkgs/by-name/dt/dtools/disabled-tests.diff diff --git a/pkgs/by-name/dt/dtools/disabled-tests.diff b/pkgs/by-name/dt/dtools/disabled-tests.diff new file mode 100644 index 000000000000..a22825a214f7 --- /dev/null +++ b/pkgs/by-name/dt/dtools/disabled-tests.diff @@ -0,0 +1,11 @@ +--- a/rdmd_test.d ++++ b/rdmd_test.d +@@ -616,7 +616,7 @@ void runTests(string rdmdApp, string compiler, string model) + enforce(res.status == 1, res.output); + } + +- version (Posix) ++ version (none) + { + import std.conv : to; + auto makeVersion = execute(["make", "--version"]).output.splitLines()[0]; diff --git a/pkgs/by-name/dt/dtools/package.nix b/pkgs/by-name/dt/dtools/package.nix index 0c2f94bd7fe8..c3964cc955b0 100644 --- a/pkgs/by-name/dt/dtools/package.nix +++ b/pkgs/by-name/dt/dtools/package.nix @@ -1,51 +1,54 @@ -{ stdenv, lib, fetchFromGitHub, fetchpatch, ldc, curl, gnumake42 }: +{ lib +, stdenv +, fetchFromGitHub +, fetchpatch +, ldc +, curl +}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "dtools"; version = "2.106.1"; src = fetchFromGitHub { owner = "dlang"; repo = "tools"; - rev = "v${version}"; - sha256 = "sha256-Y8jSwd6tldCnq3yEuO/xUYrSV+lp7tBPMiheMA06f0M="; + rev = "v${finalAttrs.version}"; + hash = "sha256-Y8jSwd6tldCnq3yEuO/xUYrSV+lp7tBPMiheMA06f0M="; name = "dtools"; }; patches = [ + # Disable failing tests + ./disabled-tests.diff + # Fix LDC arm64 build (fetchpatch { # part of https://github.com/dlang/tools/pull/441 - url = "https://github.com/dlang/tools/commit/6c6a042d1b08e3ec1790bd07a7f69424625ee866.patch"; # Fix LDC arm64 build - sha256 = "sha256-x6EclTYN1Y5FG57KLhbBK0BZicSYcZoWO7MTVcP4T18="; + url = "https://github.com/dlang/tools/commit/6c6a042d1b08e3ec1790bd07a7f69424625ee866.patch"; + hash = "sha256-x6EclTYN1Y5FG57KLhbBK0BZicSYcZoWO7MTVcP4T18="; }) ]; - nativeBuildInputs = [ ldc gnumake42 ]; # fails with make 4.4 + nativeBuildInputs = [ ldc ]; buildInputs = [ curl ]; - makeCmd = '' - make -f posix.mak all DMD_DIR=dmd DMD=${ldc.out}/bin/ldmd2 CC=${stdenv.cc}/bin/cc - ''; + makeFlags = [ + "-fposix.mak" + "CC=${stdenv.cc}/bin/cc" + "DMD=${ldc.out}/bin/ldmd2" + "INSTALL_DIR=$(out)" + ]; - buildPhase = '' - $makeCmd - ''; + enableParallelBuilding = true; doCheck = true; - - checkPhase = '' - $makeCmd test_rdmd - ''; - - installPhase = '' - $makeCmd INSTALL_DIR=$out install - ''; + checkTarget = "test_rdmd"; meta = with lib; { - description = "Ancillary tools for the D programming language compiler"; + description = "Ancillary tools for the D programming language"; homepage = "https://github.com/dlang/tools"; - license = lib.licenses.boost; + license = licenses.boost; maintainers = with maintainers; [ jtbx ]; - platforms = lib.platforms.unix; + platforms = platforms.unix; }; -} +}) From e85f7c6c9d494fa19204fd8584bea5f2c34d6179 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 2 Apr 2024 17:45:48 +1300 Subject: [PATCH 0096/1387] dtools: 2.106.1 -> 2.108.0 Current arm64 patch broke so I adapted it to apply on 2.108.1. The generic Makefile is now used instead of posix.mak which has been deprecated for quite a while now. --- pkgs/by-name/dt/dtools/fix-ldc-arm64.diff | 102 ++++++++++++++++++++++ pkgs/by-name/dt/dtools/package.nix | 11 +-- 2 files changed, 105 insertions(+), 8 deletions(-) create mode 100644 pkgs/by-name/dt/dtools/fix-ldc-arm64.diff diff --git a/pkgs/by-name/dt/dtools/fix-ldc-arm64.diff b/pkgs/by-name/dt/dtools/fix-ldc-arm64.diff new file mode 100644 index 000000000000..66eaa22c0a25 --- /dev/null +++ b/pkgs/by-name/dt/dtools/fix-ldc-arm64.diff @@ -0,0 +1,102 @@ +Adapted from https://github.com/dlang/tools/commit/6c6a042d1b08e3ec1790bd07a7f69424625ee866.patch +--- /dev/null ++++ b/osmodel.mak +@@ -0,0 +1,75 @@ ++# osmodel.mak ++# ++# Detects and sets the macros: ++# ++# OS = one of {osx,linux,freebsd,openbsd,netbsd,dragonflybsd,solaris} ++# MODEL = one of { 32, 64 } ++# MODEL_FLAG = one of { -m32, -m64 } ++# ARCH = one of { x86, x86_64, aarch64 } ++# ++# Note: ++# Keep this file in sync between druntime, phobos, and dmd repositories! ++# Source: https://github.com/dlang/dmd/blob/master/src/osmodel.mak ++ ++ ++ifeq (,$(OS)) ++ uname_S:=$(shell uname -s) ++ ifeq (Darwin,$(uname_S)) ++ OS:=osx ++ endif ++ ifeq (Linux,$(uname_S)) ++ OS:=linux ++ endif ++ ifeq (FreeBSD,$(uname_S)) ++ OS:=freebsd ++ endif ++ ifeq (OpenBSD,$(uname_S)) ++ OS:=openbsd ++ endif ++ ifeq (NetBSD,$(uname_S)) ++ OS:=netbsd ++ endif ++ ifeq (DragonFly,$(uname_S)) ++ OS:=dragonflybsd ++ endif ++ ifeq (Solaris,$(uname_S)) ++ OS:=solaris ++ endif ++ ifeq (SunOS,$(uname_S)) ++ OS:=solaris ++ endif ++ ifeq (,$(OS)) ++ $(error Unrecognized or unsupported OS for uname: $(uname_S)) ++ endif ++endif ++ ++# When running make from XCode it may set environment var OS=MACOS. ++# Adjust it here: ++ifeq (MACOS,$(OS)) ++ OS:=osx ++endif ++ ++ifeq (,$(MODEL)) ++ ifeq ($(OS), solaris) ++ uname_M:=$(shell isainfo -n) ++ else ++ uname_M:=$(shell uname -m) ++ endif ++ ifneq (,$(findstring $(uname_M),x86_64 amd64)) ++ MODEL:=64 ++ ARCH:=x86_64 ++ endif ++ ifneq (,$(findstring $(uname_M),aarch64 arm64)) ++ MODEL:=64 ++ ARCH:=aarch64 ++ endif ++ ifneq (,$(findstring $(uname_M),i386 i586 i686)) ++ MODEL:=32 ++ ARCH:=x86 ++ endif ++ ifeq (,$(MODEL)) ++ $(error Cannot figure 32/64 model and arch from uname -m: $(uname_M)) ++ endif ++endif ++ ++MODEL_FLAG:=-m$(MODEL) +--- a/Makefile ++++ b/Makefile +@@ -9,9 +9,8 @@ DUB=dub + WITH_DOC = no + DOC = ../dlang.org + +-# Load operating system $(OS) (e.g. linux, osx, ...) and $(MODEL) (e.g. 32, 64) detection Makefile from dmd +-$(shell [ ! -d $(DMD_DIR) ] && git clone --depth=1 https://github.com/dlang/dmd $(DMD_DIR)) +-include $(DMD_DIR)/compiler/src/osmodel.mak ++# Load operating system $(OS) (e.g. linux, osx, ...) and $(MODEL) (e.g. 32, 64) detection Makefile ++include osmodel.mak + + ifeq (windows,$(OS)) + DOTEXE:=.exe +@@ -30,7 +29,7 @@ DFLAGS = $(MODEL_FLAG) $(if $(findstring windows,$(OS)),,-fPIC) -preview=dip1000 + DFLAGS += $(WARNINGS) + + # Default DUB flags (DUB uses a different architecture format) +-DUBFLAGS = --arch=$(subst 32,x86,$(subst 64,x86_64,$(MODEL))) ++DUBFLAGS = --arch=$(ARCH) + + TOOLS = \ + $(ROOT)/catdoc$(DOTEXE) \ diff --git a/pkgs/by-name/dt/dtools/package.nix b/pkgs/by-name/dt/dtools/package.nix index c3964cc955b0..9de7ed6b125b 100644 --- a/pkgs/by-name/dt/dtools/package.nix +++ b/pkgs/by-name/dt/dtools/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "dtools"; - version = "2.106.1"; + version = "2.108.0"; src = fetchFromGitHub { owner = "dlang"; repo = "tools"; rev = "v${finalAttrs.version}"; - hash = "sha256-Y8jSwd6tldCnq3yEuO/xUYrSV+lp7tBPMiheMA06f0M="; + hash = "sha256-YEBUgJPG/+WN4MnQUNAVftZM0ULxZZzpHoOozXua46U="; name = "dtools"; }; @@ -22,18 +22,13 @@ stdenv.mkDerivation (finalAttrs: { # Disable failing tests ./disabled-tests.diff # Fix LDC arm64 build - (fetchpatch { - # part of https://github.com/dlang/tools/pull/441 - url = "https://github.com/dlang/tools/commit/6c6a042d1b08e3ec1790bd07a7f69424625ee866.patch"; - hash = "sha256-x6EclTYN1Y5FG57KLhbBK0BZicSYcZoWO7MTVcP4T18="; - }) + ./fix-ldc-arm64.diff ]; nativeBuildInputs = [ ldc ]; buildInputs = [ curl ]; makeFlags = [ - "-fposix.mak" "CC=${stdenv.cc}/bin/cc" "DMD=${ldc.out}/bin/ldmd2" "INSTALL_DIR=$(out)" From 9b3cf68ef2aa71c1d9c6fe33bdb8aa45d978252f Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 2 Apr 2024 17:46:00 +1300 Subject: [PATCH 0097/1387] dmd: 2.106.1 -> 2.108.0 Tests now use a D program called run.d, rather than the previous Makefiles. The compiler makefiles located in compiler/src/ have been deprecated for a long time now and have finally been removed in favour of build.d. There is also a top-level generic Makefile which also works on Windows apparently. [1] The Phobos makefiles (posix.mak and such) have also been removed and replaced with a generic top-level Makefile. Same with druntime. [2] [1]: [2]: --- pkgs/by-name/dm/dmd/generic.nix | 20 +++++++++++--------- pkgs/by-name/dm/dmd/package.nix | 6 +++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/dm/dmd/generic.nix b/pkgs/by-name/dm/dmd/generic.nix index 06257b270266..9bfd2c5ffc9f 100644 --- a/pkgs/by-name/dm/dmd/generic.nix +++ b/pkgs/by-name/dm/dmd/generic.nix @@ -146,19 +146,20 @@ stdenv.mkDerivation (finalAttrs: { export buildJobs=$NIX_BUILD_CORES [ -z "$enableParallelBuilding" ] && buildJobs=1 - ${dmdBin}/rdmd dmd/compiler/src/build.d -j$buildJobs HOST_DMD=${dmdBin}/dmd $buildFlags - make -C dmd/druntime -f posix.mak DMD=${pathToDmd} $buildFlags -j$buildJobs + ${dmdBin}/rdmd dmd/compiler/src/build.d -j$buildJobs $buildFlags \ + HOST_DMD=${dmdBin}/dmd + make -C dmd/druntime -j$buildJobs DMD=${pathToDmd} $buildFlags echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile - echo ${lib.getLib curl}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} > LibcurlPathFile - make -C phobos -f posix.mak $buildFlags -j$buildJobs DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$PWD" + echo ${lib.getLib curl}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary} \ + > LibcurlPathFile + make -C phobos -j$buildJobs $buildFlags \ + DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$PWD" runHook postBuild ''; doCheck = true; - checkFlags = finalAttrs.buildFlags; - # many tests are disabled because they are failing # NOTE: Purity check is disabled for checkPhase because it doesn't fare well @@ -169,11 +170,12 @@ stdenv.mkDerivation (finalAttrs: { export checkJobs=$NIX_BUILD_CORES [ -z "$enableParallelChecking" ] && checkJobs=1 - NIX_ENFORCE_PURITY= \ - make -C dmd/compiler/test $checkFlags CC=$CXX SHELL=$SHELL -j$checkJobs N=$checkJobs + CC=$CXX HOST_DMD=${pathToDmd} NIX_ENFORCE_PURITY= \ + ${dmdBin}/rdmd dmd/compiler/test/run.d -j$checkJobs NIX_ENFORCE_PURITY= \ - make -C phobos -f posix.mak unittest $checkFlags -j$checkJobs DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$PWD" + make -C phobos unittest -j$checkJobs $checkFlags \ + DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$PWD" runHook postCheck ''; diff --git a/pkgs/by-name/dm/dmd/package.nix b/pkgs/by-name/dm/dmd/package.nix index 547871808102..9f3f5a26e7e5 100644 --- a/pkgs/by-name/dm/dmd/package.nix +++ b/pkgs/by-name/dm/dmd/package.nix @@ -1,5 +1,5 @@ import ./generic.nix { - version = "2.106.1"; - dmdHash = "sha256-vjYa/Pxrz7J2htXT+fa+xaeen/Vxne++lELbHTSXBK8="; - phobosHash = "sha256-yRL9ub3u4mREG9PVxBvgQ/LDXD57RadPTZ2h08qyh/s="; + version = "2.108.0"; + dmdHash = "sha256-tlWcFgKtXzfqMMkOq4ezhZHdYCXFckjN5+m6jO4VH0U="; + phobosHash = "sha256-uU8S4rABOfhpKh+MvSbclkbdf0hrsuKF8SIpWMnPpfU="; } From 1443bac30aaabb78b8f0ef366c0e0ad6ebc8190e Mon Sep 17 00:00:00 2001 From: Tom Herbers Date: Tue, 2 Apr 2024 16:37:51 +0200 Subject: [PATCH 0098/1387] bird: remove globin as maintainer --- pkgs/servers/bird/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix index dbf480c401dd..2c29a210f7a8 100644 --- a/pkgs/servers/bird/default.nix +++ b/pkgs/servers/bird/default.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { description = "BIRD Internet Routing Daemon"; homepage = "http://bird.network.cz"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ globin ]; + maintainers = with maintainers; [ ]; platforms = platforms.linux; }; } From 4874517e27163fa16d37028bce318287fc70ec6a Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Tue, 2 Apr 2024 20:16:31 -0400 Subject: [PATCH 0099/1387] python31Packages.nibabel: unbreak by disabling test requiring `distutils` --- pkgs/development/python-modules/nibabel/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/nibabel/default.nix b/pkgs/development/python-modules/nibabel/default.nix index 7d8e021fd0cf..71dba55c6ccf 100644 --- a/pkgs/development/python-modules/nibabel/default.nix +++ b/pkgs/development/python-modules/nibabel/default.nix @@ -77,6 +77,11 @@ buildPythonPackage rec { export PATH=$out/bin:$PATH ''; + disabledTestPaths = lib.optionals (!pythonOlder "3.12") [ + # tries to use `distutils`, removed in Python 3.12 + "nisext/tests/test_sexts.py" + ]; + meta = with lib; { homepage = "https://nipy.org/nibabel"; changelog = "https://github.com/nipy/nibabel/blob/${version}/Changelog"; From 543d39e0579075f1fa193b5c0353983b474bb73c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 2 Apr 2024 23:51:57 +0200 Subject: [PATCH 0100/1387] mdadm: update homepage Neil Brown's website returns an internal error, and has been stating that he is no longer involved in maintaining mdadm: https://web.archive.org/web/20211120095829/http://neil.brown.name/blog/mdadm --- pkgs/os-specific/linux/mdadm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/mdadm/default.nix b/pkgs/os-specific/linux/mdadm/default.nix index 7f2195529c6c..14a3589aff33 100644 --- a/pkgs/os-specific/linux/mdadm/default.nix +++ b/pkgs/os-specific/linux/mdadm/default.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Programs for managing RAID arrays under Linux"; - homepage = "http://neil.brown.name/blog/mdadm"; + homepage = "https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git"; license = licenses.gpl2; mainProgram = "mdadm"; maintainers = with maintainers; [ ekleog ]; From c3428248d986b1b6a7cb929103c7020330a604b5 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:45:22 +0200 Subject: [PATCH 0101/1387] fuse2: add to top-level --- pkgs/top-level/all-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d977766a928a..e2d06fdb7a56 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27363,7 +27363,8 @@ with pkgs; fusePackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/fuse { util-linux = util-linuxMinimal; }); - fuse = lowPrio (if stdenv.isDarwin then macfuse-stubs else fusePackages.fuse_2); + fuse = fuse2; + fuse2 = lowPrio (if stdenv.isDarwin then macfuse-stubs else fusePackages.fuse_2); fuse3 = fusePackages.fuse_3; fuse-common = hiPrio fusePackages.fuse_3.common; From 4e71d4b8ed88214296b4835bd8e46bde16bc888b Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:46:27 +0200 Subject: [PATCH 0102/1387] rar2fs: use fuse2 --- pkgs/tools/filesystems/rar2fs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/rar2fs/default.nix b/pkgs/tools/filesystems/rar2fs/default.nix index 0c752e711453..925a600b64e2 100644 --- a/pkgs/tools/filesystems/rar2fs/default.nix +++ b/pkgs/tools/filesystems/rar2fs/default.nix @@ -2,7 +2,7 @@ , stdenv , fetchFromGitHub , autoreconfHook -, fuse +, fuse2 , unrar_6 }: @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ fuse unrar_6 ]; + buildInputs = [ fuse2 unrar_6 ]; configureFlags = [ "--with-unrar=${unrar_6.src}/unrar" From 77f34ccf4d7faff8b007e8f581bdf659ebe37629 Mon Sep 17 00:00:00 2001 From: Noah Santschi-Cooney Date: Thu, 7 Mar 2024 14:11:11 +0000 Subject: [PATCH 0103/1387] apko: 0.10.0 -> 0.13.2 --- pkgs/development/tools/apko/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/apko/default.nix b/pkgs/development/tools/apko/default.nix index ee115b939a17..6a1ffc9376e2 100644 --- a/pkgs/development/tools/apko/default.nix +++ b/pkgs/development/tools/apko/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "apko"; - version = "0.10.0"; + version = "0.13.2"; src = fetchFromGitHub { owner = "chainguard-dev"; repo = pname; rev = "v${version}"; - hash = "sha256-Dyu/cPoYI8dm/p/91oL5g8ilz9ksw4i0opsPT6rGztc="; + hash = "sha256-PGRbJ7znsjvh/ATBF8k+pMnRO8wvGY0PAVswVmFaBUc="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -24,7 +24,7 @@ buildGoModule rec { find "$out" -name .git -print0 | xargs -0 rm -rf ''; }; - vendorHash = "sha256-Jsp4rGIltszpQe05S3W+UFzPxhb6N5lCzUaZWBkXNWY="; + vendorHash = "sha256-aqxXCqhvCGQKI+4FDjbqPNeFvELZviQ7Inwxl65sowk="; nativeBuildInputs = [ installShellFiles ]; @@ -42,11 +42,8 @@ buildGoModule rec { ''; checkFlags = [ - # networking required to fetch alpine-keys - # pulled out into a separate library next release - "-skip=TestInitDB" - # fails to build image on read-only filesystem - "-skip=TestPublish" + # fails to run on read-only filesystem + "-skip=(TestPublish|TestBuild|TestTarFS)" ]; postInstall = '' From 2f509171e9f6e3083ab6ec78dde03e4e2f31fded Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 3 Apr 2024 09:42:22 -0700 Subject: [PATCH 0104/1387] ndiswrapper: use elfutils instead of abandoned libelf --- pkgs/os-specific/linux/ndiswrapper/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/ndiswrapper/default.nix b/pkgs/os-specific/linux/ndiswrapper/default.nix index 2db046e6392f..39a8d919d8be 100644 --- a/pkgs/os-specific/linux/ndiswrapper/default.nix +++ b/pkgs/os-specific/linux/ndiswrapper/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, kernel, perl, kmod, libelf }: +{ lib, stdenv, fetchurl, kernel, perl, kmod, elfutils }: let version = "1.63"; in @@ -34,7 +34,7 @@ stdenv.mkDerivation { sha256 = "1v6b66jhisl110jfl00hm43lmnrav32vs39d85gcbxrjqnmcx08g"; }; - buildInputs = [ perl libelf ]; + buildInputs = [ perl elfutils ]; meta = { description = "Ndis driver wrapper for the Linux kernel"; From a986892985ff9639224acdcaeb3453c9772343fd Mon Sep 17 00:00:00 2001 From: 0Supa Date: Wed, 3 Apr 2024 20:08:48 +0300 Subject: [PATCH 0105/1387] chatterino2: build with Qt6 --- .../networking/instant-messengers/chatterino2/default.nix | 7 ++++--- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/chatterino2/default.nix b/pkgs/applications/networking/instant-messengers/chatterino2/default.nix index 19c91baf9a43..cb5ec32d8421 100644 --- a/pkgs/applications/networking/instant-messengers/chatterino2/default.nix +++ b/pkgs/applications/networking/instant-messengers/chatterino2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, cmake, pkg-config, fetchFromGitHub, qtbase, qtsvg, qtmultimedia, qtimageformats, qttools, boost, openssl, wrapQtAppsHook, libsecret }: +{ stdenv, lib, cmake, pkg-config, fetchFromGitHub, qt6, boost, openssl, libsecret }: stdenv.mkDerivation rec { pname = "chatterino2"; @@ -10,8 +10,9 @@ stdenv.mkDerivation rec { sha256 = "sha256-CQviw5Fw6v5EwjCldAQoJfAIZMWKBfBzUIQZEgW34k0="; fetchSubmodules = true; }; - nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; - buildInputs = [ qtbase qtsvg qtmultimedia qtimageformats qttools boost openssl libsecret ]; + nativeBuildInputs = [ cmake pkg-config qt6.wrapQtAppsHook ]; + buildInputs = [ qt6.qtbase qt6.qtsvg qt6.qtimageformats qt6.qttools qt6.qt5compat boost openssl libsecret ]; + cmakeFlags = [ "-DBUILD_WITH_QT6=ON" ]; postInstall = lib.optionalString stdenv.isDarwin '' mkdir -p "$out/Applications" mv bin/chatterino.app "$out/Applications/" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9629737b55dc..ca6d5f8c3748 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35811,7 +35811,7 @@ with pkgs; xwaylandSupport = false; }; - chatterino2 = libsForQt5.callPackage ../applications/networking/instant-messengers/chatterino2 { + chatterino2 = qt6Packages.callPackage ../applications/networking/instant-messengers/chatterino2 { stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; From 279ba486a7f09f55d74e5748d649e4e56793d44c Mon Sep 17 00:00:00 2001 From: 0Supa Date: Wed, 3 Apr 2024 20:09:28 +0300 Subject: [PATCH 0106/1387] maintainers: add supa --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 9f5eedb646c1..7c9fa817b58d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -19061,6 +19061,12 @@ githubId = 1939855; name = "Kimmo Suominen"; }; + supa = { + email = "supa.codes@gmail.com"; + github = "0Supa"; + githubId = 36031171; + name = "Supa"; + }; superbo = { email = "supernbo@gmail.com"; github = "SuperBo"; From 756672d106479410e71e8f8db16f34d9d4804f71 Mon Sep 17 00:00:00 2001 From: 0Supa Date: Wed, 3 Apr 2024 20:10:18 +0300 Subject: [PATCH 0107/1387] chatterino2: add supa as maintainer --- .../networking/instant-messengers/chatterino2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/chatterino2/default.nix b/pkgs/applications/networking/instant-messengers/chatterino2/default.nix index cb5ec32d8421..8ad75c483737 100644 --- a/pkgs/applications/networking/instant-messengers/chatterino2/default.nix +++ b/pkgs/applications/networking/instant-messengers/chatterino2/default.nix @@ -33,6 +33,6 @@ stdenv.mkDerivation rec { changelog = "https://github.com/Chatterino/chatterino2/blob/master/CHANGELOG.md"; license = licenses.mit; platforms = platforms.unix; - maintainers = with maintainers; [ rexim ]; + maintainers = with maintainers; [ rexim supa ]; }; } From 03cb76ec6b6078654e79406f043b3bee4606c0c2 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 3 Apr 2024 10:47:31 -0700 Subject: [PATCH 0108/1387] chipsec: use elfutils instead of abandoned libelf --- pkgs/tools/security/chipsec/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/chipsec/default.nix b/pkgs/tools/security/chipsec/default.nix index 8842cbab248c..689719237ed2 100644 --- a/pkgs/tools/security/chipsec/default.nix +++ b/pkgs/tools/security/chipsec/default.nix @@ -2,7 +2,7 @@ , stdenv , fetchFromGitHub , kernel ? null -, libelf +, elfutils , nasm , python3 , withDriver ? false @@ -26,8 +26,9 @@ python3.pkgs.buildPythonApplication rec { KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; nativeBuildInputs = [ - libelf nasm + ] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [ + elfutils ] ++ lib.optionals withDriver kernel.moduleBuildDependencies; nativeCheckInputs = with python3.pkgs; [ From bd5839cd1e194f321fab466db293b8317f533763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Wed, 3 Apr 2024 21:14:23 +0200 Subject: [PATCH 0109/1387] packages-config.nix: add `agdaPackages` --- pkgs/top-level/packages-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/packages-config.nix b/pkgs/top-level/packages-config.nix index bb360b3538cd..cd148cd6df10 100644 --- a/pkgs/top-level/packages-config.nix +++ b/pkgs/top-level/packages-config.nix @@ -8,6 +8,7 @@ # purposes of the index. packageOverrides = super: with super; lib.mapAttrs (_: set: recurseIntoAttrs set) { inherit (super) + agdaPackages apacheHttpdPackages fdbPackages fusePackages From 65b9c406397dc9bb0b24428ddc28ed7a251e858f Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Tue, 26 Mar 2024 00:54:25 +0100 Subject: [PATCH 0110/1387] rocmPackages_5.mivisionx: patch libjpeg-turbo MIVisionX needs as specific older version of libjpeg-turbo. The more recent version that is in nixpgks now is built with a completely different set of patches, so I have resurreced the only patch that was applied previously from an older verion of nixpkgs. See: git show 2cc1925c040c7a564079cf187a187031d5f2c0b1:pkgs/development/libraries/libjpeg-turbo/0001-Compile-transupp.c-as-part-of-the-library.patch --- ...le-transupp.c-as-part-of-the-library.patch | 104 ++++++++++++++++++ pkgs/development/rocm-modules/5/default.nix | 3 + 2 files changed, 107 insertions(+) create mode 100644 pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch diff --git a/pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch b/pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch new file mode 100644 index 000000000000..0a09a8845c13 --- /dev/null +++ b/pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch @@ -0,0 +1,104 @@ +From 4a0584f7c05641143151ebdc1be1163bebf9d35d Mon Sep 17 00:00:00 2001 +From: Las +Date: Sun, 3 Jan 2021 18:35:37 +0000 +Subject: [PATCH] Compile transupp.c as part of the library + +The exported symbols are made weak to not conflict with users +of the library that already vendor this functionality. +--- + CMakeLists.txt | 4 ++-- + transupp.c | 14 +++++++------- + 2 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0ca6f98..a9a0fae 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -533,7 +533,7 @@ set(JPEG_SOURCES jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c + jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c jdicc.c jdinput.c + jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c jdpostct.c jdsample.c + jdtrans.c jerror.c jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c +- jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c) ++ jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c transupp.c) + + if(WITH_ARITH_ENC OR WITH_ARITH_DEC) + set(JPEG_SOURCES ${JPEG_SOURCES} jaricom.c) +@@ -1489,7 +1489,7 @@ install(EXPORT ${CMAKE_PROJECT_NAME}Targets + + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jconfig.h + ${CMAKE_CURRENT_SOURCE_DIR}/jerror.h ${CMAKE_CURRENT_SOURCE_DIR}/jmorecfg.h +- ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ++ ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ${CMAKE_CURRENT_SOURCE_DIR}/transupp.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + + include(cmakescripts/BuildPackages.cmake) +diff --git a/transupp.c b/transupp.c +index 6e86077..2da49a7 100644 +--- a/transupp.c ++++ b/transupp.c +@@ -1386,7 +1386,7 @@ jt_read_integer(const char **strptr, JDIMENSION *result) + * This code is loosely based on XParseGeometry from the X11 distribution. + */ + +-GLOBAL(boolean) ++GLOBAL(boolean) __attribute__((weak)) + jtransform_parse_crop_spec(jpeg_transform_info *info, const char *spec) + { + info->crop = FALSE; +@@ -1486,7 +1486,7 @@ trim_bottom_edge(jpeg_transform_info *info, JDIMENSION full_height) + * and transformation is not perfect. Otherwise returns TRUE. + */ + +-GLOBAL(boolean) ++GLOBAL(boolean) __attribute__((weak)) + jtransform_request_workspace(j_decompress_ptr srcinfo, + jpeg_transform_info *info) + { +@@ -2033,7 +2033,7 @@ adjust_exif_parameters(JOCTET *data, unsigned int length, JDIMENSION new_width, + * to jpeg_write_coefficients(). + */ + +-GLOBAL(jvirt_barray_ptr *) ++GLOBAL(jvirt_barray_ptr *) __attribute__((weak)) + jtransform_adjust_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + jvirt_barray_ptr *src_coef_arrays, + jpeg_transform_info *info) +@@ -2152,7 +2152,7 @@ jtransform_adjust_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + * Note that some transformations will modify the source data arrays! + */ + +-GLOBAL(void) ++GLOBAL(void) __attribute__((weak)) + jtransform_execute_transform(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + jvirt_barray_ptr *src_coef_arrays, + jpeg_transform_info *info) +@@ -2264,7 +2264,7 @@ jtransform_execute_transform(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + * (may use custom action then) + */ + +-GLOBAL(boolean) ++GLOBAL(boolean) __attribute__((weak)) + jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height, + int MCU_width, int MCU_height, + JXFORM_CODE transform) +@@ -2303,7 +2303,7 @@ jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height, + * This must be called before jpeg_read_header() to have the desired effect. + */ + +-GLOBAL(void) ++GLOBAL(void) __attribute__((weak)) + jcopy_markers_setup(j_decompress_ptr srcinfo, JCOPY_OPTION option) + { + #ifdef SAVE_MARKERS_SUPPORTED +@@ -2331,7 +2331,7 @@ jcopy_markers_setup(j_decompress_ptr srcinfo, JCOPY_OPTION option) + * JFIF APP0 or Adobe APP14 markers if selected. + */ + +-GLOBAL(void) ++GLOBAL(void) __attribute__((weak)) + jcopy_markers_execute(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + JCOPY_OPTION option) + { +-- +2.29.2 + diff --git a/pkgs/development/rocm-modules/5/default.nix b/pkgs/development/rocm-modules/5/default.nix index aaf000b79f13..7b7f4125d08d 100644 --- a/pkgs/development/rocm-modules/5/default.nix +++ b/pkgs/development/rocm-modules/5/default.nix @@ -318,6 +318,9 @@ in rec { rev = "640d7ee1917fcd3b6a5271aa6cf4576bccc7c5fb"; sha256 = "sha256-T52whJ7nZi8jerJaZtYInC2YDN0QM+9tUDqiNr6IsNY="; }; + + # overwrite all patches, since patches for newer version do not apply + patches = [ ./0001-Compile-transupp.c-as-part-of-the-library.patch ]; }; }; From c3157ea4aa805d04e12301bc79c17996f0181152 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Thu, 28 Mar 2024 11:51:09 +0100 Subject: [PATCH 0111/1387] rocmPackages_5.mivisionx: add __STDC_CONSTANT_MACROS to fix build --- ...ONSTANT_MACROS-to-make-rocAL-compile.patch | 25 +++++++++++++++++++ .../rocm-modules/5/mivisionx/default.nix | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch diff --git a/pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch b/pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch new file mode 100644 index 000000000000..18946835e12e --- /dev/null +++ b/pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch @@ -0,0 +1,25 @@ +From f0e66bd446d44df1d30faaad520613f5fb7f5916 Mon Sep 17 00:00:00 2001 +From: Martin Schwaighofer +Date: Sat, 30 Mar 2024 15:36:52 +0100 +Subject: [PATCH] set __STDC_CONSTANT_MACROS to make rocAL compile + +--- + CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 42b139b6..509915f1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -149,6 +149,8 @@ message("-- ${Cyan} -D MIGRAPHX=${MIGRAPHX} [Turn ON/OFF MIGraphX Module (de + message("-- ${Cyan} -D BACKEND=${BACKEND} [Select MIVisionX Backend [options:CPU/OPENCL/HIP](default:HIP)]${ColourReset}") + message("-- ${Cyan} -D BUILD_WITH_AMD_ADVANCE=${BUILD_WITH_AMD_ADVANCE} [Turn ON/OFF Build for AMD advanced GPUs(default:OFF)]${ColourReset}") + ++add_definitions(-D__STDC_CONSTANT_MACROS) ++ + add_subdirectory(amd_openvx) + add_subdirectory(amd_openvx_extensions) + add_subdirectory(utilities) +-- +2.43.0 + diff --git a/pkgs/development/rocm-modules/5/mivisionx/default.nix b/pkgs/development/rocm-modules/5/mivisionx/default.nix index 39fd4f5b76e3..24b103a24c1f 100644 --- a/pkgs/development/rocm-modules/5/mivisionx/default.nix +++ b/pkgs/development/rocm-modules/5/mivisionx/default.nix @@ -47,6 +47,10 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-jmOgwESNALQt7ctmUY9JHgKq47tCwsW1ybynkX9236U="; }; + patches = [ + ./0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch + ]; + nativeBuildInputs = [ cmake rocm-cmake From 91319cde130a511aa6eb3794aa52d409b5f86079 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Sat, 30 Mar 2024 22:46:04 +0100 Subject: [PATCH 0112/1387] rocmPackages_6.mivisionx: patch libjpeg-turbo MIVisionX needs as specific older version of libjpeg-turbo. The more recent version that is in nixpgks now is built with a completely different set of patches, so I have resurreced the only patch that was applied previously from an older verion of nixpkgs. See: git show 2cc1925c040c7a564079cf187a187031d5f2c0b1:pkgs/development/libraries/libjpeg-turbo/0001-Compile-transupp.c-as-part-of-the-library.patch This change adapts 65b9c406397dc9bb0b24428ddc28ed7a251e858f for ROCm 6, in case it fixes the same problem right out of the gate. Using the latest version of libjpeg-turbo form nixpkgs and not changing the patches might also be worth a try. --- ...le-transupp.c-as-part-of-the-library.patch | 104 ++++++++++++++++++ pkgs/development/rocm-modules/6/default.nix | 3 + 2 files changed, 107 insertions(+) create mode 100644 pkgs/development/rocm-modules/6/0001-Compile-transupp.c-as-part-of-the-library.patch diff --git a/pkgs/development/rocm-modules/6/0001-Compile-transupp.c-as-part-of-the-library.patch b/pkgs/development/rocm-modules/6/0001-Compile-transupp.c-as-part-of-the-library.patch new file mode 100644 index 000000000000..0a09a8845c13 --- /dev/null +++ b/pkgs/development/rocm-modules/6/0001-Compile-transupp.c-as-part-of-the-library.patch @@ -0,0 +1,104 @@ +From 4a0584f7c05641143151ebdc1be1163bebf9d35d Mon Sep 17 00:00:00 2001 +From: Las +Date: Sun, 3 Jan 2021 18:35:37 +0000 +Subject: [PATCH] Compile transupp.c as part of the library + +The exported symbols are made weak to not conflict with users +of the library that already vendor this functionality. +--- + CMakeLists.txt | 4 ++-- + transupp.c | 14 +++++++------- + 2 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0ca6f98..a9a0fae 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -533,7 +533,7 @@ set(JPEG_SOURCES jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c + jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c jdicc.c jdinput.c + jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c jdpostct.c jdsample.c + jdtrans.c jerror.c jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c +- jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c) ++ jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c transupp.c) + + if(WITH_ARITH_ENC OR WITH_ARITH_DEC) + set(JPEG_SOURCES ${JPEG_SOURCES} jaricom.c) +@@ -1489,7 +1489,7 @@ install(EXPORT ${CMAKE_PROJECT_NAME}Targets + + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jconfig.h + ${CMAKE_CURRENT_SOURCE_DIR}/jerror.h ${CMAKE_CURRENT_SOURCE_DIR}/jmorecfg.h +- ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ++ ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ${CMAKE_CURRENT_SOURCE_DIR}/transupp.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + + include(cmakescripts/BuildPackages.cmake) +diff --git a/transupp.c b/transupp.c +index 6e86077..2da49a7 100644 +--- a/transupp.c ++++ b/transupp.c +@@ -1386,7 +1386,7 @@ jt_read_integer(const char **strptr, JDIMENSION *result) + * This code is loosely based on XParseGeometry from the X11 distribution. + */ + +-GLOBAL(boolean) ++GLOBAL(boolean) __attribute__((weak)) + jtransform_parse_crop_spec(jpeg_transform_info *info, const char *spec) + { + info->crop = FALSE; +@@ -1486,7 +1486,7 @@ trim_bottom_edge(jpeg_transform_info *info, JDIMENSION full_height) + * and transformation is not perfect. Otherwise returns TRUE. + */ + +-GLOBAL(boolean) ++GLOBAL(boolean) __attribute__((weak)) + jtransform_request_workspace(j_decompress_ptr srcinfo, + jpeg_transform_info *info) + { +@@ -2033,7 +2033,7 @@ adjust_exif_parameters(JOCTET *data, unsigned int length, JDIMENSION new_width, + * to jpeg_write_coefficients(). + */ + +-GLOBAL(jvirt_barray_ptr *) ++GLOBAL(jvirt_barray_ptr *) __attribute__((weak)) + jtransform_adjust_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + jvirt_barray_ptr *src_coef_arrays, + jpeg_transform_info *info) +@@ -2152,7 +2152,7 @@ jtransform_adjust_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + * Note that some transformations will modify the source data arrays! + */ + +-GLOBAL(void) ++GLOBAL(void) __attribute__((weak)) + jtransform_execute_transform(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + jvirt_barray_ptr *src_coef_arrays, + jpeg_transform_info *info) +@@ -2264,7 +2264,7 @@ jtransform_execute_transform(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + * (may use custom action then) + */ + +-GLOBAL(boolean) ++GLOBAL(boolean) __attribute__((weak)) + jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height, + int MCU_width, int MCU_height, + JXFORM_CODE transform) +@@ -2303,7 +2303,7 @@ jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height, + * This must be called before jpeg_read_header() to have the desired effect. + */ + +-GLOBAL(void) ++GLOBAL(void) __attribute__((weak)) + jcopy_markers_setup(j_decompress_ptr srcinfo, JCOPY_OPTION option) + { + #ifdef SAVE_MARKERS_SUPPORTED +@@ -2331,7 +2331,7 @@ jcopy_markers_setup(j_decompress_ptr srcinfo, JCOPY_OPTION option) + * JFIF APP0 or Adobe APP14 markers if selected. + */ + +-GLOBAL(void) ++GLOBAL(void) __attribute__((weak)) + jcopy_markers_execute(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, + JCOPY_OPTION option) + { +-- +2.29.2 + diff --git a/pkgs/development/rocm-modules/6/default.nix b/pkgs/development/rocm-modules/6/default.nix index e4e745f74b56..74e9e8da5e5f 100644 --- a/pkgs/development/rocm-modules/6/default.nix +++ b/pkgs/development/rocm-modules/6/default.nix @@ -313,6 +313,9 @@ in rec { rev = "640d7ee1917fcd3b6a5271aa6cf4576bccc7c5fb"; sha256 = "sha256-T52whJ7nZi8jerJaZtYInC2YDN0QM+9tUDqiNr6IsNY="; }; + + # overwrite all patches, since patches for newer version do not apply + patches = [ ./0001-Compile-transupp.c-as-part-of-the-library.patch ]; }; }; From 48b253cf6e5e843b239c3858e52cab3eb21db8e3 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Sat, 30 Mar 2024 22:49:35 +0100 Subject: [PATCH 0113/1387] rocmPackages_6.mivisionx: add __STDC_CONSTANT_MACROS This change adapts c3157ea4aa805d04e12301bc79c17996f0181152 for ROCm 6, in case it fixes the same problem right out of the gate. Since rocAL is getting deprecated, dropping this and moving the rocAL build to its own derivation is also a possibility. --- ...ONSTANT_MACROS-to-make-rocAL-compile.patch | 25 +++++++++++++++++++ .../rocm-modules/6/mivisionx/default.nix | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/rocm-modules/6/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch diff --git a/pkgs/development/rocm-modules/6/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch b/pkgs/development/rocm-modules/6/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch new file mode 100644 index 000000000000..18946835e12e --- /dev/null +++ b/pkgs/development/rocm-modules/6/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch @@ -0,0 +1,25 @@ +From f0e66bd446d44df1d30faaad520613f5fb7f5916 Mon Sep 17 00:00:00 2001 +From: Martin Schwaighofer +Date: Sat, 30 Mar 2024 15:36:52 +0100 +Subject: [PATCH] set __STDC_CONSTANT_MACROS to make rocAL compile + +--- + CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 42b139b6..509915f1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -149,6 +149,8 @@ message("-- ${Cyan} -D MIGRAPHX=${MIGRAPHX} [Turn ON/OFF MIGraphX Module (de + message("-- ${Cyan} -D BACKEND=${BACKEND} [Select MIVisionX Backend [options:CPU/OPENCL/HIP](default:HIP)]${ColourReset}") + message("-- ${Cyan} -D BUILD_WITH_AMD_ADVANCE=${BUILD_WITH_AMD_ADVANCE} [Turn ON/OFF Build for AMD advanced GPUs(default:OFF)]${ColourReset}") + ++add_definitions(-D__STDC_CONSTANT_MACROS) ++ + add_subdirectory(amd_openvx) + add_subdirectory(amd_openvx_extensions) + add_subdirectory(utilities) +-- +2.43.0 + diff --git a/pkgs/development/rocm-modules/6/mivisionx/default.nix b/pkgs/development/rocm-modules/6/mivisionx/default.nix index e3e6172709fe..8459dff1c892 100644 --- a/pkgs/development/rocm-modules/6/mivisionx/default.nix +++ b/pkgs/development/rocm-modules/6/mivisionx/default.nix @@ -46,6 +46,10 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-d32lcJq24MXeIWbNbo6putWaol5kF2io6cz4ZuL+DbE="; }; + patches = [ + ./0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch + ]; + nativeBuildInputs = [ cmake rocm-cmake From 4ffd610a37ca4f243700e6708f00ef392acfae51 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Wed, 3 Apr 2024 23:48:23 +0200 Subject: [PATCH 0114/1387] rocmPackages_6.mivisionx: remove duplicate patches --- ...le-transupp.c-as-part-of-the-library.patch | 104 ------------------ pkgs/development/rocm-modules/5/default.nix | 2 +- ...ONSTANT_MACROS-to-make-rocAL-compile.patch | 25 ----- .../rocm-modules/5/mivisionx/default.nix | 2 +- 4 files changed, 2 insertions(+), 131 deletions(-) delete mode 100644 pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch delete mode 100644 pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch diff --git a/pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch b/pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch deleted file mode 100644 index 0a09a8845c13..000000000000 --- a/pkgs/development/rocm-modules/5/0001-Compile-transupp.c-as-part-of-the-library.patch +++ /dev/null @@ -1,104 +0,0 @@ -From 4a0584f7c05641143151ebdc1be1163bebf9d35d Mon Sep 17 00:00:00 2001 -From: Las -Date: Sun, 3 Jan 2021 18:35:37 +0000 -Subject: [PATCH] Compile transupp.c as part of the library - -The exported symbols are made weak to not conflict with users -of the library that already vendor this functionality. ---- - CMakeLists.txt | 4 ++-- - transupp.c | 14 +++++++------- - 2 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0ca6f98..a9a0fae 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -533,7 +533,7 @@ set(JPEG_SOURCES jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c - jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c jdicc.c jdinput.c - jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c jdpostct.c jdsample.c - jdtrans.c jerror.c jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c -- jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c) -+ jidctint.c jidctred.c jquant1.c jquant2.c jutils.c jmemmgr.c jmemnobs.c transupp.c) - - if(WITH_ARITH_ENC OR WITH_ARITH_DEC) - set(JPEG_SOURCES ${JPEG_SOURCES} jaricom.c) -@@ -1489,7 +1489,7 @@ install(EXPORT ${CMAKE_PROJECT_NAME}Targets - - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jconfig.h - ${CMAKE_CURRENT_SOURCE_DIR}/jerror.h ${CMAKE_CURRENT_SOURCE_DIR}/jmorecfg.h -- ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h -+ ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ${CMAKE_CURRENT_SOURCE_DIR}/transupp.h - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - include(cmakescripts/BuildPackages.cmake) -diff --git a/transupp.c b/transupp.c -index 6e86077..2da49a7 100644 ---- a/transupp.c -+++ b/transupp.c -@@ -1386,7 +1386,7 @@ jt_read_integer(const char **strptr, JDIMENSION *result) - * This code is loosely based on XParseGeometry from the X11 distribution. - */ - --GLOBAL(boolean) -+GLOBAL(boolean) __attribute__((weak)) - jtransform_parse_crop_spec(jpeg_transform_info *info, const char *spec) - { - info->crop = FALSE; -@@ -1486,7 +1486,7 @@ trim_bottom_edge(jpeg_transform_info *info, JDIMENSION full_height) - * and transformation is not perfect. Otherwise returns TRUE. - */ - --GLOBAL(boolean) -+GLOBAL(boolean) __attribute__((weak)) - jtransform_request_workspace(j_decompress_ptr srcinfo, - jpeg_transform_info *info) - { -@@ -2033,7 +2033,7 @@ adjust_exif_parameters(JOCTET *data, unsigned int length, JDIMENSION new_width, - * to jpeg_write_coefficients(). - */ - --GLOBAL(jvirt_barray_ptr *) -+GLOBAL(jvirt_barray_ptr *) __attribute__((weak)) - jtransform_adjust_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *src_coef_arrays, - jpeg_transform_info *info) -@@ -2152,7 +2152,7 @@ jtransform_adjust_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - * Note that some transformations will modify the source data arrays! - */ - --GLOBAL(void) -+GLOBAL(void) __attribute__((weak)) - jtransform_execute_transform(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - jvirt_barray_ptr *src_coef_arrays, - jpeg_transform_info *info) -@@ -2264,7 +2264,7 @@ jtransform_execute_transform(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - * (may use custom action then) - */ - --GLOBAL(boolean) -+GLOBAL(boolean) __attribute__((weak)) - jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height, - int MCU_width, int MCU_height, - JXFORM_CODE transform) -@@ -2303,7 +2303,7 @@ jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height, - * This must be called before jpeg_read_header() to have the desired effect. - */ - --GLOBAL(void) -+GLOBAL(void) __attribute__((weak)) - jcopy_markers_setup(j_decompress_ptr srcinfo, JCOPY_OPTION option) - { - #ifdef SAVE_MARKERS_SUPPORTED -@@ -2331,7 +2331,7 @@ jcopy_markers_setup(j_decompress_ptr srcinfo, JCOPY_OPTION option) - * JFIF APP0 or Adobe APP14 markers if selected. - */ - --GLOBAL(void) -+GLOBAL(void) __attribute__((weak)) - jcopy_markers_execute(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, - JCOPY_OPTION option) - { --- -2.29.2 - diff --git a/pkgs/development/rocm-modules/5/default.nix b/pkgs/development/rocm-modules/5/default.nix index 7b7f4125d08d..7f48c4d034ce 100644 --- a/pkgs/development/rocm-modules/5/default.nix +++ b/pkgs/development/rocm-modules/5/default.nix @@ -320,7 +320,7 @@ in rec { }; # overwrite all patches, since patches for newer version do not apply - patches = [ ./0001-Compile-transupp.c-as-part-of-the-library.patch ]; + patches = [ ../6/0001-Compile-transupp.c-as-part-of-the-library.patch ]; }; }; diff --git a/pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch b/pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch deleted file mode 100644 index 18946835e12e..000000000000 --- a/pkgs/development/rocm-modules/5/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f0e66bd446d44df1d30faaad520613f5fb7f5916 Mon Sep 17 00:00:00 2001 -From: Martin Schwaighofer -Date: Sat, 30 Mar 2024 15:36:52 +0100 -Subject: [PATCH] set __STDC_CONSTANT_MACROS to make rocAL compile - ---- - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 42b139b6..509915f1 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -149,6 +149,8 @@ message("-- ${Cyan} -D MIGRAPHX=${MIGRAPHX} [Turn ON/OFF MIGraphX Module (de - message("-- ${Cyan} -D BACKEND=${BACKEND} [Select MIVisionX Backend [options:CPU/OPENCL/HIP](default:HIP)]${ColourReset}") - message("-- ${Cyan} -D BUILD_WITH_AMD_ADVANCE=${BUILD_WITH_AMD_ADVANCE} [Turn ON/OFF Build for AMD advanced GPUs(default:OFF)]${ColourReset}") - -+add_definitions(-D__STDC_CONSTANT_MACROS) -+ - add_subdirectory(amd_openvx) - add_subdirectory(amd_openvx_extensions) - add_subdirectory(utilities) --- -2.43.0 - diff --git a/pkgs/development/rocm-modules/5/mivisionx/default.nix b/pkgs/development/rocm-modules/5/mivisionx/default.nix index 24b103a24c1f..b7d976286979 100644 --- a/pkgs/development/rocm-modules/5/mivisionx/default.nix +++ b/pkgs/development/rocm-modules/5/mivisionx/default.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ - ./0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch + ../../6/mivisionx/0001-set-__STDC_CONSTANT_MACROS-to-make-rocAL-compile.patch ]; nativeBuildInputs = [ From 57f9cc103f1e62ee1b27e73051d78f2acf2bce17 Mon Sep 17 00:00:00 2001 From: Tom Kirchner Date: Sat, 30 Mar 2024 17:09:36 -0700 Subject: [PATCH 0115/1387] ptouch-print: 1.4.3 -> 1.5-unstable-2024-02-11 The old upstream homepage and repo are dead; this moves them to the new home. The latest release version is 1.5, but that does not contain several important commits, including support for Brother's latest "standard" label makers, so this moves to the latest commit. Log here: https://git.familie-radermacher.ch/linux/ptouch-print.git/log/ See original effort to update to 1.5 here; most of the changes are from this original PR: https://github.com/NixOS/nixpkgs/pull/197981 --- pkgs/misc/ptouch-print/default.nix | 40 +++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/pkgs/misc/ptouch-print/default.nix b/pkgs/misc/ptouch-print/default.nix index da0d3c8c97d3..e8c51514e0a9 100644 --- a/pkgs/misc/ptouch-print/default.nix +++ b/pkgs/misc/ptouch-print/default.nix @@ -1,35 +1,57 @@ -{ lib, stdenv +{ cmake , fetchgit -, autoreconfHook , gd +, gettext +, git +, lib +, libjpeg +, libpng , libusb1 +, pkg-config +, stdenv +, zlib }: stdenv.mkDerivation rec { pname = "ptouch-print"; - version = "1.4.3"; + version = "1.5-unstable-2024-02-11"; src = fetchgit { - url = "https://mockmoon-cybernetics.ch/cgi/cgit/linux/ptouch-print.git"; - rev = "v${version}"; - sha256 = "0i57asg2hj1nfwy5lcb0vhrpvb9dqfhf81vh4i929h1kiqhlw2hx"; + url = "https://git.familie-radermacher.ch/linux/ptouch-print.git"; + rev = "8aaeecd84b619587dc3885dd4fea4b7310c82fd4"; + hash = "sha256-IIq3SmMfsgwSYbgG1w/wrBnFtb6xdFK2lkK27Qqk6mw="; }; nativeBuildInputs = [ - autoreconfHook + cmake + git + pkg-config ]; buildInputs = [ gd + gettext + libjpeg + libpng + zlib libusb1 ]; + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + mv ptouch-print $out/bin + + runHook postInstall + ''; + meta = with lib; { description = "Command line tool to print labels on Brother P-Touch printers on Linux"; + homepage = "https://dominic.familie-radermacher.ch/projekte/ptouch-print/"; license = licenses.gpl3Plus; - homepage = "https://mockmoon-cybernetics.ch/computer/p-touch2430pc/"; + mainProgram = "ptouch-print"; maintainers = with maintainers; [ shamilton ]; platforms = platforms.linux; - mainProgram = "ptouch-print"; }; } From 7eb7e71eb8bcb439b7425c781ae71d5381598d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Thu, 4 Apr 2024 10:48:34 +0200 Subject: [PATCH 0116/1387] mueval,diagrams-builder: fix GHC libdir Rather than hardcoding the path to GHC's libdir which may change, use `ghc --print-libdir` in wrappers. Another option would be to expose mkGhcLibdir from generic-builder.nix. Also add a test for mueval. --- .../tools/haskell/mueval/default.nix | 19 +++++++++++++++---- .../graphics/diagrams-builder/default.nix | 6 +++--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/haskell/mueval/default.nix b/pkgs/development/tools/haskell/mueval/default.nix index aaa3ad98e7e1..48144b038c98 100644 --- a/pkgs/development/tools/haskell/mueval/default.nix +++ b/pkgs/development/tools/haskell/mueval/default.nix @@ -1,4 +1,4 @@ -{ stdenv, makeWrapper, haskellPackages, packages ? (pkgs: []) +{ lib, stdenv, makeWrapper, haskellPackages, packages ? (pkgs: []) }: let defaultPkgs = pkgs: [ pkgs.show @@ -8,7 +8,6 @@ let defaultPkgs = pkgs: [ pkgs.show ]; env = haskellPackages.ghcWithPackages (pkgs: defaultPkgs pkgs ++ packages pkgs); - libDir = "${env}/lib/ghc-${env.version}"; in stdenv.mkDerivation { name = "mueval-env"; @@ -17,11 +16,23 @@ in stdenv.mkDerivation { nativeBuildInputs = [ makeWrapper ]; - buildCommand = '' + dontUnpack = true; + + buildPhase = '' + runHook preBuild + mkdir -p $out/bin makeWrapper $mueval/bin/mueval $out/bin/mueval \ - --set "NIX_GHC_LIBDIR" "${libDir}" + --set "NIX_GHC_LIBDIR" "$(${lib.getExe' env "ghc"} --print-libdir)" + + runHook postBuild + ''; + + doCheck = true; + + checkPhase = '' + [[ $($out/bin/mueval -e 42) == 42 ]] ''; passthru = { inherit defaultPkgs; }; diff --git a/pkgs/tools/graphics/diagrams-builder/default.nix b/pkgs/tools/graphics/diagrams-builder/default.nix index 85f4fdc83efa..b88e4e517364 100644 --- a/pkgs/tools/graphics/diagrams-builder/default.nix +++ b/pkgs/tools/graphics/diagrams-builder/default.nix @@ -17,13 +17,13 @@ let # Used same technique as for the yiCustom package. wrappedGhc = ghcWithPackages (self: [ diagrams-builder ] ++ extraPackages self); - ghcVersion = wrappedGhc.version; + ghc = lib.getExe' wrappedGhc "ghc"; exeWrapper = backend : '' makeWrapper \ "${diagrams-builder}/bin/diagrams-builder-${backend}" "$out/bin/diagrams-builder-${backend}" \ - --set NIX_GHC ${wrappedGhc}/bin/ghc \ - --set NIX_GHC_LIBDIR ${wrappedGhc}/lib/ghc-${ghcVersion} + --set NIX_GHC ${ghc} \ + --set NIX_GHC_LIBDIR "$(${ghc} --print-libdir)" ''; backends = ["svg" "cairo" "ps"]; From 2bf96698281d49ec9002e180b577b19353c3d806 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 4 Apr 2024 13:04:52 +0200 Subject: [PATCH 0117/1387] terraform: use `--replace-fail` --- pkgs/applications/networking/cluster/terraform/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 94b7fe50c5a9..f32df7ccf868 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -31,7 +31,7 @@ let postConfigure = '' # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22 substituteInPlace vendor/github.com/bgentry/speakeasy/speakeasy_unix.go \ - --replace "/bin/stty" "${coreutils}/bin/stty" + --replace-fail "/bin/stty" "${coreutils}/bin/stty" ''; nativeBuildInputs = [ installShellFiles ]; From d9bfea98bd23acf3939beeaa109113898e587b95 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 4 Apr 2024 13:05:40 +0200 Subject: [PATCH 0118/1387] coder: 0.17.1 -> 2.9.1 --- pkgs/development/tools/coder/default.nix | 123 +++++++++++------------ 1 file changed, 61 insertions(+), 62 deletions(-) diff --git a/pkgs/development/tools/coder/default.nix b/pkgs/development/tools/coder/default.nix index b12247a76d6f..16594ee2e3c3 100644 --- a/pkgs/development/tools/coder/default.nix +++ b/pkgs/development/tools/coder/default.nix @@ -1,90 +1,89 @@ { lib -, fetchFromGitHub +, fetchurl , installShellFiles -, makeWrapper -, buildGoModule -, fetchYarnDeps -, fixup_yarn_lock -, pkg-config -, nodejs -, yarn -, nodePackages -, python3 +, makeBinaryWrapper , terraform +, stdenvNoCC +, unzip }: -buildGoModule rec { +let + inherit (stdenvNoCC.hostPlatform) system; +in +stdenvNoCC.mkDerivation (finalAttrs: { pname = "coder"; - version = "0.17.1"; + version = "2.9.1"; - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "v${version}"; - hash = "sha256-FHBaefwSGZXwn1jdU7zK8WhwjarknvyeUJTlhmk/hPM="; + src = fetchurl { + hash = { + x86_64-linux = "sha256-r4+u/s/dOn2GhyhEROu8i03QY3VA/bIyO/Yj7KSqicY="; + x86_64-darwin = "sha256-uShCmMvb5OcinqP0CmrlP9QAJkjfG3g1QuHE4JRDOjE="; + aarch64-linux = "sha256-tvpzfJ95YYfCY5V4iayjAmY5PDw+1uHUhY5F3pv/2Uk="; + aarch64-darwin = "sha256-sP9HnB2DzAU9IvL3+QPmIFLvRkGkoxSoa68uXGQrNkw="; + }.${system}; + + url = + let + systemName = { + x86_64-linux = "linux_amd64"; + aarch64-linux = "linux_arm64"; + x86_64-darwin = "darwin_amd64"; + aarch64-darwin = "darwin_arm64"; + }.${system}; + + ext = { + x86_64-linux = "tar.gz"; + aarch64-linux = "tar.gz"; + x86_64-darwin = "zip"; + aarch64-darwin = "zip"; + }.${system}; + in + "https://github.com/coder/coder/releases/download/v${finalAttrs.version}/coder_${finalAttrs.version}_${systemName}.${ext}"; }; - offlineCache = fetchYarnDeps { - yarnLock = src + "/site/yarn.lock"; - hash = "sha256-nRmEXR9fjDxvpbnT+qpGeM0Cc/qW/kN53sKOXwZiBXY="; - }; - - vendorHash = "sha256-+AvmJkZCFovE2+5Lg98tUvA7f2kBHUMzhl5IyrEGuy8="; - - tags = [ "embed" ]; - - ldflags = [ - "-s" - "-w" - "-X github.com/coder/coder/buildinfo.tag=${version}" - ]; - - subPackages = [ "cmd/..." ]; - - preBuild = '' - export HOME=$TEMPDIR - - pushd site - yarn config --offline set yarn-offline-mirror ${offlineCache} - fixup_yarn_lock yarn.lock - - # node-gyp tries to download always the headers and fails: https://github.com/NixOS/nixpkgs/issues/195404 - # playwright tries to download Chrome and fails - yarn remove --offline jest-canvas-mock canvas @playwright/test playwright - - export PATH=$PATH:$(pwd)/node_modules/.bin - NODE_ENV=production node node_modules/.bin/vite build - - popd - ''; - nativeBuildInputs = [ - fixup_yarn_lock installShellFiles - makeWrapper - nodePackages.node-pre-gyp - nodejs - pkg-config - python3 - yarn + makeBinaryWrapper + unzip ]; + unpackPhase = '' + runHook preUnpack + + case $src in + *.tar.gz) tar -xz -f "$src" ;; + *.zip) unzip "$src" ;; + esac + + runHook postUnpack + ''; + + installPhase = '' + runHook preInstall + + install -D -m755 coder $out/bin/coder + + runHook postInstall + ''; + postInstall = '' installShellCompletion --cmd coder \ --bash <($out/bin/coder completion bash) \ --fish <($out/bin/coder completion fish) \ --zsh <($out/bin/coder completion zsh) - wrapProgram $out/bin/coder --prefix PATH : ${lib.makeBinPath [ terraform ]} + wrapProgram $out/bin/coder \ + --prefix PATH : ${lib.makeBinPath [ terraform ]} ''; # integration tests require network access doCheck = false; meta = { - description = "Provision software development environments via Terraform on Linux, macOS, Windows, X86, ARM, and of course, Kubernetes"; + description = "Provision remote development environments via Terraform"; homepage = "https://coder.com"; license = lib.licenses.agpl3Only; - maintainers = [ lib.maintainers.ghuntley lib.maintainers.urandom ]; + mainProgram = "coder"; + maintainers = with lib.maintainers; [ ghuntley urandom ]; }; -} +}) From 14a4dcf948e5395f6dba759142e8919f0440331c Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Thu, 4 Apr 2024 17:46:20 +0200 Subject: [PATCH 0119/1387] sonarr: 4.0.2.1183 -> 4.0.3.1413 --- pkgs/servers/sonarr/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/sonarr/default.nix b/pkgs/servers/sonarr/default.nix index f0a85b251db0..a19dc7149114 100644 --- a/pkgs/servers/sonarr/default.nix +++ b/pkgs/servers/sonarr/default.nix @@ -10,15 +10,15 @@ let }."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); hash = { - x64-linux_hash = "sha256-S9j6zXEJM963tki88awPW0uK0fQd1bBwBcsHBlDSg/E="; - arm64-linux_hash = "sha256-73FkmdliX5SNrQRRZeAkU0G96ehCd9mT8NVyJoZiA38="; - x64-osx_hash = "sha256-XZ4ITJtc2ENw7IAYrBZF0N/NCjUVve+SkWhu6kfQIQA="; - arm64-osx_hash = "sha256-2tA17mDuCX5X0U96Rp6QUQOVWvu9sPMOimD6kks+S00="; + x64-linux_hash = "sha256-xGaPNEPSpUr9sv4DTK8oDHzmLytp3Tp+cp45Q1TKYrc="; + arm64-linux_hash = "sha256-YeHXIyocRgaHmKrE9K9E3+xZyS2MDnsxmSIJB7dAQLU="; + x64-osx_hash = "sha256-8/YEKfSldXBtnkWBEXmCWYIJ2ePJj1aMDpBO3+cDcDk="; + arm64-osx_hash = "sha256-3aA8SlhNLOBAZIcsnjfl0ninsDej+KqTTwmm+rLYRFk="; }."${arch}-${os}_hash"; in stdenv.mkDerivation rec { pname = "sonarr"; - version = "4.0.2.1183"; + version = "4.0.3.1413"; src = fetchurl { url = "https://github.com/Sonarr/Sonarr/releases/download/v${version}/Sonarr.main.${version}.${os}-${arch}.tar.gz"; From e4c965299639ad5bb41e135890c7229ed4f95400 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 17:59:33 +0000 Subject: [PATCH 0120/1387] vmagent: 1.99.0 -> 1.100.0 --- pkgs/servers/monitoring/vmagent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/vmagent/default.nix b/pkgs/servers/monitoring/vmagent/default.nix index 7c979f009cd7..9989a8971ffd 100644 --- a/pkgs/servers/monitoring/vmagent/default.nix +++ b/pkgs/servers/monitoring/vmagent/default.nix @@ -1,13 +1,13 @@ { lib, fetchFromGitHub, buildGoModule }: buildGoModule rec { pname = "vmagent"; - version = "1.99.0"; + version = "1.100.0"; src = fetchFromGitHub { owner = "VictoriaMetrics"; repo = "VictoriaMetrics"; rev = "v${version}"; - sha256 = "sha256-IHUmxdCOzvA2JL06k/ei6/OTVWHTL1TiKKYZB1hgqyA="; + sha256 = "sha256-jrKTic80y8r/1wOR8Prqe9PG57yo8qQIGsobu0I4kTY="; }; ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ]; From bb145640a099594032c5e3a4d96f8f259a357afe Mon Sep 17 00:00:00 2001 From: Kiskae Date: Sun, 3 Mar 2024 18:57:39 +0100 Subject: [PATCH 0121/1387] chromium: fix vulkan-loader --- pkgs/applications/networking/browsers/chromium/common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 4bd6e358fdf6..54697febefe3 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -479,6 +479,10 @@ let for chromiumBinary in "$libExecPath/$packageName" "$libExecPath/libGLESv2.so"; do patchelf --set-rpath "${lib.makeLibraryPath [ libGL vulkan-loader pciutils ]}:$(patchelf --print-rpath "$chromiumBinary")" "$chromiumBinary" done + + # replace bundled vulkan-loader + rm "$libExecPath/libvulkan.so.1" + ln -s -t "$libExecPath" "${lib.getLib vulkan-loader}/lib/libvulkan.so.1" ''; passthru = { From 230e558635d80b333f2558b4863f7f6628c5f3a2 Mon Sep 17 00:00:00 2001 From: Kiskae Date: Sun, 3 Mar 2024 19:06:52 +0100 Subject: [PATCH 0122/1387] electron-*-bin: fix vulkan-loader --- pkgs/development/tools/electron/binary/generic.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/electron/binary/generic.nix b/pkgs/development/tools/electron/binary/generic.nix index 58b3154a2941..fb2fcdd6cb1f 100644 --- a/pkgs/development/tools/electron/binary/generic.nix +++ b/pkgs/development/tools/electron/binary/generic.nix @@ -13,6 +13,7 @@ , libxkbcommon , libxshmfence , libGL +, vulkan-loader , alsa-lib , cairo , cups @@ -102,7 +103,7 @@ let ++ lib.optionals (lib.versionOlder version "10.0.0") [ libXScrnSaver ] ++ lib.optionals (lib.versionAtLeast version "11.0.0") [ libxkbcommon ] ++ lib.optionals (lib.versionAtLeast version "12.0.0") [ libxshmfence ] - ++ lib.optionals (lib.versionAtLeast version "17.0.0") [ libGL ] + ++ lib.optionals (lib.versionAtLeast version "17.0.0") [ libGL vulkan-loader ] ); linux = { @@ -133,8 +134,12 @@ let # patch libANGLE patchelf \ - --set-rpath "${lib.makeLibraryPath [ libGL pciutils ]}" \ + --set-rpath "${lib.makeLibraryPath [ libGL pciutils vulkan-loader ]}" \ $out/libexec/electron/lib*GL* + + # replace bundled vulkan-loader + rm "$out/libexec/electron/libvulkan.so.1" + ln -s -t "$out/libexec/electron" "${lib.getLib vulkan-loader}/lib/libvulkan.so.1" ''; }; From 9e5bab31bef64c6276004a39e7ac20c83071df94 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 22:53:42 +0000 Subject: [PATCH 0123/1387] heimer: 4.3.0 -> 4.4.0 --- pkgs/applications/misc/heimer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/heimer/default.nix b/pkgs/applications/misc/heimer/default.nix index b044c7fedbed..8672169d02ab 100644 --- a/pkgs/applications/misc/heimer/default.nix +++ b/pkgs/applications/misc/heimer/default.nix @@ -8,13 +8,13 @@ mkDerivation rec { pname = "heimer"; - version = "4.3.0"; + version = "4.4.0"; src = fetchFromGitHub { owner = "juzzlin"; repo = pname; rev = version; - hash = "sha256-VIlNahpSRQNpfOKXnI/GQANuhZ+vnoXsudwHmRbHIjs="; + hash = "sha256-47bQmT2bHcbWpeosuF/vpSJcws4SqTmalY/XFEf7cxQ="; }; nativeBuildInputs = [ From eede894699d33de216d75187929ecb1ebb7f4794 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 23:08:21 +0000 Subject: [PATCH 0124/1387] libtommath: 1.2.1 -> 1.3.0 --- pkgs/development/libraries/libtommath/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libtommath/default.nix b/pkgs/development/libraries/libtommath/default.nix index 3ec1ba7b79b3..fc0c9608cf4f 100644 --- a/pkgs/development/libraries/libtommath/default.nix +++ b/pkgs/development/libraries/libtommath/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "libtommath"; - version = "1.2.1"; + version = "1.3.0"; src = fetchurl { url = "https://github.com/libtom/libtommath/releases/download/v${version}/ltm-${version}.tar.xz"; - sha256 = "sha256-mGAl17N0J2/uLjDpnzZJ5KwNuKAiV6N+4Q6ucqvtDR8="; + sha256 = "sha256-KWJy2TQ1mRMI63NgdgDANLVYgHoH6CnnURQuZcz6nQg="; }; nativeBuildInputs = [ libtool ]; From a9be06cc4da77181052e7db00bf54653dcf3708a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 23:45:37 +0000 Subject: [PATCH 0125/1387] minimap2: 2.27 -> 2.28 --- pkgs/applications/science/biology/minimap2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/biology/minimap2/default.nix b/pkgs/applications/science/biology/minimap2/default.nix index eeb31dee0538..923d72f7fb38 100644 --- a/pkgs/applications/science/biology/minimap2/default.nix +++ b/pkgs/applications/science/biology/minimap2/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "minimap2"; - version = "2.27"; + version = "2.28"; src = fetchFromGitHub { repo = pname; owner = "lh3"; rev = "v${version}"; - sha256 = "sha256-F6IJrYD2dk+5bKKVIahLiNnD/Hd/CjNQQd9zz0Gkans="; + sha256 = "sha256-cBl2BKgPCP/xHZW6fTH51cY9/lV/1HVLsN7a1R1Blv4="; }; buildInputs = [ zlib ]; From 48f1ff4e74f6d1851a9ac61b246a1f4a6fd1d101 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 00:28:43 +0000 Subject: [PATCH 0126/1387] apkeep: 0.15.0 -> 0.16.0 --- pkgs/tools/misc/apkeep/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/apkeep/default.nix b/pkgs/tools/misc/apkeep/default.nix index 2da292b815b6..7adc73aa9334 100644 --- a/pkgs/tools/misc/apkeep/default.nix +++ b/pkgs/tools/misc/apkeep/default.nix @@ -9,14 +9,14 @@ rustPlatform.buildRustPackage rec { pname = "apkeep"; - version = "0.15.0"; + version = "0.16.0"; src = fetchCrate { inherit pname version; - hash = "sha256-PikUb9D9duMATo9hJgjuZUK3WXUKfnCDWJBE/bJI92c="; + hash = "sha256-nPeXIzy9tYWeJrq1tIKXMILOjVnsAvsceY5dzz7+pYE="; }; - cargoHash = "sha256-R58CzeI1Xho6kzjb9ktO7sr6TgM3Hf2VU0pK4hmb1v4="; + cargoHash = "sha256-0NyZmZ00zmGfndz47NMeh76SMmh0ap6ZfkKebX7pMfw="; prePatch = '' rm .cargo/config.toml From 1536ad097bb2823e353723ee17c27a6393ea2813 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 00:55:37 +0000 Subject: [PATCH 0127/1387] fluent-bit: 3.0.0 -> 3.0.1 --- pkgs/tools/misc/fluent-bit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/fluent-bit/default.nix b/pkgs/tools/misc/fluent-bit/default.nix index 37e9a146238f..96f1882e4e2a 100644 --- a/pkgs/tools/misc/fluent-bit/default.nix +++ b/pkgs/tools/misc/fluent-bit/default.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "fluent-bit"; - version = "3.0.0"; + version = "3.0.1"; src = fetchFromGitHub { owner = "fluent"; repo = "fluent-bit"; rev = "v${finalAttrs.version}"; - hash = "sha256-wyRzMIAbv4aDUUiI3UxZDIsL6DpoxbWXNmsADRL425A="; + hash = "sha256-gys6dye137dW/WkoaLQXnrEwU0mXYfHOhuyeg452Tro="; }; nativeBuildInputs = [ cmake flex bison ]; From 4792dfa696c75f1496f9bbaab58b4ea92364dbd7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 01:09:49 +0000 Subject: [PATCH 0128/1387] kubeseal: 0.26.0 -> 0.26.2 --- pkgs/applications/networking/cluster/kubeseal/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/kubeseal/default.nix b/pkgs/applications/networking/cluster/kubeseal/default.nix index ed5db3c9485d..d6a3f9826dff 100644 --- a/pkgs/applications/networking/cluster/kubeseal/default.nix +++ b/pkgs/applications/networking/cluster/kubeseal/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "kubeseal"; - version = "0.26.0"; + version = "0.26.2"; src = fetchFromGitHub { owner = "bitnami-labs"; repo = "sealed-secrets"; rev = "v${version}"; - sha256 = "sha256-rOaczDGjocGpYEPJpMiveWE7sHU9L0Csx2nX0Z3IrBs="; + sha256 = "sha256-96yaWHRfEHjXYZ9Hsh9bXk5O5viSOYhmwJ18JCbtv2U="; }; - vendorHash = "sha256-UicMiSSSQzquNAHFpnWKbybimz3jjbBgWykhyRSU7ZI="; + vendorHash = "sha256-91GKy7tNKSOiJmpArgp56RXegYP7sdGpaRAxS9xwTXA="; subPackages = [ "cmd/kubeseal" ]; From 9598063d6873884bda8f5568adb6eb2babddc77c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 5 Apr 2024 06:08:31 +0100 Subject: [PATCH 0129/1387] make devenv release blocker --- pkgs/top-level/release.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index 1941733d0029..7ddf6752d8d0 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -159,6 +159,7 @@ let # Ensure that X11/GTK are in order. jobs.firefox-unwrapped.x86_64-linux jobs.cachix.x86_64-linux + jobs.devenv.x86_64-linux /* TODO: re-add tests; context: https://github.com/NixOS/nixpkgs/commit/36587a587ab191eddd868179d63c82cdd5dee21b @@ -182,6 +183,7 @@ let jobs.stdenv.x86_64-darwin jobs.cargo.x86_64-darwin jobs.cachix.x86_64-darwin + jobs.devenv.x86_64-darwin jobs.go.x86_64-darwin jobs.python3.x86_64-darwin jobs.nixpkgs-review.x86_64-darwin @@ -209,6 +211,7 @@ let jobs.stdenv.aarch64-darwin jobs.cargo.aarch64-darwin jobs.cachix.aarch64-darwin + jobs.devenv.aarch64-darwin jobs.go.aarch64-darwin jobs.python3.aarch64-darwin jobs.nixpkgs-review.aarch64-darwin From c926d1d9294a01aae1914bfd5b440cedbe933035 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 05:20:31 +0000 Subject: [PATCH 0130/1387] ocamlPackages.ppx_blob: 0.7.2 -> 0.8.0 --- pkgs/development/ocaml-modules/ppx_blob/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_blob/default.nix b/pkgs/development/ocaml-modules/ppx_blob/default.nix index e13bc477e268..3de101383891 100644 --- a/pkgs/development/ocaml-modules/ppx_blob/default.nix +++ b/pkgs/development/ocaml-modules/ppx_blob/default.nix @@ -2,13 +2,13 @@ buildDunePackage rec { pname = "ppx_blob"; - version = "0.7.2"; + version = "0.8.0"; duneVersion = "3"; src = fetchurl { url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz"; - sha256 = "00haz1cmplk3j9ysh6j656zrldy60585fmlndmfhpd5332mxrfdw"; + sha256 = "sha256-drobFwMTKd/a3aP5CX/08WhvgS1CkARH6zo+nSiwl08="; }; checkInputs = [ alcotest ]; From 7002413a6b41ccd7a50b89de9ff9eea17285699f Mon Sep 17 00:00:00 2001 From: FabianRig <88741530+FabianRig@users.noreply.github.com> Date: Fri, 5 Apr 2024 08:28:38 +0200 Subject: [PATCH 0131/1387] technitium-dns-server: build from source instead of binary --- .../library-nuget-deps.nix | 5 ++ .../te/technitium-dns-server/nuget-deps.nix | 5 ++ .../te/technitium-dns-server/package.nix | 69 ++++++++++++------- 3 files changed, 55 insertions(+), 24 deletions(-) create mode 100644 pkgs/by-name/te/technitium-dns-server/library-nuget-deps.nix create mode 100644 pkgs/by-name/te/technitium-dns-server/nuget-deps.nix diff --git a/pkgs/by-name/te/technitium-dns-server/library-nuget-deps.nix b/pkgs/by-name/te/technitium-dns-server/library-nuget-deps.nix new file mode 100644 index 000000000000..f3a17967e25c --- /dev/null +++ b/pkgs/by-name/te/technitium-dns-server/library-nuget-deps.nix @@ -0,0 +1,5 @@ +# This file was automatically generated by passthru.fetch-deps. +# Please dont edit it manually, your changes might get overwritten! + +{ fetchNuGet }: [ +] diff --git a/pkgs/by-name/te/technitium-dns-server/nuget-deps.nix b/pkgs/by-name/te/technitium-dns-server/nuget-deps.nix new file mode 100644 index 000000000000..f3a17967e25c --- /dev/null +++ b/pkgs/by-name/te/technitium-dns-server/nuget-deps.nix @@ -0,0 +1,5 @@ +# This file was automatically generated by passthru.fetch-deps. +# Please dont edit it manually, your changes might get overwritten! + +{ fetchNuGet }: [ +] diff --git a/pkgs/by-name/te/technitium-dns-server/package.nix b/pkgs/by-name/te/technitium-dns-server/package.nix index 47ff83663d99..b369a4586951 100644 --- a/pkgs/by-name/te/technitium-dns-server/package.nix +++ b/pkgs/by-name/te/technitium-dns-server/package.nix @@ -1,39 +1,60 @@ { lib, - stdenvNoCC, - fetchurl, - makeWrapper, - dotnet-sdk_8, + buildDotnetModule, + fetchFromGitHub, + dotnetCorePackages, nixosTests, }: -stdenvNoCC.mkDerivation rec { +let + technitium-library = buildDotnetModule rec { + pname = "TechnitiumLibrary"; + version = "40a7bc7a52cf5d2c371215ea7f5f6fdf71dc1d9c"; + + src = fetchFromGitHub { + owner = "TechnitiumSoftware"; + repo = "TechnitiumLibrary"; + rev = version; + hash = "sha256-FNCZH8LZXYyrz5SRIV8P7MruN+t6Qvl96Aa73q3InMI="; + name = "${pname}-${version}"; + }; + + dotnet-sdk = dotnetCorePackages.sdk_8_0; + + nugetDeps = ./library-nuget-deps.nix; + + projectFile = [ + "TechnitiumLibrary.ByteTree/TechnitiumLibrary.ByteTree.csproj" + "TechnitiumLibrary.Net/TechnitiumLibrary.Net.csproj" + ]; + }; +in +buildDotnetModule rec { pname = "technitium-dns-server"; version = "12.1"; - src = fetchurl { - url = "https://download.technitium.com/dns/archive/${version}/DnsServerPortable.tar.gz"; - hash = "sha256-G0M2xuYBZA3XXXaPs4pLrJmzAMbVJhiqISAvuCw3iZo="; + src = fetchFromGitHub { + owner = "TechnitiumSoftware"; + repo = "DnsServer"; + rev = "refs/tags/v${version}"; + hash = "sha256-TfVWGomvKV7QeJUyFMNDAnHKY3YTEwWPxTlW6RhmsR4="; + name = "${pname}-${version}"; }; - sourceRoot = "."; + dotnet-sdk = dotnetCorePackages.sdk_8_0; + dotnet-runtime = dotnetCorePackages.aspnetcore_8_0; - nativeBuildInputs = [ makeWrapper ]; + nugetDeps = ./nuget-deps.nix; - installPhase = '' - runHook preInstall + projectFile = [ "DnsServerApp/DnsServerApp.csproj" ]; - mkdir -p $out/{bin,share/${pname}-${version}} - cp -r * $out/share/${pname}-${version}/. - rm $out/share/${pname}-${version}/start.{sh,bat} - rm $out/share/${pname}-${version}/DnsServerApp.exe - rm $out/share/${pname}-${version}/env-vars - # Remove systemd.service in favor of a separate module (including firewall configuration). - rm $out/share/${pname}-${version}/systemd.service + # move dependencies from TechnitiumLibrary to the expected directory + preBuild = '' + mkdir -p ../TechnitiumLibrary/bin + cp -r ${technitium-library}/lib/TechnitiumLibrary/* ../TechnitiumLibrary/bin/ + ''; - makeWrapper "${dotnet-sdk_8}/bin/dotnet" $out/bin/technitium-dns-server \ - --add-flags "$out/share/${pname}-${version}/DnsServerApp.dll" - - runHook postInstall + postFixup = '' + mv $out/bin/DnsServerApp $out/bin/technitium-dns-server ''; passthru.tests = { @@ -47,6 +68,6 @@ stdenvNoCC.mkDerivation rec { license = lib.licenses.gpl3Only; mainProgram = "technitium-dns-server"; maintainers = with lib.maintainers; [ fabianrig ]; - sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; + platforms = lib.platforms.linux; }; } From 4d151d7a336f7acc8490cf4da4379123b894516a Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Fri, 5 Apr 2024 15:46:44 +0530 Subject: [PATCH 0132/1387] mlv-app: 1.11 -> 1.14 --- pkgs/applications/video/mlv-app/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/mlv-app/default.nix b/pkgs/applications/video/mlv-app/default.nix index e3bd3cbf99a2..72e53090d33c 100644 --- a/pkgs/applications/video/mlv-app/default.nix +++ b/pkgs/applications/video/mlv-app/default.nix @@ -9,13 +9,13 @@ mkDerivation rec { pname = "mlv-app"; - version = "1.11"; + version = "1.14"; src = fetchFromGitHub { owner = "ilia3101"; repo = "MLV-App"; rev = "QTv${version}"; - sha256 = "0s5sjdxi8a17ddvih4ara7mlb2xrc9xqx52jmhfaca6ng341gi4x"; + sha256 = "sha256-RfZXHmWSjZBxNFwQ/bzHppsLS0LauURIdnkAzxAIBcU="; }; patches = if stdenv.isAarch64 then ./aarch64-flags.patch else null; From fb5d9b77a6afa1e4acb08fd268fecdab4571b47a Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 5 Apr 2024 13:01:02 +0100 Subject: [PATCH 0133/1387] solo5: move to pkgs/by-name --- .../solo5/default.nix => by-name/so/solo5/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{os-specific/solo5/default.nix => by-name/so/solo5/package.nix} (100%) diff --git a/pkgs/os-specific/solo5/default.nix b/pkgs/by-name/so/solo5/package.nix similarity index 100% rename from pkgs/os-specific/solo5/default.nix rename to pkgs/by-name/so/solo5/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9629737b55dc..b7e22c06aa4f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28182,8 +28182,6 @@ with pkgs; smimesign = callPackage ../os-specific/darwin/smimesign { }; - solo5 = callPackage ../os-specific/solo5 { }; - statik = callPackage ../development/tools/statik { }; statifier = callPackage ../os-specific/linux/statifier { }; From a100859273fba3d8678ba7fd9f38e98749f466f1 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 5 Apr 2024 12:57:14 +0100 Subject: [PATCH 0134/1387] solo5: 0.8.0 -> 0.8.1 --- pkgs/by-name/so/solo5/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/so/solo5/package.nix b/pkgs/by-name/so/solo5/package.nix index f235902a91cd..240c69a40a0f 100644 --- a/pkgs/by-name/so/solo5/package.nix +++ b/pkgs/by-name/so/solo5/package.nix @@ -2,7 +2,7 @@ , pkg-config, qemu, syslinux, util-linux }: let - version = "0.8.0"; + version = "0.8.1"; # list of all theoretically available targets targets = [ "genode" @@ -21,7 +21,7 @@ in stdenv.mkDerivation { src = fetchurl { url = "https://github.com/Solo5/solo5/releases/download/v${version}/solo5-v${version}.tar.gz"; - sha256 = "sha256-t80VOZ8Tr1Dq+mJfRPVLGqYprCaqegcQtDqdoHaSXW0="; + sha256 = "sha256-J1xcL/AdcLQ7Ph3TFwEaS9l4cWjDQsTaXTdBDcT7p6E="; }; hardeningEnable = [ "pie" ]; @@ -63,13 +63,13 @@ in stdenv.mkDerivation { runHook postCheck ''; - meta = with lib; { + meta = { description = "Sandboxed execution environment"; homepage = "https://github.com/solo5/solo5"; - license = licenses.isc; - maintainers = [ maintainers.ehmry ]; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ ehmry ]; platforms = builtins.map ({arch, os}: "${arch}-${os}") - (cartesianProductOfSets { + (lib.cartesianProductOfSets { arch = [ "aarch64" "x86_64" ]; os = [ "freebsd" "genode" "linux" "openbsd" ]; }); From 078a46ab20526ea8d36183e2cb76e7b5be0000f1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 13:26:40 +0000 Subject: [PATCH 0135/1387] opensc: 0.25.0 -> 0.25.1 --- pkgs/tools/security/opensc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/opensc/default.nix b/pkgs/tools/security/opensc/default.nix index 6edc9a7da55c..8d8246028f7c 100644 --- a/pkgs/tools/security/opensc/default.nix +++ b/pkgs/tools/security/opensc/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "opensc"; - version = "0.25.0"; + version = "0.25.1"; src = fetchFromGitHub { owner = "OpenSC"; repo = "OpenSC"; rev = version; - sha256 = "sha256-pNorJiZzLGpxtlkog2d3E9xePMy9ASoHeWduqVZiBiA="; + sha256 = "sha256-Ktvp/9Hca87qWmDlQhFzvWsr7TvNpIAvOFS+4zTZbB8="; }; nativeBuildInputs = [ pkg-config autoreconfHook ]; From d143f645104b28ca2e2e675380814491c0d4a664 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 13:27:14 +0000 Subject: [PATCH 0136/1387] ooniprobe-cli: 3.21.0 -> 3.21.1 --- pkgs/tools/networking/ooniprobe-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/ooniprobe-cli/default.nix b/pkgs/tools/networking/ooniprobe-cli/default.nix index 0bddb69220df..d9015a661166 100644 --- a/pkgs/tools/networking/ooniprobe-cli/default.nix +++ b/pkgs/tools/networking/ooniprobe-cli/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "ooniprobe-cli"; - version = "3.21.0"; + version = "3.21.1"; src = fetchFromGitHub { owner = "ooni"; repo = "probe-cli"; rev = "v${version}"; - hash = "sha256-bV1eEuHYaqDKRImEMX9LP/3R3/lVpKpBfweRjucKtTc="; + hash = "sha256-H5QlyxNQdKGoTIdfh/neULakTddVIhXgMJ/wLbqvGbY="; }; vendorHash = "sha256-I88cALmc8iTaVJ36ntQLw+wRMM2GLWMWLhv8EDJDRgg="; From 39cdfe0cfd9c61ef6b2f7e6593984d21b81c514b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 16:46:48 +0000 Subject: [PATCH 0137/1387] sesh: 1.0.1 -> 1.1.0 --- pkgs/by-name/se/sesh/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/se/sesh/package.nix b/pkgs/by-name/se/sesh/package.nix index 919bc5e6a047..88bb8c54f8dd 100644 --- a/pkgs/by-name/se/sesh/package.nix +++ b/pkgs/by-name/se/sesh/package.nix @@ -5,13 +5,13 @@ }: buildGoModule rec { pname = "sesh"; - version = "1.0.1"; + version = "1.1.0"; src = fetchFromGitHub { owner = "joshmedeski"; repo = "sesh"; rev = "v${version}"; - hash = "sha256-eFqqiGIbS9HW7czAtSIPmvbynvg2gsu4luKsL25vxn4="; + hash = "sha256-4p3Pqts6GSyUGX9hCQS/vTZiHbi5UQkrzzIA1Fheamc="; }; vendorHash = "sha256-zt1/gE4bVj+3yr9n0kT2FMYMEmiooy3k1lQ77rN6sTk="; From d242920707fa99e5f3de8369a49a475ede22c7d3 Mon Sep 17 00:00:00 2001 From: Faye Duxovni Date: Fri, 5 Apr 2024 14:21:49 -0400 Subject: [PATCH 0138/1387] imhex: 1.32.2 -> 1.33.2 --- pkgs/by-name/im/imhex/package.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/im/imhex/package.nix b/pkgs/by-name/im/imhex/package.nix index 7ee075ae1888..a92530f662c9 100644 --- a/pkgs/by-name/im/imhex/package.nix +++ b/pkgs/by-name/im/imhex/package.nix @@ -23,14 +23,14 @@ }: let - version = "1.32.2"; - patterns_version = "1.32.2"; + version = "1.33.2"; + patterns_version = "1.33.2"; patterns_src = fetchFromGitHub { owner = "WerWolv"; repo = "ImHex-Patterns"; rev = "ImHex-v${patterns_version}"; - hash = "sha256-K+LiQvykCrOwhEVy37lh7VSf5YJyBQtLz8AGFsuRznQ="; + hash = "sha256-5a6aFT8R8vMzPS+Y+fcDV5+olhioEpLjdMqa7qOyGsw="; }; in @@ -43,19 +43,9 @@ stdenv.mkDerivation rec { owner = "WerWolv"; repo = pname; rev = "v${version}"; - hash = "sha256-MYOZHQMYbbP01z0FyoCgTzwY1/71eUCmJYYfYvN9+so="; + hash = "sha256-8Ehpk0TjE4itQ7D9Nx74plYwABVufuYmxfxyuSqak1c="; }; - patches = [ - # Backport fixes (and fix to fix) for default plugin not being loaded. - (fetchpatch { - url = "https://github.com/WerWolv/PatternLanguage/compare/ImHex-v1.32.2..1adcdd358d3772681242267ddd3459c9d0913796.patch"; - stripLen = 1; - extraPrefix = "lib/external/pattern_language/"; - hash = "sha256-aGvt7vQ6PtFE3sw4rAXUP7Pq8cL29LEKyC0rJKkxOZI="; - }) - ]; - nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ]; buildInputs = [ From 90d3a8bfe82dad67b0722f68c70df6e9c77cee81 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 00:51:57 +0000 Subject: [PATCH 0139/1387] bookstack: 24.02.2 -> 24.02.3 --- pkgs/servers/web-apps/bookstack/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/bookstack/default.nix b/pkgs/servers/web-apps/bookstack/default.nix index 227d4185baf8..c9ef56c67582 100644 --- a/pkgs/servers/web-apps/bookstack/default.nix +++ b/pkgs/servers/web-apps/bookstack/default.nix @@ -16,13 +16,13 @@ let in package.override rec { pname = "bookstack"; - version = "24.02.2"; + version = "24.02.3"; src = fetchFromGitHub { owner = "bookstackapp"; repo = pname; rev = "v${version}"; - sha256 = "1b4166vd3ribs69ad5ljp71im0fh0n0m5c5l04i3l44a5bw25b2h"; + sha256 = "sha256-+8J7dB666KZSJbvnmJl/PivtMQ6Hlz3AAy6E1xpRRmU="; }; meta = with lib; { From 55e622f7d2c9e334f1afefa689306066c62015f8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 02:02:13 +0000 Subject: [PATCH 0140/1387] vivaldi: 6.6.3271.55 -> 6.6.3271.57 --- pkgs/applications/networking/browsers/vivaldi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/vivaldi/default.nix b/pkgs/applications/networking/browsers/vivaldi/default.nix index 4dd1251c0911..7abf83219bec 100644 --- a/pkgs/applications/networking/browsers/vivaldi/default.nix +++ b/pkgs/applications/networking/browsers/vivaldi/default.nix @@ -24,7 +24,7 @@ let vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; in stdenv.mkDerivation rec { pname = "vivaldi"; - version = "6.6.3271.55"; + version = "6.6.3271.57"; suffix = { aarch64-linux = "arm64"; @@ -34,8 +34,8 @@ in stdenv.mkDerivation rec { src = fetchurl { url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb"; hash = { - aarch64-linux = "sha256-IqCmDqcZDLT1abx67gAsGHR8DVVIAGZ/sifZi8bxUNc="; - x86_64-linux = "sha256-n0CHm1Dtd2QhGNhI/9WzQ6CeCyMAHkBpOMC2w3ylk2g="; + aarch64-linux = "sha256-v/UG4eL/66i/0sSqN8JmJJIEjHzJjTTDZLRzLMJpJMA="; + x86_64-linux = "sha256-uVrEVf9mePqalU2OJRMj0Zy9d7jDXwsdMwEQhn9uUh8="; }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }; From ca8bf15da92a0165278f27236270e356857102aa Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 6 Apr 2024 04:20:00 +0000 Subject: [PATCH 0141/1387] uclibc-ng: 1.0.45 -> 1.0.47 --- pkgs/by-name/uc/uclibc-ng/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/uc/uclibc-ng/package.nix b/pkgs/by-name/uc/uclibc-ng/package.nix index f1e6c36e24a8..a16bbd810e70 100644 --- a/pkgs/by-name/uc/uclibc-ng/package.nix +++ b/pkgs/by-name/uc/uclibc-ng/package.nix @@ -58,11 +58,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "uclibc-ng"; - version = "1.0.45"; + version = "1.0.47"; src = fetchurl { url = "https://downloads.uclibc-ng.org/releases/${finalAttrs.version}/uClibc-ng-${finalAttrs.version}.tar.xz"; - sha256 = "sha256-wvTGtuGdfJwiaZKjdG79erkyBARjwV7gvI9BMrV3esQ="; + hash = "sha256-KaTWhKBto0TuPuCazCynZJ1ZKuP/hI9pgUXEbe8F78s="; }; # 'ftw' needed to build acl, a coreutils dependency From f11d350852721e4d4d5b56499b25f8d3158b22c9 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 6 Apr 2024 04:20:00 +0000 Subject: [PATCH 0142/1387] uclibc-ng: add passthru.updateScript --- pkgs/by-name/uc/uclibc-ng/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/uc/uclibc-ng/package.nix b/pkgs/by-name/uc/uclibc-ng/package.nix index a16bbd810e70..d2ce33e4bab3 100644 --- a/pkgs/by-name/uc/uclibc-ng/package.nix +++ b/pkgs/by-name/uc/uclibc-ng/package.nix @@ -2,6 +2,7 @@ , stdenv , buildPackages , fetchurl +, gitUpdater , linuxHeaders , libiconvReal , extraConfig ? "" @@ -112,6 +113,11 @@ stdenv.mkDerivation (finalAttrs: { # Derivations may check for the existance of this attribute, to know what to # link to. libiconv = libiconvReal; + + updateScript = gitUpdater { + url = "https://git.uclibc-ng.org/git/uclibc-ng.git"; + rev-prefix = "v"; + }; }; meta = { From 0742e80275e3926922795a7638d1aa3aee9ad18e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 05:36:51 +0000 Subject: [PATCH 0143/1387] kokkos: 4.2.01 -> 4.3.00 --- pkgs/by-name/ko/kokkos/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ko/kokkos/package.nix b/pkgs/by-name/ko/kokkos/package.nix index 09dc6fc4edd0..33634ddfaca9 100644 --- a/pkgs/by-name/ko/kokkos/package.nix +++ b/pkgs/by-name/ko/kokkos/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "kokkos"; - version = "4.2.01"; + version = "4.3.00"; src = fetchFromGitHub { owner = "kokkos"; repo = "kokkos"; rev = finalAttrs.version; - hash = "sha256-d8GB7+hHqpD5KPeYmiXmT5+6W64j3bbTs2hoFYJnfa8="; + hash = "sha256-0MMztgw+okZM/xr2vQucwkkT04iueQSlSQJ6MN/756I="; }; nativeBuildInputs = [ From a32a48f804d7fbf74aec909453898a1cdbb5df4c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 05:38:51 +0000 Subject: [PATCH 0144/1387] vmware-horizon-client: 2312 -> 2312.1 --- .../networking/remote/vmware-horizon-client/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/remote/vmware-horizon-client/default.nix b/pkgs/applications/networking/remote/vmware-horizon-client/default.nix index ced76131e45b..da92226507ee 100644 --- a/pkgs/applications/networking/remote/vmware-horizon-client/default.nix +++ b/pkgs/applications/networking/remote/vmware-horizon-client/default.nix @@ -11,7 +11,7 @@ , configText ? "" }: let - version = "2312"; + version = "2312.1"; sysArch = if stdenv.hostPlatform.system == "x86_64-linux" then "x64" @@ -36,8 +36,8 @@ let pname = "vmware-horizon-files"; inherit version; src = fetchurl { - url = "https://download3.vmware.com/software/CART24FQ4_LIN_2312_TARBALL/VMware-Horizon-Client-Linux-2312-8.12.0-23149323.tar.gz"; - sha256 = "15ca1d6028b9ca88e23fa363a2942fd76456c19e95ced4734595c3dc44db38d8"; + url = "https://download3.vmware.com/software/CART25FQ1_LIN_2312.1_TARBALL/VMware-Horizon-Client-Linux-2312.1-8.12.1-23543969.tar.gz"; + sha256 = "23d18be2955ba60ab3cca941a529fa3b804af97ebf1602d246ca6147cced8135"; }; nativeBuildInputs = [ makeWrapper ]; installPhase = '' From d6416c0bde54a67694a2fff342ad3f6c2f67533f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 09:38:08 +0000 Subject: [PATCH 0145/1387] python311Packages.pytorch-metric-learning: 2.4.1 -> 2.5.0 --- .../python-modules/pytorch-metric-learning/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-metric-learning/default.nix b/pkgs/development/python-modules/pytorch-metric-learning/default.nix index 0ef7e51d2c38..a1d1f7f38a2c 100644 --- a/pkgs/development/python-modules/pytorch-metric-learning/default.nix +++ b/pkgs/development/python-modules/pytorch-metric-learning/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pytorch-metric-learning"; - version = "2.4.1"; + version = "2.5.0"; format = "setuptools"; disabled = isPy27; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "KevinMusgrave"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-LftT/ATrvEkVJPS63LSN/7vCsHhobm6xk8hFEa+wrzE="; + hash = "sha256-1y7VCnzgwFOMeMloVdYyszNhf/zZlBJUjuF4qgA5c0A="; }; propagatedBuildInputs = [ From 723ae84900e0a2de03f87cd0af90cabf34ccc0a4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 09:47:04 +0000 Subject: [PATCH 0146/1387] python311Packages.zodb: 5.8.1 -> 6.0 --- pkgs/development/python-modules/zodb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zodb/default.nix b/pkgs/development/python-modules/zodb/default.nix index c90cc42a3383..2ac592db4223 100644 --- a/pkgs/development/python-modules/zodb/default.nix +++ b/pkgs/development/python-modules/zodb/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "zodb"; - version = "5.8.1"; + version = "6.0"; src = fetchPypi { pname = "ZODB"; inherit version; - hash = "sha256-xsc6vTZg1gb/wfIfl97xS1K0b0pwLsnm7kSabiviZN8="; + hash = "sha256-5Rx5IRXF2q1OgGdXuvovdUwADCPmurw75eQHdf5Jtdw="; }; # remove broken test From 08fd84846e33f4387285257421b0198032e70979 Mon Sep 17 00:00:00 2001 From: Yarny0 <41838844+Yarny0@users.noreply.github.com> Date: Sat, 6 Apr 2024 12:21:08 +0200 Subject: [PATCH 0147/1387] foomatic-db-engine: unstable-2024-02-10 -> unstable-2024-04-05 Due to the sole new commit https://github.com/OpenPrinting/foomatic-db-engine/commit/a2b12271e145fe3fd34c3560d276a57e928296cb "Fix wget / curl auto-detection at configure" curl (or wget) is now a mandatory (runtime!) dependency. --- pkgs/misc/cups/drivers/foomatic-db-engine/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/cups/drivers/foomatic-db-engine/default.nix b/pkgs/misc/cups/drivers/foomatic-db-engine/default.nix index 497223c4451e..5408f7eff38e 100644 --- a/pkgs/misc/cups/drivers/foomatic-db-engine/default.nix +++ b/pkgs/misc/cups/drivers/foomatic-db-engine/default.nix @@ -24,8 +24,8 @@ perlPackages.buildPerlPackage rec { # but it gets deleted quickly and would provoke 404 errors owner = "OpenPrinting"; repo = "foomatic-db-engine"; - rev = "fa91bdfd87da9005591ac2ef2c9c7b8ecdd19511"; - hash = "sha256-Ufy9BtYMD7sUUVfraTmO5e8+nZ4C4up5a5GXeGTtejg="; + rev = "a2b12271e145fe3fd34c3560d276a57e928296cb"; + hash = "sha256-qM12qtGotf9C0cjO9IkmzlW9GWCkT2Um+6dU3mZm3DU="; }; outputs = [ "out" ]; @@ -37,9 +37,10 @@ perlPackages.buildPerlPackage rec { ]; buildInputs = + [ curl ] # provide some "cups-*" commands to `foomatic-{configure,printjob}` # so that they can manage a local cups server (add queues, add jobs...) - lib.optionals withCupsAccess [ cups cups-filters curl ] + ++ lib.optionals withCupsAccess [ cups cups-filters ] # the commands `foomatic-{configure,getpjloptions}` need # netcat if they are used to query or alter a network # printer via AppSocket/HP JetDirect protocol From 05dedd387f3e8f40f1e9470a1eab51d67aea4ce7 Mon Sep 17 00:00:00 2001 From: Niklas Gollenstede Date: Wed, 6 Mar 2024 13:55:43 +0100 Subject: [PATCH 0148/1387] python3Packages.onnxruntime: fix build with cudaSupport --- pkgs/development/libraries/onnxruntime/default.nix | 1 + pkgs/development/python-modules/onnxruntime/default.nix | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/onnxruntime/default.nix b/pkgs/development/libraries/onnxruntime/default.nix index 4ece5feea365..b5e7a9830087 100644 --- a/pkgs/development/libraries/onnxruntime/default.nix +++ b/pkgs/development/libraries/onnxruntime/default.nix @@ -224,6 +224,7 @@ effectiveStdenv.mkDerivation rec { ''; passthru = { + inherit cudaSupport cudaPackages; # for the python module protobuf = protobuf_21; tests = lib.optionalAttrs pythonSupport { python = python3Packages.onnxruntime; diff --git a/pkgs/development/python-modules/onnxruntime/default.nix b/pkgs/development/python-modules/onnxruntime/default.nix index 8fea2e6d9117..0982a12c4572 100644 --- a/pkgs/development/python-modules/onnxruntime/default.nix +++ b/pkgs/development/python-modules/onnxruntime/default.nix @@ -53,7 +53,13 @@ buildPythonPackage { oneDNN re2 onnxruntime.protobuf - ]; + ] ++ lib.optionals onnxruntime.passthru.cudaSupport (with onnxruntime.passthru.cudaPackages; [ + libcublas # libcublasLt.so.XX libcublas.so.XX + libcurand # libcurand.so.XX + libcufft # libcufft.so.XX + cudnn # libcudnn.soXX + cuda_cudart # libcudart.so.XX + ]); propagatedBuildInputs = [ coloredlogs From 94793640c55525345833e192a38994cad38ccd3d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 11:55:03 +0000 Subject: [PATCH 0149/1387] liquibase: 4.26.0 -> 4.27.0 --- pkgs/development/tools/database/liquibase/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix index 94f0d4c79fce..7e6a8334cff4 100644 --- a/pkgs/development/tools/database/liquibase/default.nix +++ b/pkgs/development/tools/database/liquibase/default.nix @@ -25,11 +25,11 @@ in stdenv.mkDerivation rec { pname = "liquibase"; - version = "4.26.0"; + version = "4.27.0"; src = fetchurl { url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz"; - hash = "sha256-RoULX9IcVI+WklPLvJfcbIRhmKgiVYHjr1NGrIqn2/I="; + hash = "sha256-UNieH8ECSb8ZjxqP8tgf0LaObKCAXbKKlNOGSXhNgvA="; }; nativeBuildInputs = [ makeWrapper ]; From e08964133d774595d4695b4d6b24e30aed9397aa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 12:33:01 +0000 Subject: [PATCH 0150/1387] cloudlog: 2.6.7 -> 2.6.8 --- pkgs/applications/radio/cloudlog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/cloudlog/default.nix b/pkgs/applications/radio/cloudlog/default.nix index 862bbcdb5e5b..c7154e8fd3d6 100644 --- a/pkgs/applications/radio/cloudlog/default.nix +++ b/pkgs/applications/radio/cloudlog/default.nix @@ -8,13 +8,13 @@ stdenvNoCC.mkDerivation rec { pname = "cloudlog"; - version = "2.6.7"; + version = "2.6.8"; src = fetchFromGitHub { owner = "magicbug"; repo = "Cloudlog"; rev = version; - hash = "sha256-blWMfe/eqeccGE5dWVJWV7L1akWnhO3t5n8HbjlJIcA="; + hash = "sha256-8D8owjONUMpRpFqKvmxKERCprvHQ1DCavNfqW9VTKAE="; }; postPatch = '' From 4d5101b1b6214348510022b821968244eb208379 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 6 Apr 2024 14:50:05 +0200 Subject: [PATCH 0151/1387] python3Packages.skytemple-rust: 1.6.3 -> 1.6.5 --- pkgs/development/python-modules/skytemple-rust/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/skytemple-rust/default.nix b/pkgs/development/python-modules/skytemple-rust/default.nix index c92f9175bfb2..411aadb9b400 100644 --- a/pkgs/development/python-modules/skytemple-rust/default.nix +++ b/pkgs/development/python-modules/skytemple-rust/default.nix @@ -13,18 +13,18 @@ buildPythonPackage rec { pname = "skytemple-rust"; - version = "1.6.3"; + version = "1.6.5"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-z9Vu9mj82hwuPva56tmav4jN9RCoNIZxL+C3GYtYsOo="; + hash = "sha256-bf+umrb5EIoCD2kheVpf9IwsW4Sf2hR7XOEzscYtLA8="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-2or419evNxi99HIvL2TlSWFFh4BCky8qI/dVQbq/X38="; + hash = "sha256-0a57RmZPztcIeRs7GNYe18JO+LlWoeNWG3nD9cG0XIU="; }; buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ]; From aeb1209cbc35a4bca7c8bd78c66373bec648496d Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 6 Apr 2024 14:51:09 +0200 Subject: [PATCH 0152/1387] python3Packages.skytemple-files: 1.6.3 -> 1.6.5 --- pkgs/development/python-modules/skytemple-files/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/skytemple-files/default.nix b/pkgs/development/python-modules/skytemple-files/default.nix index 483e2749b5c7..1b8d744b7d17 100644 --- a/pkgs/development/python-modules/skytemple-files/default.nix +++ b/pkgs/development/python-modules/skytemple-files/default.nix @@ -30,14 +30,16 @@ buildPythonPackage rec { pname = "skytemple-files"; - version = "1.6.3"; + version = "1.6.5"; pyproject = true; src = fetchFromGitHub { owner = "SkyTemple"; repo = pname; rev = version; - hash = "sha256-OkokbVD8j+Sgypj25demzSZdiAEf8TJrnl0QRIM2HsI="; + hash = "sha256-y6VHRfwQNoehp06BoZXuprYtsiGgoNL4rztJw40P4FI="; + # Most patches are in submodules + fetchSubmodules = true; }; postPatch = '' From ded0193048db47bc51cd944b336e8cee8621d936 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 6 Apr 2024 14:51:52 +0200 Subject: [PATCH 0153/1387] python3Packages.skytemple-ssb-emulator: 1.6.1.post1 -> 1.6.4 --- .../skytemple-ssb-emulator/Cargo.lock | 276 +++++++++++------- .../skytemple-ssb-emulator/default.nix | 6 +- 2 files changed, 171 insertions(+), 111 deletions(-) diff --git a/pkgs/development/python-modules/skytemple-ssb-emulator/Cargo.lock b/pkgs/development/python-modules/skytemple-ssb-emulator/Cargo.lock index f8ed09197a77..2960a441457b 100644 --- a/pkgs/development/python-modules/skytemple-ssb-emulator/Cargo.lock +++ b/pkgs/development/python-modules/skytemple-ssb-emulator/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "arc-swap" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" +checksum = "7b3d0060af21e8d11a926981cc00c6c1541aa91dd64b9f881985c3da1094425f" [[package]] name = "autocfg" @@ -31,9 +31,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bitvec" @@ -67,12 +67,9 @@ checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "cc" -version = "1.0.83" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] +checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" [[package]] name = "cfg-if" @@ -82,22 +79,18 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "crossbeam-channel" -version = "0.5.8" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +checksum = "ab3db02a9c5b5121e1e42fbdb1aeb65f5e02624cc58c43f2884c6ccac0b82f95" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.16" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" -dependencies = [ - "cfg-if", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "desmume-rs" @@ -123,9 +116,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "encoding" @@ -193,9 +186,9 @@ checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569" [[package]] name = "errno" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", "windows-sys", @@ -253,18 +246,18 @@ checksum = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" [[package]] name = "itertools" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "lazy_static" @@ -274,15 +267,15 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.149" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "linux-raw-sys" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "locale_config" @@ -309,9 +302,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "malloc_buf" @@ -324,9 +317,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memoffset" @@ -339,20 +332,20 @@ dependencies = [ [[package]] name = "num-derive" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfb77679af88f8b125209d354a202862602672222e7f2313fdd6dc349bad4712" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.52", ] [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", ] @@ -388,9 +381,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "packed_struct" @@ -434,7 +427,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-targets", + "windows-targets 0.48.5", ] [[package]] @@ -445,30 +438,37 @@ checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" + +[[package]] +name = "portable-atomic" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" [[package]] name = "proc-macro2" -version = "1.0.69" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] [[package]] name = "pyo3" -version = "0.20.0" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8453b658fe480c3e70c8ed4e3d3ec33eb74988bd186561b0cc66b85c3bc4b" +checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" dependencies = [ "cfg-if", "indoc", "libc", "memoffset", "parking_lot", + "portable-atomic", "pyo3-build-config", "pyo3-ffi", "pyo3-macros", @@ -477,9 +477,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.20.0" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a96fe70b176a89cff78f2fa7b3c930081e163d5379b4dcdf993e3ae29ca662e5" +checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" dependencies = [ "once_cell", "target-lexicon", @@ -487,9 +487,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.20.0" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "214929900fd25e6604661ed9cf349727c8920d47deff196c4e28165a6ef2a96b" +checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" dependencies = [ "libc", "pyo3-build-config", @@ -508,33 +508,34 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.20.0" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac53072f717aa1bfa4db832b39de8c875b7c7af4f4a6fe93cdbf9264cf8383b" +checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" dependencies = [ "proc-macro2", "pyo3-macros-backend", "quote", - "syn 2.0.38", + "syn 2.0.52", ] [[package]] name = "pyo3-macros-backend" -version = "0.20.0" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7774b5a8282bd4f25f803b1f0d945120be959a36c72e08e7cd031c792fdfd424" +checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" dependencies = [ "heck", "proc-macro2", + "pyo3-build-config", "quote", - "syn 2.0.38", + "syn 2.0.52", ] [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -556,9 +557,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", @@ -568,9 +569,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", @@ -585,11 +586,11 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "rustix" -version = "0.38.21" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "errno", "libc", "linux-raw-sys", @@ -598,9 +599,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" [[package]] name = "scopeguard" @@ -610,29 +611,29 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "serde" -version = "1.0.190" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.190" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.52", ] [[package]] name = "serde_json" -version = "1.0.107" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -641,8 +642,8 @@ dependencies = [ [[package]] name = "skytemple_rust" -version = "1.6.0" -source = "git+https://github.com/SkyTemple/skytemple-rust.git?tag=1.6.0#9403594d96a7c8fa480625578038a75e9189173f" +version = "1.6.4" +source = "git+https://github.com/SkyTemple/skytemple-rust.git?tag=1.6.4#6b16478906fb35595fa4307c0ac77dea37e12983" dependencies = [ "bytes", "encoding", @@ -661,7 +662,7 @@ dependencies = [ [[package]] name = "skytemple_rust_macros" version = "1.4.0" -source = "git+https://github.com/SkyTemple/skytemple-rust.git?tag=1.6.0#9403594d96a7c8fa480625578038a75e9189173f" +source = "git+https://github.com/SkyTemple/skytemple-rust.git?tag=1.6.4#6b16478906fb35595fa4307c0ac77dea37e12983" dependencies = [ "quote", "syn 1.0.109", @@ -670,7 +671,7 @@ dependencies = [ [[package]] name = "skytemple_rust_macros_no_py" version = "1.4.0" -source = "git+https://github.com/SkyTemple/skytemple-rust.git?tag=1.6.0#9403594d96a7c8fa480625578038a75e9189173f" +source = "git+https://github.com/SkyTemple/skytemple-rust.git?tag=1.6.4#6b16478906fb35595fa4307c0ac77dea37e12983" dependencies = [ "quote", "syn 1.0.109", @@ -678,7 +679,7 @@ dependencies = [ [[package]] name = "skytemple_ssb_emulator" -version = "1.6.1" +version = "1.6.4" dependencies = [ "byteorder", "crossbeam-channel", @@ -694,15 +695,18 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.1" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "sprintf" -version = "0.1.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0cdea5a20a06e7c57f627094e7b1618e5665592cd88f2d45fa4014e348db58" +checksum = "f2819cb5194dfe9e6d102f4519a9fb9dc7106d2879b71b4fd4d4677f1175bd39" +dependencies = [ + "thiserror", +] [[package]] name = "syn" @@ -717,9 +721,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.38" +version = "2.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07" dependencies = [ "proc-macro2", "quote", @@ -734,47 +738,46 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "temp-dir" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af547b166dd1ea4b472165569fc456cfb6818116f854690b0ff205e636523dab" +checksum = "dd16aa9ffe15fe021c6ee3766772132c6e98dfa395a167e16864f61a9cfb71d6" [[package]] name = "tempfile" -version = "3.8.1" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", "fastrand", - "redox_syscall", "rustix", "windows-sys", ] [[package]] name = "thiserror" -version = "1.0.50" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.50" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.52", ] [[package]] @@ -813,11 +816,11 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-sys" -version = "0.48.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets", + "windows-targets 0.52.4", ] [[package]] @@ -826,13 +829,28 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +dependencies = [ + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", ] [[package]] @@ -841,42 +859,84 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" + [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" + [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + [[package]] name = "wyz" version = "0.5.1" diff --git a/pkgs/development/python-modules/skytemple-ssb-emulator/default.nix b/pkgs/development/python-modules/skytemple-ssb-emulator/default.nix index 0e0f4dc98885..d3bbb87d6e09 100644 --- a/pkgs/development/python-modules/skytemple-ssb-emulator/default.nix +++ b/pkgs/development/python-modules/skytemple-ssb-emulator/default.nix @@ -20,18 +20,18 @@ }: buildPythonPackage rec { pname = "skytemple-ssb-emulator"; - version = "1.6.1.post1"; + version = "1.6.4"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-FEQnQPIathtrP03Dncz560K0lhKW4+HI/Oyo7qsEpFw="; + hash = "sha256-qGRfX7Bwr19KJnIdhwuSVBZzXxMJyEgyBuy91aLhEj4="; }; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { - "skytemple_rust-1.6.0" = "sha256-4glBo1VKCSwSSeQU6Ojhc0Cbaikxy101V1fU4rgcczg="; + "skytemple_rust-1.6.4" = "sha256-t7P3F1zes7bgDu2JGqb5DgxlDCiztWtmViy4QY9CzT0="; }; }; From bde74bb03cf2f557e52df5b63867ad208e3575c3 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 6 Apr 2024 14:52:15 +0200 Subject: [PATCH 0154/1387] python3Packages.skytemple-ssb-debugger: 1.6.2 -> 1.6.4 --- .../python-modules/skytemple-ssb-debugger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/skytemple-ssb-debugger/default.nix b/pkgs/development/python-modules/skytemple-ssb-debugger/default.nix index da873a37dc51..c378053c206a 100644 --- a/pkgs/development/python-modules/skytemple-ssb-debugger/default.nix +++ b/pkgs/development/python-modules/skytemple-ssb-debugger/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "skytemple-ssb-debugger"; - version = "1.6.2"; + version = "1.6.4"; pyproject = true; src = fetchFromGitHub { owner = "SkyTemple"; repo = pname; rev = version; - hash = "sha256-lMlBCAmmenEwxzt4ft5jwwvqedzu2omeoNx5g6lA+PE="; + hash = "sha256-whnwFwPYPGF+UtjrzRKgXJNPsUGvmE+HHKJcPf0qcuA="; }; buildInputs = [ gtk3 gtksourceview4 ]; From 8dcbf0d8d8f07cb27e0d10b1d511760c84b5cf40 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 6 Apr 2024 14:52:40 +0200 Subject: [PATCH 0155/1387] skytemple: 1.6.3 -> 1.6.5 --- pkgs/applications/misc/skytemple/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/skytemple/default.nix b/pkgs/applications/misc/skytemple/default.nix index b054be4be094..98e41bf73e76 100644 --- a/pkgs/applications/misc/skytemple/default.nix +++ b/pkgs/applications/misc/skytemple/default.nix @@ -10,14 +10,14 @@ python3Packages.buildPythonApplication rec { pname = "skytemple"; - version = "1.6.3"; + version = "1.6.5"; pyproject = true; src = fetchFromGitHub { owner = "SkyTemple"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-norcfoxZG9crgQz7p1+Gfne5il1AWfxdZa4JE/LfXU8="; + hash = "sha256-yfXu1sboKi8STPiX5FUD9q+1U9GfhOyEKDRvU9rgdfI="; }; buildInputs = [ From cd95ef10831d1d9f36e8b25776f60ea33cf0380d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 13:13:10 +0000 Subject: [PATCH 0156/1387] loksh: 7.4 -> 7.5 --- pkgs/by-name/lo/loksh/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lo/loksh/package.nix b/pkgs/by-name/lo/loksh/package.nix index 01143fae7b52..f397ac95a850 100644 --- a/pkgs/by-name/lo/loksh/package.nix +++ b/pkgs/by-name/lo/loksh/package.nix @@ -9,14 +9,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "loksh"; - version = "7.4"; + version = "7.5"; src = fetchFromGitHub { owner = "dimkr"; repo = "loksh"; rev = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-gQK9gq6MsKVyOikOW0sW/SbIM1K/3I8pn58P/SqzKys="; + hash = "sha256-4cBO1FXUnN/swwEeM2lq5RJJGmLKInMLZkz942EKy6k="; }; outputs = [ "out" "doc" "man" ]; From d218cc5138d818ca509ebe1b7cd1b5214fcbc37a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 14:26:31 +0000 Subject: [PATCH 0157/1387] pest-ide-tools: 0.3.6 -> 0.3.9 --- pkgs/development/tools/misc/pest-ide-tools/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/pest-ide-tools/default.nix b/pkgs/development/tools/misc/pest-ide-tools/default.nix index 162817c68357..c228508e4a60 100644 --- a/pkgs/development/tools/misc/pest-ide-tools/default.nix +++ b/pkgs/development/tools/misc/pest-ide-tools/default.nix @@ -10,14 +10,14 @@ rustPlatform.buildRustPackage rec { pname = "pest-ide-tools"; - version = "0.3.6"; - cargoSha256 = "sha256-uFcEE5Hlb0fhOH0birqeH+hOuAyZVjQOYFhoMdR8czM="; + version = "0.3.9"; + cargoSha256 = "sha256-kFLVzsk2ML78zWoLVX/tPz+rwBPziXmfGAcVSA7GiTA="; src = fetchFromGitHub { owner = "pest-parser"; repo = "pest-ide-tools"; rev = "v${version}"; - sha256 = "sha256-SymtMdj7QVOEiSeTjmVidejFeGK8swnM6nfT7u18URs="; + sha256 = "sha256-6051J3DQjI+Wp3iLn65GRmMnwOjGEtcWyXEKsT9k9fE="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ From d160d9a6a153e9142efe54d7dd1480b0c2f9d695 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 14:47:09 +0000 Subject: [PATCH 0158/1387] swayimg: 2.1 -> 2.2 --- pkgs/by-name/sw/swayimg/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sw/swayimg/package.nix b/pkgs/by-name/sw/swayimg/package.nix index c6c838559ed3..ac077868e674 100644 --- a/pkgs/by-name/sw/swayimg/package.nix +++ b/pkgs/by-name/sw/swayimg/package.nix @@ -26,13 +26,13 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "swayimg"; - version = "2.1"; + version = "2.2"; src = fetchFromGitHub { owner = "artemsen"; repo = "swayimg"; rev = "v${finalAttrs.version}"; - hash = "sha256-+ntunT1FbgGcxpKGTcs7G7FYmoAobu/p/8ATIoBzfKE="; + hash = "sha256-CTl1hlRE4MnA6WdQaR4VG5G/wop/9xK7thRiCY7teYU="; }; strictDeps = true; From fe3930301b67dc4b544e418a072af46bdc4ec417 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sat, 6 Apr 2024 21:17:27 +0530 Subject: [PATCH 0159/1387] uboot: 2024.01 -> 2024.04 --- pkgs/misc/uboot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index d7a3ad13825c..c1a38d1985f4 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -28,10 +28,10 @@ }: let - defaultVersion = "2024.01"; + defaultVersion = "2024.04"; defaultSrc = fetchurl { url = "https://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; - hash = "sha256-uZYR8e0je/NUG9yENLaMlqbgWWcGH5kkQ8swqr6+9bM="; + hash = "sha256-GKhT/jn6160DqQzC1Cda6u1tppc13vrDSSuAUIhD3Uo="; }; # Dependencies for the tools need to be included as either native or cross, From 97ace155ce711fb2f92dd2388e77051ec589d014 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 16:07:07 +0000 Subject: [PATCH 0160/1387] jenkins-job-builder: 6.1.0 -> 6.2.0 --- .../python-modules/jenkins-job-builder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix index 47734c8a8973..852b529e8bcc 100644 --- a/pkgs/development/python-modules/jenkins-job-builder/default.nix +++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "jenkins-job-builder"; - version = "6.1.0"; + version = "6.2.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-9IXhzdXVEk0M2O01eHysiDziZWmEy6Ehb7nHC6OHCwc="; + hash = "sha256-kV2g1qbS5L7bEqfPijj60eK+pbTc8SAs/tctpNv0PFs="; }; postPatch = '' From 2d3b672da7dbd4c5f6e69b564e104c51ff919674 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 20:05:16 +0000 Subject: [PATCH 0161/1387] mycli: 1.27.1 -> 1.27.2 --- pkgs/tools/admin/mycli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/mycli/default.nix b/pkgs/tools/admin/mycli/default.nix index b0ab1f890705..36fc0ff4a3b3 100644 --- a/pkgs/tools/admin/mycli/default.nix +++ b/pkgs/tools/admin/mycli/default.nix @@ -8,11 +8,11 @@ with python3.pkgs; buildPythonApplication rec { pname = "mycli"; - version = "1.27.1"; + version = "1.27.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-6fUno+YZLnuH/ntwiqO9Wx63rDSJwcFZVn5f9cmMqJk="; + sha256 = "sha256-0R2k5hRkAJbqgGZEPXWUb48oFxTKMKiQZckf3F+VC3I="; }; propagatedBuildInputs = [ From ce6a887ed222ff051a53632f180622ce539eda09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Thu, 4 Apr 2024 23:39:11 +0200 Subject: [PATCH 0162/1387] rPackages.SpatialDecon: fix build --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 994b6349a616..f4aebedef5be 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -911,6 +911,7 @@ let "R_rsp" "salso" "scholar" + "SpatialDecon" "stepR" "styler" "teal_code" From da6619866409b8af6b55187b02849f6c6ea6a47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Mon, 1 Apr 2024 23:49:03 +0200 Subject: [PATCH 0163/1387] rPackages.ChemmineOB: fix build --- pkgs/development/r-modules/default.nix | 28 +++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 994b6349a616..42896a1afef5 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -331,7 +331,7 @@ let Cairo = with pkgs; [ libtiff libjpeg cairo.dev xorg.libXt.dev fontconfig.lib ]; Cardinal = [ pkgs.which ]; chebpol = [ pkgs.fftw.dev ]; - ChemmineOB = with pkgs; [ openbabel pkg-config ]; + ChemmineOB = [ pkgs.pkg-config ]; curl = [ pkgs.curl.dev ]; CytoML = [ pkgs.libxml2.dev ]; data_table = with pkgs; [ pkg-config zlib.dev ] ++ lib.optional stdenv.isDarwin pkgs.llvmPackages.openmp; @@ -696,6 +696,7 @@ let ragg = with pkgs; [ freetype.dev libpng.dev libtiff.dev zlib.dev libjpeg.dev bzip2.dev ] ++ lib.optional stdenv.isDarwin lerc.dev; qqconf = [ pkgs.fftw.dev ]; vapour = with pkgs; [ proj.dev gdal ]; + ChemmineOB = [ pkgs.eigen ]; }; packagesRequiringX = [ @@ -1330,6 +1331,31 @@ let PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -L${pkgs.cyrus_sasl.out}/lib -L${pkgs.zlib.out}/lib -lssl -lcrypto -lsasl2 -lz"; }); + ChemmineOB = let + # R package doesn't compile with the latest (unstable) version. + # Override from nixpkgs-23.11 + openbabel3 = pkgs.openbabel.overrideAttrs (attrs: { + version = "3.1.1"; + src = pkgs.fetchFromGitHub { + owner = "openbabel"; + repo = "openbabel"; + rev = "openbabel-${lib.replaceStrings ["."] ["-"] attrs.version}"; + sha256 = "sha256-wQpgdfCyBAoh4pmj9j7wPTlMtraJ62w/EShxi/olVMY="; + }; + }); + in + old.ChemmineOB.overrideAttrs (attrs: { + # pkg-config knows openbabel-3 without the .0 + # Eigen3 is also looked for in the wrong location + postPatch = '' + substituteInPlace configure \ + --replace-fail openbabel-3.0 openbabel-3 + substituteInPlace src/Makevars.in \ + --replace-fail "-I/usr/include/eigen3" "-I${pkgs.eigen}/include/eigen3" + ''; + buildInputs = attrs.buildInputs ++ [openbabel3]; + }); + ps = old.ps.overrideAttrs (attrs: { preConfigure = "patchShebangs configure"; }); From 49b8ddad0584c4d2cf87677e3bdbb8e58a135253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Thu, 4 Apr 2024 23:44:35 +0200 Subject: [PATCH 0164/1387] rPackages.signatureSearch: disable package ExperimentHub dependent --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 994b6349a616..ce5d389c772e 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -986,6 +986,7 @@ let "muscData" "org_Mxanthus_db" "scpdata" + "signatureSearch" "nullrangesData" ]; From a9b20bb178ddefdc6f1b98c7efb3f0bd64b8e150 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Tue, 26 Mar 2024 17:13:50 +0100 Subject: [PATCH 0165/1387] apvlv: 0.1.5 -> 0.5.0 https://github.com/naihe2010/apvlv/compare/v0.1.5...v0.5.0-final --- pkgs/applications/misc/apvlv/default.nix | 114 ++++++++++++------ .../apvlv/fix-build-with-poppler-0.73.0.patch | 13 -- 2 files changed, 76 insertions(+), 51 deletions(-) delete mode 100644 pkgs/applications/misc/apvlv/fix-build-with-poppler-0.73.0.patch diff --git a/pkgs/applications/misc/apvlv/default.nix b/pkgs/applications/misc/apvlv/default.nix index f45fb95aba59..77632c4820ba 100644 --- a/pkgs/applications/misc/apvlv/default.nix +++ b/pkgs/applications/misc/apvlv/default.nix @@ -1,50 +1,73 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, pcre, libxkbcommon, libepoxy -, gtk3, poppler, freetype, libpthreadstubs, libXdmcp, libxshmfence, wrapGAppsHook +{ + cmake, + copyDesktopItems, + ebook_tools, + fetchFromGitHub, + freetype, + ghostscript, + gtk3, + installShellFiles, + lib, + libepoxy, + libpthreadstubs, + libXdmcp, + libxkbcommon, + libxml2, + libxshmfence, + man, + nix-update-script, + pcre, + pkg-config, + poppler, + stdenv, + testers, + webkitgtk, + wrapGAppsHook, }: -stdenv.mkDerivation rec { - version = "0.1.5"; +stdenv.mkDerivation (finalAttrs: { pname = "apvlv"; + # If you change the version, please also update src.rev accordingly + version = "0.5.0"; + src = fetchFromGitHub { owner = "naihe2010"; repo = "apvlv"; - rev = "v${version}"; - sha256 = "1n4xiic8lqnv3mqi7wpdv866gyyakax71gffv3n9427rmcld465i"; + rev = "refs/tags/v0.5.0-final"; + hash = "sha256-5Wbv3dXieymhhPmEKQu8X/38WsDA1T/IBPoMXdpzcaA="; }; env.NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler"; nativeBuildInputs = [ cmake + copyDesktopItems + ghostscript + installShellFiles + man pkg-config wrapGAppsHook ]; buildInputs = [ - poppler pcre libxkbcommon libepoxy - freetype gtk3 - libpthreadstubs libXdmcp libxshmfence # otherwise warnings in compilation - ]; - - patches = [ - (fetchpatch { - url = "https://github.com/naihe2010/apvlv/commit/d432635b9c5ea6c052a2ae1fb71aedec5c4ad57a.patch"; - sha256 = "1am8dgv2kkpqmm2vaysa61czx8ppdx94zb3c59sx88np50jpy70w"; - }) - (fetchpatch { - url = "https://github.com/naihe2010/apvlv/commit/4c7a583e8431964def482e5471f02e6de8e62a7b.patch"; - sha256 = "1dszm120lwm90hcg5zmd4vr6pjyaxc84qmb7k0fr59mmb3qif62j"; - }) - # fix build with gcc7 - (fetchpatch { - url = "https://github.com/naihe2010/apvlv/commit/a3a895772a27d76dab0c37643f0f4c73f9970e62.patch"; - sha256 = "1fpc7wr1ajilvwi5gjsy5g9jcx4bl03gp5dmajg90ljqbhwz2bfi"; - }) - ./fix-build-with-poppler-0.73.0.patch + ebook_tools + freetype + gtk3 + libepoxy + libpthreadstubs + libXdmcp + libxkbcommon + libxml2 + libxshmfence # otherwise warnings in compilation + pcre + poppler + webkitgtk ]; installPhase = '' + runHook preInstall + # binary mkdir -p $out/bin cp src/apvlv $out/bin/apvlv @@ -53,23 +76,38 @@ stdenv.mkDerivation rec { mkdir -p $out/share/doc/apvlv/ cp ../Startup.pdf $out/share/doc/apvlv/Startup.pdf cp ../main_menubar.glade $out/share/doc/apvlv/main_menubar.glade - '' - + lib.optionalString (!stdenv.isDarwin) '' - install -D ../apvlv.desktop $out/share/applications/apvlv.desktop + + mkdir -p $out/etc + cp ../apvlvrc.example $out/etc/apvlvrc + + installManPage ../apvlv.1 + + runHook postInstall ''; - meta = with lib; { - homepage = "http://naihe2010.github.io/apvlv/"; + desktopItems = [ + "../apvlv.desktop" + ]; + + passthru = { + tests.version = testers.testVersion { + command = "${lib.getExe finalAttrs.finalPackage} -v"; + package = finalAttrs.finalPackage; + version = "${finalAttrs.version}-rel"; + }; + }; + + meta = { + changelog = "https://github.com/naihe2010/apvlv/blob/v${finalAttrs.version}/NEWS"; description = "PDF viewer with Vim-like behaviour"; - mainProgram = "apvlv"; + homepage = "https://naihe2010.github.io/apvlv/"; + license = lib.licenses.lgpl2; longDescription = '' apvlv is a PDF/DJVU/UMD/TXT Viewer Under Linux/WIN32 with Vim-like behaviour. ''; - - license = licenses.lgpl2; - platforms = platforms.linux; - maintainers = [ maintainers.ardumont ]; + mainProgram = "apvlv"; + maintainers = with lib.maintainers; [ ardumont ]; + platforms = lib.platforms.linux; }; - -} +}) diff --git a/pkgs/applications/misc/apvlv/fix-build-with-poppler-0.73.0.patch b/pkgs/applications/misc/apvlv/fix-build-with-poppler-0.73.0.patch deleted file mode 100644 index d2a7831dca63..000000000000 --- a/pkgs/applications/misc/apvlv/fix-build-with-poppler-0.73.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/ApvlvPdf.cc b/src/ApvlvPdf.cc -index 765b112..83d133f 100644 ---- a/src/ApvlvPdf.cc -+++ b/src/ApvlvPdf.cc -@@ -29,7 +29,7 @@ - #include "ApvlvPdf.h" - - #ifndef POPPLER_WITH_GDK --#include -+#include - - static void - copy_cairo_surface_to_pixbuf (cairo_surface_t *surface, From 0d86a49d54710edaa6f23e913dbe57671d3391f8 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Tue, 26 Mar 2024 17:12:12 +0100 Subject: [PATCH 0166/1387] apvlv: add anthonyroussel to maintainers --- pkgs/applications/misc/apvlv/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/apvlv/default.nix b/pkgs/applications/misc/apvlv/default.nix index 77632c4820ba..577176932351 100644 --- a/pkgs/applications/misc/apvlv/default.nix +++ b/pkgs/applications/misc/apvlv/default.nix @@ -107,7 +107,7 @@ stdenv.mkDerivation (finalAttrs: { with Vim-like behaviour. ''; mainProgram = "apvlv"; - maintainers = with lib.maintainers; [ ardumont ]; + maintainers = with lib.maintainers; [ ardumont anthonyroussel ]; platforms = lib.platforms.linux; }; }) From bc2e4a537e0160fbf591aefb6c70d363f926147b Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Tue, 26 Mar 2024 17:10:47 +0100 Subject: [PATCH 0167/1387] apvlv: move to pkgs/by-name --- .../misc/apvlv/default.nix => by-name/ap/apvlv/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{applications/misc/apvlv/default.nix => by-name/ap/apvlv/package.nix} (100%) diff --git a/pkgs/applications/misc/apvlv/default.nix b/pkgs/by-name/ap/apvlv/package.nix similarity index 100% rename from pkgs/applications/misc/apvlv/default.nix rename to pkgs/by-name/ap/apvlv/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24c64d4e9287..131be81aa2e1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -36028,8 +36028,6 @@ with pkgs; lua = lua5_3; }; - apvlv = callPackage ../applications/misc/apvlv { }; - xpdf = libsForQt5.callPackage ../applications/misc/xpdf { stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; From 1eee0a157c680c4305974b6ec19b829ae8434a9a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 00:38:12 +0000 Subject: [PATCH 0168/1387] bosh-cli: 7.5.5 -> 7.5.6 --- pkgs/applications/networking/cluster/bosh-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/bosh-cli/default.nix b/pkgs/applications/networking/cluster/bosh-cli/default.nix index 0daf7ae97ba1..cbd2512acba5 100644 --- a/pkgs/applications/networking/cluster/bosh-cli/default.nix +++ b/pkgs/applications/networking/cluster/bosh-cli/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "bosh-cli"; - version = "7.5.5"; + version = "7.5.6"; src = fetchFromGitHub { owner = "cloudfoundry"; repo = pname; rev = "v${version}"; - sha256 = "sha256-LjqMCkEIl+0psxIys/tvJPkEQqDRzLOsaFUfAVG+RrE="; + sha256 = "sha256-aw1iS7iAs8Xj7K7gTRp1bvq4po3Aq8zakm7FLKC0DEY="; }; vendorHash = null; From 699cfb5e5d26d69c66a8590337bec0576ac26989 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sun, 7 Apr 2024 07:16:30 +0530 Subject: [PATCH 0169/1387] calibre: 7.7.0 -> 7.8.0 Changelog: https://github.com/kovidgoyal/calibre/releases/tag/v7.8.0 --- pkgs/applications/misc/calibre/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index da1e263107b3..3f57531e099d 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -32,11 +32,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "calibre"; - version = "7.7.0"; + version = "7.8.0"; src = fetchurl { url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz"; - hash = "sha256-+kz3Fz1RDQ+ROgv7y0WNAWvIESKvHKID8UnSeCh8yA4="; + hash = "sha256-FxYuQzzuaWZihSsmeJc6ssG3VBr2YNEi3TkXyyymLUQ="; }; patches = [ From 8c7ec2357d8227f027041b84616665ed3f138033 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 01:53:03 +0000 Subject: [PATCH 0170/1387] fm-go: 0.16.0 -> 1.0.0 --- pkgs/by-name/fm/fm-go/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fm/fm-go/package.nix b/pkgs/by-name/fm/fm-go/package.nix index 204250e7c907..d0d891bd78b4 100644 --- a/pkgs/by-name/fm/fm-go/package.nix +++ b/pkgs/by-name/fm/fm-go/package.nix @@ -7,16 +7,16 @@ let finalAttrs = { pname = "fm"; - version = "0.16.0"; + version = "1.0.0"; src = fetchFromGitHub { owner = "mistakenelf"; repo = "fm"; rev = "v${finalAttrs.version}"; - hash = "sha256-wiACaszbkO9jBYmIfeQpcx984RY41Emyu911nkJxUFY="; + hash = "sha256-j92xf75JTLBaVr8GjAwlqgrieZCifVaIBy9ZMoDIaEY="; }; - vendorHash = "sha256-AfRGoKiVZGVIbsDj5pV1zCkp2FpcfWKS0t+cTU51RRc="; + vendorHash = "sha256-iDKDUpxaV/ZGKvTeNu4m5X/tqQA311Nb+2gvrehpdpw="; meta = { homepage = "https://github.com/mistakenelf/fm"; From 64d67e6b52caf0f38729b95329b6aeadb7f2ebf8 Mon Sep 17 00:00:00 2001 From: Dylan Gonzalez Date: Sun, 7 Apr 2024 13:14:00 +1000 Subject: [PATCH 0171/1387] maintainers: add dylan-gonzalez --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 00d3f0643e56..fff5196f363b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5409,6 +5409,12 @@ githubId = 6689924; name = "David Terry"; }; + dylan-gonzalez = { + email = "dylcg10@gmail.com"; + github = "dylan-gonzalez"; + githubId = 45161987; + name = "Dylan Gonzalez"; + }; dylanmtaylor = { email = "dylan@dylanmtaylor.com"; github = "dylanmtaylor"; From ab64efadc67934d1b46cdea21fcd10c0ecadae02 Mon Sep 17 00:00:00 2001 From: Bu Kun <65808665+pokon548@users.noreply.github.com> Date: Sun, 7 Apr 2024 07:52:47 +0800 Subject: [PATCH 0172/1387] qq: use makeShellWrapper instead to wrap program --- .../networking/instant-messengers/qq/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/qq/default.nix b/pkgs/applications/networking/instant-messengers/qq/default.nix index 7f940312a991..31db4b979e8a 100644 --- a/pkgs/applications/networking/instant-messengers/qq/default.nix +++ b/pkgs/applications/networking/instant-messengers/qq/default.nix @@ -19,7 +19,8 @@ , vips , at-spi2-core , autoPatchelfHook -, makeWrapper +, makeShellWrapper +, wrapGAppsHook }: let @@ -43,7 +44,8 @@ stdenv.mkDerivation { nativeBuildInputs = [ autoPatchelfHook - makeWrapper + makeShellWrapper + wrapGAppsHook dpkg ]; @@ -62,6 +64,8 @@ stdenv.mkDerivation { xorg.libXdamage ]; + dontWrapGApps = true; + runtimeDependencies = map lib.getLib [ systemd ]; @@ -75,9 +79,11 @@ stdenv.mkDerivation { substituteInPlace $out/share/applications/qq.desktop \ --replace "/opt/QQ/qq" "$out/bin/qq" \ --replace "/usr/share" "$out/share" - makeWrapper $out/opt/QQ/qq $out/bin/qq \ + makeShellWrapper $out/opt/QQ/qq $out/bin/qq \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" \ - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ + "''${gappsWrapperArgs[@]}" # Remove bundled libraries rm -r $out/opt/QQ/resources/app/sharp-lib From 943b7323ece9aabedb9ea1063a75f4598c1e4dad Mon Sep 17 00:00:00 2001 From: 0Supa Date: Sun, 7 Apr 2024 11:58:15 +0300 Subject: [PATCH 0173/1387] chatterino2: use `callPackage` directly --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ca6d5f8c3748..f809bd122f07 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35811,7 +35811,7 @@ with pkgs; xwaylandSupport = false; }; - chatterino2 = qt6Packages.callPackage ../applications/networking/instant-messengers/chatterino2 { + chatterino2 = callPackage ../applications/networking/instant-messengers/chatterino2 { stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; }; From 5cd16ae016dc671cadd8de6fcb9c15929eb5c3c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 10:51:07 +0000 Subject: [PATCH 0174/1387] python311Packages.trytond: 7.0.8 -> 7.0.9 --- pkgs/development/python-modules/trytond/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trytond/default.nix b/pkgs/development/python-modules/trytond/default.nix index d9cc9ae10312..5e89da7f3504 100644 --- a/pkgs/development/python-modules/trytond/default.nix +++ b/pkgs/development/python-modules/trytond/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "trytond"; - version = "7.0.8"; + version = "7.0.9"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-ZpK3+DZi2U4TK7dHwIJnw5u/lFrvtBD+MhRLkdO8DLI="; + hash = "sha256-DlPuIaGTpJu4FyLOTNAy2CAEJHoe7+8e34wacz8C7d8="; }; propagatedBuildInputs = [ From 429b414ffc6988130e4438633d427fc30ae3a275 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 11:19:32 +0000 Subject: [PATCH 0175/1387] edid-decode: unstable-2024-01-29 -> unstable-2024-04-02 --- pkgs/tools/misc/edid-decode/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/edid-decode/default.nix b/pkgs/tools/misc/edid-decode/default.nix index 733f87da6f22..f6bcff31a00f 100644 --- a/pkgs/tools/misc/edid-decode/default.nix +++ b/pkgs/tools/misc/edid-decode/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation { pname = "edid-decode"; - version = "unstable-2024-01-29"; + version = "unstable-2024-04-02"; outputs = [ "out" @@ -15,8 +15,8 @@ stdenv.mkDerivation { src = fetchgit { url = "git://linuxtv.org/edid-decode.git"; - rev = "7a27b339cf5ee1ab431431a844418a7f7c16d167"; - hash = "sha256-y+g+E4kaQh6j+3GvHdcVEGQu/zOkGyW/HazUHG0DCxM="; + rev = "3d635499e4aca3319f0796ba787213c981c5a770"; + hash = "sha256-bqzO39YM/3h9p37xaGJAw9xERgWOD+4yqO/XQiq/QqM="; }; preBuild = '' From d13af9492b97c0c699893d6ed93ea3c221421cea Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 12:10:29 +0000 Subject: [PATCH 0176/1387] python311Packages.multiset: 3.0.2 -> 3.1.0 --- pkgs/development/python-modules/multiset/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/multiset/default.nix b/pkgs/development/python-modules/multiset/default.nix index c8d813047d5f..27476e44b17f 100644 --- a/pkgs/development/python-modules/multiset/default.nix +++ b/pkgs/development/python-modules/multiset/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "multiset"; - version = "3.0.2"; + version = "3.1.0"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-oqUSMaQtkiriJFwpTCNaKfioiOBoZdL84hxuyvER//8="; + hash = "sha256-jpPlhvaI0uKwD6WEPiqC9p6XHhrHrT14+dKkdgjem6Y="; }; postPatch = '' From 317125a2e9b40f8d92518a62960bc6b474e68289 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 12:11:08 +0000 Subject: [PATCH 0177/1387] python311Packages.google-cloud-securitycenter: 1.30.0 -> 1.30.1 --- .../python-modules/google-cloud-securitycenter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-securitycenter/default.nix b/pkgs/development/python-modules/google-cloud-securitycenter/default.nix index 83c296a5294b..e323947524fd 100644 --- a/pkgs/development/python-modules/google-cloud-securitycenter/default.nix +++ b/pkgs/development/python-modules/google-cloud-securitycenter/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-cloud-securitycenter"; - version = "1.30.0"; + version = "1.30.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Tq+Uicfk1SqvisYEdBfREngICvWP8NyFJy4hJp9qD8Y="; + hash = "sha256-99yI4stPZ0FSOgypdOoUJn85JmzRS+VUHNAh4Chak74="; }; build-system = [ From d2699e10b415367a208214d084bec7f624376794 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 12:27:01 +0000 Subject: [PATCH 0178/1387] phosh-mobile-settings: 0.37.0 -> 0.38.0 --- .../window-managers/phosh/phosh-mobile-settings.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix index 8e85597cc7d3..8666adae40f7 100644 --- a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix +++ b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix @@ -20,12 +20,12 @@ stdenv.mkDerivation rec { pname = "phosh-mobile-settings"; - version = "0.37.0"; + version = "0.38.0"; src = fetchurl { # This tarball includes the meson wrapped subproject 'gmobile'. url = "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-HW3wM/lb8pvr+eDoeqa0iHXiKhBQ8ybBIy0wwHPsrOg="; + hash = "sha256-WDqgVsJx5y6IlWII9fRBsAeWn/tB8BaXRtlPvA0wmMk="; }; nativeBuildInputs = [ From 315792df5749cabfe06715d06eccaee8f26f4405 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 12:31:19 +0000 Subject: [PATCH 0179/1387] doublecmd: 1.1.11 -> 1.1.12 --- pkgs/by-name/do/doublecmd/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/do/doublecmd/package.nix b/pkgs/by-name/do/doublecmd/package.nix index 2b8c27fc8470..35746a409c77 100644 --- a/pkgs/by-name/do/doublecmd/package.nix +++ b/pkgs/by-name/do/doublecmd/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "doublecmd"; - version = "1.1.11"; + version = "1.1.12"; src = fetchFromGitHub { owner = "doublecmd"; repo = "doublecmd"; rev = "v${finalAttrs.version}"; - hash = "sha256-8kxaJp9mSJ6fHOgVD5iFjecUU0Kt10KCAVSYMQt+bSw="; + hash = "sha256-8wwYyZ9Uq65jEmgA1yO001YSZuDLnXLrFjK6WIsppwU="; }; nativeBuildInputs = [ From a31fc6b1b89856f3932340d7d6e0ed60e3040855 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 13:00:37 +0000 Subject: [PATCH 0180/1387] hwatch: 0.3.11 -> 0.3.12 --- pkgs/tools/misc/hwatch/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/hwatch/default.nix b/pkgs/tools/misc/hwatch/default.nix index 96621948192a..6ba928a29d08 100644 --- a/pkgs/tools/misc/hwatch/default.nix +++ b/pkgs/tools/misc/hwatch/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "hwatch"; - version = "0.3.11"; + version = "0.3.12"; src = fetchFromGitHub { owner = "blacknon"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-S6hnmNnwdWd6iFM01K52oiKXiqu/0v5yvKKoeQMEqy0="; + sha256 = "sha256-Klv1VIJv4/R7HvvB6H+WxTeJxQYFqAFU3HC6oafD/90="; }; - cargoHash = "sha256-P4XkbV6QlokedKumX3UbCfEaAqH9VF9IKVyZIumZ6u0="; + cargoHash = "sha256-Aos/QP8tLiKFmAZss19jn5h/murZR2jgTYRYalUONHw="; nativeBuildInputs = [ installShellFiles ]; From 294245f7501e0a8e69b83346a4fa5afd4ed33ab3 Mon Sep 17 00:00:00 2001 From: Philipp Joram Date: Fri, 5 Apr 2024 16:56:52 +0300 Subject: [PATCH 0181/1387] haskellPackages.Agda: Split outputs to reduce closure size After enabling a separate binary output for the `Agda` Haskell package, the new `bin` output measures ~100MiB, compared to the ~4.5GiB before. Using it in `agdaWithPackages` reduces the closure size of an Agda installation from ~5GiB to ~3GiB. The remaining space is taken up mostly by the GHC backend. With this change, derivations depending on `haskellPackages.Agda` directly need to pick the right (binary) output. This concerns in particular `emacsPackages.agda2-mode`. --- .../manual-packages/agda2-mode/default.nix | 12 +++++++----- pkgs/build-support/agda/default.nix | 7 ++++--- .../haskell-modules/configuration-nix.nix | 2 ++ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/agda2-mode/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/agda2-mode/default.nix index 2533153bd447..7418a842148a 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/agda2-mode/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/agda2-mode/default.nix @@ -1,21 +1,23 @@ { trivialBuild , haskellPackages }: - -trivialBuild rec { +let + Agda = haskellPackages.Agda.bin; +in +trivialBuild { pname = "agda-mode"; - version = haskellPackages.Agda.version; + version = Agda.version; dontUnpack = true; # already byte-compiled by Agda builder buildPhase = '' - agda=`${haskellPackages.Agda}/bin/agda-mode locate` + agda=`${Agda}/bin/agda-mode locate` cp `dirname $agda`/*.el* . ''; meta = { - inherit (haskellPackages.Agda.meta) homepage license; + inherit (Agda.meta) homepage license; description = "Agda2-mode for Emacs extracted from Agda package"; longDescription = '' Wrapper packages that liberates init.el from `agda-mode locate` magic. diff --git a/pkgs/build-support/agda/default.nix b/pkgs/build-support/agda/default.nix index 44c9ade02ffb..b5d72d9ccf19 100644 --- a/pkgs/build-support/agda/default.nix +++ b/pkgs/build-support/agda/default.nix @@ -40,13 +40,14 @@ let allPackages = withPackages (filter self.lib.isUnbrokenAgdaPackage (attrValues self)); }; }; - inherit (Agda) meta; + # Agda is a split package with multiple outputs; do not inherit them here. + meta = removeAttrs Agda.meta [ "outputsToInstall" ]; } '' mkdir -p $out/bin - makeWrapper ${Agda}/bin/agda $out/bin/agda \ + makeWrapper ${Agda.bin}/bin/agda $out/bin/agda \ --add-flags "--with-compiler=${ghc}/bin/ghc" \ --add-flags "--library-file=${library-file}" - ln -s ${Agda}/bin/agda-mode $out/bin/agda-mode + ln -s ${Agda.bin}/bin/agda-mode $out/bin/agda-mode ''; withPackages = arg: if isAttrs arg then withPackages' arg else withPackages' { pkgs = arg; }; diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 062b1767a7e4..5c655e2a5c1b 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1073,6 +1073,8 @@ self: super: builtins.intersectAttrs super { # very useful. # Flag added in Agda 2.6.4.1, was always enabled before (enableCabalFlag "debug") + # Split outputs to reduce closure size + enableSeparateBinOutput ]; # ats-format uses cli-setup in Setup.hs which is quite happy to write From e380b5303715016fca18df860d97340345b52aef Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Sun, 7 Apr 2024 16:54:05 +0200 Subject: [PATCH 0182/1387] rocmPackages.llvm: compress outputs of clang-offload-bundler This patches the clang-offload-bundler tool to add a compression option from a more recent version of clang. This compression option reduces the size of ROCm's fat binaries. Those binaries contain .hip_fatbin sections with GPU-specific code, for each target. Compression is automatically turned on for all produced outputs via a wrapper, because it's difficult to identify all the places where the -compression argument would be needed. Once upsteam introduces handeling for this argument, we should drop the wrapper again. This transistion will create inconsistsency, but I do not think that it will impact any actual users and it's what's practical to implement. --- ...compression-to-clang-offload-bundler.patch | 1191 +++++++++++++++++ pkgs/development/rocm-modules/6/llvm/base.nix | 13 +- .../6/llvm/stage-1/clang-unwrapped.nix | 9 +- .../0000-mlir-fix-debugtranslation.patch | 36 - .../rocm-modules/6/llvm/stage-3/mlir.nix | 10 +- 5 files changed, 1217 insertions(+), 42 deletions(-) create mode 100644 pkgs/development/rocm-modules/6/llvm/add-compression-to-clang-offload-bundler.patch delete mode 100644 pkgs/development/rocm-modules/6/llvm/stage-3/0000-mlir-fix-debugtranslation.patch diff --git a/pkgs/development/rocm-modules/6/llvm/add-compression-to-clang-offload-bundler.patch b/pkgs/development/rocm-modules/6/llvm/add-compression-to-clang-offload-bundler.patch new file mode 100644 index 000000000000..8589ac527dcb --- /dev/null +++ b/pkgs/development/rocm-modules/6/llvm/add-compression-to-clang-offload-bundler.patch @@ -0,0 +1,1191 @@ +From 058d9ba2f54a8c7c47b6522db808db87fed82e78 Mon Sep 17 00:00:00 2001 +From: "Yaxun (Sam) Liu" +Date: Thu, 4 Apr 2024 03:25:28 +0200 +Subject: [PATCH] backport 7e2823438e920d25364ff92b62ad90020c31bb59 + +Reland "[HIP] Support compressing device binary" + +Original PR: https://github.com/llvm/llvm-project/pull/67162 + +The commit was reverted due to UB detected by santizer: + +https://lab.llvm.org/buildbot/#/builders/238/builds/5955 + +clang/lib/Driver/OffloadBundler.cpp:1012:25: runtime error: + load of misaligned address 0xaaaae2d90e7c for type + 'const uint64_t' (aka 'const unsigned long'), which + requires 8 byte alignment + +It was fixed by using memcpy instead of dereferencing int* +casted from unaligned char*. + +Co-Authored-By: Martin Schwaighofer +(only did the backport) +--- + clang/docs/ClangOffloadBundler.rst | 27 ++ + clang/include/clang/Driver/OffloadBundler.h | 37 ++ + clang/include/clang/Driver/Options.td | 5 + + clang/lib/Driver/OffloadBundler.cpp | 346 +++++++++++++++--- + clang/lib/Driver/ToolChains/Clang.cpp | 7 + + clang/lib/Driver/ToolChains/HIPUtility.cpp | 6 + + .../test/Driver/clang-offload-bundler-zlib.c | 75 ++++ + .../test/Driver/clang-offload-bundler-zstd.c | 72 ++++ + .../test/Driver/hip-offload-compress-zlib.hip | 45 +++ + .../test/Driver/hip-offload-compress-zstd.hip | 45 +++ + .../clang-offload-bundler/CMakeLists.txt | 1 + + .../ClangOffloadBundler.cpp | 10 + + llvm/include/llvm/BinaryFormat/Magic.h | 28 +- + llvm/lib/BinaryFormat/Magic.cpp | 11 + + llvm/lib/Object/Binary.cpp | 2 + + llvm/lib/Object/ObjectFile.cpp | 2 + + 16 files changed, 659 insertions(+), 60 deletions(-) + create mode 100644 clang/test/Driver/clang-offload-bundler-zlib.c + create mode 100644 clang/test/Driver/clang-offload-bundler-zstd.c + create mode 100644 clang/test/Driver/hip-offload-compress-zlib.hip + create mode 100644 clang/test/Driver/hip-offload-compress-zstd.hip + +diff --git a/clang/docs/ClangOffloadBundler.rst b/clang/docs/ClangOffloadBundler.rst +index 432da787249b..d47997bf718d 100644 +--- a/clang/docs/ClangOffloadBundler.rst ++++ b/clang/docs/ClangOffloadBundler.rst +@@ -498,3 +498,30 @@ target by comparing bundle ID's. Two bundle ID's are considered compatible if: + Verbose printing of matched/unmatched comparisons between bundle entry id of + a device binary from HDA and bundle entry ID of a given target processor + (see :ref:`compatibility-bundle-entry-id`). ++ ++Compression and Decompression ++============================= ++ ++``clang-offload-bundler`` provides features to compress and decompress the full ++bundle, leveraging inherent redundancies within the bundle entries. Use the ++`-compress` command-line option to enable this compression capability. ++ ++The compressed offload bundle begins with a header followed by the compressed binary data: ++ ++- **Magic Number (4 bytes)**: ++ This is a unique identifier to distinguish compressed offload bundles. The value is the string 'CCOB' (Compressed Clang Offload Bundle). ++ ++- **Version Number (16-bit unsigned int)**: ++ This denotes the version of the compressed offload bundle format. The current version is `1`. ++ ++- **Compression Method (16-bit unsigned int)**: ++ This field indicates the compression method used. The value corresponds to either `zlib` or `zstd`, represented as a 16-bit unsigned integer cast from the LLVM compression enumeration. ++ ++- **Uncompressed Binary Size (32-bit unsigned int)**: ++ This is the size (in bytes) of the binary data before it was compressed. ++ ++- **Hash (64-bit unsigned int)**: ++ This is a 64-bit truncated MD5 hash of the uncompressed binary data. It serves for verification and caching purposes. ++ ++- **Compressed Data**: ++ The actual compressed binary data follows the header. Its size can be inferred from the total size of the file minus the header size. +diff --git a/clang/include/clang/Driver/OffloadBundler.h b/clang/include/clang/Driver/OffloadBundler.h +index fe263f0540b9..fc96f200414d 100644 +--- a/clang/include/clang/Driver/OffloadBundler.h ++++ b/clang/include/clang/Driver/OffloadBundler.h +@@ -19,6 +19,7 @@ + + #include "llvm/Support/Error.h" + #include "llvm/TargetParser/Triple.h" ++#include + #include + #include + +@@ -26,11 +27,15 @@ namespace clang { + + class OffloadBundlerConfig { + public: ++ OffloadBundlerConfig(); ++ + bool AllowNoHost = false; + bool AllowMissingBundles = false; + bool CheckInputArchive = false; + bool PrintExternalCommands = false; + bool HipOpenmpCompatible = false; ++ bool Compress = false; ++ bool Verbose = false; + + unsigned BundleAlignment = 1; + unsigned HostInputIndex = ~0u; +@@ -82,6 +87,38 @@ struct OffloadTargetInfo { + std::string str() const; + }; + ++// CompressedOffloadBundle represents the format for the compressed offload ++// bundles. ++// ++// The format is as follows: ++// - Magic Number (4 bytes) - A constant "CCOB". ++// - Version (2 bytes) ++// - Compression Method (2 bytes) - Uses the values from ++// llvm::compression::Format. ++// - Uncompressed Size (4 bytes). ++// - Truncated MD5 Hash (8 bytes). ++// - Compressed Data (variable length). ++ ++class CompressedOffloadBundle { ++private: ++ static inline const size_t MagicSize = 4; ++ static inline const size_t VersionFieldSize = sizeof(uint16_t); ++ static inline const size_t MethodFieldSize = sizeof(uint16_t); ++ static inline const size_t SizeFieldSize = sizeof(uint32_t); ++ static inline const size_t HashFieldSize = 8; ++ static inline const size_t HeaderSize = MagicSize + VersionFieldSize + ++ MethodFieldSize + SizeFieldSize + ++ HashFieldSize; ++ static inline const llvm::StringRef MagicNumber = "CCOB"; ++ static inline const uint16_t Version = 1; ++ ++public: ++ static llvm::Expected> ++ compress(const llvm::MemoryBuffer &Input, bool Verbose = false); ++ static llvm::Expected> ++ decompress(const llvm::MemoryBuffer &Input, bool Verbose = false); ++}; ++ + } // namespace clang + + #endif // LLVM_CLANG_DRIVER_OFFLOADBUNDLER_H +diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td +index c206ab84508f..f8df98678396 100644 +--- a/clang/include/clang/Driver/Options.td ++++ b/clang/include/clang/Driver/Options.td +@@ -984,6 +984,11 @@ def fconvergent_functions : Flag<["-"], "fconvergent-functions">, Group + def gpu_use_aux_triple_only : Flag<["--"], "gpu-use-aux-triple-only">, + InternalDriverOpt, HelpText<"Prepare '-aux-triple' only without populating " + "'-aux-target-cpu' and '-aux-target-feature'.">; ++ ++def offload_compress : Flag<["--"], "offload-compress">, ++ HelpText<"Compress offload device binaries (HIP only)">; ++def no_offload_compress : Flag<["--"], "no-offload-compress">; ++ + def cuda_include_ptx_EQ : Joined<["--"], "cuda-include-ptx=">, Flags<[NoXarchOption]>, + HelpText<"Include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.">; + def no_cuda_include_ptx_EQ : Joined<["--"], "no-cuda-include-ptx=">, Flags<[NoXarchOption]>, +diff --git a/clang/lib/Driver/OffloadBundler.cpp b/clang/lib/Driver/OffloadBundler.cpp +index 29250c49eb0c..69e14679da1c 100644 +--- a/clang/lib/Driver/OffloadBundler.cpp ++++ b/clang/lib/Driver/OffloadBundler.cpp +@@ -21,24 +21,29 @@ + #include "llvm/ADT/ArrayRef.h" + #include "llvm/ADT/SmallString.h" + #include "llvm/ADT/SmallVector.h" ++#include "llvm/ADT/StringExtras.h" + #include "llvm/ADT/StringMap.h" + #include "llvm/ADT/StringRef.h" ++#include "llvm/BinaryFormat/Magic.h" + #include "llvm/Object/Archive.h" + #include "llvm/Object/ArchiveWriter.h" + #include "llvm/Object/Binary.h" + #include "llvm/Object/ObjectFile.h" + #include "llvm/Support/Casting.h" ++#include "llvm/Support/Compression.h" + #include "llvm/Support/Debug.h" + #include "llvm/Support/EndianStream.h" + #include "llvm/Support/Errc.h" + #include "llvm/Support/Error.h" + #include "llvm/Support/ErrorOr.h" + #include "llvm/Support/FileSystem.h" ++#include "llvm/Support/MD5.h" + #include "llvm/Support/MemoryBuffer.h" + #include "llvm/Support/Path.h" + #include "llvm/Support/Program.h" + #include "llvm/Support/Signals.h" + #include "llvm/Support/StringSaver.h" ++#include "llvm/Support/Timer.h" + #include "llvm/Support/WithColor.h" + #include "llvm/Support/raw_ostream.h" + #include "llvm/TargetParser/Host.h" +@@ -48,6 +53,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -58,6 +64,10 @@ using namespace llvm; + using namespace llvm::object; + using namespace clang; + ++static llvm::TimerGroup ++ ClangOffloadBundlerTimerGroup("Clang Offload Bundler Timer Group", ++ "Timer group for clang offload bundler"); ++ + /// Magic string that marks the existence of offloading data. + #define OFFLOAD_BUNDLER_MAGIC_STR "__CLANG_OFFLOAD_BUNDLE__" + +@@ -229,20 +239,22 @@ public: + + /// Write the header of the bundled file to \a OS based on the information + /// gathered from \a Inputs. +- virtual Error WriteHeader(raw_fd_ostream &OS, ++ virtual Error WriteHeader(raw_ostream &OS, + ArrayRef> Inputs) = 0; + + /// Write the marker that initiates a bundle for the triple \a TargetTriple to + /// \a OS. +- virtual Error WriteBundleStart(raw_fd_ostream &OS, +- StringRef TargetTriple) = 0; ++ virtual Error WriteBundleStart(raw_ostream &OS, StringRef TargetTriple) = 0; + + /// Write the marker that closes a bundle for the triple \a TargetTriple to \a + /// OS. +- virtual Error WriteBundleEnd(raw_fd_ostream &OS, StringRef TargetTriple) = 0; ++ virtual Error WriteBundleEnd(raw_ostream &OS, StringRef TargetTriple) = 0; + + /// Write the bundle from \a Input into \a OS. +- virtual Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) = 0; ++ virtual Error WriteBundle(raw_ostream &OS, MemoryBuffer &Input) = 0; ++ ++ /// Finalize output file. ++ virtual Error finalizeOutputFile() { return Error::success(); } + + /// List bundle IDs in \a Input. + virtual Error listBundleIDs(MemoryBuffer &Input) { +@@ -330,7 +342,7 @@ static uint64_t Read8byteIntegerFromBuffer(StringRef Buffer, size_t pos) { + } + + /// Write 8-byte integers to a buffer in little-endian format. +-static void Write8byteIntegerToBuffer(raw_fd_ostream &OS, uint64_t Val) { ++static void Write8byteIntegerToBuffer(raw_ostream &OS, uint64_t Val) { + llvm::support::endian::write(OS, Val, llvm::support::little); + } + +@@ -378,8 +390,7 @@ public: + return Error::success(); + + // Check if no magic was found. +- StringRef Magic(FC.data(), sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1); +- if (!Magic.equals(OFFLOAD_BUNDLER_MAGIC_STR)) ++ if (llvm::identify_magic(FC) != llvm::file_magic::offload_bundle) + return Error::success(); + + // Read number of bundles. +@@ -454,7 +465,7 @@ public: + return Error::success(); + } + +- Error WriteHeader(raw_fd_ostream &OS, ++ Error WriteHeader(raw_ostream &OS, + ArrayRef> Inputs) final { + + // Compute size of the header. +@@ -491,19 +502,27 @@ public: + return Error::success(); + } + +- Error WriteBundleStart(raw_fd_ostream &OS, StringRef TargetTriple) final { ++ Error WriteBundleStart(raw_ostream &OS, StringRef TargetTriple) final { + CurWriteBundleTarget = TargetTriple.str(); + return Error::success(); + } + +- Error WriteBundleEnd(raw_fd_ostream &OS, StringRef TargetTriple) final { ++ Error WriteBundleEnd(raw_ostream &OS, StringRef TargetTriple) final { + return Error::success(); + } + +- Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) final { ++ Error WriteBundle(raw_ostream &OS, MemoryBuffer &Input) final { + auto BI = BundlesInfo[CurWriteBundleTarget]; +- OS.seek(BI.Offset); ++ ++ // Pad with 0 to reach specified offset. ++ size_t CurrentPos = OS.tell(); ++ size_t PaddingSize = BI.Offset > CurrentPos ? BI.Offset - CurrentPos : 0; ++ for (size_t I = 0; I < PaddingSize; ++I) ++ OS.write('\0'); ++ assert(OS.tell() == BI.Offset); ++ + OS.write(Input.getBufferStart(), Input.getBufferSize()); ++ + return Error::success(); + } + }; +@@ -560,7 +579,7 @@ class ObjectFileHandler final : public FileHandler { + return NameOrErr.takeError(); + + // If it does not start with the reserved suffix, just skip this section. +- if (!NameOrErr->startswith(OFFLOAD_BUNDLER_MAGIC_STR)) ++ if (llvm::identify_magic(*NameOrErr) != llvm::file_magic::offload_bundle) + return std::nullopt; + + // Return the triple that is right after the reserved prefix. +@@ -625,7 +644,7 @@ public: + return Error::success(); + } + +- Error WriteHeader(raw_fd_ostream &OS, ++ Error WriteHeader(raw_ostream &OS, + ArrayRef> Inputs) final { + assert(BundlerConfig.HostInputIndex != ~0u && + "Host input index not defined."); +@@ -635,12 +654,16 @@ public: + return Error::success(); + } + +- Error WriteBundleStart(raw_fd_ostream &OS, StringRef TargetTriple) final { ++ Error WriteBundleStart(raw_ostream &OS, StringRef TargetTriple) final { + ++NumberOfProcessedInputs; + return Error::success(); + } + +- Error WriteBundleEnd(raw_fd_ostream &OS, StringRef TargetTriple) final { ++ Error WriteBundleEnd(raw_ostream &OS, StringRef TargetTriple) final { ++ return Error::success(); ++ } ++ ++ Error finalizeOutputFile() final { + assert(NumberOfProcessedInputs <= NumberOfInputs && + "Processing more inputs that actually exist!"); + assert(BundlerConfig.HostInputIndex != ~0u && +@@ -658,10 +681,6 @@ public: + assert(BundlerConfig.ObjcopyPath != "" && + "llvm-objcopy path not specified"); + +- // We write to the output file directly. So, we close it and use the name +- // to pass down to llvm-objcopy. +- OS.close(); +- + // Temporary files that need to be removed. + TempFileHandlerRAII TempFiles; + +@@ -702,7 +721,7 @@ public: + return Error::success(); + } + +- Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) final { ++ Error WriteBundle(raw_ostream &OS, MemoryBuffer &Input) final { + return Error::success(); + } + +@@ -799,22 +818,22 @@ protected: + return Error::success(); + } + +- Error WriteHeader(raw_fd_ostream &OS, ++ Error WriteHeader(raw_ostream &OS, + ArrayRef> Inputs) final { + return Error::success(); + } + +- Error WriteBundleStart(raw_fd_ostream &OS, StringRef TargetTriple) final { ++ Error WriteBundleStart(raw_ostream &OS, StringRef TargetTriple) final { + OS << BundleStartString << TargetTriple << "\n"; + return Error::success(); + } + +- Error WriteBundleEnd(raw_fd_ostream &OS, StringRef TargetTriple) final { ++ Error WriteBundleEnd(raw_ostream &OS, StringRef TargetTriple) final { + OS << BundleEndString << TargetTriple << "\n"; + return Error::success(); + } + +- Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) final { ++ Error WriteBundle(raw_ostream &OS, MemoryBuffer &Input) final { + OS << Input.getBuffer(); + return Error::success(); + } +@@ -899,6 +918,187 @@ CreateFileHandler(MemoryBuffer &FirstInput, + "'" + FilesType + "': invalid file type specified"); + } + ++OffloadBundlerConfig::OffloadBundlerConfig() { ++ auto IgnoreEnvVarOpt = ++ llvm::sys::Process::GetEnv("OFFLOAD_BUNDLER_IGNORE_ENV_VAR"); ++ if (IgnoreEnvVarOpt.has_value() && IgnoreEnvVarOpt.value() == "1") ++ return; ++ ++ auto VerboseEnvVarOpt = llvm::sys::Process::GetEnv("OFFLOAD_BUNDLER_VERBOSE"); ++ if (VerboseEnvVarOpt.has_value()) ++ Verbose = VerboseEnvVarOpt.value() == "1"; ++ ++ auto CompressEnvVarOpt = ++ llvm::sys::Process::GetEnv("OFFLOAD_BUNDLER_COMPRESS"); ++ if (CompressEnvVarOpt.has_value()) ++ Compress = CompressEnvVarOpt.value() == "1"; ++} ++ ++llvm::Expected> ++CompressedOffloadBundle::compress(const llvm::MemoryBuffer &Input, ++ bool Verbose) { ++ llvm::Timer HashTimer("Hash Calculation Timer", "Hash calculation time", ++ ClangOffloadBundlerTimerGroup); ++ if (Verbose) ++ HashTimer.startTimer(); ++ llvm::MD5 Hash; ++ llvm::MD5::MD5Result Result; ++ Hash.update(Input.getBuffer()); ++ Hash.final(Result); ++ uint64_t TruncatedHash = Result.low(); ++ if (Verbose) ++ HashTimer.stopTimer(); ++ ++ SmallVector CompressedBuffer; ++ auto BufferUint8 = llvm::ArrayRef( ++ reinterpret_cast(Input.getBuffer().data()), ++ Input.getBuffer().size()); ++ ++ llvm::compression::Format CompressionFormat; ++ ++ if (llvm::compression::zstd::isAvailable()) ++ CompressionFormat = llvm::compression::Format::Zstd; ++ else if (llvm::compression::zlib::isAvailable()) ++ CompressionFormat = llvm::compression::Format::Zlib; ++ else ++ return createStringError(llvm::inconvertibleErrorCode(), ++ "Compression not supported"); ++ ++ llvm::Timer CompressTimer("Compression Timer", "Compression time", ++ ClangOffloadBundlerTimerGroup); ++ if (Verbose) ++ CompressTimer.startTimer(); ++ llvm::compression::compress(CompressionFormat, BufferUint8, CompressedBuffer); ++ if (Verbose) ++ CompressTimer.stopTimer(); ++ ++ uint16_t CompressionMethod = static_cast(CompressionFormat); ++ uint32_t UncompressedSize = Input.getBuffer().size(); ++ ++ SmallVector FinalBuffer; ++ llvm::raw_svector_ostream OS(FinalBuffer); ++ OS << MagicNumber; ++ OS.write(reinterpret_cast(&Version), sizeof(Version)); ++ OS.write(reinterpret_cast(&CompressionMethod), ++ sizeof(CompressionMethod)); ++ OS.write(reinterpret_cast(&UncompressedSize), ++ sizeof(UncompressedSize)); ++ OS.write(reinterpret_cast(&TruncatedHash), ++ sizeof(TruncatedHash)); ++ OS.write(reinterpret_cast(CompressedBuffer.data()), ++ CompressedBuffer.size()); ++ ++ if (Verbose) { ++ auto MethodUsed = ++ CompressionFormat == llvm::compression::Format::Zstd ? "zstd" : "zlib"; ++ llvm::errs() << "Compressed bundle format version: " << Version << "\n" ++ << "Compression method used: " << MethodUsed << "\n" ++ << "Binary size before compression: " << UncompressedSize ++ << " bytes\n" ++ << "Binary size after compression: " << CompressedBuffer.size() ++ << " bytes\n" ++ << "Truncated MD5 hash: " ++ << llvm::format_hex(TruncatedHash, 16) << "\n"; ++ } ++ ++ return llvm::MemoryBuffer::getMemBufferCopy( ++ llvm::StringRef(FinalBuffer.data(), FinalBuffer.size())); ++} ++ ++llvm::Expected> ++CompressedOffloadBundle::decompress(const llvm::MemoryBuffer &Input, ++ bool Verbose) { ++ ++ StringRef Blob = Input.getBuffer(); ++ ++ if (Blob.size() < HeaderSize) { ++ return llvm::MemoryBuffer::getMemBufferCopy(Blob); ++ } ++ if (llvm::identify_magic(Blob) != ++ llvm::file_magic::offload_bundle_compressed) { ++ if (Verbose) ++ llvm::errs() << "Uncompressed bundle.\n"; ++ return llvm::MemoryBuffer::getMemBufferCopy(Blob); ++ } ++ ++ uint16_t ThisVersion; ++ uint16_t CompressionMethod; ++ uint32_t UncompressedSize; ++ uint64_t StoredHash; ++ memcpy(&ThisVersion, Input.getBuffer().data() + MagicNumber.size(), ++ sizeof(uint16_t)); ++ memcpy(&CompressionMethod, Blob.data() + MagicSize + VersionFieldSize, ++ sizeof(uint16_t)); ++ memcpy(&UncompressedSize, ++ Blob.data() + MagicSize + VersionFieldSize + MethodFieldSize, ++ sizeof(uint32_t)); ++ memcpy(&StoredHash, ++ Blob.data() + MagicSize + VersionFieldSize + MethodFieldSize + ++ SizeFieldSize, ++ sizeof(uint64_t)); ++ ++ llvm::compression::Format CompressionFormat; ++ if (CompressionMethod == ++ static_cast(llvm::compression::Format::Zlib)) ++ CompressionFormat = llvm::compression::Format::Zlib; ++ else if (CompressionMethod == ++ static_cast(llvm::compression::Format::Zstd)) ++ CompressionFormat = llvm::compression::Format::Zstd; ++ else ++ return createStringError(inconvertibleErrorCode(), ++ "Unknown compressing method"); ++ ++ llvm::Timer DecompressTimer("Decompression Timer", "Decompression time", ++ ClangOffloadBundlerTimerGroup); ++ if (Verbose) ++ DecompressTimer.startTimer(); ++ ++ SmallVector DecompressedData; ++ StringRef CompressedData = Blob.substr(HeaderSize); ++ if (llvm::Error DecompressionError = llvm::compression::decompress( ++ CompressionFormat, llvm::arrayRefFromStringRef(CompressedData), ++ DecompressedData, UncompressedSize)) ++ return createStringError(inconvertibleErrorCode(), ++ "Could not decompress embedded file contents: " + ++ llvm::toString(std::move(DecompressionError))); ++ ++ if (Verbose) { ++ DecompressTimer.stopTimer(); ++ ++ // Recalculate MD5 hash ++ llvm::Timer HashRecalcTimer("Hash Recalculation Timer", ++ "Hash recalculation time", ++ ClangOffloadBundlerTimerGroup); ++ HashRecalcTimer.startTimer(); ++ llvm::MD5 Hash; ++ llvm::MD5::MD5Result Result; ++ Hash.update(llvm::ArrayRef(DecompressedData.data(), ++ DecompressedData.size())); ++ Hash.final(Result); ++ uint64_t RecalculatedHash = Result.low(); ++ HashRecalcTimer.stopTimer(); ++ bool HashMatch = (StoredHash == RecalculatedHash); ++ ++ llvm::errs() << "Compressed bundle format version: " << ThisVersion << "\n" ++ << "Decompression method: " ++ << (CompressionFormat == llvm::compression::Format::Zlib ++ ? "zlib" ++ : "zstd") ++ << "\n" ++ << "Size before decompression: " << CompressedData.size() ++ << " bytes\n" ++ << "Size after decompression: " << UncompressedSize ++ << " bytes\n" ++ << "Stored hash: " << llvm::format_hex(StoredHash, 16) << "\n" ++ << "Recalculated hash: " ++ << llvm::format_hex(RecalculatedHash, 16) << "\n" ++ << "Hashes match: " << (HashMatch ? "Yes" : "No") << "\n"; ++ } ++ ++ return llvm::MemoryBuffer::getMemBufferCopy( ++ llvm::toStringRef(DecompressedData)); ++} ++ + // List bundle IDs. Return true if an error was found. + Error OffloadBundler::ListBundleIDsInFile( + StringRef InputFileName, const OffloadBundlerConfig &BundlerConfig) { +@@ -908,28 +1108,35 @@ Error OffloadBundler::ListBundleIDsInFile( + if (std::error_code EC = CodeOrErr.getError()) + return createFileError(InputFileName, EC); + +- MemoryBuffer &Input = **CodeOrErr; ++ // Decompress the input if necessary. ++ Expected> DecompressedBufferOrErr = ++ CompressedOffloadBundle::decompress(**CodeOrErr, BundlerConfig.Verbose); ++ if (!DecompressedBufferOrErr) ++ return createStringError( ++ inconvertibleErrorCode(), ++ "Failed to decompress input: " + ++ llvm::toString(DecompressedBufferOrErr.takeError())); ++ ++ MemoryBuffer &DecompressedInput = **DecompressedBufferOrErr; + + // Select the right files handler. + Expected> FileHandlerOrErr = +- CreateFileHandler(Input, BundlerConfig); ++ CreateFileHandler(DecompressedInput, BundlerConfig); + if (!FileHandlerOrErr) + return FileHandlerOrErr.takeError(); + + std::unique_ptr &FH = *FileHandlerOrErr; + assert(FH); +- return FH->listBundleIDs(Input); ++ return FH->listBundleIDs(DecompressedInput); + } + + /// Bundle the files. Return true if an error was found. + Error OffloadBundler::BundleFiles() { + std::error_code EC; + +- // Create output file. +- raw_fd_ostream OutputFile(BundlerConfig.OutputFileNames.front(), EC, +- sys::fs::OF_None); +- if (EC) +- return createFileError(BundlerConfig.OutputFileNames.front(), EC); ++ // Create a buffer to hold the content before compressing. ++ SmallVector Buffer; ++ llvm::raw_svector_ostream BufferStream(Buffer); + + // Open input files. + SmallVector, 8u> InputBuffers; +@@ -956,22 +1163,46 @@ Error OffloadBundler::BundleFiles() { + assert(FH); + + // Write header. +- if (Error Err = FH->WriteHeader(OutputFile, InputBuffers)) ++ if (Error Err = FH->WriteHeader(BufferStream, InputBuffers)) + return Err; + + // Write all bundles along with the start/end markers. If an error was found + // writing the end of the bundle component, abort the bundle writing. + auto Input = InputBuffers.begin(); + for (auto &Triple : BundlerConfig.TargetNames) { +- if (Error Err = FH->WriteBundleStart(OutputFile, Triple)) ++ if (Error Err = FH->WriteBundleStart(BufferStream, Triple)) + return Err; +- if (Error Err = FH->WriteBundle(OutputFile, **Input)) ++ if (Error Err = FH->WriteBundle(BufferStream, **Input)) + return Err; +- if (Error Err = FH->WriteBundleEnd(OutputFile, Triple)) ++ if (Error Err = FH->WriteBundleEnd(BufferStream, Triple)) + return Err; + ++Input; + } +- return Error::success(); ++ ++ raw_fd_ostream OutputFile(BundlerConfig.OutputFileNames.front(), EC, ++ sys::fs::OF_None); ++ if (EC) ++ return createFileError(BundlerConfig.OutputFileNames.front(), EC); ++ ++ SmallVector CompressedBuffer; ++ if (BundlerConfig.Compress) { ++ std::unique_ptr BufferMemory = ++ llvm::MemoryBuffer::getMemBufferCopy( ++ llvm::StringRef(Buffer.data(), Buffer.size())); ++ auto CompressionResult = ++ CompressedOffloadBundle::compress(*BufferMemory, BundlerConfig.Verbose); ++ if (auto Error = CompressionResult.takeError()) ++ return Error; ++ ++ auto CompressedMemBuffer = std::move(CompressionResult.get()); ++ CompressedBuffer.assign(CompressedMemBuffer->getBufferStart(), ++ CompressedMemBuffer->getBufferEnd()); ++ } else ++ CompressedBuffer = Buffer; ++ ++ OutputFile.write(CompressedBuffer.data(), CompressedBuffer.size()); ++ ++ return FH->finalizeOutputFile(); + } + + // Unbundle the files. Return true if an error was found. +@@ -982,7 +1213,16 @@ Error OffloadBundler::UnbundleFiles() { + if (std::error_code EC = CodeOrErr.getError()) + return createFileError(BundlerConfig.InputFileNames.front(), EC); + +- MemoryBuffer &Input = **CodeOrErr; ++ // Decompress the input if necessary. ++ Expected> DecompressedBufferOrErr = ++ CompressedOffloadBundle::decompress(**CodeOrErr, BundlerConfig.Verbose); ++ if (!DecompressedBufferOrErr) ++ return createStringError( ++ inconvertibleErrorCode(), ++ "Failed to decompress input: " + ++ llvm::toString(DecompressedBufferOrErr.takeError())); ++ ++ MemoryBuffer &Input = **DecompressedBufferOrErr; + + // Select the right files handler. + Expected> FileHandlerOrErr = +@@ -1357,22 +1597,34 @@ Error OffloadBundler::UnbundleArchive() { + if (!CodeObjectBufferRefOrErr) + return CodeObjectBufferRefOrErr.takeError(); + +- auto CodeObjectBuffer = ++ auto TempCodeObjectBuffer = + MemoryBuffer::getMemBuffer(*CodeObjectBufferRefOrErr, false); + ++ // Decompress the buffer if necessary. ++ Expected> DecompressedBufferOrErr = ++ CompressedOffloadBundle::decompress(*TempCodeObjectBuffer, ++ BundlerConfig.Verbose); ++ if (!DecompressedBufferOrErr) ++ return createStringError( ++ inconvertibleErrorCode(), ++ "Failed to decompress code object: " + ++ llvm::toString(DecompressedBufferOrErr.takeError())); ++ ++ MemoryBuffer &CodeObjectBuffer = **DecompressedBufferOrErr; ++ + Expected> FileHandlerOrErr = +- CreateFileHandler(*CodeObjectBuffer, BundlerConfig); ++ CreateFileHandler(CodeObjectBuffer, BundlerConfig); + if (!FileHandlerOrErr) + return FileHandlerOrErr.takeError(); + + std::unique_ptr &FileHandler = *FileHandlerOrErr; + assert(FileHandler); + +- if (Error ReadErr = FileHandler->ReadHeader(*CodeObjectBuffer)) ++ if (Error ReadErr = FileHandler->ReadHeader(CodeObjectBuffer)) + return ReadErr; + + Expected> CurBundleIDOrErr = +- FileHandler->ReadBundleStart(*CodeObjectBuffer); ++ FileHandler->ReadBundleStart(CodeObjectBuffer); + if (!CurBundleIDOrErr) + return CurBundleIDOrErr.takeError(); + +@@ -1393,7 +1645,7 @@ Error OffloadBundler::UnbundleArchive() { + BundlerConfig)) { + std::string BundleData; + raw_string_ostream DataStream(BundleData); +- if (Error Err = FileHandler->ReadBundle(DataStream, *CodeObjectBuffer)) ++ if (Error Err = FileHandler->ReadBundle(DataStream, CodeObjectBuffer)) + return Err; + + for (auto &CompatibleTarget : CompatibleTargets) { +@@ -1431,11 +1683,11 @@ Error OffloadBundler::UnbundleArchive() { + } + } + +- if (Error Err = FileHandler->ReadBundleEnd(*CodeObjectBuffer)) ++ if (Error Err = FileHandler->ReadBundleEnd(CodeObjectBuffer)) + return Err; + + Expected> NextTripleOrErr = +- FileHandler->ReadBundleStart(*CodeObjectBuffer); ++ FileHandler->ReadBundleStart(CodeObjectBuffer); + if (!NextTripleOrErr) + return NextTripleOrErr.takeError(); + +diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp +index 9e1f07d78bf1..274875c631c5 100644 +--- a/clang/lib/Driver/ToolChains/Clang.cpp ++++ b/clang/lib/Driver/ToolChains/Clang.cpp +@@ -8400,6 +8400,11 @@ void OffloadBundler::ConstructJob(Compilation &C, const JobAction &JA, + } + CmdArgs.push_back(TCArgs.MakeArgString(UB)); + } ++ if (TCArgs.hasFlag(options::OPT_offload_compress, ++ options::OPT_no_offload_compress, false)) ++ CmdArgs.push_back("-compress"); ++ if (TCArgs.hasArg(options::OPT_v)) ++ CmdArgs.push_back("-verbose"); + // All the inputs are encoded as commands. + C.addCommand(std::make_unique( + JA, *this, ResponseFileSupport::None(), +@@ -8494,6 +8499,8 @@ void OffloadBundler::ConstructJobMultipleOutputs( + } + CmdArgs.push_back("-unbundle"); + CmdArgs.push_back("-allow-missing-bundles"); ++ if (TCArgs.hasArg(options::OPT_v)) ++ CmdArgs.push_back("-verbose"); + + // All the inputs are encoded as commands. + C.addCommand(std::make_unique( +diff --git a/clang/lib/Driver/ToolChains/HIPUtility.cpp b/clang/lib/Driver/ToolChains/HIPUtility.cpp +index 8b9d8db90ffa..04efdcba20ea 100644 +--- a/clang/lib/Driver/ToolChains/HIPUtility.cpp ++++ b/clang/lib/Driver/ToolChains/HIPUtility.cpp +@@ -84,6 +84,12 @@ void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, + Args.MakeArgString(std::string("-output=").append(Output)); + BundlerArgs.push_back(BundlerOutputArg); + ++ if (Args.hasFlag(options::OPT_offload_compress, ++ options::OPT_no_offload_compress, false)) ++ BundlerArgs.push_back("-compress"); ++ if (Args.hasArg(options::OPT_v)) ++ BundlerArgs.push_back("-verbose"); ++ + const char *Bundler = Args.MakeArgString( + T.getToolChain().GetProgramPath("clang-offload-bundler")); + C.addCommand(std::make_unique( +diff --git a/clang/test/Driver/clang-offload-bundler-zlib.c b/clang/test/Driver/clang-offload-bundler-zlib.c +new file mode 100644 +index 000000000000..c46c32a4a053 +--- /dev/null ++++ b/clang/test/Driver/clang-offload-bundler-zlib.c +@@ -0,0 +1,75 @@ ++// REQUIRES: zlib ++// REQUIRES: x86-registered-target ++// UNSUPPORTED: target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}} ++ ++// ++// Generate the host binary to be bundled. ++// ++// RUN: %clang -O0 -target %itanium_abi_triple %s -c -emit-llvm -o %t.bc ++ ++// ++// Generate an empty file to help with the checks of empty files. ++// ++// RUN: touch %t.empty ++ ++// ++// Generate device binaries to be bundled. ++// ++// RUN: echo 'Content of device file 1' > %t.tgt1 ++// RUN: echo 'Content of device file 2' > %t.tgt2 ++ ++// ++// Check compression/decompression of offload bundle. ++// ++// RUN: env OFFLOAD_BUNDLER_COMPRESS=1 OFFLOAD_BUNDLER_VERBOSE=1 \ ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -input=%t.tgt1 -input=%t.tgt2 -output=%t.hip.bundle.bc 2>&1 | \ ++// RUN: FileCheck -check-prefix=COMPRESS %s ++// RUN: clang-offload-bundler -type=bc -list -input=%t.hip.bundle.bc | FileCheck -check-prefix=NOHOST %s ++// RUN: env OFFLOAD_BUNDLER_VERBOSE=1 \ ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -output=%t.res.tgt1 -output=%t.res.tgt2 -input=%t.hip.bundle.bc -unbundle 2>&1 | \ ++// RUN: FileCheck -check-prefix=DECOMPRESS %s ++// RUN: diff %t.tgt1 %t.res.tgt1 ++// RUN: diff %t.tgt2 %t.res.tgt2 ++ ++// ++// COMPRESS: Compression method used: ++// DECOMPRESS: Decompression method: ++// NOHOST-NOT: host- ++// NOHOST-DAG: hip-amdgcn-amd-amdhsa--gfx900 ++// NOHOST-DAG: hip-amdgcn-amd-amdhsa--gfx906 ++// ++ ++// ++// Check -bundle-align option. ++// ++ ++// RUN: clang-offload-bundler -bundle-align=4096 -type=bc -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -input=%t.bc -input=%t.tgt1 -input=%t.tgt2 -output=%t.bundle3.bc -compress ++// RUN: clang-offload-bundler -type=bc -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -output=%t.res.bc -output=%t.res.tgt1 -output=%t.res.tgt2 -input=%t.bundle3.bc -unbundle ++// RUN: diff %t.bc %t.res.bc ++// RUN: diff %t.tgt1 %t.res.tgt1 ++// RUN: diff %t.tgt2 %t.res.tgt2 ++ ++// ++// Check unbundling archive. ++// ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -input=%t.tgt1 -input=%t.tgt2 -output=%T/hip_bundle1.bc -compress ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -input=%t.tgt1 -input=%t.tgt2 -output=%T/hip_bundle2.bc -compress ++// RUN: llvm-ar cr %T/hip_archive.a %T/hip_bundle1.bc %T/hip_bundle2.bc ++// RUN: clang-offload-bundler -unbundle -type=a -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -output=%T/hip_900.a -output=%T/hip_906.a -input=%T/hip_archive.a ++// RUN: llvm-ar t %T/hip_900.a | FileCheck -check-prefix=HIP-AR-900 %s ++// RUN: llvm-ar t %T/hip_906.a | FileCheck -check-prefix=HIP-AR-906 %s ++// HIP-AR-900-DAG: hip_bundle1-hip-amdgcn-amd-amdhsa--gfx900 ++// HIP-AR-900-DAG: hip_bundle2-hip-amdgcn-amd-amdhsa--gfx900 ++// HIP-AR-906-DAG: hip_bundle1-hip-amdgcn-amd-amdhsa--gfx906 ++// HIP-AR-906-DAG: hip_bundle2-hip-amdgcn-amd-amdhsa--gfx906 ++ ++// Some code so that we can create a binary out of this file. ++int A = 0; ++void test_func(void) { ++ ++A; ++} +diff --git a/clang/test/Driver/clang-offload-bundler-zstd.c b/clang/test/Driver/clang-offload-bundler-zstd.c +new file mode 100644 +index 000000000000..b2b588b72d4d +--- /dev/null ++++ b/clang/test/Driver/clang-offload-bundler-zstd.c +@@ -0,0 +1,72 @@ ++// REQUIRES: zstd ++// REQUIRES: x86-registered-target ++// UNSUPPORTED: target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}} ++ ++// ++// Generate the host binary to be bundled. ++// ++// RUN: %clang -O0 -target %itanium_abi_triple %s -c -emit-llvm -o %t.bc ++ ++// ++// Generate an empty file to help with the checks of empty files. ++// ++// RUN: touch %t.empty ++ ++// ++// Generate device binaries to be bundled. ++// ++// RUN: echo 'Content of device file 1' > %t.tgt1 ++// RUN: echo 'Content of device file 2' > %t.tgt2 ++ ++// ++// Check compression/decompression of offload bundle. ++// ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -input=%t.tgt1 -input=%t.tgt2 -output=%t.hip.bundle.bc -compress -verbose 2>&1 | \ ++// RUN: FileCheck -check-prefix=COMPRESS %s ++// RUN: clang-offload-bundler -type=bc -list -input=%t.hip.bundle.bc | FileCheck -check-prefix=NOHOST %s ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -output=%t.res.tgt1 -output=%t.res.tgt2 -input=%t.hip.bundle.bc -unbundle -verbose 2>&1 | \ ++// RUN: FileCheck -check-prefix=DECOMPRESS %s ++// RUN: diff %t.tgt1 %t.res.tgt1 ++// RUN: diff %t.tgt2 %t.res.tgt2 ++// ++// COMPRESS: Compression method used ++// DECOMPRESS: Decompression method ++// NOHOST-NOT: host- ++// NOHOST-DAG: hip-amdgcn-amd-amdhsa--gfx900 ++// NOHOST-DAG: hip-amdgcn-amd-amdhsa--gfx906 ++// ++ ++// ++// Check -bundle-align option. ++// ++ ++// RUN: clang-offload-bundler -bundle-align=4096 -type=bc -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -input=%t.bc -input=%t.tgt1 -input=%t.tgt2 -output=%t.bundle3.bc -compress ++// RUN: clang-offload-bundler -type=bc -targets=host-%itanium_abi_triple,openmp-powerpc64le-ibm-linux-gnu,openmp-x86_64-pc-linux-gnu -output=%t.res.bc -output=%t.res.tgt1 -output=%t.res.tgt2 -input=%t.bundle3.bc -unbundle ++// RUN: diff %t.bc %t.res.bc ++// RUN: diff %t.tgt1 %t.res.tgt1 ++// RUN: diff %t.tgt2 %t.res.tgt2 ++ ++// ++// Check unbundling archive. ++// ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -input=%t.tgt1 -input=%t.tgt2 -output=%T/hip_bundle1.bc -compress ++// RUN: clang-offload-bundler -type=bc -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -input=%t.tgt1 -input=%t.tgt2 -output=%T/hip_bundle2.bc -compress ++// RUN: llvm-ar cr %T/hip_archive.a %T/hip_bundle1.bc %T/hip_bundle2.bc ++// RUN: clang-offload-bundler -unbundle -type=a -targets=hip-amdgcn-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 \ ++// RUN: -output=%T/hip_900.a -output=%T/hip_906.a -input=%T/hip_archive.a ++// RUN: llvm-ar t %T/hip_900.a | FileCheck -check-prefix=HIP-AR-900 %s ++// RUN: llvm-ar t %T/hip_906.a | FileCheck -check-prefix=HIP-AR-906 %s ++// HIP-AR-900-DAG: hip_bundle1-hip-amdgcn-amd-amdhsa--gfx900 ++// HIP-AR-900-DAG: hip_bundle2-hip-amdgcn-amd-amdhsa--gfx900 ++// HIP-AR-906-DAG: hip_bundle1-hip-amdgcn-amd-amdhsa--gfx906 ++// HIP-AR-906-DAG: hip_bundle2-hip-amdgcn-amd-amdhsa--gfx906 ++ ++// Some code so that we can create a binary out of this file. ++int A = 0; ++void test_func(void) { ++ ++A; ++} +diff --git a/clang/test/Driver/hip-offload-compress-zlib.hip b/clang/test/Driver/hip-offload-compress-zlib.hip +new file mode 100644 +index 000000000000..a29b6d037350 +--- /dev/null ++++ b/clang/test/Driver/hip-offload-compress-zlib.hip +@@ -0,0 +1,45 @@ ++// REQUIRES: zlib ++// REQUIRES: x86-registered-target ++// REQUIRES: amdgpu-registered-target ++ ++// Test compress bundled bitcode. ++ ++// RUN: rm -rf %T/a.bc ++// RUN: %clang -c -v --target=x86_64-linux-gnu \ ++// RUN: -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 \ ++// RUN: -fgpu-rdc -nogpuinc -nogpulib \ ++// RUN: %S/Inputs/hip_multiple_inputs/a.cu \ ++// RUN: --offload-compress --offload-device-only --gpu-bundle-output \ ++// RUN: -o %T/a.bc \ ++// RUN: 2>&1 | FileCheck %s ++ ++// CHECK: clang-offload-bundler{{.*}} -type=bc ++// CHECK-SAME: -targets={{.*}}hip-amdgcn-amd-amdhsa-gfx1100,hip-amdgcn-amd-amdhsa-gfx1101 ++// CHECK-SAME: -compress -verbose ++// CHECK: Compressed bundle format ++ ++// Test uncompress of bundled bitcode. ++ ++// RUN: %clang --hip-link -### -v --target=x86_64-linux-gnu \ ++// RUN: --offload-arch=gfx1100 --offload-arch=gfx1101 \ ++// RUN: -fgpu-rdc -nogpulib \ ++// RUN: %T/a.bc --offload-device-only \ ++// RUN: 2>&1 | FileCheck -check-prefix=UNBUNDLE %s ++ ++// UNBUNDLE: clang-offload-bundler{{.*}} "-type=bc" ++// UNBUNDLE-SAME: -targets={{.*}}hip-amdgcn-amd-amdhsa-gfx1100,hip-amdgcn-amd-amdhsa-gfx1101 ++// UNBUNDLE-SAME: -unbundle ++// UNBUNDLE-SAME: -verbose ++ ++// Test compress bundled code objects. ++ ++// RUN: %clang -c -### -v --target=x86_64-linux-gnu \ ++// RUN: -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 \ ++// RUN: -nogpuinc -nogpulib \ ++// RUN: %S/Inputs/hip_multiple_inputs/a.cu \ ++// RUN: --offload-compress \ ++// RUN: 2>&1 | FileCheck -check-prefix=CO %s ++ ++// CO: clang-offload-bundler{{.*}} "-type=o" ++// CO-SAME: -targets={{.*}}hipv4-amdgcn-amd-amdhsa--gfx1100,hipv4-amdgcn-amd-amdhsa--gfx1101 ++// CO-SAME: "-compress" "-verbose" +diff --git a/clang/test/Driver/hip-offload-compress-zstd.hip b/clang/test/Driver/hip-offload-compress-zstd.hip +new file mode 100644 +index 000000000000..688c2c85329c +--- /dev/null ++++ b/clang/test/Driver/hip-offload-compress-zstd.hip +@@ -0,0 +1,45 @@ ++// REQUIRES: zstd ++// REQUIRES: x86-registered-target ++// REQUIRES: amdgpu-registered-target ++ ++// Test compress bundled bitcode. ++ ++// RUN: rm -rf %T/a.bc ++// RUN: %clang -c -v --target=x86_64-linux-gnu \ ++// RUN: -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 \ ++// RUN: -fgpu-rdc -nogpuinc -nogpulib \ ++// RUN: %S/Inputs/hip_multiple_inputs/a.cu \ ++// RUN: --offload-compress --offload-device-only --gpu-bundle-output \ ++// RUN: -o %T/a.bc \ ++// RUN: 2>&1 | FileCheck %s ++ ++// CHECK: clang-offload-bundler{{.*}} -type=bc ++// CHECK-SAME: -targets={{.*}}hip-amdgcn-amd-amdhsa-gfx1100,hip-amdgcn-amd-amdhsa-gfx1101 ++// CHECK-SAME: -compress -verbose ++// CHECK: Compressed bundle format ++ ++// Test uncompress of bundled bitcode. ++ ++// RUN: %clang --hip-link -### -v --target=x86_64-linux-gnu \ ++// RUN: --offload-arch=gfx1100 --offload-arch=gfx1101 \ ++// RUN: -fgpu-rdc -nogpulib \ ++// RUN: %T/a.bc --offload-device-only \ ++// RUN: 2>&1 | FileCheck -check-prefix=UNBUNDLE %s ++ ++// UNBUNDLE: clang-offload-bundler{{.*}} "-type=bc" ++// UNBUNDLE-SAME: -targets={{.*}}hip-amdgcn-amd-amdhsa-gfx1100,hip-amdgcn-amd-amdhsa-gfx1101 ++// UNBUNDLE-SAME: -unbundle ++// UNBUNDLE-SAME: -verbose ++ ++// Test compress bundled code objects. ++ ++// RUN: %clang -c -### -v --target=x86_64-linux-gnu \ ++// RUN: -x hip --offload-arch=gfx1100 --offload-arch=gfx1101 \ ++// RUN: -nogpuinc -nogpulib \ ++// RUN: %S/Inputs/hip_multiple_inputs/a.cu \ ++// RUN: --offload-compress \ ++// RUN: 2>&1 | FileCheck -check-prefix=CO %s ++ ++// CO: clang-offload-bundler{{.*}} "-type=o" ++// CO-SAME: -targets={{.*}}hipv4-amdgcn-amd-amdhsa--gfx1100,hipv4-amdgcn-amd-amdhsa--gfx1101 ++// CO-SAME: "-compress" "-verbose" +diff --git a/clang/tools/clang-offload-bundler/CMakeLists.txt b/clang/tools/clang-offload-bundler/CMakeLists.txt +index dabd82382cdf..dec2881589a5 100644 +--- a/clang/tools/clang-offload-bundler/CMakeLists.txt ++++ b/clang/tools/clang-offload-bundler/CMakeLists.txt +@@ -1,4 +1,5 @@ + set(LLVM_LINK_COMPONENTS ++ BinaryFormat + Object + Support + TargetParser +diff --git a/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp b/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp +index c02b5854bded..68f29807b219 100644 +--- a/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp ++++ b/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp +@@ -141,6 +141,11 @@ int main(int argc, const char **argv) { + cl::desc("Treat hip and hipv4 offload kinds as " + "compatible with openmp kind, and vice versa.\n"), + cl::init(false), cl::cat(ClangOffloadBundlerCategory)); ++ cl::opt Compress("compress", ++ cl::desc("Compress output file when bundling.\n"), ++ cl::init(false), cl::cat(ClangOffloadBundlerCategory)); ++ cl::opt Verbose("verbose", cl::desc("Print debug information.\n"), ++ cl::init(false), cl::cat(ClangOffloadBundlerCategory)); + + // Process commandline options and report errors + sys::PrintStackTraceOnErrorSignal(argv[0]); +@@ -169,6 +174,11 @@ int main(int argc, const char **argv) { + BundlerConfig.BundleAlignment = BundleAlignment; + BundlerConfig.FilesType = FilesType; + BundlerConfig.ObjcopyPath = ""; ++ // Do not override the default value Compress and Verbose in BundlerConfig. ++ if (Compress.getNumOccurrences() > 0) ++ BundlerConfig.Compress = Compress; ++ if (Verbose.getNumOccurrences() > 0) ++ BundlerConfig.Verbose = Verbose; + + BundlerConfig.TargetNames = TargetNames; + BundlerConfig.InputFileNames = InputFileNames; +diff --git a/llvm/include/llvm/BinaryFormat/Magic.h b/llvm/include/llvm/BinaryFormat/Magic.h +index 329c96f5c14c..a28710dcdfaf 100644 +--- a/llvm/include/llvm/BinaryFormat/Magic.h ++++ b/llvm/include/llvm/BinaryFormat/Magic.h +@@ -42,19 +42,21 @@ struct file_magic { + macho_universal_binary, ///< Mach-O universal binary + macho_file_set, ///< Mach-O file set binary + minidump, ///< Windows minidump file +- coff_cl_gl_object, ///< Microsoft cl.exe's intermediate code file +- coff_object, ///< COFF object file +- coff_import_library, ///< COFF import library +- pecoff_executable, ///< PECOFF executable file +- windows_resource, ///< Windows compiled resource file (.res) +- xcoff_object_32, ///< 32-bit XCOFF object file +- xcoff_object_64, ///< 64-bit XCOFF object file +- wasm_object, ///< WebAssembly Object file +- pdb, ///< Windows PDB debug info file +- tapi_file, ///< Text-based Dynamic Library Stub file +- cuda_fatbinary, ///< CUDA Fatbinary object file +- offload_binary, ///< LLVM offload object file +- dxcontainer_object, ///< DirectX container file ++ coff_cl_gl_object, ///< Microsoft cl.exe's intermediate code file ++ coff_object, ///< COFF object file ++ coff_import_library, ///< COFF import library ++ pecoff_executable, ///< PECOFF executable file ++ windows_resource, ///< Windows compiled resource file (.res) ++ xcoff_object_32, ///< 32-bit XCOFF object file ++ xcoff_object_64, ///< 64-bit XCOFF object file ++ wasm_object, ///< WebAssembly Object file ++ pdb, ///< Windows PDB debug info file ++ tapi_file, ///< Text-based Dynamic Library Stub file ++ cuda_fatbinary, ///< CUDA Fatbinary object file ++ offload_binary, ///< LLVM offload object file ++ dxcontainer_object, ///< DirectX container file ++ offload_bundle, ///< Clang offload bundle file ++ offload_bundle_compressed, ///< Compressed clang offload bundle file + }; + + bool is_object() const { return V != unknown; } +diff --git a/llvm/lib/BinaryFormat/Magic.cpp b/llvm/lib/BinaryFormat/Magic.cpp +index aa84bc36bfde..76aa1a602aa8 100644 +--- a/llvm/lib/BinaryFormat/Magic.cpp ++++ b/llvm/lib/BinaryFormat/Magic.cpp +@@ -87,6 +87,10 @@ file_magic llvm::identify_magic(StringRef Magic) { + if (startswith(Magic, "BC\xC0\xDE")) + return file_magic::bitcode; + break; ++ case 'C': ++ if (startswith(Magic, "CCOB")) ++ return file_magic::offload_bundle_compressed; ++ break; + case '!': + if (startswith(Magic, "!\n") || startswith(Magic, "!\n")) + return file_magic::archive; +@@ -246,6 +250,13 @@ file_magic llvm::identify_magic(StringRef Magic) { + return file_magic::coff_object; + break; + ++ case '_': { ++ const char OBMagic[] = "__CLANG_OFFLOAD_BUNDLE__"; ++ if (Magic.size() >= sizeof(OBMagic) && startswith(Magic, OBMagic)) ++ return file_magic::offload_bundle; ++ break; ++ } ++ + default: + break; + } +diff --git a/llvm/lib/Object/Binary.cpp b/llvm/lib/Object/Binary.cpp +index d18aed8b3b8c..0ee9f7fac448 100644 +--- a/llvm/lib/Object/Binary.cpp ++++ b/llvm/lib/Object/Binary.cpp +@@ -87,6 +87,8 @@ Expected> object::createBinary(MemoryBufferRef Buffer, + case file_magic::cuda_fatbinary: + case file_magic::coff_cl_gl_object: + case file_magic::dxcontainer_object: ++ case file_magic::offload_bundle: ++ case file_magic::offload_bundle_compressed: + // Unrecognized object file format. + return errorCodeToError(object_error::invalid_file_type); + case file_magic::offload_binary: +diff --git a/llvm/lib/Object/ObjectFile.cpp b/llvm/lib/Object/ObjectFile.cpp +index 56a1d09097d4..4cc95ea32f60 100644 +--- a/llvm/lib/Object/ObjectFile.cpp ++++ b/llvm/lib/Object/ObjectFile.cpp +@@ -154,6 +154,8 @@ ObjectFile::createObjectFile(MemoryBufferRef Object, file_magic Type, + case file_magic::cuda_fatbinary: + case file_magic::offload_binary: + case file_magic::dxcontainer_object: ++ case file_magic::offload_bundle: ++ case file_magic::offload_bundle_compressed: + return errorCodeToError(object_error::invalid_file_type); + case file_magic::tapi_file: + return errorCodeToError(object_error::invalid_file_type); +-- +2.43.0 + diff --git a/pkgs/development/rocm-modules/6/llvm/base.nix b/pkgs/development/rocm-modules/6/llvm/base.nix index 95f57b052045..e49f28fe976b 100644 --- a/pkgs/development/rocm-modules/6/llvm/base.nix +++ b/pkgs/development/rocm-modules/6/llvm/base.nix @@ -72,7 +72,9 @@ in stdenv.mkDerivation (finalAttrs: { "info" # Avoid `attribute 'info' missing` when using with wrapCC ]; - patches = extraPatches; + patches = [ + ./add-compression-to-clang-offload-bundler.patch + ] ++ extraPatches; src = fetchFromGitHub { owner = "ROCm"; @@ -133,7 +135,14 @@ in stdenv.mkDerivation (finalAttrs: { "-DLLVM_EXTERNAL_LIT=${lit}/bin/.lit-wrapped" ] ++ extraCMakeFlags; - postPatch = lib.optionalString finalAttrs.passthru.isLLVM '' + prePatch = '' + cd ../ + chmod -R u+w . + ''; + + postPatch = '' + cd ${targetDir} + '' + lib.optionalString finalAttrs.passthru.isLLVM '' patchShebangs lib/OffloadArch/make_generated_offload_arch_h.sh '' + lib.optionalString (buildTests && finalAttrs.passthru.isLLVM) '' # FileSystem permissions tests fail with various special bits diff --git a/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix b/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix index 5a61732ffd2d..8ae4e0e0abb8 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix @@ -2,13 +2,14 @@ , callPackage , rocmUpdateScript , llvm +, makeWrapper }: callPackage ../base.nix rec { inherit stdenv rocmUpdateScript; targetName = "clang-unwrapped"; targetDir = "clang"; - extraBuildInputs = [ llvm ]; + extraBuildInputs = [ llvm makeWrapper ]; extraCMakeFlags = [ "-DCLANG_INCLUDE_DOCS=ON" @@ -41,6 +42,12 @@ callPackage ../base.nix rec { extraPostInstall = '' mv bin/clang-tblgen $out/bin + # add wrapper to compress embedded accelerator-specific code + # this makes the output of composable_kernel significantly smaller right now + # TODO: remove this once ROCm does it out of the box + mv $out/bin/clang-offload-bundler $out/bin/clang-offload-bundler-unwrapped + makeWrapper $out/bin/clang-offload-bundler-unwrapped $out/bin/clang-offload-bundler \ + --add-flags '-compress' ''; requiredSystemFeatures = [ "big-parallel" ]; diff --git a/pkgs/development/rocm-modules/6/llvm/stage-3/0000-mlir-fix-debugtranslation.patch b/pkgs/development/rocm-modules/6/llvm/stage-3/0000-mlir-fix-debugtranslation.patch deleted file mode 100644 index f4221a088136..000000000000 --- a/pkgs/development/rocm-modules/6/llvm/stage-3/0000-mlir-fix-debugtranslation.patch +++ /dev/null @@ -1,36 +0,0 @@ -From f1d1e10ec7e1061bf0b90abbc1e298d9438a5e74 Mon Sep 17 00:00:00 2001 -From: Scott Linder -Date: Mon, 11 Sep 2023 18:37:37 +0000 -Subject: [PATCH] [HeterogeneousDWARF] Update MLIR DI Metadata handling - -Pass a default DW_MSPACE_LLVM_none to satisfy new API - -Change-Id: I50df461f00b5510a715f55f61107122318102d22 ---- - lib/Target/LLVMIR/DebugTranslation.cpp | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/lib/Target/LLVMIR/DebugTranslation.cpp b/lib/Target/LLVMIR/DebugTranslation.cpp -index 2053f5bcef06aa6..635ee5d7e5fefdc 100644 ---- a/lib/Target/LLVMIR/DebugTranslation.cpp -+++ b/lib/Target/LLVMIR/DebugTranslation.cpp -@@ -148,7 +148,8 @@ llvm::DIDerivedType *DebugTranslation::translateImpl(DIDerivedTypeAttr attr) { - /*File=*/nullptr, /*Line=*/0, - /*Scope=*/nullptr, translate(attr.getBaseType()), attr.getSizeInBits(), - attr.getAlignInBits(), attr.getOffsetInBits(), -- /*DWARFAddressSpace=*/std::nullopt, /*Flags=*/llvm::DINode::FlagZero); -+ /*DWARFAddressSpace=*/std::nullopt, llvm::dwarf::DW_MSPACE_LLVM_none, -+ /*Flags=*/llvm::DINode::FlagZero); - } - - llvm::DIFile *DebugTranslation::translateImpl(DIFileAttr attr) { -@@ -185,7 +186,8 @@ DebugTranslation::translateImpl(DILocalVariableAttr attr) { - llvmCtx, translate(attr.getScope()), getMDStringOrNull(attr.getName()), - translate(attr.getFile()), attr.getLine(), translate(attr.getType()), - attr.getArg(), -- /*Flags=*/llvm::DINode::FlagZero, attr.getAlignInBits(), -+ /*Flags=*/llvm::DINode::FlagZero, llvm::dwarf::DW_MSPACE_LLVM_none, -+ attr.getAlignInBits(), - /*Annotations=*/nullptr); - } - diff --git a/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix b/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix index 6de685ea2771..265d994a27f8 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix @@ -7,6 +7,7 @@ , glslang , shaderc , lit +, fetchpatch }: callPackage ../base.nix rec { @@ -17,9 +18,12 @@ callPackage ../base.nix rec { targetDir = targetName; # Fix `DebugTranslation.cpp:139:10: error: no matching function for call to 'get'` - # We patch at a different source root, so we modify the patch and include it locally - # https://github.com/ROCm/llvm-project/commit/f1d1e10ec7e1061bf0b90abbc1e298d9438a5e74.patch - extraPatches = [ ./0000-mlir-fix-debugtranslation.patch ]; + extraPatches = [ + (fetchpatch { + url = "https://github.com/ROCm/llvm-project/commit/f1d1e10ec7e1061bf0b90abbc1e298d9438a5e74.patch"; + hash = "sha256-3c91A9InMKxm+JcnWxoUeOU68y5I6w1AAXx6T9UByqI="; + }) + ]; extraNativeBuildInputs = [ clr ]; extraBuildInputs = [ From 772dbad3d41932f08d44aaa63a571d4e26c5d143 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Sun, 7 Apr 2024 00:31:40 +0200 Subject: [PATCH 0183/1387] rocmPackages.llvm: replace --replace with --replace-fail (cleanup) --- pkgs/development/rocm-modules/6/llvm/base.nix | 2 +- .../rocm-modules/6/llvm/stage-1/clang-unwrapped.nix | 2 +- pkgs/development/rocm-modules/6/llvm/stage-2/libc.nix | 10 +++++----- pkgs/development/rocm-modules/6/llvm/stage-3/clang.nix | 2 +- .../development/rocm-modules/6/llvm/stage-3/libclc.nix | 10 +++++----- pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix | 2 +- pkgs/development/rocm-modules/6/llvm/stage-3/polly.nix | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/development/rocm-modules/6/llvm/base.nix b/pkgs/development/rocm-modules/6/llvm/base.nix index e49f28fe976b..88b384b43d8e 100644 --- a/pkgs/development/rocm-modules/6/llvm/base.nix +++ b/pkgs/development/rocm-modules/6/llvm/base.nix @@ -150,7 +150,7 @@ in stdenv.mkDerivation (finalAttrs: { rm unittests/Support/Path.cpp substituteInPlace unittests/Support/CMakeLists.txt \ - --replace "Path.cpp" "" + --replace-fail "Path.cpp" "" '' + extraPostPatch; doCheck = buildTests; diff --git a/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix b/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix index 8ae4e0e0abb8..0d982299ec6e 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-1/clang-unwrapped.nix @@ -21,7 +21,7 @@ callPackage ../base.nix rec { ln -s ../cmake/Modules/FindLibEdit.cmake cmake/modules substituteInPlace CMakeLists.txt \ - --replace "include(CheckIncludeFile)" "include(CheckIncludeFile)''\nfind_package(LibEdit)" + --replace-fail "include(CheckIncludeFile)" "include(CheckIncludeFile)''\nfind_package(LibEdit)" # `No such file or directory: '/build/source/clang/tools/scan-build/bin/scan-build'` rm test/Analysis/scan-build/*.test diff --git a/pkgs/development/rocm-modules/6/llvm/stage-2/libc.nix b/pkgs/development/rocm-modules/6/llvm/stage-2/libc.nix index 7e7cf9c2a608..2446723ef5fe 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-2/libc.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-2/libc.nix @@ -14,11 +14,11 @@ callPackage ../base.nix rec { # `Failed to match ... against ...` `Match value not within tolerance value of MPFR result:` # We need a better way, but I don't know enough sed magic and patching `CMakeLists.txt` isn't working... substituteInPlace ../libc/test/src/math/log10_test.cpp \ - --replace "i < N" "i < 0" \ - --replace "test(mpfr::RoundingMode::Nearest);" "" \ - --replace "test(mpfr::RoundingMode::Downward);" "" \ - --replace "test(mpfr::RoundingMode::Upward);" "" \ - --replace "test(mpfr::RoundingMode::TowardZero);" "" + --replace-fail "i < N" "i < 0" \ + --replace-fail "test(mpfr::RoundingMode::Nearest);" "" \ + --replace-fail "test(mpfr::RoundingMode::Downward);" "" \ + --replace-fail "test(mpfr::RoundingMode::Upward);" "" \ + --replace-fail "test(mpfr::RoundingMode::TowardZero);" "" ''; checkTargets = [ "check-${targetName}" ]; diff --git a/pkgs/development/rocm-modules/6/llvm/stage-3/clang.nix b/pkgs/development/rocm-modules/6/llvm/stage-3/clang.nix index 91f34265f85f..a0e1935d3c5f 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-3/clang.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-3/clang.nix @@ -68,6 +68,6 @@ wrapCCWith rec { # GPU compilation uses builtin `lld` substituteInPlace $out/bin/{clang,clang++} \ - --replace "-MM) dontLink=1 ;;" "-MM | --cuda-device-only) dontLink=1 ;;''\n--cuda-host-only | --cuda-compile-host-device) dontLink=0 ;;" + --replace-fail "-MM) dontLink=1 ;;" "-MM | --cuda-device-only) dontLink=1 ;;''\n--cuda-host-only | --cuda-compile-host-device) dontLink=0 ;;" ''; } diff --git a/pkgs/development/rocm-modules/6/llvm/stage-3/libclc.nix b/pkgs/development/rocm-modules/6/llvm/stage-3/libclc.nix index 1fd72ee67188..c395dd792db0 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-3/libclc.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-3/libclc.nix @@ -21,13 +21,13 @@ in callPackage ../base.nix rec { # `clspv` tests fail, unresolved calls extraPostPatch = '' substituteInPlace CMakeLists.txt \ - --replace "find_program( LLVM_CLANG clang PATHS \''${LLVM_BINDIR} NO_DEFAULT_PATH )" \ + --replace-fail "find_program( LLVM_CLANG clang PATHS \''${LLVM_BINDIR} NO_DEFAULT_PATH )" \ "find_program( LLVM_CLANG clang PATHS \"${clang}/bin\" NO_DEFAULT_PATH )" \ - --replace "find_program( LLVM_SPIRV llvm-spirv PATHS \''${LLVM_BINDIR} NO_DEFAULT_PATH )" \ + --replace-fail "find_program( LLVM_SPIRV llvm-spirv PATHS \''${LLVM_BINDIR} NO_DEFAULT_PATH )" \ "find_program( LLVM_SPIRV llvm-spirv PATHS \"${spirv}/bin\" NO_DEFAULT_PATH )" \ - --replace " spirv-mesa3d-" "" \ - --replace " spirv64-mesa3d-" "" \ - --replace "NOT \''${t} MATCHES" \ + --replace-fail " spirv-mesa3d-" "" \ + --replace-fail " spirv64-mesa3d-" "" \ + --replace-fail "NOT \''${t} MATCHES" \ "NOT \''${ARCH} STREQUAL \"clspv\" AND NOT \''${ARCH} STREQUAL \"clspv64\" AND NOT \''${t} MATCHES" ''; diff --git a/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix b/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix index 265d994a27f8..8b71b3fb2977 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-3/mlir.nix @@ -45,7 +45,7 @@ callPackage ../base.nix rec { extraPostPatch = '' # `add_library cannot create target "llvm_gtest" because an imported target with the same name already exists` substituteInPlace CMakeLists.txt \ - --replace "EXISTS \''${UNITTEST_DIR}/googletest/include/gtest/gtest.h" "FALSE" + --replace-fail "EXISTS \''${UNITTEST_DIR}/googletest/include/gtest/gtest.h" "FALSE" # Mainly `No such file or directory` cat ${./1001-mlir-failing-tests.list} | xargs -d \\n rm diff --git a/pkgs/development/rocm-modules/6/llvm/stage-3/polly.nix b/pkgs/development/rocm-modules/6/llvm/stage-3/polly.nix index e001f33dfd43..da5c2e16f5d3 100644 --- a/pkgs/development/rocm-modules/6/llvm/stage-3/polly.nix +++ b/pkgs/development/rocm-modules/6/llvm/stage-3/polly.nix @@ -11,7 +11,7 @@ callPackage ../base.nix rec { extraPostPatch = '' # `add_library cannot create target "llvm_gtest" because an imported target with the same name already exists` substituteInPlace CMakeLists.txt \ - --replace "NOT TARGET gtest" "FALSE" + --replace-fail "NOT TARGET gtest" "FALSE" ''; checkTargets = [ "check-${targetName}" ]; From 79b79606db2c009a48ba180d0355de204f49e5f0 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 7 Apr 2024 11:35:17 -0400 Subject: [PATCH 0184/1387] python312Packages.sagemaker: fix build by adding patch removing dependency on distutils --- .../python-modules/sagemaker/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/sagemaker/default.nix b/pkgs/development/python-modules/sagemaker/default.nix index 4e3b7062d286..42ac9f286844 100644 --- a/pkgs/development/python-modules/sagemaker/default.nix +++ b/pkgs/development/python-modules/sagemaker/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, fetchpatch , pythonRelaxDepsHook , attrs , boto3 @@ -38,6 +39,19 @@ buildPythonPackage rec { hash = "sha256-RE4uyIpFiZNDyS5R6+gMLlj0vcAIiHPattFPTSMGnCI="; }; + patches = [ + # Distutils removal, fix build with python 3.12 + # https://github.com/aws/sagemaker-python-sdk/pull/4544 + (fetchpatch { + url = "https://github.com/aws/sagemaker-python-sdk/commit/84447ba59e544c810aeb842fd058e20d89e3fc74.patch"; + hash = "sha256-B8Q18ViB7xYy1F5LoL1NvXj2lnFPgt+C9wssSODyAXM="; + }) + (fetchpatch { + url = "https://github.com/aws/sagemaker-python-sdk/commit/e9e08a30cb42d4b2d7299c1c4b42d680a8c78110.patch"; + hash = "sha256-uGPtXSXfeaIvt9kkZZKQDuiZfoRgw3teffuxai1kKlY="; + }) + ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; From f3f3c19e46674b10f9523d0055c35dfe57bbfd6a Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 7 Apr 2024 11:43:21 -0400 Subject: [PATCH 0185/1387] python312Packages.sagemaker: modernize --- .../python-modules/sagemaker/default.nix | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/sagemaker/default.nix b/pkgs/development/python-modules/sagemaker/default.nix index 42ac9f286844..a8b0d3f07cba 100644 --- a/pkgs/development/python-modules/sagemaker/default.nix +++ b/pkgs/development/python-modules/sagemaker/default.nix @@ -4,6 +4,7 @@ , fetchFromGitHub , fetchpatch , pythonRelaxDepsHook +, setuptools , attrs , boto3 , cloudpickle @@ -21,14 +22,18 @@ , platformdirs , tblib , urllib3 +, requests , docker +, tqdm +, psutil , scipy +, accelerate }: buildPythonPackage rec { pname = "sagemaker"; version = "2.214.3"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -52,16 +57,17 @@ buildPythonPackage rec { }) ]; - nativeBuildInputs = [ + build-system = [ + setuptools pythonRelaxDepsHook ]; pythonRelaxDeps = [ - "attrs" - "boto3" + "cloudpickle" + "importlib-metadata" ]; - propagatedBuildInputs = [ + dependencies = [ attrs boto3 cloudpickle @@ -78,6 +84,11 @@ buildPythonPackage rec { jsonschema platformdirs tblib + urllib3 + requests + docker + tqdm + psutil ]; doCheck = false; # many test dependencies are not available in nixpkgs @@ -90,6 +101,7 @@ buildPythonPackage rec { passthru.optional-dependencies = { local = [ urllib3 docker pyyaml ]; scipy = [ scipy ]; + huggingface = [ accelerate ]; # feature-processor = [ pyspark sagemaker-feature-store-pyspark ]; # not available in nixpkgs }; From fc2679ecffc135e739aa4e0186d1355f7bf417f8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 16:07:44 +0000 Subject: [PATCH 0186/1387] cloudsmith-cli: 1.1.1 -> 1.2.2 --- pkgs/development/tools/cloudsmith-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/cloudsmith-cli/default.nix b/pkgs/development/tools/cloudsmith-cli/default.nix index 58c01f7078a3..afc4c1a530ca 100644 --- a/pkgs/development/tools/cloudsmith-cli/default.nix +++ b/pkgs/development/tools/cloudsmith-cli/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "cloudsmith-cli"; - version = "1.1.1"; + version = "1.2.2"; format = "wheel"; src = fetchPypi { pname = "cloudsmith_cli"; inherit format version; - hash = "sha256-evwXXGmGa6V2LhgkmX04E5VvdPxeZzvl4F28auXcSng="; + hash = "sha256-gXbjmnMBx5FuJfWD+jW1KOpNEYit6oqhympN8qwqYlU="; }; propagatedBuildInputs = with python3.pkgs; [ From 3829c3a390b61a12968e685e9b74d46830a80821 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 16:49:45 +0000 Subject: [PATCH 0187/1387] python311Packages.qdldl: 0.1.7.post0 -> 0.1.7.post1 --- pkgs/development/python-modules/qdldl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qdldl/default.nix b/pkgs/development/python-modules/qdldl/default.nix index 1a988afce428..a5af403d4d7a 100644 --- a/pkgs/development/python-modules/qdldl/default.nix +++ b/pkgs/development/python-modules/qdldl/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "qdldl"; - version = "0.1.7.post0"; + version = "0.1.7.post1"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-80ahFMg0LubU29ZHHu8xQZn7Jo0797lYhco1H94rAj8="; + hash = "sha256-eY2IwW4CU2rmXHHwa2Tj+/MbdNfke8EP+YFnaGMrOmQ="; }; dontUseCmakeConfigure = true; From 83c5b107971a08c907d5c79f5479cbeb8b3b209f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 24 Mar 2024 02:05:53 +0000 Subject: [PATCH 0188/1387] python311Packages.jaraco-abode: 5.1.0 -> 5.1.1 --- .../python-modules/jaraco-abode/default.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/jaraco-abode/default.nix b/pkgs/development/python-modules/jaraco-abode/default.nix index c19c5c64286f..d113028361fe 100644 --- a/pkgs/development/python-modules/jaraco-abode/default.nix +++ b/pkgs/development/python-modules/jaraco-abode/default.nix @@ -24,27 +24,18 @@ buildPythonPackage rec { pname = "jaraco-abode"; - version = "5.1.0"; - format = "pyproject"; + version = "5.1.1"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "jaraco"; repo = "jaraco.abode"; rev = "refs/tags/v${version}"; - hash = "sha256-guLgmhjFgYLRZsQ0j92NXkktZ80bwVvMUJLZeg3dgxE="; + hash = "sha256-TUxljF1k/fvQoNcHx6jMRJrYgzxjXefvMl+mBD0DL8o="; }; - postPatch = '' - # https://github.com/jaraco/jaraco.abode/issues/19 - echo "graft jaraco" > MANIFEST.in - - # https://github.com/jaraco/jaraco.abode/commit/9e3e789efc96cddcaa15f920686bbeb79a7469e0 - substituteInPlace jaraco/abode/helpers/timeline.py \ - --replace "call_aside" "invoke" - ''; - nativeBuildInputs = [ setuptools setuptools-scm From f318c22bbe648729d0a9adf26bd9d387f1fb42b2 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Sun, 7 Apr 2024 14:46:28 -0500 Subject: [PATCH 0189/1387] pdfmm: fix build on (at least) macOS The package isn't marked linux-only, but pulling locale from glibc effectively limited it to linux. Using the generalized locale attr gets it building on macOS. Also: - While looking into this, I noticed that the script only uses xmessage if zenity isn't present, so I think we can drop that dependency. - Not super familiar with what the package should run on, but I went ahead and set the platform meta based on what I've personally verified. --- pkgs/applications/office/pdfmm/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/office/pdfmm/default.nix b/pkgs/applications/office/pdfmm/default.nix index 08dd9eea9bbd..5be76fa51685 100644 --- a/pkgs/applications/office/pdfmm/default.nix +++ b/pkgs/applications/office/pdfmm/default.nix @@ -2,12 +2,11 @@ , coreutils , fetchFromGitHub , ghostscript -, glibc +, locale , gnome , gnused , lib , resholve -, xorg }: resholve.mkDerivation rec { @@ -35,15 +34,16 @@ resholve.mkDerivation rec { inputs = [ coreutils ghostscript - glibc + locale gnome.zenity gnused - xorg.xmessage ]; + fake = { + # only need xmessage if zenity is unavailable + external = [ "xmessage" ]; + }; execer = [ - "cannot:${glibc.bin}/bin/locale" "cannot:${gnome.zenity}/bin/zenity" - "cannot:${xorg.xmessage}/bin/xmessage" ]; keep."$toutLu" = true; }; @@ -54,5 +54,6 @@ resholve.mkDerivation rec { license = licenses.gpl3Only; maintainers = with maintainers; [ urandom ]; mainProgram = "pdfmm"; + platforms = platforms.linux ++ platforms.darwin; }; } From 2cf2146e6493a6e0756d27eb0736a532a0d4f85c Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Sun, 7 Apr 2024 22:28:00 +0200 Subject: [PATCH 0190/1387] supermodel: init at 0-unstable-2024-04-05 --- pkgs/by-name/su/supermodel/package.nix | 64 ++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 pkgs/by-name/su/supermodel/package.nix diff --git a/pkgs/by-name/su/supermodel/package.nix b/pkgs/by-name/su/supermodel/package.nix new file mode 100644 index 000000000000..27b9f633a661 --- /dev/null +++ b/pkgs/by-name/su/supermodel/package.nix @@ -0,0 +1,64 @@ +{ fetchFromGitHub +, lib +, libGLU +, SDL2 +, SDL2_net +, stdenv +, zlib +}: + +stdenv.mkDerivation rec { + pname = "supermodel"; + version = "0-unstable-2024-04-05"; + + src = fetchFromGitHub { + owner = "trzy"; + repo = "supermodel"; + rev = "250f84e78eba381adf8cd731ce20b1b9be43c8c8"; + hash = "sha256-3sDtNMW5R5Eq9GXJzKs0mQdiLUIWl6+4+rzKg8xpqEY="; + }; + + buildInputs = [ + libGLU + SDL2 + SDL2_net + zlib + ]; + + env.NIX_CFLAGS_COMPILE = "-Wno-error=format-security"; + + makefile = "Makefiles/Makefile.UNIX"; + + makeFlags = [ "NET_BOARD=1" ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + mkdir -p $out/share/supermodel + cp bin/* $out/bin + cp -r Config Assets $out/share/supermodel + + runHook postInstall + ''; + + meta = { + description = "A Sega Model 3 Arcade Emulator"; + homepage = "https://github.com/trzy/supermodel"; + license = lib.licenses.gpl3; + longDescription = '' + Supermodel requires specific files to be present in the $HOME directory of + the user running the emulator. To ensure these files are present, move the + configuration and assets as follows: + + cp $out/share/supermodel/Config/Supermodel.ini ~/.config/supermodel/Config/Supermodel.ini + cp -r $out/share/supermodel/Assets/* ~/.local/share/supermodel/Assets/ + + Then the emulator can be started with: + supermodel -game-xml-file=$out/share/supermodel/Config/Games.xml /path/to/romset. + ''; + mainProgram = "supermodel"; + maintainers = with lib.maintainers; [ msanft ]; + platforms = lib.platforms.linux; + }; +} From b60a810408b7271e8d676b62a35127f91a70b522 Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Sun, 7 Apr 2024 23:52:53 +0200 Subject: [PATCH 0191/1387] signal-cli: 0.12.8 -> 0.13.2 Fixes #293753 --- .../instant-messengers/signal-cli/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix index 2f62a08f4625..792b51ef4715 100644 --- a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix @@ -1,13 +1,13 @@ -{ stdenv, lib, fetchurl, makeWrapper, openjdk17_headless, libmatthew_java, dbus, dbus_java }: +{ stdenv, lib, fetchurl, makeWrapper, openjdk21_headless, libmatthew_java, dbus, dbus_java }: stdenv.mkDerivation rec { pname = "signal-cli"; - version = "0.12.8"; + version = "0.13.2"; # Building from source would be preferred, but is much more involved. src = fetchurl { url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz"; - hash = "sha256-jBz1D1Uz3z+QYj+zAOrbSIkZZeKWSwU3/pHI+sDjJHw="; + hash = "sha256-5+pIkRdcFWTNmsSN2tHSy6XMQfUpGSddGsdw5guWzjA="; }; buildInputs = lib.optionals stdenv.isLinux [ libmatthew_java dbus dbus_java ]; @@ -18,15 +18,15 @@ stdenv.mkDerivation rec { cp -r lib $out/lib cp bin/signal-cli $out/bin/signal-cli '' + (if stdenv.isLinux then '' - makeWrapper ${openjdk17_headless}/bin/java $out/bin/signal-cli \ - --set JAVA_HOME "${openjdk17_headless}" \ + makeWrapper ${openjdk21_headless}/bin/java $out/bin/signal-cli \ + --set JAVA_HOME "${openjdk21_headless}" \ --add-flags "-classpath '$out/lib/*:${libmatthew_java}/lib/jni'" \ --add-flags "-Djava.library.path=${libmatthew_java}/lib/jni:${dbus_java}/share/java/dbus:$out/lib" \ --add-flags "org.asamk.signal.Main" '' else '' wrapProgram $out/bin/signal-cli \ - --prefix PATH : ${lib.makeBinPath [ openjdk17_headless ]} \ - --set JAVA_HOME ${openjdk17_headless} + --prefix PATH : ${lib.makeBinPath [ openjdk21_headless ]} \ + --set JAVA_HOME ${openjdk21_headless} ''); # Execution in the macOS (10.13) sandbox fails with From e16a1eb28dbe2801a78992a04d6672166c0d661c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 7 Apr 2024 22:44:21 +0000 Subject: [PATCH 0192/1387] uxn: unstable-2024-03-30 -> unstable-2024-04-05 --- pkgs/by-name/ux/uxn/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ux/uxn/package.nix b/pkgs/by-name/ux/uxn/package.nix index 36986fd17272..b006de83b397 100644 --- a/pkgs/by-name/ux/uxn/package.nix +++ b/pkgs/by-name/ux/uxn/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "uxn"; - version = "unstable-2024-03-30"; + version = "unstable-2024-04-05"; src = fetchFromSourcehut { owner = "~rabbits"; repo = "uxn"; - rev = "fc6ec0b387723940868133fade8854ad37648881"; - hash = "sha256-Ver8oI3IzxwF6KeZ85d3mmiCwARVoH+RZoFNCxhGFDc="; + rev = "41567558bc1ec4721fee1cc316c3a3cdc627b102"; + hash = "sha256-Qvq9/kNZAKRHH3NIxiX5+67ibeX5QzK97EhuoplTBDQ="; }; outputs = [ "out" "projects" ]; From 61b2b7bd3b8feca71461f88f5e2f61ada64ca7d0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 00:39:53 +0000 Subject: [PATCH 0193/1387] cpm-cmake: 0.38.7 -> 0.38.8 --- pkgs/development/tools/cpm-cmake/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/cpm-cmake/default.nix b/pkgs/development/tools/cpm-cmake/default.nix index d0e4247795d2..9cddbc70c4a9 100644 --- a/pkgs/development/tools/cpm-cmake/default.nix +++ b/pkgs/development/tools/cpm-cmake/default.nix @@ -5,13 +5,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "cpm-cmake"; - version = "0.38.7"; + version = "0.38.8"; src = fetchFromGitHub { owner = "cpm-cmake"; repo = "cpm.cmake"; rev = "v${finalAttrs.version}"; - hash = "sha256-tvqoGLGBvsPtIbPWG/5DH4IMzQTci3sjmF9dpInncWc="; + hash = "sha256-S1I7XKvpniocI2UAzO8yslju3fYy06MPC2Kl7N7bh8I="; }; dontConfigure = true; From 55bc6865350811ad48532d8ea909f05eaf4f1e08 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 01:29:01 +0000 Subject: [PATCH 0194/1387] konstraint: 0.35.0 -> 0.36.0 --- pkgs/development/tools/konstraint/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/konstraint/default.nix b/pkgs/development/tools/konstraint/default.nix index f015e08453d6..259b4063a140 100644 --- a/pkgs/development/tools/konstraint/default.nix +++ b/pkgs/development/tools/konstraint/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "konstraint"; - version = "0.35.0"; + version = "0.36.0"; src = fetchFromGitHub { owner = "plexsystems"; repo = pname; rev = "v${version}"; - sha256 = "sha256-6MYpZm5Uc5l06wRo6/15bmyVkdqjFuxHV3B3TriauQg="; + sha256 = "sha256-GQ79xsvlRDwrthtYgykwAJLP9rkk5iNHGelWAQzOZoA="; }; - vendorHash = "sha256-NyNQivJM9bFP/EBfjso+13sWMnubG/fjYafCGUnsvdU="; + vendorHash = "sha256-EBlJCcF8UcstaD1ztaAFL4MSfBOYvpeUygzXnQbW8N8="; # Exclude go within .github folder excludedPackages = ".github"; From 68fcd27c6971ed79d42f8ee21649c39fa0698fd7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 01:51:35 +0000 Subject: [PATCH 0195/1387] pyenv: 2.3.36 -> 2.4.0 --- pkgs/development/tools/pyenv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pyenv/default.nix b/pkgs/development/tools/pyenv/default.nix index d7977618c2d0..f55d7bb8fcd0 100644 --- a/pkgs/development/tools/pyenv/default.nix +++ b/pkgs/development/tools/pyenv/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "pyenv"; - version = "2.3.36"; + version = "2.4.0"; src = fetchFromGitHub { owner = "pyenv"; repo = "pyenv"; rev = "refs/tags/v${version}"; - hash = "sha256-ZZb7fB9VWwpmW6Qrw65/zLUBqz7E4/Bg3A7DnTt+IbE="; + hash = "sha256-urF0glUR6W2jtT3Ek3OpbpmImiQrwHGbS1/pGuTcgyA="; }; nativeBuildInputs = [ From d9f56c353ed2b755d79fb219a64d2d84e03b609f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 02:44:15 +0000 Subject: [PATCH 0196/1387] stgit: 2.4.5 -> 2.4.6 --- pkgs/applications/version-management/stgit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/stgit/default.nix b/pkgs/applications/version-management/stgit/default.nix index 06de22c65b19..94583ba93bc8 100644 --- a/pkgs/applications/version-management/stgit/default.nix +++ b/pkgs/applications/version-management/stgit/default.nix @@ -18,15 +18,15 @@ rustPlatform.buildRustPackage rec { pname = "stgit"; - version = "2.4.5"; + version = "2.4.6"; src = fetchFromGitHub { owner = "stacked-git"; repo = "stgit"; rev = "v${version}"; - hash = "sha256-zESuJJ68CCTGSDwGBeguAV78KETp+FUKnNNJx+4zorw="; + hash = "sha256-ZQU9AkemAMpMb2GhdfHaF6r6r6MbMXnmA0pq6Zq9Sek="; }; - cargoHash = "sha256-ITR6RREx55q3hxYrHj+fOv0C8fAzphR4q/A5tTd9CDg="; + cargoHash = "sha256-DHTo0jRZlLmw/B042uqzpMLUhBwm+sbFj9pze5l1Kpk="; nativeBuildInputs = [ pkg-config installShellFiles makeWrapper asciidoc xmlto docbook_xsl From a0b3ee3a3e84f892aa4b978eec50e42fb6b0467c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 04:41:13 +0000 Subject: [PATCH 0197/1387] python312Packages.pytest-cases: 3.8.4 -> 3.8.5 --- pkgs/development/python-modules/pytest-cases/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-cases/default.nix b/pkgs/development/python-modules/pytest-cases/default.nix index 410f0da478ce..9c89a38c1059 100644 --- a/pkgs/development/python-modules/pytest-cases/default.nix +++ b/pkgs/development/python-modules/pytest-cases/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pytest-cases"; - version = "3.8.4"; + version = "3.8.5"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-tM7DNRVvRPO8+oXnnys0tfpS5jMqhULd8+hPoT+qzXY="; + hash = "sha256-ySBUGHhHp9MNirZwn7FnCoMOThkjS+cAyFyWttcQLBY="; }; nativeBuildInputs = [ From d5749032b489c05423ec39a664f4a0581cb48a07 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 05:26:41 +0000 Subject: [PATCH 0198/1387] crawley: 1.7.4 -> 1.7.5 --- pkgs/by-name/cr/crawley/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/cr/crawley/package.nix b/pkgs/by-name/cr/crawley/package.nix index 8efc31fc9f04..94db41c1e946 100644 --- a/pkgs/by-name/cr/crawley/package.nix +++ b/pkgs/by-name/cr/crawley/package.nix @@ -6,18 +6,18 @@ buildGoModule rec { pname = "crawley"; - version = "1.7.4"; + version = "1.7.5"; src = fetchFromGitHub { owner = "s0rg"; repo = "crawley"; rev = "v${version}"; - hash = "sha256-WV9r+Oz6wMZtSl7YbeuHRaVLCtLGlJXHk/WVLIA85Mc="; + hash = "sha256-Ai+Y4WoU0REmo9ECsrV/i0PnPY+gO2+22np+nVH3Xsc="; }; nativeBuildInputs = [ installShellFiles ]; - vendorHash = "sha256-2XF/oqqArvppuppA8kdr3WnUAvaJs39ohHzHBR+Xz/4="; + vendorHash = "sha256-bI7PdUl+/kBx4F9T+tvF7QHNQ2pSvRjT31O/nIUvUAE="; ldflags = [ "-w" "-s" ]; From a314f1ecf076bdf3996fe21a5e73906601552f6d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 05:41:22 +0000 Subject: [PATCH 0199/1387] cloudfoundry-cli: 8.7.9 -> 8.7.10 --- .../networking/cluster/cloudfoundry-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix b/pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix index bd640845331f..d510549f767b 100644 --- a/pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix +++ b/pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "cloudfoundry-cli"; - version = "8.7.9"; + version = "8.7.10"; src = fetchFromGitHub { owner = "cloudfoundry"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-uFYeiw2hdX25mUBdudNCC4ZuFEoWyfghWmQR8IsQy+w="; + sha256 = "sha256-hzXNaaL6CLVRIy88lCJ87q0V6A+ld1GPDcUagsvMXY0="; }; - vendorHash = "sha256-lvSo8kl2du6Sv7zY3uheXaO6Qg+nblW0jpp2q8+1vyk="; + vendorHash = "sha256-zDE+9OsnX3S7SPTVW3hR1rO++6Wdk00zy2msu+jUNlw="; subPackages = [ "." ]; From 69f108271fa8ec7a268aa76fe9743ad8ef61dcdc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 06:23:46 +0000 Subject: [PATCH 0200/1387] gigalixir: 1.11.1 -> 1.12.0 --- pkgs/tools/misc/gigalixir/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/gigalixir/default.nix b/pkgs/tools/misc/gigalixir/default.nix index 5639116078a8..399bfd6026c3 100644 --- a/pkgs/tools/misc/gigalixir/default.nix +++ b/pkgs/tools/misc/gigalixir/default.nix @@ -7,12 +7,12 @@ python3.pkgs.buildPythonApplication rec { pname = "gigalixir"; - version = "1.11.1"; + version = "1.12.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-fWS13qyYwJUz42nDxWJCzYmZI2jLsD7gwxyIdKhpDbM="; + hash = "sha256-/ugvNObkr966jnnKNTJK3nzIWZmVc0ZtAkv0leiCdgw="; }; postPatch = '' From c26135d648d42fc7ca7d11791a0ba702831ffd42 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 06:27:40 +0000 Subject: [PATCH 0201/1387] shell_gpt: 1.4.0 -> 1.4.3 --- pkgs/tools/llm/shell_gpt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/llm/shell_gpt/default.nix b/pkgs/tools/llm/shell_gpt/default.nix index 99ef7b3bf899..4db72ae50586 100644 --- a/pkgs/tools/llm/shell_gpt/default.nix +++ b/pkgs/tools/llm/shell_gpt/default.nix @@ -6,12 +6,12 @@ python3.pkgs.buildPythonApplication rec { pname = "shell_gpt"; - version = "1.4.0"; + version = "1.4.3"; pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "sha256-r/xQRqnLJhGZORjYUaYWKjqY4fQCW4WKkE+n8k0VMbA="; + sha256 = "sha256-zSgWSC60ypOQ1IENcxObBezAfHosQWBD9ft06yh5iV4="; }; nativeBuildInputs = with python3.pkgs; [ From 4de36aba89a8403c0b2bc3eba149dc8aba24cb02 Mon Sep 17 00:00:00 2001 From: Bruno Bzeznik Date: Mon, 18 Mar 2024 15:48:37 +0100 Subject: [PATCH 0202/1387] irods: 4.3.0 -> 4.3.1 + fix pam auth --- pkgs/tools/filesystems/irods/common.nix | 1 + pkgs/tools/filesystems/irods/default.nix | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/filesystems/irods/common.nix b/pkgs/tools/filesystems/irods/common.nix index 27825fdcbeac..33edc0e4a05b 100644 --- a/pkgs/tools/filesystems/irods/common.nix +++ b/pkgs/tools/filesystems/irods/common.nix @@ -26,6 +26,7 @@ "-DIRODS_LINUX_DISTRIBUTION_VERSION_MAJOR=1.0" "-DCPACK_GENERATOR=TGZ" "-DCMAKE_CXX_FLAGS=-I${lib.getDev libcxx}/include/c++/v1" + "-DPAM_LIBRARY=${pam}/lib/libpam.so" ]; postPatch = '' diff --git a/pkgs/tools/filesystems/irods/default.nix b/pkgs/tools/filesystems/irods/default.nix index 0b25f45c910d..ccae722059e9 100644 --- a/pkgs/tools/filesystems/irods/default.nix +++ b/pkgs/tools/filesystems/irods/default.nix @@ -19,14 +19,14 @@ rec { # irods: libs and server package irods = stdenv.mkDerivation (finalAttrs: common // { - version = "4.3.0"; + version = "4.3.1"; pname = "irods"; src = fetchFromGitHub { owner = "irods"; repo = "irods"; rev = finalAttrs.version; - sha256 = "sha256-rceDGFpfoFIByzDOtgNIo9JRoVd0syM21MjEKoZUQaE="; + sha256 = "sha256-gWgNY8+zD2lRCV5ydOTF0qAgZ1dlQSQKxtdw+U235vg="; fetchSubmodules = true; }; @@ -35,10 +35,10 @@ rec { postPatch = common.postPatch + '' patchShebangs ./test - substituteInPlace plugins/database/CMakeLists.txt --replace "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp" + substituteInPlace plugins/database/CMakeLists.txt --replace-fail "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp" for file in unit_tests/cmake/test_config/*.cmake do - substituteInPlace $file --replace "CATCH2}/include" "CATCH2}/include/catch2" + substituteInPlace $file --replace-quiet "CATCH2}/include" "CATCH2}/include/catch2" done export cmakeFlags="$cmakeFlags -DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,$out/lib @@ -46,7 +46,7 @@ rec { -DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath,$out/lib " - substituteInPlace server/auth/CMakeLists.txt --replace SETUID "" + substituteInPlace server/auth/CMakeLists.txt --replace-fail SETUID "" ''; meta = common.meta // { @@ -57,14 +57,14 @@ rec { # icommands (CLI) package, depends on the irods package irods-icommands = stdenv.mkDerivation (finalAttrs: common // { - version = "4.3.0"; + version = "4.3.1"; pname = "irods-icommands"; src = fetchFromGitHub { owner = "irods"; repo = "irods_client_icommands"; rev = finalAttrs.version; - sha256 = "sha256-90q1GPkoEUoiQXM6cA+DWwth7g8v93V471r9jm+l9aw="; + sha256 = "sha256-BjBg13KrCGRLOtGnp23qXOLudLctvu2gJ7wxHFjM5Ug="; }; buildInputs = common.buildInputs ++ [ irods ]; From 2ad0f8ca0f32b4f8e32eb37d6f444fce6d5c54f7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 08:33:11 +0000 Subject: [PATCH 0203/1387] eigenlayer: 0.6.3 -> 0.7.0 --- pkgs/by-name/ei/eigenlayer/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ei/eigenlayer/package.nix b/pkgs/by-name/ei/eigenlayer/package.nix index 2438d4896912..f3d9d8cfee8a 100644 --- a/pkgs/by-name/ei/eigenlayer/package.nix +++ b/pkgs/by-name/ei/eigenlayer/package.nix @@ -6,16 +6,16 @@ }: buildGoModule rec { pname = "eigenlayer"; - version = "0.6.3"; + version = "0.7.0"; src = fetchFromGitHub { owner = "Layr-Labs"; repo = "eigenlayer-cli"; rev = "v${version}"; - hash = "sha256-v2d6+jxEYXgJjZOFRc+teQWq161v4FLO+KjYq96XwTs="; + hash = "sha256-4KN5AletaQ/Xpr/mCLgB/ceVbqMzWoi7bKoWRDePnuc="; }; - vendorHash = "sha256-pJYs9jD3EmmXlkPO6gkuB2FYsgX9Yn6S6QYb2dQ1fY4="; + vendorHash = "sha256-6RF32eWU7HS9C3T7hDVHjWxX/3Ch/ixOGHml30Q9PaU="; ldflags = ["-s" "-w"]; subPackages = ["cmd/eigenlayer"]; From 73d91b52e1546e3eb757726bdc1ae16b2934d07f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 08:41:25 +0000 Subject: [PATCH 0204/1387] supabase-cli: 1.153.3 -> 1.155.1 --- pkgs/development/tools/supabase-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/supabase-cli/default.nix b/pkgs/development/tools/supabase-cli/default.nix index 58da73a0318c..d4bad90a25c2 100644 --- a/pkgs/development/tools/supabase-cli/default.nix +++ b/pkgs/development/tools/supabase-cli/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "supabase-cli"; - version = "1.153.3"; + version = "1.155.1"; src = fetchFromGitHub { owner = "supabase"; repo = "cli"; rev = "v${version}"; - hash = "sha256-fUSq8vbKLcWkh3y3jD6wXYjxLVorbGnw9dYLazzlJTE="; + hash = "sha256-2KoE7r2Uw5OegRChjDWAOzuml+rcHwah+GnlX1WPSGo="; }; - vendorHash = "sha256-9GlbpbWBYGNYnWqKXqjf6mYpgMOOYXRvCKwd7VpCsyM="; + vendorHash = "sha256-yo564Yqo28++nxJDv4/0ZBAxn1gRvxHv6TgBKm8iSTA="; ldflags = [ "-s" From 4400b26870334dae814be7d6e886ba45bde7dc5c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 09:41:01 +0000 Subject: [PATCH 0205/1387] mopidy-jellyfin: 1.0.4 -> 1.0.5 --- pkgs/applications/audio/mopidy/jellyfin.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/mopidy/jellyfin.nix b/pkgs/applications/audio/mopidy/jellyfin.nix index d7d808cf685d..932983aa4dda 100644 --- a/pkgs/applications/audio/mopidy/jellyfin.nix +++ b/pkgs/applications/audio/mopidy/jellyfin.nix @@ -2,12 +2,12 @@ python3Packages.buildPythonApplication rec { pname = "mopidy-jellyfin"; - version = "1.0.4"; + version = "1.0.5"; src = fetchPypi { inherit version; pname = "Mopidy-Jellyfin"; - sha256 = "ny0u6HdOlZCsmIzZuQ1rql+bvHU3xkh8IdwhJVHNH9c="; + sha256 = "sha256-cZliraTxTAJ2dXaxttWI3x4wCkmEhEo33GTNtAYwgTc="; }; propagatedBuildInputs = [ mopidy python3Packages.unidecode python3Packages.websocket-client ]; From 0c8919db2429e54395adca5030a40964f8f451d2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 09:44:39 +0000 Subject: [PATCH 0206/1387] python311Packages.javaobj-py3: 0.4.3 -> 0.4.4 --- pkgs/development/python-modules/javaobj-py3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/javaobj-py3/default.nix b/pkgs/development/python-modules/javaobj-py3/default.nix index 1d8566a6f326..2c303784a87a 100644 --- a/pkgs/development/python-modules/javaobj-py3/default.nix +++ b/pkgs/development/python-modules/javaobj-py3/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "javaobj-py3"; - version = "0.4.3"; + version = "0.4.4"; format = "setuptools"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "38f74db3a57e9998a9774e3614afb95cb396f139f29b3fdb130c5af554435259"; + sha256 = "sha256-5OMlfvLPgaMzl4ek1c+STlTJHwlacj9tJYTa5h1Dlu0="; }; propagatedBuildInputs = [ numpy ]; From 5e7b94d64bfa8ac51a245511449836f252c58278 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Sat, 6 Apr 2024 20:01:33 +0200 Subject: [PATCH 0207/1387] python3Packages.rasterio: don't propagate setuptools --- pkgs/development/python-modules/rasterio/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix index 4f8113eeb18f..65274b6849af 100644 --- a/pkgs/development/python-modules/rasterio/default.nix +++ b/pkgs/development/python-modules/rasterio/default.nix @@ -54,6 +54,12 @@ buildPythonPackage rec { }) ]; + postPatch = '' + # remove useless import statement requiring distutils to be present at the runtime + substituteInPlace rasterio/rio/calc.py \ + --replace-fail "from distutils.version import LooseVersion" "" + ''; + nativeBuildInputs = [ cython_3 gdal @@ -71,7 +77,6 @@ buildPythonPackage rec { click-plugins cligj numpy - setuptools snuggs ]; @@ -96,6 +101,11 @@ buildPythonPackage rec { shapely ]; + # rio has runtime dependency on setuptools + setuptoolsPythonPath = [ setuptools ]; + postInstall = '' + wrapPythonProgramsIn "$out/bin" "$out $setuptoolsPythonPath" + ''; doCheck = true; preCheck = '' From ff7266a2b93acb4c8fec3378e42b523140d93e06 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 11:46:07 +0000 Subject: [PATCH 0208/1387] prometheus-smokeping-prober: 0.8.0 -> 0.8.1 --- pkgs/servers/monitoring/prometheus/smokeping-prober.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/smokeping-prober.nix b/pkgs/servers/monitoring/prometheus/smokeping-prober.nix index 9500323a9c0a..5b1bf36f68e7 100644 --- a/pkgs/servers/monitoring/prometheus/smokeping-prober.nix +++ b/pkgs/servers/monitoring/prometheus/smokeping-prober.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "smokeping_prober"; - version = "0.8.0"; + version = "0.8.1"; ldflags = let setVars = rec { @@ -20,7 +20,7 @@ buildGoModule rec { owner = "SuperQ"; repo = "smokeping_prober"; rev = "v${version}"; - sha256 = "sha256-f7hYgVksJOqlFwfdZZClRBVRzj3Mk+5D1Y8+xYOSI/I="; + sha256 = "sha256-CqUkJLyxCuBDbfPLSXuGNlyg5POh6jYyXUxQ9tF+w3s="; }; vendorHash = "sha256-iKAT10pD2ctVIBdDw/AmHYtoZDW9XC8ruIxqlVoAuWY="; From 3cd5ed249e2a51078f9cd9422d2009ee6b75bcc2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 12:44:45 +0000 Subject: [PATCH 0209/1387] crc: 2.33.0 -> 2.34.1 --- pkgs/by-name/cr/crc/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/cr/crc/package.nix b/pkgs/by-name/cr/crc/package.nix index 48364a9d73ba..ef9d7a173b26 100644 --- a/pkgs/by-name/cr/crc/package.nix +++ b/pkgs/by-name/cr/crc/package.nix @@ -7,16 +7,16 @@ }: let - openShiftVersion = "4.14.12"; - okdVersion = "4.14.0-0.okd-scos-2024-01-10-151818"; - microshiftVersion = "4.14.12"; + openShiftVersion = "4.15.3"; + okdVersion = "4.15.0-0.okd-2024-02-23-163410"; + microshiftVersion = "4.15.3"; podmanVersion = "4.4.4"; writeKey = "$(MODULEPATH)/pkg/crc/segment.WriteKey=cvpHsNcmGCJqVzf6YxrSnVlwFSAZaYtp"; - gitCommit = "c43b172866bc039a2a23d6c88aeb398635dc16ef"; - gitHash = "sha256-DVsXxgywPrrdxfmXh3JR8YpFkv1/Y2LvDZ9/2nVbclc="; + gitCommit = "b470b5f68269c93abee8d7139cbd3e3fe3419f93"; + gitHash = "sha256-80B6eGPnAAeUdKzk9/8VDHjv9tUh85rZSki9PSzqVvg="; in buildGoModule rec { - version = "2.33.0"; + version = "2.34.1"; pname = "crc"; src = fetchFromGitHub { From bcc8eabb74f015b547a2d82140686a753516c3b3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 13:45:13 +0000 Subject: [PATCH 0210/1387] python311Packages.kubernetes: 28.1.0 -> 29.0.0 --- pkgs/development/python-modules/kubernetes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/kubernetes/default.nix b/pkgs/development/python-modules/kubernetes/default.nix index 7818871db1b7..f5bf179d48db 100644 --- a/pkgs/development/python-modules/kubernetes/default.nix +++ b/pkgs/development/python-modules/kubernetes/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "kubernetes"; - version = "28.1.0"; + version = "29.0.0"; pyproject = true; disabled = pythonOlder "3.6"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "kubernetes-client"; repo = "python"; rev = "refs/tags/v${version}"; - hash = "sha256-NKrxv5a5gkgpNG7yViTKYBYnU249taWl6fkPJa7/Rzo="; + hash = "sha256-KChfiXYnJTeIW6O7GaK/fMxU2quIvbjc4gB4aZBeTtI="; }; postPatch = '' From 380aba5d92ccbca11e79f88ff8ee1872ba849576 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 14:11:14 +0000 Subject: [PATCH 0211/1387] unciv: 4.10.21 -> 4.11.2 --- pkgs/by-name/un/unciv/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/un/unciv/package.nix b/pkgs/by-name/un/unciv/package.nix index 69d1bb8ec7df..5a256c31bf6a 100644 --- a/pkgs/by-name/un/unciv/package.nix +++ b/pkgs/by-name/un/unciv/package.nix @@ -27,11 +27,11 @@ let in stdenv.mkDerivation rec { pname = "unciv"; - version = "4.10.21"; + version = "4.11.2"; src = fetchurl { url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; - hash = "sha256-JnuJbmKGqtEdFiMnA5RvCfdox2WTABwxNI3Zdk6wNU8="; + hash = "sha256-ZUDfJf+FgIX8gRoZYlYAJhpLwNWp3MCKEQOSQGQ88T8="; }; dontUnpack = true; From 1f761a49ceb749debbf3349d6e62586e43ed70c7 Mon Sep 17 00:00:00 2001 From: linsui Date: Wed, 8 Nov 2023 01:42:55 +0800 Subject: [PATCH 0212/1387] i2p: cleanup and build jbigi from source --- nixos/modules/services/networking/i2p.nix | 5 +- pkgs/tools/networking/i2p/default.nix | 102 +++++++++++++++------- pkgs/tools/networking/i2p/i2p.patch | 43 --------- 3 files changed, 72 insertions(+), 78 deletions(-) delete mode 100644 pkgs/tools/networking/i2p/i2p.patch diff --git a/nixos/modules/services/networking/i2p.nix b/nixos/modules/services/networking/i2p.nix index c5c7a955cbd4..5c6c08831a43 100644 --- a/nixos/modules/services/networking/i2p.nix +++ b/nixos/modules/services/networking/i2p.nix @@ -5,7 +5,8 @@ with lib; let cfg = config.services.i2p; homeDir = "/var/lib/i2p"; -in { +in +{ ###### interface options.services.i2p.enable = mkEnableOption (lib.mdDoc "I2P router"); @@ -27,7 +28,7 @@ in { User = "i2p"; WorkingDirectory = homeDir; Restart = "on-abort"; - ExecStart = "${pkgs.i2p}/bin/i2prouter-plain"; + ExecStart = "${pkgs.i2p}/bin/i2prouter"; }; }; }; diff --git a/pkgs/tools/networking/i2p/default.nix b/pkgs/tools/networking/i2p/default.nix index 6958a12cdf3d..5ab401af7fac 100644 --- a/pkgs/tools/networking/i2p/default.nix +++ b/pkgs/tools/networking/i2p/default.nix @@ -1,60 +1,96 @@ { lib , stdenv -, ps -, coreutils -, fetchurl +, fetchzip , jdk -, jre , ant , gettext , which +, dbip-country-lite , java-service-wrapper +, makeWrapper +, gmp }: stdenv.mkDerivation (finalAttrs: { pname = "i2p"; version = "2.4.0"; - src = fetchurl { - urls = map (mirror: "${mirror}/${finalAttrs.version}/i2psource_${finalAttrs.version}.tar.bz2") [ - "https://download.i2p2.de/releases" - "https://files.i2p-projekt.de" - "https://download.i2p2.no/releases" + src = fetchzip { + urls = map (mirror: "${mirror}${finalAttrs.version}/i2psource_${finalAttrs.version}.tar.bz2") [ + "https://github.com/i2p/i2p.i2p/releases/download/i2p-" + "https://download.i2p2.de/releases/" + "https://files.i2p-projekt.de/" + "https://download.i2p2.no/releases/" ]; - sha256 = "sha256-MO+K/K0P/6/ZTTCsMH+GtaazGOLB9EoCMAWEGh/NB3w="; + hash = "sha256-RESN1qA/SD9MajUSJyXssNZnph2XZge7xr2kTgOp5V4="; }; - buildInputs = [ jdk ant gettext which ]; - patches = [ ./i2p.patch ]; + strictDeps = true; + + nativeBuildInputs = [ + makeWrapper + ant + gettext + jdk + which + ]; + + buildInputs = [ gmp ]; + + postConfigure = '' + rm -r installer/lib + mkdir -p installer/lib/wrapper/all/ + # The java-service-wrapper is needed for build but not really used in runtime + ln -s ${java-service-wrapper}/lib/wrapper.jar installer/lib/wrapper/all/wrapper.jar + # Don't use the bundled geoip data + echo "with-geoip-database=true" >> override.properties + ''; buildPhase = '' + # When this variable exists we can build the .so files only. + export DEBIANVERSION=1 + pushd core/c/jcpuid + ./build.sh + popd + pushd core/c/jbigi + ./build_jbigi.sh dynamic + popd export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" - ant preppkg-linux-only + SOURCE_DATE_EPOCH=0 ant preppkg-unix ''; installPhase = '' - set -B - mkdir -p $out/{bin,share} - cp -r pkg-temp/* $out - - cp ${java-service-wrapper}/bin/wrapper $out/i2psvc - cp ${java-service-wrapper}/lib/wrapper.jar $out/lib - cp ${java-service-wrapper}/lib/libwrapper.so $out/lib - - sed -i $out/i2prouter -i $out/runplain.sh \ - -e "s#uname#${coreutils}/bin/uname#" \ - -e "s#which#${which}/bin/which#" \ - -e "s#%gettext%#${gettext}/bin/gettext#" \ - -e "s#/usr/ucb/ps#${ps}/bin/ps#" \ - -e "s#/usr/bin/tr#${coreutils}/bin/tr#" \ - -e "s#%INSTALL_PATH#$out#" \ - -e 's#%USER_HOME#$HOME#' \ - -e "s#%SYSTEM_java_io_tmpdir#/tmp#" \ - -e "s#%JAVA%#${jre}/bin/java#" - mv $out/runplain.sh $out/bin/i2prouter-plain + mkdir -p $out/{bin,share,geoip} + mv pkg-temp/* $out + mv core/c/jbigi/*.so $out/lib mv $out/man $out/share/ - chmod +x $out/bin/* $out/i2psvc rm $out/{osid,postinstall.sh,INSTALL-headless.txt} + + for jar in $out/lib/*.jar; do + if [ ! -z $CP ]; then + CP=$CP:$jar; + else + CP=$jar + fi + done + + makeWrapper ${jdk}/bin/java $out/bin/i2prouter \ + --add-flags "-cp $CP -Djava.library.path=$out/lib/ -Di2p.dir.base=$out -DloggerFilenameOverride=logs/log-router-@.txt" \ + --add-flags "net.i2p.router.RouterLaunch" + + ln -s ${dbip-country-lite.mmdb} $out/geoip/GeoLite2-Country.mmdb + ''; + + doInstallCheck = true; + + installCheckPhase = '' + runHook preInstallCheck + + # Check if jbigi is used + java -cp $out/lib/i2p.jar -Djava.library.path=$out/lib/ net.i2p.util.NativeBigInteger \ + | tee /dev/stderr | grep -Fw "Found native library" || exit 1 + + runHook postInstallCheck ''; meta = with lib; { diff --git a/pkgs/tools/networking/i2p/i2p.patch b/pkgs/tools/networking/i2p/i2p.patch deleted file mode 100644 index 3bb4da729173..000000000000 --- a/pkgs/tools/networking/i2p/i2p.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter -index 365737d89..2ea14db3e 100644 ---- a/installer/resources/i2prouter -+++ b/installer/resources/i2prouter -@@ -49,7 +49,7 @@ APP_LONG_NAME="I2P Service" - - # gettext - we look for it in the path - # fallback to echo is below, we can't set it to echo here. --GETTEXT=$(which gettext > /dev/null 2>&1) -+GETTEXT=%gettext% - - # Where to install the systemd service - SYSTEMD_SERVICE="/etc/systemd/system/${APP_NAME}.service" -diff --git a/installer/resources/runplain.sh b/installer/resources/runplain.sh -index eb4995dfe..0186cede3 100644 ---- a/installer/resources/runplain.sh -+++ b/installer/resources/runplain.sh -@@ -25,7 +25,7 @@ CP= - - # Try using the Java binary that I2P was installed with. - # If it's not found, try looking in the system PATH. --JAVA=$(which "%JAVA_HOME"/bin/java || which java) -+JAVA=%JAVA% - - if [ -z $JAVA ] || [ ! -x $JAVA ]; then - echo "Error: Cannot find java." >&2 -@@ -44,15 +44,4 @@ if [ $(uname -s) = "Darwin" ]; then - export JAVA_TOOL_OPTIONS="-Djava.awt.headless=true" - fi - JAVAOPTS="${MAXMEMOPT} -Djava.net.preferIPv4Stack=${PREFERv4} -Djava.library.path=${I2P}:${I2P}/lib -Di2p.dir.base=${I2P} -DloggerFilenameOverride=logs/log-router-@.txt" --( -- nohup ${JAVA} -cp \"${CP}\" ${JAVAOPTS} net.i2p.router.RouterLaunch > /dev/null 2>&1 --) & --PID=$! -- --if [ ! -z $PID ] && kill -0 $PID > /dev/null 2>&1 ; then -- echo "I2P started [$PID]" >&2 -- echo $PID > "${I2PTEMP}/router.pid" --else -- echo "I2P failed to start." >&2 -- exit 1 --fi -+exec ${JAVA} -cp \"${CP}\" ${JAVAOPTS} net.i2p.router.RouterLaunch From d16233cc92371b1797e4509b97b9ef43be0790f6 Mon Sep 17 00:00:00 2001 From: linsui Date: Mon, 8 Apr 2024 22:00:42 +0800 Subject: [PATCH 0213/1387] i2p: change maintainer to linsui --- pkgs/tools/networking/i2p/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/i2p/default.nix b/pkgs/tools/networking/i2p/default.nix index 5ab401af7fac..88d3041ffd65 100644 --- a/pkgs/tools/networking/i2p/default.nix +++ b/pkgs/tools/networking/i2p/default.nix @@ -116,7 +116,7 @@ stdenv.mkDerivation (finalAttrs: { publicDomain ]; platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; - maintainers = with maintainers; [ joelmo ]; + maintainers = with maintainers; [ linsui ]; mainProgram = "i2prouter-plain"; }; }) From a09ac6605320f3cdee544cc16f748ad436355e11 Mon Sep 17 00:00:00 2001 From: linsui Date: Mon, 8 Apr 2024 22:31:23 +0800 Subject: [PATCH 0214/1387] i2p: move to by-name --- .../networking/i2p/default.nix => by-name/i2/i2p/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{tools/networking/i2p/default.nix => by-name/i2/i2p/package.nix} (100%) diff --git a/pkgs/tools/networking/i2p/default.nix b/pkgs/by-name/i2/i2p/package.nix similarity index 100% rename from pkgs/tools/networking/i2p/default.nix rename to pkgs/by-name/i2/i2p/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d27dce0cd59a..375b9688d4e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9181,8 +9181,6 @@ with pkgs; i2c-tools = callPackage ../os-specific/linux/i2c-tools { }; - i2p = callPackage ../tools/networking/i2p { }; - i2pd = callPackage ../tools/networking/i2pd { }; iannix = libsForQt5.callPackage ../applications/audio/iannix { }; From 9f90c73360f90784ffe1cc1f8a2d74cc4ca0e83d Mon Sep 17 00:00:00 2001 From: aleksana Date: Mon, 8 Apr 2024 23:02:46 +0800 Subject: [PATCH 0215/1387] doc/gnome: make wrapGAppsHook4 more discoverable --- doc/languages-frameworks/gnome.section.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/languages-frameworks/gnome.section.md b/doc/languages-frameworks/gnome.section.md index 6bf867b21abe..e158cea0e512 100644 --- a/doc/languages-frameworks/gnome.section.md +++ b/doc/languages-frameworks/gnome.section.md @@ -102,9 +102,11 @@ Given the requirements above, the package expression would become messy quickly: } ``` -Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables. +Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables. For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure. -For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure. There is also [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4}, which replaces GTK 3 with GTK 4. And in case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure. +There is also [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4}, which replaces GTK 3 with GTK 4. Instead of `wrapGAppsHook`, this should be used for all GTK4 applications. + +In case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure. - `wrapGAppsHook` itself will add the package’s `share` directory to `XDG_DATA_DIRS`. From c0b692fbb97b98641dfa7e5dc2cc806a0bf39525 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 15:13:14 +0000 Subject: [PATCH 0216/1387] sniffnet: 1.2.2 -> 1.3.0 --- pkgs/applications/networking/sniffnet/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/sniffnet/default.nix b/pkgs/applications/networking/sniffnet/default.nix index 6142aa3898e2..def0f5900ba1 100644 --- a/pkgs/applications/networking/sniffnet/default.nix +++ b/pkgs/applications/networking/sniffnet/default.nix @@ -15,16 +15,16 @@ rustPlatform.buildRustPackage rec { pname = "sniffnet"; - version = "1.2.2"; + version = "1.3.0"; src = fetchFromGitHub { owner = "gyulyvgc"; repo = "sniffnet"; rev = "refs/tags/v${version}"; - hash = "sha256-wIyPb1RxvjkGu3Gs69HyL1WuLZUIFWB8URJjkz3oar0="; + hash = "sha256-3OvzMzlaSwT7fOJATi+2QsSWln+SLkXNr2kYlQGClwA="; }; - cargoHash = "sha256-iB8KL0ad+rI4HuZLgb7KqfrUBTQuKRWjqaa6BnHU5eg="; + cargoHash = "sha256-PdlST5n8YaKkByPOvFAg5CqRxVkqRgLeVHW6CJOKioY="; nativeBuildInputs = [ pkg-config ]; From eb91bc05bd9ded4807a42255820a03b61d1f3f21 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Mon, 8 Apr 2024 16:44:33 +0100 Subject: [PATCH 0217/1387] nixos/resolvconf: fix useLocalResolver when IPv6 is enabled resolvconf.conf is a shell script and unlike resolv.conf, multiple nameservers are specified by space separating them instead of adding multiple lines. Fixes: fc060cc3cb1ceb1825cc015abd16dc0fce326836 --- nixos/modules/config/resolvconf.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/config/resolvconf.nix b/nixos/modules/config/resolvconf.nix index 3b8cc0cb8f42..4318dc8528a0 100644 --- a/nixos/modules/config/resolvconf.nix +++ b/nixos/modules/config/resolvconf.nix @@ -27,9 +27,7 @@ let resolv_conf_options='${concatStringsSep " " resolvconfOptions}' '' + optionalString cfg.useLocalResolver '' # This hosts runs a full-blown DNS resolver. - name_servers='127.0.0.1' - '' + optionalString (cfg.useLocalResolver && config.networking.enableIPv6) '' - name_servers='::1' + name_servers='127.0.0.1${optionalString config.networking.enableIPv6 " ::1"}' '' + cfg.extraConfig; in From 925654065dbcb64f6158e9f93c6cde4f1fe609e0 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Mon, 8 Apr 2024 16:04:03 +0100 Subject: [PATCH 0218/1387] semgrep: 1.66.2 -> 1.67.0 Added aarch64-linux --- pkgs/tools/security/semgrep/common.nix | 18 +++++++++++------- pkgs/tools/security/semgrep/update.sh | 1 + 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/security/semgrep/common.nix b/pkgs/tools/security/semgrep/common.nix index 3436d4267964..cfc4045457be 100644 --- a/pkgs/tools/security/semgrep/common.nix +++ b/pkgs/tools/security/semgrep/common.nix @@ -1,9 +1,9 @@ { lib }: rec { - version = "1.66.2"; + version = "1.67.0"; - srcHash = "sha256-xonZzZsAkAPMVINGEA10CvQ1diYgHBowNsR2pk4tYr8="; + srcHash = "sha256-B+2DgwU+yhU337yZh518Z2Tq0Wbun8WEXX9IpC0Ut/c="; # submodule dependencies # these are fetched so we: @@ -13,8 +13,8 @@ rec { "cli/src/semgrep/semgrep_interfaces" = { owner = "semgrep"; repo = "semgrep-interfaces"; - rev = "215a54782174de84f97188632b4a37e35ba0f827"; - hash = "sha256-Q8E5LkC/NV0wvt9ZwhkoPGjPlDavVHHMnX0sVNK3dAM="; + rev = "3ee41bc436308a7c12b66247cfcb60df0aeff8ea"; + hash = "sha256-rlhArVSNJr4AgZw/TOOMPgpBOfHWsAm77YgrRdCjIzI="; }; }; @@ -25,15 +25,19 @@ rec { core = { x86_64-linux = { platform = "any"; - hash = "sha256-f/RcuJyd8y2bMclMxZ1BdNTVixhjLz0UxSKGZm+H8yI="; + hash = "sha256-iv02L/dvcfI/9XubC+EOeqMaVwdXh0sqLv02j1fn1aM="; + }; + aarch64-linux = { + platform = "musllinux_1_0_aarch64.manylinux2014_aarch64"; + hash = "sha256-wFuEcgCuciAOR8MNCxHW8TCoji97g7dXUf06M0T9MWg="; }; x86_64-darwin = { platform = "macosx_10_14_x86_64"; - hash = "sha256-4H9PT41lPydMFl51O2CgeMQiTE66fZ8RP26CVT7Y7Ok="; + hash = "sha256-wMkOZFvR6HBBTvu8mXRDF2s0Mqp/LkhVH2I+2sIIa94="; }; aarch64-darwin = { platform = "macosx_11_0_arm64"; - hash = "sha256-WxQ0ohojzhWmPo208xN98F5GwbNzQuxCjSwP7h3rBGA="; + hash = "sha256-AKNc9SxXbKb6WdFlE6aqzFDdtMGzl+3LhXTbNvFSHYQ="; }; }; diff --git a/pkgs/tools/security/semgrep/update.sh b/pkgs/tools/security/semgrep/update.sh index 67b720154b0b..914de6c9331f 100755 --- a/pkgs/tools/security/semgrep/update.sh +++ b/pkgs/tools/security/semgrep/update.sh @@ -95,6 +95,7 @@ update_core_platform() { } update_core_platform "x86_64-linux" +update_core_platform "aarch64-linux" update_core_platform "x86_64-darwin" update_core_platform "aarch64-darwin" From 89db988ed2399c9970dffae03e50fa9f13e9690a Mon Sep 17 00:00:00 2001 From: linsui Date: Mon, 8 Apr 2024 20:41:09 +0800 Subject: [PATCH 0219/1387] nixos/lazygit: init Update nixos/modules/programs/lazygit.nix Co-authored-by: Aleksana Update nixos/modules/programs/lazygit.nix Co-authored-by: Aleksana --- nixos/modules/module-list.nix | 1 + nixos/modules/programs/lazygit.nix | 37 ++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 nixos/modules/programs/lazygit.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index b361e9ee5e41..c982382101eb 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -212,6 +212,7 @@ ./programs/kbdlight.nix ./programs/kclock.nix ./programs/kdeconnect.nix + ./programs/lazygit.nix ./programs/less.nix ./programs/liboping.nix ./programs/light.nix diff --git a/nixos/modules/programs/lazygit.nix b/nixos/modules/programs/lazygit.nix new file mode 100644 index 000000000000..3e36a0e0c4a8 --- /dev/null +++ b/nixos/modules/programs/lazygit.nix @@ -0,0 +1,37 @@ +{ config, lib, pkgs, ... }: + +let + cfg = config.programs.lazygit; + + settingsFormat = pkgs.formats.yaml { }; +in +{ + options.programs.lazygit = { + enable = lib.mkEnableOption "lazygit, a simple terminal UI for git commands"; + + package = lib.mkPackageOption pkgs "lazygit" { }; + + settings = lib.mkOption { + inherit (settingsFormat) type; + default = { }; + description = '' + Lazygit configuration. + + See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md for documentation. + ''; + }; + }; + + config = lib.mkIf cfg.enable { + environment = { + systemPackages = [ cfg.package ]; + etc = lib.mkIf (cfg.settings != { }) { + "xdg/lazygit/config.yml".source = settingsFormat.generate "lazygit-config.yml" cfg.settings; + }; + }; + }; + + meta = { + maintainers = with lib.maintainers; [ linsui ]; + }; +} From 5c9e0805f9ebb1042a6bb35f96eabe97d5d49c6d Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Mon, 8 Apr 2024 21:53:24 +0200 Subject: [PATCH 0220/1387] texturepacker: 7.1.0 -> 7.2.0 --- pkgs/applications/graphics/texturepacker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/texturepacker/default.nix b/pkgs/applications/graphics/texturepacker/default.nix index 14769c02af0e..ccae60f1433e 100644 --- a/pkgs/applications/graphics/texturepacker/default.nix +++ b/pkgs/applications/graphics/texturepacker/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "texturepacker"; - version = "7.1.0"; + version = "7.2.0"; src = fetchurl { url = "https://www.codeandweb.com/download/texturepacker/${finalAttrs.version}/TexturePacker-${finalAttrs.version}.deb"; - hash = "sha256-9HbmdMPTp6qZCEU/lIZv4HbjKUlEtPVval+y0tiYObc="; + hash = "sha256-64aAg8V61MwJjFLYcf/nv5Bp7W0+cQBZac2e1HzkJBw="; }; nativeBuildInputs = [ From 99b27274c3d9f387907f1848ed0ef19eaa01da66 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 20:14:00 +0000 Subject: [PATCH 0221/1387] qmplay2: 24.04.02 -> 24.04.07 --- pkgs/applications/video/qmplay2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/qmplay2/default.nix b/pkgs/applications/video/qmplay2/default.nix index bc92499e75ea..167b5e8601e2 100644 --- a/pkgs/applications/video/qmplay2/default.nix +++ b/pkgs/applications/video/qmplay2/default.nix @@ -26,14 +26,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "qmplay2"; - version = "24.04.02"; + version = "24.04.07"; src = fetchFromGitHub { owner = "zaps166"; repo = "QMPlay2"; rev = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-eJWXTcJU24QzPChFTKbvNcuL9UpIQD8rFzd5h591tjg="; + hash = "sha256-WIDGApvl+aaB3Vdv0sHY+FHWqzreWWd3/xOLV11YfxM="; }; nativeBuildInputs = [ From f9c070a07e2e95f615e2a7bfcb00f1cc66153c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 8 Apr 2024 13:26:57 -0700 Subject: [PATCH 0222/1387] bitwarden-cli: 2024.2.1 -> 2024.3.1 Diff: https://github.com/bitwarden/clients/compare/cli-v2024.2.1...cli-v2024.3.1 Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.3.1 --- pkgs/by-name/bi/bitwarden-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bi/bitwarden-cli/package.nix b/pkgs/by-name/bi/bitwarden-cli/package.nix index 287d8e1a0e0a..656c1e60ec21 100644 --- a/pkgs/by-name/bi/bitwarden-cli/package.nix +++ b/pkgs/by-name/bi/bitwarden-cli/package.nix @@ -10,18 +10,18 @@ buildNpmPackage rec { pname = "bitwarden-cli"; - version = "2024.2.1"; + version = "2024.3.1"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; rev = "cli-v${version}"; - hash = "sha256-g9enDEIdVj9R3xkx5qllf7aTDa6F+MvozhwbJn9w/VY="; + hash = "sha256-JBEP4dNGL4rYKl2qNyhB2y/wZunikaGFltGVXLxgMWI="; }; nodejs = nodejs_18; - npmDepsHash = "sha256-fkoI8a8iVMWxtXAj5zNg2xwK/ZPyRZGPo7rnxHpKV7k="; + npmDepsHash = "sha256-vNudSHIMmF7oXGz+ZymQahyHebs/CBDc6Oy1g0A5nqA="; nativeBuildInputs = [ python3 From 897b04ac6b539a48429fb7889cc8ec2156cf7e15 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 8 Apr 2024 23:38:58 +0000 Subject: [PATCH 0223/1387] rust-analyzer-unwrapped: 2024-03-25 -> 2024-04-08 --- pkgs/development/tools/rust/rust-analyzer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/rust-analyzer/default.nix b/pkgs/development/tools/rust/rust-analyzer/default.nix index 006ae3b1c76e..f662c89f5969 100644 --- a/pkgs/development/tools/rust/rust-analyzer/default.nix +++ b/pkgs/development/tools/rust/rust-analyzer/default.nix @@ -13,14 +13,14 @@ rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; - version = "2024-03-25"; - cargoSha256 = "sha256-knvXvQ4e3Ab5zGcitfzlznad//0gAFSgWjOPiCjeFDM="; + version = "2024-04-08"; + cargoSha256 = "sha256-lVVHp8kbi3bnDQ0lCZugGSNznJduXPftGDq7ByxXWgc="; src = fetchFromGitHub { owner = "rust-lang"; repo = "rust-analyzer"; rev = version; - sha256 = "sha256-4na1ZTc6Iknu6V1Wo6jnt6d3H0JdZfpKF4GX/WNa/Zc="; + sha256 = "sha256-St7ZQrkrr5lmQX9wC1ZJAFxL8W7alswnyZk9d1se3Us="; }; cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ]; From 2b5face2fdd5abbec86472572a8c37caa8478217 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 8 Apr 2024 21:11:18 -0400 Subject: [PATCH 0224/1387] hyprdim: 2.2.3 -> 2.2.4 --- pkgs/by-name/hy/hyprdim/Cargo.lock | 1213 +++++++++++++++++++++++++++ pkgs/by-name/hy/hyprdim/package.nix | 11 +- 2 files changed, 1221 insertions(+), 3 deletions(-) create mode 100644 pkgs/by-name/hy/hyprdim/Cargo.lock diff --git a/pkgs/by-name/hy/hyprdim/Cargo.lock b/pkgs/by-name/hy/hyprdim/Cargo.lock new file mode 100644 index 000000000000..8c22c7838dfa --- /dev/null +++ b/pkgs/by-name/hy/hyprdim/Cargo.lock @@ -0,0 +1,1213 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "anstream" +version = "0.6.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" + +[[package]] +name = "anstyle-parse" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + +[[package]] +name = "assert_cmd" +version = "2.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed72493ac66d5804837f480ab3766c72bdfab91a65e565fc54fa9e42db0073a8" +dependencies = [ + "anstyle", + "bstr", + "doc-comment", + "predicates", + "predicates-core", + "predicates-tree", + "wait-timeout", +] + +[[package]] +name = "async-trait" +version = "0.1.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "autocfg" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" + +[[package]] +name = "backtrace" +version = "0.3.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" + +[[package]] +name = "bstr" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +dependencies = [ + "memchr", + "regex-automata", + "serde", +] + +[[package]] +name = "bytes" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" + +[[package]] +name = "cc" +version = "1.0.91" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd97381a8cc6493395a5afc4c691c1084b3768db713b73aa215217aa245d153" + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + +[[package]] +name = "clap" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_complete" +version = "4.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "885e4d7d5af40bfb99ae6f9433e292feac98d452dcb3ec3d25dfe7552b77da8c" +dependencies = [ + "clap", +] + +[[package]] +name = "clap_derive" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "clap_lex" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + +[[package]] +name = "clap_mangen" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1dd95b5ebb5c1c54581dd6346f3ed6a79a3eef95dd372fc2ac13d535535300e" +dependencies = [ + "clap", + "roff", +] + +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "ctrlc" +version = "3.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "672465ae37dc1bc6380a6547a8883d5dd397b0f1faaad4f265726cc7042a5345" +dependencies = [ + "nix 0.28.0", + "windows-sys 0.52.0", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 1.0.109", +] + +[[package]] +name = "difflib" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" + +[[package]] +name = "doc-comment" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-executor" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-macro" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hyprdim" +version = "2.2.4" +dependencies = [ + "assert_cmd", + "clap", + "clap_complete", + "clap_mangen", + "ctrlc", + "hyprland", + "rustympkglib", + "serde", + "single-instance", + "toml", +] + +[[package]] +name = "hyprland" +version = "0.3.13" +source = "git+https://github.com/hyprland-community/hyprland-rs.git#7a60845c9bfaf264e4dd9f5d7977f4a1f15599c8" +dependencies = [ + "async-trait", + "derive_more", + "doc-comment", + "futures", + "hex", + "hyprland-macros", + "lazy_static", + "num-traits", + "paste", + "regex", + "serde", + "serde_json", + "serde_repr", + "strum", + "tokio", +] + +[[package]] +name = "hyprland-macros" +version = "0.3.13" +source = "git+https://github.com/hyprland-community/hyprland-rs.git#7a60845c9bfaf264e4dd9f5d7977f4a1f15599c8" +dependencies = [ + "quote", + "syn 2.0.58", +] + +[[package]] +name = "indexmap" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "itoa" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.153" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" + +[[package]] +name = "lock_api" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "memchr" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" + +[[package]] +name = "memoffset" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +dependencies = [ + "autocfg", +] + +[[package]] +name = "miniz_oxide" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.48.0", +] + +[[package]] +name = "nix" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" +dependencies = [ + "bitflags 1.3.2", + "cc", + "cfg-if", + "libc", + "memoffset", +] + +[[package]] +name = "nix" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" +dependencies = [ + "bitflags 2.5.0", + "cfg-if", + "cfg_aliases", + "libc", +] + +[[package]] +name = "num-traits" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "parking_lot" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.48.5", +] + +[[package]] +name = "paste" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" + +[[package]] +name = "pin-project-lite" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "predicates" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" +dependencies = [ + "anstyle", + "difflib", + "predicates-core", +] + +[[package]] +name = "predicates-core" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" + +[[package]] +name = "predicates-tree" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +dependencies = [ + "predicates-core", + "termtree", +] + +[[package]] +name = "proc-macro2" +version = "1.0.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "regex" +version = "1.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" + +[[package]] +name = "roff" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" + +[[package]] +name = "rustympkglib" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39a6a04e9c4cc5d0fd4291f8ce8e1aa9d438d3e7b5ea09699cc81acd83272a16" +dependencies = [ + "serde", + "tree-sitter", + "tree-sitter-bash", +] + +[[package]] +name = "ryu" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" + +[[package]] +name = "serde" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "serde_json" +version = "1.0.115" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_repr" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +dependencies = [ + "libc", +] + +[[package]] +name = "single-instance" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4637485391f8545c9d3dbf60f9d9aab27a90c789a700999677583bcb17c8795d" +dependencies = [ + "libc", + "nix 0.23.2", + "thiserror", + "widestring", + "winapi", +] + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "socket2" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.58", +] + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "termtree" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" + +[[package]] +name = "thiserror" +version = "1.0.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "tokio" +version = "1.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +dependencies = [ + "backtrace", + "bytes", + "libc", + "mio", + "num_cpus", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.48.0", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "toml" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.22.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + +[[package]] +name = "tree-sitter" +version = "0.19.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad726ec26496bf4c083fff0f43d4eb3a2ad1bba305323af5ff91383c0b6ecac0" +dependencies = [ + "cc", + "regex", +] + +[[package]] +name = "tree-sitter-bash" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c629e2d29ebb85b34cd195a1c511a161ed775451456cde110470e7af693424db" +dependencies = [ + "cc", + "tree-sitter", +] + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + +[[package]] +name = "wait-timeout" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +dependencies = [ + "libc", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "widestring" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.4", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +dependencies = [ + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + +[[package]] +name = "winnow" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" +dependencies = [ + "memchr", +] diff --git a/pkgs/by-name/hy/hyprdim/package.nix b/pkgs/by-name/hy/hyprdim/package.nix index ee0df4f9fc03..2ce84331f40e 100644 --- a/pkgs/by-name/hy/hyprdim/package.nix +++ b/pkgs/by-name/hy/hyprdim/package.nix @@ -8,16 +8,21 @@ rustPlatform.buildRustPackage rec { pname = "hyprdim"; - version = "2.2.3"; + version = "2.2.4"; src = fetchFromGitHub { owner = "donovanglover"; repo = "hyprdim"; rev = version; - hash = "sha256-Eeh0D3DkC4ureDUE+BXTGcMFNmZ0hLSidlKlL4ZDgsQ="; + hash = "sha256-XRaBrn8gnXyMiCf3UQvdZGnZ//YMUivfVg0IoZF5F88="; }; - cargoHash = "sha256-hgcGzRLB1L3yxJjw1ECDJPmbl1W+2OS4KDojclyVYrc="; + cargoLock = { + lockFile = ./Cargo.lock; + outputHashes = { + "hyprland-0.3.13" = "sha256-gjShmFcECdX0/t7mL035l9e9OzZuJqX0Ueozv38l03g="; + }; + }; nativeBuildInputs = [ installShellFiles ]; From 97db26f1cf6efdf7a590d729d2ed380fa259f590 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 8 Apr 2024 22:25:06 -0400 Subject: [PATCH 0225/1387] fw-ectool: unstable-2022-12-03 -> 0-unstable-2023-12-15, switch upstream --- pkgs/os-specific/linux/fw-ectool/default.nix | 33 +++++++++++--------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/pkgs/os-specific/linux/fw-ectool/default.nix b/pkgs/os-specific/linux/fw-ectool/default.nix index a73cc1896ecd..1d23411f3eef 100644 --- a/pkgs/os-specific/linux/fw-ectool/default.nix +++ b/pkgs/os-specific/linux/fw-ectool/default.nix @@ -1,38 +1,43 @@ { stdenv , lib -, fetchFromGitHub +, fetchFromGitLab +, cmake , pkg-config -, hostname +, libusb1 +, libftdi1 }: stdenv.mkDerivation { pname = "fw-ectool"; - version = "unstable-2022-12-03"; + version = "0-unstable-2023-12-15"; - src = fetchFromGitHub { + src = fetchFromGitLab { + domain = "gitlab.howett.net"; owner = "DHowett"; - repo = "fw-ectool"; - rev = "54c140399bbc3e6a3dce6c9f842727c4128367be"; - hash = "sha256-2teJFz4zcA+USpbVPXMEIHLdmMLem8ik7YrmrSxr/n0="; + repo = "ectool"; + rev = "3ebe7b8b713b2ebfe2ce92d48fd8d044276b2879"; + hash = "sha256-s6PrFPAL+XJAENqLw5oJqFmAf11tHOJ8h3F5l3pOlZ4="; }; nativeBuildInputs = [ + cmake pkg-config - hostname ]; - buildPhase = '' - patchShebangs util - make out=out utils - ''; + buildInputs = [ + libusb1 + libftdi1 + ]; installPhase = '' - install -D out/util/ectool $out/bin/ectool + runHook preInstall + install -Dm555 src/ectool "$out/bin/ectool" + runHook postInstall ''; meta = with lib; { description = "EC-Tool adjusted for usage with framework embedded controller"; - homepage = "https://github.com/DHowett/framework-ec"; + homepage = "https://gitlab.howett.net/DHowett/ectool"; license = licenses.bsd3; maintainers = [ maintainers.mkg20001 ]; platforms = platforms.linux; From 1b4ff9ff1578bb0594bf2edea4cb0e42b06038de Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 9 Apr 2024 03:13:39 +0000 Subject: [PATCH 0226/1387] pgmodeler: 1.1.1 -> 1.1.2 --- pkgs/applications/misc/pgmodeler/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/pgmodeler/default.nix b/pkgs/applications/misc/pgmodeler/default.nix index fcc139bfa041..da7fe2727ff4 100644 --- a/pkgs/applications/misc/pgmodeler/default.nix +++ b/pkgs/applications/misc/pgmodeler/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "pgmodeler"; - version = "1.1.1"; + version = "1.1.2"; src = fetchFromGitHub { owner = "pgmodeler"; repo = "pgmodeler"; rev = "v${version}"; - sha256 = "sha256-9/D5C3l3N15q+xP9lLAcdT+1+dEMcowBeR+DjE67fYQ="; + sha256 = "sha256-urKAsuYmK8dsXhP+I7p27PXXYRapPtkI8FqARfLwnEw="; }; nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ]; From 3577aef3543bd49a4f7b9ab62543f0191ac90b6a Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Tue, 9 Apr 2024 08:35:59 +0200 Subject: [PATCH 0227/1387] doc/release-notes: mention getty.autologinOnce --- nixos/doc/manual/release-notes/rl-2405.section.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 06c3e1949b70..187b29b7ede0 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -275,6 +275,9 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m existing process, but will need to start that process from gdb (so it is a child). Or you can set `boot.kernel.sysctl."kernel.yama.ptrace_scope"` to 0. +- The new option `services.getty.autologinOnce` was added to limit the automatic login to once per boot and on the first tty only. + When using full disk encryption, this option allows to unlock the system without retyping the passphrase while keeping the other ttys protected. + - The netbird module now allows running multiple tunnels in parallel through [`services.netbird.tunnels`](#opt-services.netbird.tunnels). - [Nginx virtual hosts](#opt-services.nginx.virtualHosts) using `forceSSL` or From fc3aba1ff70fb628ed40eb48b83a8217540a6052 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Mon, 26 Feb 2024 21:30:08 +0100 Subject: [PATCH 0228/1387] libtiff: adopt package under geospatial team maintenance --- pkgs/development/libraries/libtiff/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/libtiff/default.nix b/pkgs/development/libraries/libtiff/default.nix index a7360741fe84..04b67ff83bde 100644 --- a/pkgs/development/libraries/libtiff/default.nix +++ b/pkgs/development/libraries/libtiff/default.nix @@ -97,5 +97,6 @@ stdenv.mkDerivation (finalAttrs: { license = licenses.libtiff; platforms = platforms.unix ++ platforms.windows; pkgConfigModules = [ "libtiff-4" ]; + maintainers = teams.geospatial.members; }; }) From 67b8cbae2b52c631a330453fa74cd987f708a889 Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Mon, 8 Apr 2024 12:28:46 +0200 Subject: [PATCH 0229/1387] python3Packages.rasterio: add rio version test --- pkgs/development/python-modules/rasterio/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix index 65274b6849af..07dfa2c94aae 100644 --- a/pkgs/development/python-modules/rasterio/default.nix +++ b/pkgs/development/python-modules/rasterio/default.nix @@ -5,6 +5,7 @@ , pytestCheckHook , pythonOlder , stdenv +, testers , affine , attrs @@ -26,6 +27,8 @@ , shapely , snuggs , wheel + +, rasterio # required to run version test }: buildPythonPackage rec { @@ -106,6 +109,7 @@ buildPythonPackage rec { postInstall = '' wrapPythonProgramsIn "$out/bin" "$out $setuptoolsPythonPath" ''; + doCheck = true; preCheck = '' @@ -130,6 +134,12 @@ buildPythonPackage rec { "rasterio" ]; + passthru.tests.version = testers.testVersion { + package = rasterio; + version = version; + command = "${rasterio}/bin/rio --version"; + }; + meta = with lib; { description = "Python package to read and write geospatial raster data"; mainProgram = "rio"; From f89c670a01ba9b5e2c29c2f692fd654dfab686b5 Mon Sep 17 00:00:00 2001 From: 500InternalError Date: Tue, 9 Apr 2024 17:38:19 +0800 Subject: [PATCH 0230/1387] asusctl: 5.0.7 -> 5.0.10 --- pkgs/applications/system/asusctl/Cargo.lock | 313 ++++++++++--------- pkgs/applications/system/asusctl/default.nix | 7 +- 2 files changed, 163 insertions(+), 157 deletions(-) diff --git a/pkgs/applications/system/asusctl/Cargo.lock b/pkgs/applications/system/asusctl/Cargo.lock index b8840ff7d5af..65c286d0219e 100644 --- a/pkgs/applications/system/asusctl/Cargo.lock +++ b/pkgs/applications/system/asusctl/Cargo.lock @@ -104,9 +104,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" dependencies = [ "cfg-if", "once_cell", @@ -164,9 +164,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.76" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59d2a3357dde987206219e78ecfbbb6e8dad06cbb65292758d3270e6254f7355" +checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "arboard" @@ -199,7 +199,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "asusctl" -version = "5.0.7" +version = "5.0.10" dependencies = [ "asusd", "cargo-husky", @@ -213,20 +213,21 @@ dependencies = [ "rog_platform", "rog_profiles", "tinybmp", + "tokio", "toml 0.5.11", ] [[package]] name = "asusd" -version = "5.0.7" +version = "5.0.10" dependencies = [ - "async-trait", "cargo-husky", "concat-idents", "config-traits", "dmi_id", "env_logger", "futures-lite 1.13.0", + "inotify", "log", "logind-zbus", "rog_anime", @@ -243,7 +244,7 @@ dependencies = [ [[package]] name = "asusd-user" -version = "5.0.7" +version = "5.0.10" dependencies = [ "cargo-husky", "config-traits", @@ -289,7 +290,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" dependencies = [ "concurrent-queue", - "event-listener 4.0.1", + "event-listener 4.0.3", "event-listener-strategy", "futures-core", "pin-project-lite", @@ -301,11 +302,11 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "async-task", "concurrent-queue", "fastrand 2.0.1", - "futures-lite 2.1.0", + "futures-lite 2.2.0", "slab", ] @@ -343,18 +344,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.2.2" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "fb41eb19024a91746eba0773aa5e16036045bbf45733766661099e182ea6a744" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.2.0", "parking", - "polling 3.3.1", - "rustix 0.38.28", + "polling 3.3.2", + "rustix 0.38.30", "slab", "tracing", "windows-sys 0.52.0", @@ -371,11 +372,11 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ - "event-listener 4.0.1", + "event-listener 4.0.3", "event-listener-strategy", "pin-project-lite", ] @@ -404,7 +405,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.28", + "rustix 0.38.30", "windows-sys 0.48.0", ] @@ -416,7 +417,7 @@ checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -425,13 +426,13 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.2.2", + "async-io 2.3.0", "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.28", + "rustix 0.38.30", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -439,19 +440,19 @@ dependencies = [ [[package]] name = "async-task" -version = "4.6.0" +version = "4.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d90cd0b264dfdd8eb5bad0a2c217c1f88fa96a8573f40e7b12de23fb468f46" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" -version = "0.1.75" +version = "0.1.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98" +checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -546,17 +547,17 @@ dependencies = [ [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "bindgen" -version = "0.69.1" +version = "0.69.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ffcebc3849946a7170a05992aac39da343a90676ab392c51a4280981d6379c2" +checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "cexpr", "clang-sys", "lazy_static", @@ -567,7 +568,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -578,9 +579,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" dependencies = [ "serde", ] @@ -626,11 +627,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ "async-channel 2.1.1", - "async-lock 3.2.0", + "async-lock 3.3.0", "async-task", "fastrand 2.0.1", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.2.0", "piper", "tracing", ] @@ -658,7 +659,7 @@ checksum = "965ab7eb5f8f97d2a083c799f3a1b994fc397b2fe2da5d1da1626ce15a39f2b1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -745,9 +746,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.5" +version = "0.15.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" +checksum = "6100bc57b6209840798d95cb2775684849d332f7bd788db2a8c8caf7ef82a41a" dependencies = [ "smallvec", "target-lexicon", @@ -790,9 +791,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" +checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" dependencies = [ "glob", "libc", @@ -832,7 +833,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f76990911f2267d837d9d0ad060aa63aaad170af40904b29461734c339030d4d" dependencies = [ "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -846,7 +847,7 @@ dependencies = [ [[package]] name = "config-traits" -version = "5.0.7" +version = "5.0.10" dependencies = [ "cargo-husky", "log", @@ -899,13 +900,13 @@ dependencies = [ [[package]] name = "cpuctl" -version = "5.0.7" +version = "5.0.10" [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -921,12 +922,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.18" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" -dependencies = [ - "cfg-if", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crypto-common" @@ -940,9 +938,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", ] @@ -1026,7 +1024,7 @@ dependencies = [ [[package]] name = "dmi_id" -version = "5.0.7" +version = "5.0.10" dependencies = [ "log", "udev", @@ -1165,14 +1163,14 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -1242,9 +1240,9 @@ dependencies = [ [[package]] name = "event-listener" -version = "4.0.1" +version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", "parking", @@ -1257,7 +1255,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ - "event-listener 4.0.1", + "event-listener 4.0.3", "pin-project-lite", ] @@ -1278,9 +1276,9 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "fdeflate" -version = "0.3.2" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7caf4086251adeba90011a7ff9bd1f6d7f7595be0871867daa4dbb0fcf2ca932" +checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645" dependencies = [ "simd-adler32", ] @@ -1387,9 +1385,9 @@ dependencies = [ [[package]] name = "futures-lite" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" dependencies = [ "fastrand 2.0.1", "futures-core", @@ -1406,7 +1404,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -1519,9 +1517,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ "cfg-if", "libc", @@ -1826,9 +1824,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "5d3d0e0f38255e7fa3cf31335b3a56f05febd18025f4db5ef7a0cfb4f8da651f" [[package]] name = "hex" @@ -1853,16 +1851,16 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -1941,13 +1939,13 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" dependencies = [ "hermit-abi", - "rustix 0.38.28", - "windows-sys 0.48.0", + "rustix 0.38.30", + "windows-sys 0.52.0", ] [[package]] @@ -2049,9 +2047,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.151" +version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" [[package]] name = "libloading" @@ -2069,7 +2067,7 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "libc", "redox_syscall 0.4.1", ] @@ -2080,7 +2078,7 @@ version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3af92c55d7d839293953fcd0fda5ecfe93297cfde6ffbdec13b41d99c0ba6607" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "libc", "redox_syscall 0.4.1", ] @@ -2115,9 +2113,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lock_api" @@ -2169,9 +2167,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memmap2" @@ -2405,7 +2403,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -2610,15 +2608,15 @@ checksum = "5de5067af0cd27add969cdb4ef2eecc955f59235f3b7a75a3c6ac9562cfb6b81" [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" [[package]] name = "png" -version = "0.17.10" +version = "0.17.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd75bf2d8dd3702b9707cdbc56a5b9ef42cec752eb8b3bafc01234558442aa64" +checksum = "1f6c3c3e617595665b8ea2ff95a86066be38fb121ff920a9c0eb282abcd1da5a" dependencies = [ "bitflags 1.3.2", "crc32fast", @@ -2655,14 +2653,14 @@ dependencies = [ [[package]] name = "polling" -version = "3.3.1" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "545c980a3880efd47b2e262f6a4bb6daad6555cf3367aa9c4e52895f69537a41" dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite", - "rustix 0.38.28", + "rustix 0.38.30", "tracing", "windows-sys 0.52.0", ] @@ -2715,9 +2713,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.71" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -2733,9 +2731,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -2807,9 +2805,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", @@ -2819,9 +2817,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a" dependencies = [ "aho-corasick", "memchr", @@ -2836,7 +2834,7 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "rog-control-center" -version = "5.0.7" +version = "5.0.10" dependencies = [ "asusd", "cargo-husky", @@ -2869,7 +2867,7 @@ dependencies = [ [[package]] name = "rog_anime" -version = "5.0.7" +version = "5.0.10" dependencies = [ "cargo-husky", "dmi_id", @@ -2886,7 +2884,7 @@ dependencies = [ [[package]] name = "rog_aura" -version = "5.0.7" +version = "5.0.10" dependencies = [ "cargo-husky", "dmi_id", @@ -2900,7 +2898,7 @@ dependencies = [ [[package]] name = "rog_dbus" -version = "5.0.7" +version = "5.0.10" dependencies = [ "asusd", "cargo-husky", @@ -2913,7 +2911,7 @@ dependencies = [ [[package]] name = "rog_platform" -version = "5.0.7" +version = "5.0.10" dependencies = [ "cargo-husky", "concat-idents", @@ -2930,7 +2928,7 @@ dependencies = [ [[package]] name = "rog_profiles" -version = "5.0.7" +version = "5.0.10" dependencies = [ "cargo-husky", "log", @@ -2944,7 +2942,7 @@ dependencies = [ [[package]] name = "rog_simulators" -version = "5.0.7" +version = "5.0.10" dependencies = [ "glam", "log", @@ -2960,7 +2958,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" dependencies = [ "base64", - "bitflags 2.4.1", + "bitflags 2.4.2", "serde", "serde_derive", ] @@ -3012,14 +3010,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.38.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.13", "windows-sys 0.52.0", ] @@ -3088,35 +3086,35 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" dependencies = [ "itoa", "ryu", @@ -3125,13 +3123,13 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" +checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -3195,9 +3193,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smithay-client-toolkit" @@ -3286,7 +3284,7 @@ checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731" [[package]] name = "supergfxctl" version = "5.1.2" -source = "git+https://gitlab.com/asus-linux/supergfxctl.git#af23df7596712bb9433a3be917febadeb3f1f419" +source = "git+https://gitlab.com/asus-linux/supergfxctl.git#a54163c4ced0f58dbbc134392d8a2118ee6c5c64" dependencies = [ "log", "logind-zbus", @@ -3311,9 +3309,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.43" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -3345,9 +3343,9 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tauri-winrt-notification" @@ -3361,44 +3359,44 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.8.1" +version = "3.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" dependencies = [ "cfg-if", "fastrand 2.0.1", "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.48.0", + "rustix 0.38.30", + "windows-sys 0.52.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] [[package]] name = "thiserror" -version = "1.0.52" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a48fd946b02c0a526b2e9481c8e2a17755e47039164a86c4070446e3a4614d" +checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.52" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7fbe9b594d6568a6a1443250a7e67d80b74e1e96f6d1715e1e21cc1888291d3" +checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -3492,7 +3490,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -3568,7 +3566,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] @@ -3658,9 +3656,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -3985,7 +3983,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -3998,6 +3996,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-implement" version = "0.44.0" @@ -4255,9 +4262,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.5.30" +version = "0.5.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b5c3db89721d50d0e2a673f5043fc4722f76dcc352d7b1ab8b8288bed4ed2c5" +checksum = "b7cf47b659b318dccbd69cc4797a39ae128f533dce7902a1096044d1967b9c16" dependencies = [ "memchr", ] @@ -4400,7 +4407,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn 2.0.48", ] [[package]] diff --git a/pkgs/applications/system/asusctl/default.nix b/pkgs/applications/system/asusctl/default.nix index 47da8bd63b48..ba18d2388901 100644 --- a/pkgs/applications/system/asusctl/default.nix +++ b/pkgs/applications/system/asusctl/default.nix @@ -13,22 +13,21 @@ rustPlatform.buildRustPackage rec { pname = "asusctl"; - version = "5.0.7"; + version = "5.0.10"; src = fetchFromGitLab { owner = "asus-linux"; repo = "asusctl"; rev = version; - hash = "sha256-thTzNB6GmzHG0BaaacmmQogRrLK1udkTYifEivwDtjM="; + hash = "sha256-H8x3nfOFRv9DkbDkFw+LO1tdHiVyU3SzetqED4twPSk="; }; - cargoHash = ""; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "ecolor-0.21.0" = "sha256-m7eHX6flwO21umtx3dnIuVUnNsEs3ZCyOk5Vvp/lVfI="; "notify-rust-4.6.0" = "sha256-jhCgisA9f6AI9e9JQUYRtEt47gQnDv5WsdRKFoKvHJs="; - "supergfxctl-5.1.2" = "sha256-HJGyjFeN3bq+ArCGfFHAMnjW76wSnNyxPWR0ELcyjLg="; + "supergfxctl-5.1.2" = "sha256-WDbUgvWExk5cs2cpjo88CiROdEbc01o2DELhRi9gju4="; }; }; From 3dcf7c5c245dad0eab734da16e873b45a9555d45 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 9 Apr 2024 10:41:52 +0100 Subject: [PATCH 0231/1387] linuxPackages.mwprocapture: 1.3.0.4373 -> 1.3.0.4390 --- pkgs/os-specific/linux/mwprocapture/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/mwprocapture/default.nix b/pkgs/os-specific/linux/mwprocapture/default.nix index 9185f50674ff..a90a8716cca9 100644 --- a/pkgs/os-specific/linux/mwprocapture/default.nix +++ b/pkgs/os-specific/linux/mwprocapture/default.nix @@ -12,12 +12,12 @@ let in stdenv.mkDerivation rec { pname = "mwprocapture"; - subVersion = "4373"; + subVersion = "4390"; version = "1.3.0.${subVersion}-${kernel.version}"; src = fetchurl { url = "https://www.magewell.com/files/drivers/ProCaptureForLinux_${subVersion}.tar.gz"; - sha256 = "sha256-/6q+6CTlgkHOgq1PF8dSPfl/xm/UFczr/AGkac2mXZ8="; + sha256 = "sha256-HOVAR9auc8ulENPLoI0scdCMZoSbDYkTaCLgZoFG7eU="; }; nativeBuildInputs = kernel.moduleBuildDependencies; From 8557b3adf20981594e9120d7b69aa3e287fb3989 Mon Sep 17 00:00:00 2001 From: rewine Date: Sat, 6 Apr 2024 02:12:02 +0800 Subject: [PATCH 0232/1387] hyprland: 0.37.1 -> 0.38.1 --- .../window-managers/hyprwm/hyprland/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix index a9d1764eaf1f..e8da21dba912 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/default.nix @@ -49,13 +49,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "hyprland" + lib.optionalString debug "-debug"; - version = "0.37.1"; + version = "0.38.1"; src = fetchFromGitHub { owner = "hyprwm"; repo = finalAttrs.pname; rev = "v${finalAttrs.version}"; - hash = "sha256-W+34KhCnqscRXN/IkvuJMiVx0Fa64RcYn8H4sZjzceI="; + hash = "sha256-6y422rx8ScSkjR1dNYGYUxBmFewRYlCz9XZZ+XrVZng="; }; patches = [ @@ -73,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: { --replace "@HASH@" '${finalAttrs.src.rev}' \ --replace "@BRANCH@" "" \ --replace "@MESSAGE@" "" \ - --replace "@DATE@" "2024-03-16" \ + --replace "@DATE@" "2024-04-06" \ --replace "@TAG@" "" \ --replace "@DIRTY@" "" ''; From 8c79f0dc5194ead310e5063231b0669b0d8eb52c Mon Sep 17 00:00:00 2001 From: rewine Date: Sat, 6 Apr 2024 02:11:30 +0800 Subject: [PATCH 0233/1387] hyprlandPlugins.hy3: 0.36.0-unstable-2024-03-06 -> 0.38.0 --- .../window-managers/hyprwm/hyprland/plugins.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix b/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix index ddbd6d9fb4db..53113b3e8bff 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland/plugins.nix @@ -24,13 +24,13 @@ let hy3 = { fetchFromGitHub, cmake, hyprland }: mkHyprlandPlugin hyprland { pluginName = "hy3"; - version = "0.36.0-unstable-2024-03-06"; + version = "0.38.0"; src = fetchFromGitHub { owner = "outfoxxed"; repo = "hy3"; - rev = "a392bfd13caf865ccf6b9df6917b67cc3a054b82"; - hash = "sha256-QuapQR9DJI9+vt7xqULYIXx2QCCX1I/YB50c+7ReexU="; + rev = "hl0.38.0"; + hash = "sha256-ZVwX5yM97R6MLk64dQG5KqYOR4L4HxEEV+xzQi+NGrk="; }; nativeBuildInputs = [ cmake ]; From 79fdb02ada90f68dc7c16537e19825418ac62a49 Mon Sep 17 00:00:00 2001 From: ashuramaruzxc Date: Tue, 9 Apr 2024 12:35:56 +0200 Subject: [PATCH 0234/1387] maintainers: add ashuramaruzxc --- maintainers/maintainer-list.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6903a1e2581f..cfede0a0e611 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1758,6 +1758,16 @@ githubId = 11037075; name = "Ashley Hooper"; }; + ashuramaruzxc = { + email = "ashuramaru@tenjin-dk.com"; + matrix = "@tenjin:mozilla.org"; + github = "ashuramaruzxc"; + githubId = 72100551; + name = "Mariia Holovata"; + keys = [{ + fingerprint = "409D 201E 9450 8732 A49E D0FC 6BDA F874 0068 08DF"; + }]; + }; ashvith-shetty = { github = "Ashvith10"; githubId = 113123021; From b0fbe664b2c965374f335d8a5a578ca20b28cd06 Mon Sep 17 00:00:00 2001 From: ashuramaruzxc Date: Tue, 9 Apr 2024 12:37:40 +0200 Subject: [PATCH 0235/1387] thcrap-steam-proton-wrapper: init at 0-unstable-2024-04-03 --- .../thcrap-steam-proton-wrapper/package.nix | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix diff --git a/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix b/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix new file mode 100644 index 000000000000..56a6029847d4 --- /dev/null +++ b/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix @@ -0,0 +1,56 @@ +{ + lib + , stdenv + , fetchFromGitHub + , makeWrapper + , bash + , subversion + , gnome +}: +stdenv.mkDerivation { + pname = "thcrap-proton"; + version = "0-unstable-2024-04-03"; + + src = fetchFromGitHub { + owner = "tactikauan"; + repo = "thcrap-steam-proton-wrapper"; + rev = "2b636c3f5f1ce1b9b41f731aa9397aa68d2ce66b"; + sha256 = "sha256-J2O8F75NMdsxSaNVr8zLf+vLEJE6CHqWQIIscuuJZ3o="; + }; + + buildInputs = [ subversion ]; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + cp thcrap_proton $out/bin/thcrap_proton + + runHook postInstall + ''; + + postFixup = '' + wrapProgram $out/bin/thcrap_proton \ + --prefix PATH : ${ + lib.makeBinPath [ + bash + subversion + gnome.zenity + ] + } + ''; + + meta = { + description = "A wrapper script for launching the official Touhou games on Steam with patches through Proton on GNU/Linux"; + homepage = "https://github.com/tactikauan/thcrap-steam-proton-wrapper"; + license = lib.licenses.unlicense; + maintainers = with lib.maintainers; [ ashuramaruzxc ]; + platforms = [ + "x86_64-linux" + "aarch64-linux" + ]; + mainProgram = "thcrap_proton"; + }; +} From 39f3859176da52ebe879b1cacfa7dbb81bd29a65 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 9 Apr 2024 12:29:57 +0000 Subject: [PATCH 0236/1387] mate.mate-themes: 3.22.24 -> 3.22.26 https://github.com/mate-desktop/mate-themes/compare/v3.22.24..v3.22.26 --- pkgs/desktops/mate/mate-themes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/mate/mate-themes/default.nix b/pkgs/desktops/mate/mate-themes/default.nix index bcef002dac99..259b29c6c9b4 100644 --- a/pkgs/desktops/mate/mate-themes/default.nix +++ b/pkgs/desktops/mate/mate-themes/default.nix @@ -15,11 +15,11 @@ stdenv.mkDerivation rec { pname = "mate-themes"; - version = "3.22.24"; + version = "3.22.26"; src = fetchurl { url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "PYs6KihTMd4kxM9djJ3YRtqhFpXyBnZdjxaT68rPbko="; + sha256 = "Ik6J02TrO3Pxz3VtBUlKmEIak8v1Q0miyF/GB+t1Xtc="; }; nativeBuildInputs = [ From 5e32dc21242d55078aea30faa233f730f718986c Mon Sep 17 00:00:00 2001 From: iko Date: Tue, 9 Apr 2024 15:36:41 +0300 Subject: [PATCH 0237/1387] pgroll: init at 0.5.0 --- pkgs/development/tools/pgroll/default.nix | 28 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/tools/pgroll/default.nix diff --git a/pkgs/development/tools/pgroll/default.nix b/pkgs/development/tools/pgroll/default.nix new file mode 100644 index 000000000000..d3670ef96d13 --- /dev/null +++ b/pkgs/development/tools/pgroll/default.nix @@ -0,0 +1,28 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "pgroll"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "xataio"; + repo = "pgroll"; + rev = "v${version}"; + hash = "sha256-VYGwIJsPVilFxvglj+E7H9NpqUV1CV/ggBP3gFleWIA="; + }; + + vendorHash = "sha256-Fz+o1jSoMfqKYo1I7VUFqbhBEgcoQEx7aYsmzCLsbnI="; + + # Tests require a running docker daemon + doCheck = false; + + meta = with lib; { + description = "PostgreSQL zero-downtime migrations made easy"; + license = licenses.asl20; + homepage = "https://github.com/xataio/pgroll"; + maintainers = with maintainers; [ ilyakooo0 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 710ded329967..a0d59f09a08f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19443,6 +19443,8 @@ with pkgs; pgcli = with pkgs.python3Packages; toPythonApplication pgcli; + pgroll = callPackage ../development/tools/pgroll{ } ; + picotool = callPackage ../development/tools/picotool { }; planus = callPackage ../development/tools/misc/planus { }; From 855667eadc206242c1bfe5e379243193dceca1f2 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sat, 30 Mar 2024 18:14:16 +0000 Subject: [PATCH 0238/1387] akkoma: 3.11.0 -> 3.12.2 --- pkgs/servers/akkoma/default.nix | 363 +++-- pkgs/servers/akkoma/mix.nix | 2230 ++++++++++++++++--------------- 2 files changed, 1295 insertions(+), 1298 deletions(-) diff --git a/pkgs/servers/akkoma/default.nix b/pkgs/servers/akkoma/default.nix index e9a9fa63ebc5..6e48f5a9f2ba 100644 --- a/pkgs/servers/akkoma/default.nix +++ b/pkgs/servers/akkoma/default.nix @@ -1,22 +1,24 @@ { lib , beamPackages -, fetchFromGitea, fetchFromGitHub, fetchFromGitLab -, cmake, file +, fetchFromGitea +, fetchFromGitHub +, fetchFromGitLab +, cmake +, file , writeText , nixosTests , ... }: - beamPackages.mixRelease rec { - pname = "pleroma"; - version = "3.11.0"; + pname = "akkoma"; + version = "3.12.2"; src = fetchFromGitea { domain = "akkoma.dev"; owner = "AkkomaGang"; repo = "akkoma"; rev = "v${version}"; - hash = "sha256-cVZx3pjbmDR4SwSLz1aSTIs3SS2oz5m43RJzRttFpPs="; + hash = "sha256-eKvfuHTLmUU6Dom/GctPSbhrAAik1T/7bYY5j3YUkRo="; }; postPatch = '' @@ -33,187 +35,178 @@ beamPackages.mixRelease rec { mixNixDeps = import ./mix.nix { inherit beamPackages lib; - overrides = (final: prev: { - # mix2nix does not support git dependencies yet, - # so we need to add them manually - - captcha = beamPackages.buildMix rec { - name = "captcha"; - version = "0.1.0"; - - src = fetchFromGitLab { - domain = "git.pleroma.social"; - group = "pleroma"; - owner = "elixir-libraries"; - repo = "elixir-captcha"; - rev = "90f6ce7672f70f56708792a98d98bd05176c9176"; - hash = "sha256-s7EuAhmCsQA/4p2NJHJSWB/DZ5hA+7EelPsUOvKr2Po="; - }; - - # the binary is not getting installed by default - postInstall = "mv priv/* $out/lib/erlang/lib/${name}-${version}/priv/"; - }; - - concurrent_limiter = beamPackages.buildMix rec { - name = "concurrent_limiter"; - version = "0.1.1"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "concurrent-limiter"; - rev = "a9e0b3d64574bdba761f429bb4fba0cf687b3338"; - hash = "sha256-A7ucZnXks4K+JDVY5vV2cT5KfEOUOo/OHO4rga5mGys="; - }; - }; - - elasticsearch = beamPackages.buildMix rec { - name = "elasticsearch"; - version = "1.0.1"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "elasticsearch-elixir"; - rev = "6cd946f75f6ab9042521a009d1d32d29a90113ca"; - hash = "sha256-CtmQHVl+VTpemne+nxbkYGcErrgCo+t3ZBPbkFSpyF0="; - }; - }; - - file_ex = beamPackages.buildMix rec { - name = "file_ex"; - version = "0.1.0"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "file_ex"; - rev = "cc7067c7d446c2526e9ecf91d40896b088851569"; - hash = "sha256-3sxfdOy0cpst4jiutoaabk72VFJ2USKiJN9ODN01Dco="; - }; - }; - - http_signatures = beamPackages.buildMix rec { - name = "http_signatures"; - version = "0.1.1"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "http_signatures"; - rev = "6640ce7d24c783ac2ef56e27d00d12e8dc85f396"; - hash = "sha256-Q/IoVbM/TBgGCmx8AxiBHF2hARb0FbPml8N1HjN3CsE="; - }; - }; - - linkify = beamPackages.buildMix rec { - name = "linkify"; - version = "0.5.2"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "linkify"; - rev = "2567e2c1073fa371fd26fd66dfa5bc77b6919c16"; - hash = "sha256-e3wzlbRuyw/UB5Tb7IozX/WR1T+sIBf9C/o5Thki9vg="; - }; - }; - - majic = beamPackages.buildMix rec { - name = "majic"; - version = "1.0.0"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "majic"; - rev = "80540b36939ec83f48e76c61e5000e0fd67706f0"; - hash = "sha256-OMM9aDRvbqCOBIE+iPySU8ONRn1BqHDql22rRSmdW08="; - }; - - beamDeps = with final; [ elixir_make mime nimble_pool plug ]; - buildInputs = [ file ]; - }; - - mfm_parser = beamPackages.buildMix rec { - name = "mfm_parser"; - version = "0.1.0"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "mfm-parser"; - rev = "b21ab7754024af096f2d14247574f55f0063295b"; - hash = "sha256-couG5jrAo0Fbk/WABd4n3vhXpDUp+9drxExKc5NM9CI="; - }; - - beamDeps = with final; [ phoenix_view temple ]; - }; - - search_parser = beamPackages.buildMix rec { - name = "search_parser"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "FloatingGhost"; - repo = "pleroma-contrib-search-parser"; - rev = "08971a81e68686f9ac465cfb6661d51c5e4e1e7f"; - hash = "sha256-sbo9Kcp2oT05o2GAF+IgziLPYmCkWgBfFMBCytmqg3Y="; - }; - - beamDeps = with final; [ nimble_parsec ]; - }; - - temple = beamPackages.buildMix rec { - name = "temple"; - version = "0.9.0-rc.0"; - - src = fetchFromGitea { - domain = "akkoma.dev"; - owner = "AkkomaGang"; - repo = "temple"; - rev = "066a699ade472d8fa42a9d730b29a61af9bc8b59"; - hash = "sha256-qA0z8WTMjO2OixcZBARn/LbuV3s3LGtwZ9nSjj/tWBc="; - }; - - mixEnv = "dev"; - beamDeps = with final; [ earmark_parser ex_doc makeup makeup_elixir makeup_erlang nimble_parsec ]; - }; - - - # Some additional build inputs and build fixes - fast_html = prev.fast_html.override { - nativeBuildInputs = [ cmake ]; - dontUseCmakeConfigure = true; - }; - - syslog = prev.syslog.override { - buildPlugins = with beamPackages; [ pc ]; - }; - - mime = prev.mime.override { - patchPhase = let - cfgFile = writeText "config.exs" '' - import Config - - config :mime, :types, %{ - "application/xml" => ["xml"], - "application/xrd+xml" => ["xrd+xml"], - "application/jrd+json" => ["jrd+json"], - "application/activity+json" => ["activity+json"], - "application/ld+json" => ["activity+json"] - } - - config :mime, :extensions, %{ - "activity+json" => "application/activity+json" - } - ''; - in '' - mkdir config - cp ${cfgFile} config/config.exs + overrides = final: prev: + let + mimeTypePatchPhase = '' + mkdir -p config + cat >> config/config.exs < ["xml"], + "application/xrd+xml" => ["xrd+xml"], + "application/jrd+json" => ["jrd+json"], + "application/activity+json" => ["activity+json"], + "application/ld+json" => ["activity+json"], + "image/apng" => ["apng"] + } + Mix.Config.config :mime, :extensions, %{ + "activity+json" => "text/plain", + "jrd+json" => "text/plain", + "xrd+xml" => "text/plain" + } + EOF ''; + # Akkoma adds some things to the `mime` package's configuration, which requires it to be recompiled. + # However, we can't just recompile things like we would on other systems. + # Therefore, we need to add it to mime's compile-time config too, and also in every package that depends on mime, directly or indirectly. + # We take the lazy way out and just add it to every dependency - it won't make a difference in packages that don't depend on `mime`. + addMimeTypes = _: p: p.override { + patchPhase = mimeTypePatchPhase; + }; + in + (lib.attrsets.mapAttrs addMimeTypes prev) // { + # mix2nix does not support git dependencies yet, + # so we need to add them manually + captcha = beamPackages.buildMix rec { + name = "captcha"; + version = "0.1.0"; + + src = fetchFromGitLab { + domain = "git.pleroma.social"; + group = "pleroma"; + owner = "elixir-libraries"; + repo = "elixir-captcha"; + rev = "90f6ce7672f70f56708792a98d98bd05176c9176"; + hash = "sha256-s7EuAhmCsQA/4p2NJHJSWB/DZ5hA+7EelPsUOvKr2Po="; + }; + + # the binary is not getting installed by default + postInstall = "mv priv/* $out/lib/erlang/lib/${name}-${version}/priv/"; + }; + concurrent_limiter = beamPackages.buildMix rec { + name = "concurrent_limiter"; + version = "0.1.1"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "concurrent-limiter"; + rev = "a9e0b3d64574bdba761f429bb4fba0cf687b3338"; + hash = "sha256-A7ucZnXks4K+JDVY5vV2cT5KfEOUOo/OHO4rga5mGys="; + }; + }; + elasticsearch = beamPackages.buildMix rec { + name = "elasticsearch"; + version = "1.0.1"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "elasticsearch-elixir"; + rev = "6cd946f75f6ab9042521a009d1d32d29a90113ca"; + hash = "sha256-CtmQHVl+VTpemne+nxbkYGcErrgCo+t3ZBPbkFSpyF0="; + }; + }; + linkify = beamPackages.buildMix rec { + name = "linkify"; + version = "0.5.2"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "linkify"; + rev = "2567e2c1073fa371fd26fd66dfa5bc77b6919c16"; + hash = "sha256-e3wzlbRuyw/UB5Tb7IozX/WR1T+sIBf9C/o5Thki9vg="; + }; + }; + mfm_parser = beamPackages.buildMix rec { + name = "mfm_parser"; + version = "0.1.1"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "mfm-parser"; + rev = "b21ab7754024af096f2d14247574f55f0063295b"; + hash = "sha256-couG5jrAo0Fbk/WABd4n3vhXpDUp+9drxExKc5NM9CI="; + }; + + beamDeps = with final; [ phoenix_view temple ]; + patchPhase = mimeTypePatchPhase; + }; + search_parser = beamPackages.buildMix rec { + name = "search_parser"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "FloatingGhost"; + repo = "pleroma-contrib-search-parser"; + rev = "08971a81e68686f9ac465cfb6661d51c5e4e1e7f"; + hash = "sha256-sbo9Kcp2oT05o2GAF+IgziLPYmCkWgBfFMBCytmqg3Y="; + }; + + beamDeps = with final; [ nimble_parsec ]; + }; + temple = beamPackages.buildMix rec { + name = "temple"; + version = "0.9.0-rc.0"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "temple"; + rev = "066a699ade472d8fa42a9d730b29a61af9bc8b59"; + hash = "sha256-qA0z8WTMjO2OixcZBARn/LbuV3s3LGtwZ9nSjj/tWBc="; + }; + + mixEnv = "dev"; + beamDeps = with final; [ earmark_parser ex_doc makeup makeup_elixir makeup_erlang nimble_parsec ]; + patchPhase = mimeTypePatchPhase; + }; + + # Some additional build inputs and build fixes + fast_html = prev.fast_html.override { + nativeBuildInputs = [ cmake ]; + dontUseCmakeConfigure = true; + }; + http_signatures = beamPackages.buildMix rec { + name = "http_signatures"; + version = "0.1.2"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "http_signatures"; + rev = "6640ce7d24c783ac2ef56e27d00d12e8dc85f396"; + hash = "sha256-Q/IoVbM/TBgGCmx8AxiBHF2hARb0FbPml8N1HjN3CsE="; + }; + + beamDeps = with final; [ credo ex_doc dialyxir temple ]; + patchPhase = '' + substituteInPlace mix.exs --replace ":logger" ":logger, :public_key" + ${mimeTypePatchPhase} + ''; + }; + majic = beamPackages.buildMix { + name = "majic"; + version = "0.1.2"; + + src = fetchFromGitea { + domain = "akkoma.dev"; + owner = "AkkomaGang"; + repo = "majic"; + rev = "80540b36939ec83f48e76c61e5000e0fd67706f0"; + hash = "sha256-OMM9aDRvbqCOBIE+iPySU8ONRn1BqHDql22rRSmdW08="; + }; + + buildInputs = [ file ]; + beamDeps = with final; [ nimble_pool mime plug credo dialyxir ex_doc elixir_make ]; + patchPhase = mimeTypePatchPhase; + }; + + syslog = prev.syslog.override { + buildPlugins = with beamPackages; [ pc ]; + }; }; - }); }; passthru = { diff --git a/pkgs/servers/akkoma/mix.nix b/pkgs/servers/akkoma/mix.nix index 9eaa2a3d9526..1519894e8505 100644 --- a/pkgs/servers/akkoma/mix.nix +++ b/pkgs/servers/akkoma/mix.nix @@ -1,5 +1,8 @@ -{ lib, beamPackages, overrides ? (x: y: {}) }: - +{ lib +, beamPackages +, overrides ? (x: y: { }) +, +}: let buildRebar3 = lib.makeOverridable beamPackages.buildRebar3; buildMix = lib.makeOverridable beamPackages.buildMix; @@ -7,1605 +10,1606 @@ let self = packages // (overrides self packages); - packages = with beamPackages; with self; { - argon2_elixir = buildMix rec { - name = "argon2_elixir"; - version = "3.2.1"; + packages = with beamPackages; + with self; { + argon2_elixir = buildMix rec { + name = "argon2_elixir"; + version = "3.2.1"; - src = fetchHex { - pkg = "argon2_elixir"; - version = "${version}"; - sha256 = "a813b78217394530b5fcf4c8070feee43df03ffef938d044019169c766315690"; + src = fetchHex { + pkg = "argon2_elixir"; + version = "${version}"; + sha256 = "a813b78217394530b5fcf4c8070feee43df03ffef938d044019169c766315690"; + }; + + beamDeps = [ comeonin elixir_make ]; }; - beamDeps = [ comeonin elixir_make ]; - }; + base62 = buildMix rec { + name = "base62"; + version = "1.2.2"; - base62 = buildMix rec { - name = "base62"; - version = "1.2.2"; + src = fetchHex { + pkg = "base62"; + version = "${version}"; + sha256 = "d41336bda8eaa5be197f1e4592400513ee60518e5b9f4dcf38f4b4dae6f377bb"; + }; - src = fetchHex { - pkg = "base62"; - version = "${version}"; - sha256 = "d41336bda8eaa5be197f1e4592400513ee60518e5b9f4dcf38f4b4dae6f377bb"; + beamDeps = [ custom_base ]; }; - beamDeps = [ custom_base ]; - }; + bbcode_pleroma = buildMix rec { + name = "bbcode_pleroma"; + version = "0.2.0"; - bbcode_pleroma = buildMix rec { - name = "bbcode_pleroma"; - version = "0.2.0"; + src = fetchHex { + pkg = "bbcode_pleroma"; + version = "${version}"; + sha256 = "19851074419a5fedb4ef49e1f01b30df504bb5dbb6d6adfc135238063bebd1c3"; + }; - src = fetchHex { - pkg = "bbcode_pleroma"; - version = "${version}"; - sha256 = "19851074419a5fedb4ef49e1f01b30df504bb5dbb6d6adfc135238063bebd1c3"; + beamDeps = [ nimble_parsec ]; }; - beamDeps = [ nimble_parsec ]; - }; + bcrypt_elixir = buildMix rec { + name = "bcrypt_elixir"; + version = "3.0.1"; - bcrypt_elixir = buildMix rec { - name = "bcrypt_elixir"; - version = "3.0.1"; + src = fetchHex { + pkg = "bcrypt_elixir"; + version = "${version}"; + sha256 = "486bb95efb645d1efc6794c1ddd776a186a9a713abf06f45708a6ce324fb96cf"; + }; - src = fetchHex { - pkg = "bcrypt_elixir"; - version = "${version}"; - sha256 = "486bb95efb645d1efc6794c1ddd776a186a9a713abf06f45708a6ce324fb96cf"; + beamDeps = [ comeonin elixir_make ]; }; - beamDeps = [ comeonin elixir_make ]; - }; + benchee = buildMix rec { + name = "benchee"; + version = "1.2.0"; - benchee = buildMix rec { - name = "benchee"; - version = "1.2.0"; + src = fetchHex { + pkg = "benchee"; + version = "${version}"; + sha256 = "ee729e53217898b8fd30aaad3cce61973dab61574ae6f48229fe7ff42d5e4457"; + }; - src = fetchHex { - pkg = "benchee"; - version = "${version}"; - sha256 = "ee729e53217898b8fd30aaad3cce61973dab61574ae6f48229fe7ff42d5e4457"; + beamDeps = [ deep_merge statistex ]; }; - beamDeps = [ deep_merge statistex ]; - }; + bunt = buildMix rec { + name = "bunt"; + version = "0.2.1"; - bunt = buildMix rec { - name = "bunt"; - version = "0.2.1"; + src = fetchHex { + pkg = "bunt"; + version = "${version}"; + sha256 = "a330bfb4245239787b15005e66ae6845c9cd524a288f0d141c148b02603777a5"; + }; - src = fetchHex { - pkg = "bunt"; - version = "${version}"; - sha256 = "a330bfb4245239787b15005e66ae6845c9cd524a288f0d141c148b02603777a5"; + beamDeps = [ ]; }; - beamDeps = []; - }; + cachex = buildMix rec { + name = "cachex"; + version = "3.6.0"; - cachex = buildMix rec { - name = "cachex"; - version = "3.6.0"; + src = fetchHex { + pkg = "cachex"; + version = "${version}"; + sha256 = "ebf24e373883bc8e0c8d894a63bbe102ae13d918f790121f5cfe6e485cc8e2e2"; + }; - src = fetchHex { - pkg = "cachex"; - version = "${version}"; - sha256 = "ebf24e373883bc8e0c8d894a63bbe102ae13d918f790121f5cfe6e485cc8e2e2"; + beamDeps = [ eternal jumper sleeplocks unsafe ]; }; - beamDeps = [ eternal jumper sleeplocks unsafe ]; - }; + calendar = buildMix rec { + name = "calendar"; + version = "1.0.0"; - calendar = buildMix rec { - name = "calendar"; - version = "1.0.0"; + src = fetchHex { + pkg = "calendar"; + version = "${version}"; + sha256 = "990e9581920c82912a5ee50e62ff5ef96da6b15949a2ee4734f935fdef0f0a6f"; + }; - src = fetchHex { - pkg = "calendar"; - version = "${version}"; - sha256 = "990e9581920c82912a5ee50e62ff5ef96da6b15949a2ee4734f935fdef0f0a6f"; + beamDeps = [ tzdata ]; }; - beamDeps = [ tzdata ]; - }; + castore = buildMix rec { + name = "castore"; + version = "1.0.5"; - castore = buildMix rec { - name = "castore"; - version = "1.0.5"; + src = fetchHex { + pkg = "castore"; + version = "${version}"; + sha256 = "8d7c597c3e4a64c395980882d4bca3cebb8d74197c590dc272cfd3b6a6310578"; + }; - src = fetchHex { - pkg = "castore"; - version = "${version}"; - sha256 = "8d7c597c3e4a64c395980882d4bca3cebb8d74197c590dc272cfd3b6a6310578"; + beamDeps = [ ]; }; - beamDeps = []; - }; + certifi = buildRebar3 rec { + name = "certifi"; + version = "2.12.0"; - certifi = buildRebar3 rec { - name = "certifi"; - version = "2.12.0"; + src = fetchHex { + pkg = "certifi"; + version = "${version}"; + sha256 = "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"; + }; - src = fetchHex { - pkg = "certifi"; - version = "${version}"; - sha256 = "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"; + beamDeps = [ ]; }; - beamDeps = []; - }; + combine = buildMix rec { + name = "combine"; + version = "0.10.0"; - combine = buildMix rec { - name = "combine"; - version = "0.10.0"; + src = fetchHex { + pkg = "combine"; + version = "${version}"; + sha256 = "1b1dbc1790073076580d0d1d64e42eae2366583e7aecd455d1215b0d16f2451b"; + }; - src = fetchHex { - pkg = "combine"; - version = "${version}"; - sha256 = "1b1dbc1790073076580d0d1d64e42eae2366583e7aecd455d1215b0d16f2451b"; + beamDeps = [ ]; }; - beamDeps = []; - }; + comeonin = buildMix rec { + name = "comeonin"; + version = "5.4.0"; - comeonin = buildMix rec { - name = "comeonin"; - version = "5.4.0"; + src = fetchHex { + pkg = "comeonin"; + version = "${version}"; + sha256 = "796393a9e50d01999d56b7b8420ab0481a7538d0caf80919da493b4a6e51faf1"; + }; - src = fetchHex { - pkg = "comeonin"; - version = "${version}"; - sha256 = "796393a9e50d01999d56b7b8420ab0481a7538d0caf80919da493b4a6e51faf1"; + beamDeps = [ ]; }; - beamDeps = []; - }; + connection = buildMix rec { + name = "connection"; + version = "1.1.0"; - connection = buildMix rec { - name = "connection"; - version = "1.1.0"; + src = fetchHex { + pkg = "connection"; + version = "${version}"; + sha256 = "722c1eb0a418fbe91ba7bd59a47e28008a189d47e37e0e7bb85585a016b2869c"; + }; - src = fetchHex { - pkg = "connection"; - version = "${version}"; - sha256 = "722c1eb0a418fbe91ba7bd59a47e28008a189d47e37e0e7bb85585a016b2869c"; + beamDeps = [ ]; }; - beamDeps = []; - }; + cors_plug = buildMix rec { + name = "cors_plug"; + version = "3.0.3"; - cors_plug = buildMix rec { - name = "cors_plug"; - version = "3.0.3"; + src = fetchHex { + pkg = "cors_plug"; + version = "${version}"; + sha256 = "3f2d759e8c272ed3835fab2ef11b46bddab8c1ab9528167bd463b6452edf830d"; + }; - src = fetchHex { - pkg = "cors_plug"; - version = "${version}"; - sha256 = "3f2d759e8c272ed3835fab2ef11b46bddab8c1ab9528167bd463b6452edf830d"; + beamDeps = [ plug ]; }; - beamDeps = [ plug ]; - }; + cowboy = buildErlangMk rec { + name = "cowboy"; + version = "2.10.0"; - cowboy = buildErlangMk rec { - name = "cowboy"; - version = "2.10.0"; + src = fetchHex { + pkg = "cowboy"; + version = "${version}"; + sha256 = "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b"; + }; - src = fetchHex { - pkg = "cowboy"; - version = "${version}"; - sha256 = "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b"; + beamDeps = [ cowlib ranch ]; }; - beamDeps = [ cowlib ranch ]; - }; + cowboy_telemetry = buildRebar3 rec { + name = "cowboy_telemetry"; + version = "0.4.0"; - cowboy_telemetry = buildRebar3 rec { - name = "cowboy_telemetry"; - version = "0.4.0"; + src = fetchHex { + pkg = "cowboy_telemetry"; + version = "${version}"; + sha256 = "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"; + }; - src = fetchHex { - pkg = "cowboy_telemetry"; - version = "${version}"; - sha256 = "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"; + beamDeps = [ cowboy telemetry ]; }; - beamDeps = [ cowboy telemetry ]; - }; + cowlib = buildRebar3 rec { + name = "cowlib"; + version = "2.12.1"; - cowlib = buildRebar3 rec { - name = "cowlib"; - version = "2.12.1"; + src = fetchHex { + pkg = "cowlib"; + version = "${version}"; + sha256 = "163b73f6367a7341b33c794c4e88e7dbfe6498ac42dcd69ef44c5bc5507c8db0"; + }; - src = fetchHex { - pkg = "cowlib"; - version = "${version}"; - sha256 = "163b73f6367a7341b33c794c4e88e7dbfe6498ac42dcd69ef44c5bc5507c8db0"; + beamDeps = [ ]; }; - beamDeps = []; - }; + credo = buildMix rec { + name = "credo"; + version = "1.7.1"; - credo = buildMix rec { - name = "credo"; - version = "1.7.1"; + src = fetchHex { + pkg = "credo"; + version = "${version}"; + sha256 = "e9871c6095a4c0381c89b6aa98bc6260a8ba6addccf7f6a53da8849c748a58a2"; + }; - src = fetchHex { - pkg = "credo"; - version = "${version}"; - sha256 = "e9871c6095a4c0381c89b6aa98bc6260a8ba6addccf7f6a53da8849c748a58a2"; + beamDeps = [ bunt file_system jason ]; }; - beamDeps = [ bunt file_system jason ]; - }; + custom_base = buildMix rec { + name = "custom_base"; + version = "0.2.1"; - custom_base = buildMix rec { - name = "custom_base"; - version = "0.2.1"; + src = fetchHex { + pkg = "custom_base"; + version = "${version}"; + sha256 = "8df019facc5ec9603e94f7270f1ac73ddf339f56ade76a721eaa57c1493ba463"; + }; - src = fetchHex { - pkg = "custom_base"; - version = "${version}"; - sha256 = "8df019facc5ec9603e94f7270f1ac73ddf339f56ade76a721eaa57c1493ba463"; + beamDeps = [ ]; }; - beamDeps = []; - }; + db_connection = buildMix rec { + name = "db_connection"; + version = "2.6.0"; - db_connection = buildMix rec { - name = "db_connection"; - version = "2.6.0"; + src = fetchHex { + pkg = "db_connection"; + version = "${version}"; + sha256 = "c2f992d15725e721ec7fbc1189d4ecdb8afef76648c746a8e1cad35e3b8a35f3"; + }; - src = fetchHex { - pkg = "db_connection"; - version = "${version}"; - sha256 = "c2f992d15725e721ec7fbc1189d4ecdb8afef76648c746a8e1cad35e3b8a35f3"; + beamDeps = [ telemetry ]; }; - beamDeps = [ telemetry ]; - }; + decimal = buildMix rec { + name = "decimal"; + version = "2.1.1"; - decimal = buildMix rec { - name = "decimal"; - version = "2.1.1"; + src = fetchHex { + pkg = "decimal"; + version = "${version}"; + sha256 = "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"; + }; - src = fetchHex { - pkg = "decimal"; - version = "${version}"; - sha256 = "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"; + beamDeps = [ ]; }; - beamDeps = []; - }; + deep_merge = buildMix rec { + name = "deep_merge"; + version = "1.0.0"; - deep_merge = buildMix rec { - name = "deep_merge"; - version = "1.0.0"; + src = fetchHex { + pkg = "deep_merge"; + version = "${version}"; + sha256 = "ce708e5f094b9cd4e8f2be4f00d2f4250c4095be93f8cd6d018c753894885430"; + }; - src = fetchHex { - pkg = "deep_merge"; - version = "${version}"; - sha256 = "ce708e5f094b9cd4e8f2be4f00d2f4250c4095be93f8cd6d018c753894885430"; + beamDeps = [ ]; }; - beamDeps = []; - }; + dialyxir = buildMix rec { + name = "dialyxir"; + version = "1.4.2"; - dialyxir = buildMix rec { - name = "dialyxir"; - version = "1.4.2"; + src = fetchHex { + pkg = "dialyxir"; + version = "${version}"; + sha256 = "516603d8067b2fd585319e4b13d3674ad4f314a5902ba8130cd97dc902ce6bbd"; + }; - src = fetchHex { - pkg = "dialyxir"; - version = "${version}"; - sha256 = "516603d8067b2fd585319e4b13d3674ad4f314a5902ba8130cd97dc902ce6bbd"; + beamDeps = [ erlex ]; }; - beamDeps = [ erlex ]; - }; + earmark = buildMix rec { + name = "earmark"; + version = "1.4.46"; - earmark = buildMix rec { - name = "earmark"; - version = "1.4.46"; + src = fetchHex { + pkg = "earmark"; + version = "${version}"; + sha256 = "798d86db3d79964e759ddc0c077d5eb254968ed426399fbf5a62de2b5ff8910a"; + }; - src = fetchHex { - pkg = "earmark"; - version = "${version}"; - sha256 = "798d86db3d79964e759ddc0c077d5eb254968ed426399fbf5a62de2b5ff8910a"; + beamDeps = [ ]; }; - beamDeps = []; - }; + earmark_parser = buildMix rec { + name = "earmark_parser"; + version = "1.4.39"; - earmark_parser = buildMix rec { - name = "earmark_parser"; - version = "1.4.39"; + src = fetchHex { + pkg = "earmark_parser"; + version = "${version}"; + sha256 = "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"; + }; - src = fetchHex { - pkg = "earmark_parser"; - version = "${version}"; - sha256 = "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"; + beamDeps = [ ]; }; - beamDeps = []; - }; + eblurhash = buildRebar3 rec { + name = "eblurhash"; + version = "1.2.2"; - eblurhash = buildRebar3 rec { - name = "eblurhash"; - version = "1.2.2"; + src = fetchHex { + pkg = "eblurhash"; + version = "${version}"; + sha256 = "8c20ca00904de023a835a9dcb7b7762fed32264c85a80c3cafa85288e405044c"; + }; - src = fetchHex { - pkg = "eblurhash"; - version = "${version}"; - sha256 = "8c20ca00904de023a835a9dcb7b7762fed32264c85a80c3cafa85288e405044c"; + beamDeps = [ ]; }; - beamDeps = []; - }; + ecto = buildMix rec { + name = "ecto"; + version = "3.10.3"; - ecto = buildMix rec { - name = "ecto"; - version = "3.10.3"; + src = fetchHex { + pkg = "ecto"; + version = "${version}"; + sha256 = "44bec74e2364d491d70f7e42cd0d690922659d329f6465e89feb8a34e8cd3433"; + }; - src = fetchHex { - pkg = "ecto"; - version = "${version}"; - sha256 = "44bec74e2364d491d70f7e42cd0d690922659d329f6465e89feb8a34e8cd3433"; + beamDeps = [ decimal jason telemetry ]; }; - beamDeps = [ decimal jason telemetry ]; - }; + ecto_enum = buildMix rec { + name = "ecto_enum"; + version = "1.4.0"; - ecto_enum = buildMix rec { - name = "ecto_enum"; - version = "1.4.0"; + src = fetchHex { + pkg = "ecto_enum"; + version = "${version}"; + sha256 = "8fb55c087181c2b15eee406519dc22578fa60dd82c088be376d0010172764ee4"; + }; - src = fetchHex { - pkg = "ecto_enum"; - version = "${version}"; - sha256 = "8fb55c087181c2b15eee406519dc22578fa60dd82c088be376d0010172764ee4"; + beamDeps = [ ecto ecto_sql postgrex ]; }; - beamDeps = [ ecto ecto_sql postgrex ]; - }; + ecto_psql_extras = buildMix rec { + name = "ecto_psql_extras"; + version = "0.7.14"; - ecto_psql_extras = buildMix rec { - name = "ecto_psql_extras"; - version = "0.7.14"; + src = fetchHex { + pkg = "ecto_psql_extras"; + version = "${version}"; + sha256 = "22f5f98592dd597db9416fcef00effae0787669fdcb6faf447e982b553798e98"; + }; - src = fetchHex { - pkg = "ecto_psql_extras"; - version = "${version}"; - sha256 = "22f5f98592dd597db9416fcef00effae0787669fdcb6faf447e982b553798e98"; + beamDeps = [ ecto_sql postgrex table_rex ]; }; - beamDeps = [ ecto_sql postgrex table_rex ]; - }; + ecto_sql = buildMix rec { + name = "ecto_sql"; + version = "3.10.2"; - ecto_sql = buildMix rec { - name = "ecto_sql"; - version = "3.10.2"; + src = fetchHex { + pkg = "ecto_sql"; + version = "${version}"; + sha256 = "68c018debca57cb9235e3889affdaec7a10616a4e3a80c99fa1d01fdafaa9007"; + }; - src = fetchHex { - pkg = "ecto_sql"; - version = "${version}"; - sha256 = "68c018debca57cb9235e3889affdaec7a10616a4e3a80c99fa1d01fdafaa9007"; + beamDeps = [ db_connection ecto postgrex telemetry ]; }; - beamDeps = [ db_connection ecto postgrex telemetry ]; - }; + elixir_make = buildMix rec { + name = "elixir_make"; + version = "0.7.7"; - elixir_make = buildMix rec { - name = "elixir_make"; - version = "0.7.7"; + src = fetchHex { + pkg = "elixir_make"; + version = "${version}"; + sha256 = "5bc19fff950fad52bbe5f211b12db9ec82c6b34a9647da0c2224b8b8464c7e6c"; + }; - src = fetchHex { - pkg = "elixir_make"; - version = "${version}"; - sha256 = "5bc19fff950fad52bbe5f211b12db9ec82c6b34a9647da0c2224b8b8464c7e6c"; + beamDeps = [ castore ]; }; - beamDeps = [ castore ]; - }; + elixir_xml_to_map = buildMix rec { + name = "elixir_xml_to_map"; + version = "3.0.0"; - elixir_xml_to_map = buildMix rec { - name = "elixir_xml_to_map"; - version = "3.0.0"; + src = fetchHex { + pkg = "elixir_xml_to_map"; + version = "${version}"; + sha256 = "11222dd7f029f8db7a6662b41c992dbdb0e1c6e4fdea6a42056f9d27c847efbb"; + }; - src = fetchHex { - pkg = "elixir_xml_to_map"; - version = "${version}"; - sha256 = "11222dd7f029f8db7a6662b41c992dbdb0e1c6e4fdea6a42056f9d27c847efbb"; + beamDeps = [ erlsom ]; }; - beamDeps = [ erlsom ]; - }; + erlex = buildMix rec { + name = "erlex"; + version = "0.2.6"; - erlex = buildMix rec { - name = "erlex"; - version = "0.2.6"; + src = fetchHex { + pkg = "erlex"; + version = "${version}"; + sha256 = "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"; + }; - src = fetchHex { - pkg = "erlex"; - version = "${version}"; - sha256 = "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"; + beamDeps = [ ]; }; - beamDeps = []; - }; + erlsom = buildRebar3 rec { + name = "erlsom"; + version = "1.5.1"; - erlsom = buildRebar3 rec { - name = "erlsom"; - version = "1.5.1"; + src = fetchHex { + pkg = "erlsom"; + version = "${version}"; + sha256 = "7965485494c5844dd127656ac40f141aadfa174839ec1be1074e7edf5b4239eb"; + }; - src = fetchHex { - pkg = "erlsom"; - version = "${version}"; - sha256 = "7965485494c5844dd127656ac40f141aadfa174839ec1be1074e7edf5b4239eb"; + beamDeps = [ ]; }; - beamDeps = []; - }; + eternal = buildMix rec { + name = "eternal"; + version = "1.2.2"; - eternal = buildMix rec { - name = "eternal"; - version = "1.2.2"; + src = fetchHex { + pkg = "eternal"; + version = "${version}"; + sha256 = "2c9fe32b9c3726703ba5e1d43a1d255a4f3f2d8f8f9bc19f094c7cb1a7a9e782"; + }; - src = fetchHex { - pkg = "eternal"; - version = "${version}"; - sha256 = "2c9fe32b9c3726703ba5e1d43a1d255a4f3f2d8f8f9bc19f094c7cb1a7a9e782"; + beamDeps = [ ]; }; - beamDeps = []; - }; + ex_aws = buildMix rec { + name = "ex_aws"; + version = "2.5.0"; - ex_aws = buildMix rec { - name = "ex_aws"; - version = "2.5.0"; + src = fetchHex { + pkg = "ex_aws"; + version = "${version}"; + sha256 = "971b86e5495fc0ae1c318e35e23f389e74cf322f2c02d34037c6fc6d405006f1"; + }; - src = fetchHex { - pkg = "ex_aws"; - version = "${version}"; - sha256 = "971b86e5495fc0ae1c318e35e23f389e74cf322f2c02d34037c6fc6d405006f1"; + beamDeps = [ hackney jason mime sweet_xml telemetry ]; }; - beamDeps = [ hackney jason mime sweet_xml telemetry ]; - }; + ex_aws_s3 = buildMix rec { + name = "ex_aws_s3"; + version = "2.5.2"; - ex_aws_s3 = buildMix rec { - name = "ex_aws_s3"; - version = "2.5.2"; + src = fetchHex { + pkg = "ex_aws_s3"; + version = "${version}"; + sha256 = "cc5bd945a22a99eece4721d734ae2452d3717e81c357a781c8574663254df4a1"; + }; - src = fetchHex { - pkg = "ex_aws_s3"; - version = "${version}"; - sha256 = "cc5bd945a22a99eece4721d734ae2452d3717e81c357a781c8574663254df4a1"; + beamDeps = [ ex_aws sweet_xml ]; }; - beamDeps = [ ex_aws sweet_xml ]; - }; + ex_const = buildMix rec { + name = "ex_const"; + version = "0.2.4"; - ex_const = buildMix rec { - name = "ex_const"; - version = "0.2.4"; + src = fetchHex { + pkg = "ex_const"; + version = "${version}"; + sha256 = "96fd346610cc992b8f896ed26a98be82ac4efb065a0578f334a32d60a3ba9767"; + }; - src = fetchHex { - pkg = "ex_const"; - version = "${version}"; - sha256 = "96fd346610cc992b8f896ed26a98be82ac4efb065a0578f334a32d60a3ba9767"; + beamDeps = [ ]; }; - beamDeps = []; - }; + ex_doc = buildMix rec { + name = "ex_doc"; + version = "0.31.0"; - ex_doc = buildMix rec { - name = "ex_doc"; - version = "0.31.0"; + src = fetchHex { + pkg = "ex_doc"; + version = "${version}"; + sha256 = "5350cafa6b7f77bdd107aa2199fe277acf29d739aba5aee7e865fc680c62a110"; + }; - src = fetchHex { - pkg = "ex_doc"; - version = "${version}"; - sha256 = "5350cafa6b7f77bdd107aa2199fe277acf29d739aba5aee7e865fc680c62a110"; + beamDeps = [ earmark_parser makeup_elixir makeup_erlang ]; }; - beamDeps = [ earmark_parser makeup_elixir makeup_erlang ]; - }; + ex_machina = buildMix rec { + name = "ex_machina"; + version = "2.7.0"; - ex_machina = buildMix rec { - name = "ex_machina"; - version = "2.7.0"; + src = fetchHex { + pkg = "ex_machina"; + version = "${version}"; + sha256 = "419aa7a39bde11894c87a615c4ecaa52d8f107bbdd81d810465186f783245bf8"; + }; - src = fetchHex { - pkg = "ex_machina"; - version = "${version}"; - sha256 = "419aa7a39bde11894c87a615c4ecaa52d8f107bbdd81d810465186f783245bf8"; + beamDeps = [ ecto ecto_sql ]; }; - beamDeps = [ ecto ecto_sql ]; - }; + ex_syslogger = buildMix rec { + name = "ex_syslogger"; + version = "2.0.0"; - ex_syslogger = buildMix rec { - name = "ex_syslogger"; - version = "2.0.0"; + src = fetchHex { + pkg = "ex_syslogger"; + version = "${version}"; + sha256 = "a52b2fe71764e9e6ecd149ab66635812f68e39279cbeee27c52c0e35e8b8019e"; + }; - src = fetchHex { - pkg = "ex_syslogger"; - version = "${version}"; - sha256 = "a52b2fe71764e9e6ecd149ab66635812f68e39279cbeee27c52c0e35e8b8019e"; + beamDeps = [ jason syslog ]; }; - beamDeps = [ jason syslog ]; - }; + excoveralls = buildMix rec { + name = "excoveralls"; + version = "0.16.1"; - excoveralls = buildMix rec { - name = "excoveralls"; - version = "0.16.1"; + src = fetchHex { + pkg = "excoveralls"; + version = "${version}"; + sha256 = "dae763468e2008cf7075a64cb1249c97cb4bc71e236c5c2b5e5cdf1cfa2bf138"; + }; - src = fetchHex { - pkg = "excoveralls"; - version = "${version}"; - sha256 = "dae763468e2008cf7075a64cb1249c97cb4bc71e236c5c2b5e5cdf1cfa2bf138"; + beamDeps = [ hackney jason ]; }; - beamDeps = [ hackney jason ]; - }; + expo = buildMix rec { + name = "expo"; + version = "0.4.1"; - expo = buildMix rec { - name = "expo"; - version = "0.4.1"; + src = fetchHex { + pkg = "expo"; + version = "${version}"; + sha256 = "2ff7ba7a798c8c543c12550fa0e2cbc81b95d4974c65855d8d15ba7b37a1ce47"; + }; - src = fetchHex { - pkg = "expo"; - version = "${version}"; - sha256 = "2ff7ba7a798c8c543c12550fa0e2cbc81b95d4974c65855d8d15ba7b37a1ce47"; + beamDeps = [ ]; }; - beamDeps = []; - }; + fast_html = buildMix rec { + name = "fast_html"; + version = "2.2.0"; - fast_html = buildMix rec { - name = "fast_html"; - version = "2.2.0"; + src = fetchHex { + pkg = "fast_html"; + version = "${version}"; + sha256 = "064c4f23b4a6168f9187dac8984b056f2c531bb0787f559fd6a8b34b38aefbae"; + }; - src = fetchHex { - pkg = "fast_html"; - version = "${version}"; - sha256 = "064c4f23b4a6168f9187dac8984b056f2c531bb0787f559fd6a8b34b38aefbae"; + beamDeps = [ elixir_make nimble_pool ]; }; - beamDeps = [ elixir_make nimble_pool ]; - }; + fast_sanitize = buildMix rec { + name = "fast_sanitize"; + version = "0.2.3"; - fast_sanitize = buildMix rec { - name = "fast_sanitize"; - version = "0.2.3"; + src = fetchHex { + pkg = "fast_sanitize"; + version = "${version}"; + sha256 = "e8ad286d10d0386e15d67d0ee125245ebcfbc7d7290b08712ba9013c8c5e56e2"; + }; - src = fetchHex { - pkg = "fast_sanitize"; - version = "${version}"; - sha256 = "e8ad286d10d0386e15d67d0ee125245ebcfbc7d7290b08712ba9013c8c5e56e2"; + beamDeps = [ fast_html plug ]; }; - beamDeps = [ fast_html plug ]; - }; + file_system = buildMix rec { + name = "file_system"; + version = "0.2.10"; - file_system = buildMix rec { - name = "file_system"; - version = "0.2.10"; + src = fetchHex { + pkg = "file_system"; + version = "${version}"; + sha256 = "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"; + }; - src = fetchHex { - pkg = "file_system"; - version = "${version}"; - sha256 = "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"; + beamDeps = [ ]; }; - beamDeps = []; - }; + finch = buildMix rec { + name = "finch"; + version = "0.16.0"; - finch = buildMix rec { - name = "finch"; - version = "0.16.0"; + src = fetchHex { + pkg = "finch"; + version = "${version}"; + sha256 = "f660174c4d519e5fec629016054d60edd822cdfe2b7270836739ac2f97735ec5"; + }; - src = fetchHex { - pkg = "finch"; - version = "${version}"; - sha256 = "f660174c4d519e5fec629016054d60edd822cdfe2b7270836739ac2f97735ec5"; + beamDeps = [ castore mime mint nimble_options nimble_pool telemetry ]; }; - beamDeps = [ castore mime mint nimble_options nimble_pool telemetry ]; - }; + flake_id = buildMix rec { + name = "flake_id"; + version = "0.1.0"; - flake_id = buildMix rec { - name = "flake_id"; - version = "0.1.0"; + src = fetchHex { + pkg = "flake_id"; + version = "${version}"; + sha256 = "31fc8090fde1acd267c07c36ea7365b8604055f897d3a53dd967658c691bd827"; + }; - src = fetchHex { - pkg = "flake_id"; - version = "${version}"; - sha256 = "31fc8090fde1acd267c07c36ea7365b8604055f897d3a53dd967658c691bd827"; + beamDeps = [ base62 ecto ]; }; - beamDeps = [ base62 ecto ]; - }; + floki = buildMix rec { + name = "floki"; + version = "0.35.2"; - floki = buildMix rec { - name = "floki"; - version = "0.35.2"; + src = fetchHex { + pkg = "floki"; + version = "${version}"; + sha256 = "6b05289a8e9eac475f644f09c2e4ba7e19201fd002b89c28c1293e7bd16773d9"; + }; - src = fetchHex { - pkg = "floki"; - version = "${version}"; - sha256 = "6b05289a8e9eac475f644f09c2e4ba7e19201fd002b89c28c1293e7bd16773d9"; + beamDeps = [ ]; }; - beamDeps = []; - }; + gen_smtp = buildRebar3 rec { + name = "gen_smtp"; + version = "1.2.0"; - gen_smtp = buildRebar3 rec { - name = "gen_smtp"; - version = "1.2.0"; + src = fetchHex { + pkg = "gen_smtp"; + version = "${version}"; + sha256 = "5ee0375680bca8f20c4d85f58c2894441443a743355430ff33a783fe03296779"; + }; - src = fetchHex { - pkg = "gen_smtp"; - version = "${version}"; - sha256 = "5ee0375680bca8f20c4d85f58c2894441443a743355430ff33a783fe03296779"; + beamDeps = [ ranch ]; }; - beamDeps = [ ranch ]; - }; + gettext = buildMix rec { + name = "gettext"; + version = "0.22.3"; - gettext = buildMix rec { - name = "gettext"; - version = "0.22.3"; + src = fetchHex { + pkg = "gettext"; + version = "${version}"; + sha256 = "935f23447713954a6866f1bb28c3a878c4c011e802bcd68a726f5e558e4b64bd"; + }; - src = fetchHex { - pkg = "gettext"; - version = "${version}"; - sha256 = "935f23447713954a6866f1bb28c3a878c4c011e802bcd68a726f5e558e4b64bd"; + beamDeps = [ expo ]; }; - beamDeps = [ expo ]; - }; + hackney = buildRebar3 rec { + name = "hackney"; + version = "1.20.1"; - hackney = buildRebar3 rec { - name = "hackney"; - version = "1.20.1"; + src = fetchHex { + pkg = "hackney"; + version = "${version}"; + sha256 = "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"; + }; - src = fetchHex { - pkg = "hackney"; - version = "${version}"; - sha256 = "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"; + beamDeps = [ certifi idna metrics mimerl parse_trans ssl_verify_fun unicode_util_compat ]; }; - beamDeps = [ certifi idna metrics mimerl parse_trans ssl_verify_fun unicode_util_compat ]; - }; + hpax = buildMix rec { + name = "hpax"; + version = "0.1.2"; - hpax = buildMix rec { - name = "hpax"; - version = "0.1.2"; + src = fetchHex { + pkg = "hpax"; + version = "${version}"; + sha256 = "2c87843d5a23f5f16748ebe77969880e29809580efdaccd615cd3bed628a8c13"; + }; - src = fetchHex { - pkg = "hpax"; - version = "${version}"; - sha256 = "2c87843d5a23f5f16748ebe77969880e29809580efdaccd615cd3bed628a8c13"; + beamDeps = [ ]; }; - beamDeps = []; - }; + html_entities = buildMix rec { + name = "html_entities"; + version = "0.5.2"; - html_entities = buildMix rec { - name = "html_entities"; - version = "0.5.2"; + src = fetchHex { + pkg = "html_entities"; + version = "${version}"; + sha256 = "c53ba390403485615623b9531e97696f076ed415e8d8058b1dbaa28181f4fdcc"; + }; - src = fetchHex { - pkg = "html_entities"; - version = "${version}"; - sha256 = "c53ba390403485615623b9531e97696f076ed415e8d8058b1dbaa28181f4fdcc"; + beamDeps = [ ]; }; - beamDeps = []; - }; + httpoison = buildMix rec { + name = "httpoison"; + version = "1.8.2"; - httpoison = buildMix rec { - name = "httpoison"; - version = "1.8.2"; + src = fetchHex { + pkg = "httpoison"; + version = "${version}"; + sha256 = "2bb350d26972e30c96e2ca74a1aaf8293d61d0742ff17f01e0279fef11599921"; + }; - src = fetchHex { - pkg = "httpoison"; - version = "${version}"; - sha256 = "2bb350d26972e30c96e2ca74a1aaf8293d61d0742ff17f01e0279fef11599921"; + beamDeps = [ hackney ]; }; - beamDeps = [ hackney ]; - }; + idna = buildRebar3 rec { + name = "idna"; + version = "6.1.1"; - idna = buildRebar3 rec { - name = "idna"; - version = "6.1.1"; + src = fetchHex { + pkg = "idna"; + version = "${version}"; + sha256 = "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"; + }; - src = fetchHex { - pkg = "idna"; - version = "${version}"; - sha256 = "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"; + beamDeps = [ unicode_util_compat ]; }; - beamDeps = [ unicode_util_compat ]; - }; + inet_cidr = buildMix rec { + name = "inet_cidr"; + version = "1.0.4"; - inet_cidr = buildMix rec { - name = "inet_cidr"; - version = "1.0.4"; + src = fetchHex { + pkg = "inet_cidr"; + version = "${version}"; + sha256 = "64a2d30189704ae41ca7dbdd587f5291db5d1dda1414e0774c29ffc81088c1bc"; + }; - src = fetchHex { - pkg = "inet_cidr"; - version = "${version}"; - sha256 = "64a2d30189704ae41ca7dbdd587f5291db5d1dda1414e0774c29ffc81088c1bc"; + beamDeps = [ ]; }; - beamDeps = []; - }; + jason = buildMix rec { + name = "jason"; + version = "1.4.1"; - jason = buildMix rec { - name = "jason"; - version = "1.4.1"; + src = fetchHex { + pkg = "jason"; + version = "${version}"; + sha256 = "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"; + }; - src = fetchHex { - pkg = "jason"; - version = "${version}"; - sha256 = "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"; + beamDeps = [ decimal ]; }; - beamDeps = [ decimal ]; - }; + joken = buildMix rec { + name = "joken"; + version = "2.6.0"; - joken = buildMix rec { - name = "joken"; - version = "2.6.0"; + src = fetchHex { + pkg = "joken"; + version = "${version}"; + sha256 = "5a95b05a71cd0b54abd35378aeb1d487a23a52c324fa7efdffc512b655b5aaa7"; + }; - src = fetchHex { - pkg = "joken"; - version = "${version}"; - sha256 = "5a95b05a71cd0b54abd35378aeb1d487a23a52c324fa7efdffc512b655b5aaa7"; + beamDeps = [ jose ]; }; - beamDeps = [ jose ]; - }; + jose = buildMix rec { + name = "jose"; + version = "1.11.6"; - jose = buildMix rec { - name = "jose"; - version = "1.11.6"; + src = fetchHex { + pkg = "jose"; + version = "${version}"; + sha256 = "6275cb75504f9c1e60eeacb771adfeee4905a9e182103aa59b53fed651ff9738"; + }; - src = fetchHex { - pkg = "jose"; - version = "${version}"; - sha256 = "6275cb75504f9c1e60eeacb771adfeee4905a9e182103aa59b53fed651ff9738"; + beamDeps = [ ]; }; - beamDeps = []; - }; + jumper = buildMix rec { + name = "jumper"; + version = "1.0.2"; - jumper = buildMix rec { - name = "jumper"; - version = "1.0.2"; + src = fetchHex { + pkg = "jumper"; + version = "${version}"; + sha256 = "9b7782409021e01ab3c08270e26f36eb62976a38c1aa64b2eaf6348422f165e1"; + }; - src = fetchHex { - pkg = "jumper"; - version = "${version}"; - sha256 = "9b7782409021e01ab3c08270e26f36eb62976a38c1aa64b2eaf6348422f165e1"; + beamDeps = [ ]; }; - beamDeps = []; - }; + mail = buildMix rec { + name = "mail"; + version = "0.3.1"; - mail = buildMix rec { - name = "mail"; - version = "0.3.1"; + src = fetchHex { + pkg = "mail"; + version = "${version}"; + sha256 = "1db701e89865c1d5fa296b2b57b1cd587587cca8d8a1a22892b35ef5a8e352a6"; + }; - src = fetchHex { - pkg = "mail"; - version = "${version}"; - sha256 = "1db701e89865c1d5fa296b2b57b1cd587587cca8d8a1a22892b35ef5a8e352a6"; + beamDeps = [ ]; }; - beamDeps = []; - }; + makeup = buildMix rec { + name = "makeup"; + version = "1.1.1"; - makeup = buildMix rec { - name = "makeup"; - version = "1.1.1"; + src = fetchHex { + pkg = "makeup"; + version = "${version}"; + sha256 = "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"; + }; - src = fetchHex { - pkg = "makeup"; - version = "${version}"; - sha256 = "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"; + beamDeps = [ nimble_parsec ]; }; - beamDeps = [ nimble_parsec ]; - }; + makeup_elixir = buildMix rec { + name = "makeup_elixir"; + version = "0.16.1"; - makeup_elixir = buildMix rec { - name = "makeup_elixir"; - version = "0.16.1"; + src = fetchHex { + pkg = "makeup_elixir"; + version = "${version}"; + sha256 = "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6"; + }; - src = fetchHex { - pkg = "makeup_elixir"; - version = "${version}"; - sha256 = "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6"; + beamDeps = [ makeup nimble_parsec ]; }; - beamDeps = [ makeup nimble_parsec ]; - }; + makeup_erlang = buildMix rec { + name = "makeup_erlang"; + version = "0.1.3"; - makeup_erlang = buildMix rec { - name = "makeup_erlang"; - version = "0.1.3"; + src = fetchHex { + pkg = "makeup_erlang"; + version = "${version}"; + sha256 = "b78dc853d2e670ff6390b605d807263bf606da3c82be37f9d7f68635bd886fc9"; + }; - src = fetchHex { - pkg = "makeup_erlang"; - version = "${version}"; - sha256 = "b78dc853d2e670ff6390b605d807263bf606da3c82be37f9d7f68635bd886fc9"; + beamDeps = [ makeup ]; }; - beamDeps = [ makeup ]; - }; + meck = buildRebar3 rec { + name = "meck"; + version = "0.9.2"; - meck = buildRebar3 rec { - name = "meck"; - version = "0.9.2"; + src = fetchHex { + pkg = "meck"; + version = "${version}"; + sha256 = "81344f561357dc40a8344afa53767c32669153355b626ea9fcbc8da6b3045826"; + }; - src = fetchHex { - pkg = "meck"; - version = "${version}"; - sha256 = "81344f561357dc40a8344afa53767c32669153355b626ea9fcbc8da6b3045826"; + beamDeps = [ ]; }; - beamDeps = []; - }; + metrics = buildRebar3 rec { + name = "metrics"; + version = "1.0.1"; - metrics = buildRebar3 rec { - name = "metrics"; - version = "1.0.1"; + src = fetchHex { + pkg = "metrics"; + version = "${version}"; + sha256 = "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"; + }; - src = fetchHex { - pkg = "metrics"; - version = "${version}"; - sha256 = "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"; + beamDeps = [ ]; }; - beamDeps = []; - }; + mime = buildMix rec { + name = "mime"; + version = "2.0.5"; - mime = buildMix rec { - name = "mime"; - version = "2.0.5"; + src = fetchHex { + pkg = "mime"; + version = "${version}"; + sha256 = "da0d64a365c45bc9935cc5c8a7fc5e49a0e0f9932a761c55d6c52b142780a05c"; + }; - src = fetchHex { - pkg = "mime"; - version = "${version}"; - sha256 = "da0d64a365c45bc9935cc5c8a7fc5e49a0e0f9932a761c55d6c52b142780a05c"; + beamDeps = [ ]; }; - beamDeps = []; - }; + mimerl = buildRebar3 rec { + name = "mimerl"; + version = "1.2.0"; - mimerl = buildRebar3 rec { - name = "mimerl"; - version = "1.2.0"; + src = fetchHex { + pkg = "mimerl"; + version = "${version}"; + sha256 = "f278585650aa581986264638ebf698f8bb19df297f66ad91b18910dfc6e19323"; + }; - src = fetchHex { - pkg = "mimerl"; - version = "${version}"; - sha256 = "f278585650aa581986264638ebf698f8bb19df297f66ad91b18910dfc6e19323"; + beamDeps = [ ]; }; - beamDeps = []; - }; + mint = buildMix rec { + name = "mint"; + version = "1.5.2"; - mint = buildMix rec { - name = "mint"; - version = "1.5.2"; + src = fetchHex { + pkg = "mint"; + version = "${version}"; + sha256 = "d77d9e9ce4eb35941907f1d3df38d8f750c357865353e21d335bdcdf6d892a02"; + }; - src = fetchHex { - pkg = "mint"; - version = "${version}"; - sha256 = "d77d9e9ce4eb35941907f1d3df38d8f750c357865353e21d335bdcdf6d892a02"; + beamDeps = [ castore hpax ]; }; - beamDeps = [ castore hpax ]; - }; + mock = buildMix rec { + name = "mock"; + version = "0.3.8"; - mock = buildMix rec { - name = "mock"; - version = "0.3.8"; + src = fetchHex { + pkg = "mock"; + version = "${version}"; + sha256 = "7fa82364c97617d79bb7d15571193fc0c4fe5afd0c932cef09426b3ee6fe2022"; + }; - src = fetchHex { - pkg = "mock"; - version = "${version}"; - sha256 = "7fa82364c97617d79bb7d15571193fc0c4fe5afd0c932cef09426b3ee6fe2022"; + beamDeps = [ meck ]; }; - beamDeps = [ meck ]; - }; + mogrify = buildMix rec { + name = "mogrify"; + version = "0.9.3"; - mogrify = buildMix rec { - name = "mogrify"; - version = "0.9.3"; + src = fetchHex { + pkg = "mogrify"; + version = "${version}"; + sha256 = "0189b1e1de27455f2b9ae8cf88239cefd23d38de9276eb5add7159aea51731e6"; + }; - src = fetchHex { - pkg = "mogrify"; - version = "${version}"; - sha256 = "0189b1e1de27455f2b9ae8cf88239cefd23d38de9276eb5add7159aea51731e6"; + beamDeps = [ ]; }; - beamDeps = []; - }; + mox = buildMix rec { + name = "mox"; + version = "1.1.0"; - mox = buildMix rec { - name = "mox"; - version = "1.1.0"; + src = fetchHex { + pkg = "mox"; + version = "${version}"; + sha256 = "d44474c50be02d5b72131070281a5d3895c0e7a95c780e90bc0cfe712f633a13"; + }; - src = fetchHex { - pkg = "mox"; - version = "${version}"; - sha256 = "d44474c50be02d5b72131070281a5d3895c0e7a95c780e90bc0cfe712f633a13"; + beamDeps = [ ]; }; - beamDeps = []; - }; + nimble_options = buildMix rec { + name = "nimble_options"; + version = "1.1.0"; - nimble_options = buildMix rec { - name = "nimble_options"; - version = "1.1.0"; + src = fetchHex { + pkg = "nimble_options"; + version = "${version}"; + sha256 = "8bbbb3941af3ca9acc7835f5655ea062111c9c27bcac53e004460dfd19008a99"; + }; - src = fetchHex { - pkg = "nimble_options"; - version = "${version}"; - sha256 = "8bbbb3941af3ca9acc7835f5655ea062111c9c27bcac53e004460dfd19008a99"; + beamDeps = [ ]; }; - beamDeps = []; - }; + nimble_parsec = buildMix rec { + name = "nimble_parsec"; + version = "1.4.0"; - nimble_parsec = buildMix rec { - name = "nimble_parsec"; - version = "1.4.0"; + src = fetchHex { + pkg = "nimble_parsec"; + version = "${version}"; + sha256 = "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"; + }; - src = fetchHex { - pkg = "nimble_parsec"; - version = "${version}"; - sha256 = "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"; + beamDeps = [ ]; }; - beamDeps = []; - }; + nimble_pool = buildMix rec { + name = "nimble_pool"; + version = "1.0.0"; - nimble_pool = buildMix rec { - name = "nimble_pool"; - version = "1.0.0"; + src = fetchHex { + pkg = "nimble_pool"; + version = "${version}"; + sha256 = "80be3b882d2d351882256087078e1b1952a28bf98d0a287be87e4a24a710b67a"; + }; - src = fetchHex { - pkg = "nimble_pool"; - version = "${version}"; - sha256 = "80be3b882d2d351882256087078e1b1952a28bf98d0a287be87e4a24a710b67a"; + beamDeps = [ ]; }; - beamDeps = []; - }; + oban = buildMix rec { + name = "oban"; + version = "2.15.4"; - oban = buildMix rec { - name = "oban"; - version = "2.15.4"; + src = fetchHex { + pkg = "oban"; + version = "${version}"; + sha256 = "5fce611fdfffb13e9148df883116e5201adf1e731eb302cc88cde0588510079c"; + }; - src = fetchHex { - pkg = "oban"; - version = "${version}"; - sha256 = "5fce611fdfffb13e9148df883116e5201adf1e731eb302cc88cde0588510079c"; + beamDeps = [ ecto_sql jason postgrex telemetry ]; }; - beamDeps = [ ecto_sql jason postgrex telemetry ]; - }; + open_api_spex = buildMix rec { + name = "open_api_spex"; + version = "3.18.0"; - open_api_spex = buildMix rec { - name = "open_api_spex"; - version = "3.18.0"; + src = fetchHex { + pkg = "open_api_spex"; + version = "${version}"; + sha256 = "37849887ab67efab052376401fac28c0974b273ffaecd98f4532455ca0886464"; + }; - src = fetchHex { - pkg = "open_api_spex"; - version = "${version}"; - sha256 = "37849887ab67efab052376401fac28c0974b273ffaecd98f4532455ca0886464"; + beamDeps = [ jason plug poison ]; }; - beamDeps = [ jason plug poison ]; - }; + parse_trans = buildRebar3 rec { + name = "parse_trans"; + version = "3.4.1"; - parse_trans = buildRebar3 rec { - name = "parse_trans"; - version = "3.4.1"; + src = fetchHex { + pkg = "parse_trans"; + version = "${version}"; + sha256 = "620a406ce75dada827b82e453c19cf06776be266f5a67cff34e1ef2cbb60e49a"; + }; - src = fetchHex { - pkg = "parse_trans"; - version = "${version}"; - sha256 = "620a406ce75dada827b82e453c19cf06776be266f5a67cff34e1ef2cbb60e49a"; + beamDeps = [ ]; }; - beamDeps = []; - }; + phoenix = buildMix rec { + name = "phoenix"; + version = "1.7.10"; - phoenix = buildMix rec { - name = "phoenix"; - version = "1.7.10"; + src = fetchHex { + pkg = "phoenix"; + version = "${version}"; + sha256 = "cf784932e010fd736d656d7fead6a584a4498efefe5b8227e9f383bf15bb79d0"; + }; - src = fetchHex { - pkg = "phoenix"; - version = "${version}"; - sha256 = "cf784932e010fd736d656d7fead6a584a4498efefe5b8227e9f383bf15bb79d0"; + beamDeps = [ castore jason phoenix_pubsub phoenix_template phoenix_view plug plug_cowboy plug_crypto telemetry websock_adapter ]; }; - beamDeps = [ castore jason phoenix_pubsub phoenix_template phoenix_view plug plug_cowboy plug_crypto telemetry websock_adapter ]; - }; + phoenix_ecto = buildMix rec { + name = "phoenix_ecto"; + version = "4.4.3"; - phoenix_ecto = buildMix rec { - name = "phoenix_ecto"; - version = "4.4.3"; + src = fetchHex { + pkg = "phoenix_ecto"; + version = "${version}"; + sha256 = "d36c401206f3011fefd63d04e8ef626ec8791975d9d107f9a0817d426f61ac07"; + }; - src = fetchHex { - pkg = "phoenix_ecto"; - version = "${version}"; - sha256 = "d36c401206f3011fefd63d04e8ef626ec8791975d9d107f9a0817d426f61ac07"; + beamDeps = [ ecto phoenix_html plug ]; }; - beamDeps = [ ecto phoenix_html plug ]; - }; + phoenix_html = buildMix rec { + name = "phoenix_html"; + version = "3.3.3"; - phoenix_html = buildMix rec { - name = "phoenix_html"; - version = "3.3.3"; + src = fetchHex { + pkg = "phoenix_html"; + version = "${version}"; + sha256 = "923ebe6fec6e2e3b3e569dfbdc6560de932cd54b000ada0208b5f45024bdd76c"; + }; - src = fetchHex { - pkg = "phoenix_html"; - version = "${version}"; - sha256 = "923ebe6fec6e2e3b3e569dfbdc6560de932cd54b000ada0208b5f45024bdd76c"; + beamDeps = [ plug ]; }; - beamDeps = [ plug ]; - }; + phoenix_live_dashboard = buildMix rec { + name = "phoenix_live_dashboard"; + version = "0.7.2"; - phoenix_live_dashboard = buildMix rec { - name = "phoenix_live_dashboard"; - version = "0.7.2"; + src = fetchHex { + pkg = "phoenix_live_dashboard"; + version = "${version}"; + sha256 = "0e5fdf063c7a3b620c566a30fcf68b7ee02e5e46fe48ee46a6ec3ba382dc05b7"; + }; - src = fetchHex { - pkg = "phoenix_live_dashboard"; - version = "${version}"; - sha256 = "0e5fdf063c7a3b620c566a30fcf68b7ee02e5e46fe48ee46a6ec3ba382dc05b7"; + beamDeps = [ ecto ecto_psql_extras mime phoenix_live_view telemetry_metrics ]; }; - beamDeps = [ ecto ecto_psql_extras mime phoenix_live_view telemetry_metrics ]; - }; + phoenix_live_view = buildMix rec { + name = "phoenix_live_view"; + version = "0.18.18"; - phoenix_live_view = buildMix rec { - name = "phoenix_live_view"; - version = "0.18.18"; + src = fetchHex { + pkg = "phoenix_live_view"; + version = "${version}"; + sha256 = "a5810d0472f3189ede6d2a95bda7f31c6113156b91784a3426cb0ab6a6d85214"; + }; - src = fetchHex { - pkg = "phoenix_live_view"; - version = "${version}"; - sha256 = "a5810d0472f3189ede6d2a95bda7f31c6113156b91784a3426cb0ab6a6d85214"; + beamDeps = [ jason phoenix phoenix_html phoenix_template phoenix_view telemetry ]; }; - beamDeps = [ jason phoenix phoenix_html phoenix_template phoenix_view telemetry ]; - }; + phoenix_pubsub = buildMix rec { + name = "phoenix_pubsub"; + version = "2.1.3"; - phoenix_pubsub = buildMix rec { - name = "phoenix_pubsub"; - version = "2.1.3"; + src = fetchHex { + pkg = "phoenix_pubsub"; + version = "${version}"; + sha256 = "bba06bc1dcfd8cb086759f0edc94a8ba2bc8896d5331a1e2c2902bf8e36ee502"; + }; - src = fetchHex { - pkg = "phoenix_pubsub"; - version = "${version}"; - sha256 = "bba06bc1dcfd8cb086759f0edc94a8ba2bc8896d5331a1e2c2902bf8e36ee502"; + beamDeps = [ ]; }; - beamDeps = []; - }; + phoenix_swoosh = buildMix rec { + name = "phoenix_swoosh"; + version = "1.2.0"; - phoenix_swoosh = buildMix rec { - name = "phoenix_swoosh"; - version = "1.2.0"; + src = fetchHex { + pkg = "phoenix_swoosh"; + version = "${version}"; + sha256 = "e88d117251e89a16b92222415a6d87b99a96747ddf674fc5c7631de734811dba"; + }; - src = fetchHex { - pkg = "phoenix_swoosh"; - version = "${version}"; - sha256 = "e88d117251e89a16b92222415a6d87b99a96747ddf674fc5c7631de734811dba"; + beamDeps = [ finch hackney phoenix phoenix_html phoenix_view swoosh ]; }; - beamDeps = [ finch hackney phoenix phoenix_html phoenix_view swoosh ]; - }; + phoenix_template = buildMix rec { + name = "phoenix_template"; + version = "1.0.3"; - phoenix_template = buildMix rec { - name = "phoenix_template"; - version = "1.0.3"; + src = fetchHex { + pkg = "phoenix_template"; + version = "${version}"; + sha256 = "16f4b6588a4152f3cc057b9d0c0ba7e82ee23afa65543da535313ad8d25d8e2c"; + }; - src = fetchHex { - pkg = "phoenix_template"; - version = "${version}"; - sha256 = "16f4b6588a4152f3cc057b9d0c0ba7e82ee23afa65543da535313ad8d25d8e2c"; + beamDeps = [ phoenix_html ]; }; - beamDeps = [ phoenix_html ]; - }; + phoenix_view = buildMix rec { + name = "phoenix_view"; + version = "2.0.3"; - phoenix_view = buildMix rec { - name = "phoenix_view"; - version = "2.0.3"; + src = fetchHex { + pkg = "phoenix_view"; + version = "${version}"; + sha256 = "cd34049af41be2c627df99cd4eaa71fc52a328c0c3d8e7d4aa28f880c30e7f64"; + }; - src = fetchHex { - pkg = "phoenix_view"; - version = "${version}"; - sha256 = "cd34049af41be2c627df99cd4eaa71fc52a328c0c3d8e7d4aa28f880c30e7f64"; + beamDeps = [ phoenix_html phoenix_template ]; }; - beamDeps = [ phoenix_html phoenix_template ]; - }; + plug = buildMix rec { + name = "plug"; + version = "1.15.2"; - plug = buildMix rec { - name = "plug"; - version = "1.15.2"; + src = fetchHex { + pkg = "plug"; + version = "${version}"; + sha256 = "02731fa0c2dcb03d8d21a1d941bdbbe99c2946c0db098eee31008e04c6283615"; + }; - src = fetchHex { - pkg = "plug"; - version = "${version}"; - sha256 = "02731fa0c2dcb03d8d21a1d941bdbbe99c2946c0db098eee31008e04c6283615"; + beamDeps = [ mime plug_crypto telemetry ]; }; - beamDeps = [ mime plug_crypto telemetry ]; - }; + plug_cowboy = buildMix rec { + name = "plug_cowboy"; + version = "2.6.1"; - plug_cowboy = buildMix rec { - name = "plug_cowboy"; - version = "2.6.1"; + src = fetchHex { + pkg = "plug_cowboy"; + version = "${version}"; + sha256 = "de36e1a21f451a18b790f37765db198075c25875c64834bcc82d90b309eb6613"; + }; - src = fetchHex { - pkg = "plug_cowboy"; - version = "${version}"; - sha256 = "de36e1a21f451a18b790f37765db198075c25875c64834bcc82d90b309eb6613"; + beamDeps = [ cowboy cowboy_telemetry plug ]; }; - beamDeps = [ cowboy cowboy_telemetry plug ]; - }; + plug_crypto = buildMix rec { + name = "plug_crypto"; + version = "2.0.0"; - plug_crypto = buildMix rec { - name = "plug_crypto"; - version = "2.0.0"; + src = fetchHex { + pkg = "plug_crypto"; + version = "${version}"; + sha256 = "53695bae57cc4e54566d993eb01074e4d894b65a3766f1c43e2c61a1b0f45ea9"; + }; - src = fetchHex { - pkg = "plug_crypto"; - version = "${version}"; - sha256 = "53695bae57cc4e54566d993eb01074e4d894b65a3766f1c43e2c61a1b0f45ea9"; + beamDeps = [ ]; }; - beamDeps = []; - }; + plug_static_index_html = buildMix rec { + name = "plug_static_index_html"; + version = "1.0.0"; - plug_static_index_html = buildMix rec { - name = "plug_static_index_html"; - version = "1.0.0"; + src = fetchHex { + pkg = "plug_static_index_html"; + version = "${version}"; + sha256 = "79fd4fcf34d110605c26560cbae8f23c603ec4158c08298bd4360fdea90bb5cf"; + }; - src = fetchHex { - pkg = "plug_static_index_html"; - version = "${version}"; - sha256 = "79fd4fcf34d110605c26560cbae8f23c603ec4158c08298bd4360fdea90bb5cf"; + beamDeps = [ plug ]; }; - beamDeps = [ plug ]; - }; + poison = buildMix rec { + name = "poison"; + version = "5.0.0"; - poison = buildMix rec { - name = "poison"; - version = "5.0.0"; + src = fetchHex { + pkg = "poison"; + version = "${version}"; + sha256 = "11dc6117c501b80c62a7594f941d043982a1bd05a1184280c0d9166eb4d8d3fc"; + }; - src = fetchHex { - pkg = "poison"; - version = "${version}"; - sha256 = "11dc6117c501b80c62a7594f941d043982a1bd05a1184280c0d9166eb4d8d3fc"; + beamDeps = [ decimal ]; }; - beamDeps = [ decimal ]; - }; + poolboy = buildRebar3 rec { + name = "poolboy"; + version = "1.5.2"; - poolboy = buildRebar3 rec { - name = "poolboy"; - version = "1.5.2"; + src = fetchHex { + pkg = "poolboy"; + version = "${version}"; + sha256 = "dad79704ce5440f3d5a3681c8590b9dc25d1a561e8f5a9c995281012860901e3"; + }; - src = fetchHex { - pkg = "poolboy"; - version = "${version}"; - sha256 = "dad79704ce5440f3d5a3681c8590b9dc25d1a561e8f5a9c995281012860901e3"; + beamDeps = [ ]; }; - beamDeps = []; - }; + postgrex = buildMix rec { + name = "postgrex"; + version = "0.17.4"; - postgrex = buildMix rec { - name = "postgrex"; - version = "0.17.4"; + src = fetchHex { + pkg = "postgrex"; + version = "${version}"; + sha256 = "6458f7d5b70652bc81c3ea759f91736c16a31be000f306d3c64bcdfe9a18b3cc"; + }; - src = fetchHex { - pkg = "postgrex"; - version = "${version}"; - sha256 = "6458f7d5b70652bc81c3ea759f91736c16a31be000f306d3c64bcdfe9a18b3cc"; + beamDeps = [ db_connection decimal jason ]; }; - beamDeps = [ db_connection decimal jason ]; - }; + pot = buildRebar3 rec { + name = "pot"; + version = "1.0.2"; - pot = buildRebar3 rec { - name = "pot"; - version = "1.0.2"; + src = fetchHex { + pkg = "pot"; + version = "${version}"; + sha256 = "78fe127f5a4f5f919d6ea5a2a671827bd53eb9d37e5b4128c0ad3df99856c2e0"; + }; - src = fetchHex { - pkg = "pot"; - version = "${version}"; - sha256 = "78fe127f5a4f5f919d6ea5a2a671827bd53eb9d37e5b4128c0ad3df99856c2e0"; + beamDeps = [ ]; }; - beamDeps = []; - }; + ranch = buildRebar3 rec { + name = "ranch"; + version = "1.8.0"; - ranch = buildRebar3 rec { - name = "ranch"; - version = "1.8.0"; + src = fetchHex { + pkg = "ranch"; + version = "${version}"; + sha256 = "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"; + }; - src = fetchHex { - pkg = "ranch"; - version = "${version}"; - sha256 = "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"; + beamDeps = [ ]; }; - beamDeps = []; - }; + recon = buildMix rec { + name = "recon"; + version = "2.5.4"; - recon = buildMix rec { - name = "recon"; - version = "2.5.4"; + src = fetchHex { + pkg = "recon"; + version = "${version}"; + sha256 = "e9ab01ac7fc8572e41eb59385efeb3fb0ff5bf02103816535bacaedf327d0263"; + }; - src = fetchHex { - pkg = "recon"; - version = "${version}"; - sha256 = "e9ab01ac7fc8572e41eb59385efeb3fb0ff5bf02103816535bacaedf327d0263"; + beamDeps = [ ]; }; - beamDeps = []; - }; + remote_ip = buildMix rec { + name = "remote_ip"; + version = "1.1.0"; - remote_ip = buildMix rec { - name = "remote_ip"; - version = "1.1.0"; + src = fetchHex { + pkg = "remote_ip"; + version = "${version}"; + sha256 = "616ffdf66aaad6a72fc546dabf42eed87e2a99e97b09cbd92b10cc180d02ed74"; + }; - src = fetchHex { - pkg = "remote_ip"; - version = "${version}"; - sha256 = "616ffdf66aaad6a72fc546dabf42eed87e2a99e97b09cbd92b10cc180d02ed74"; + beamDeps = [ combine plug ]; }; - beamDeps = [ combine plug ]; - }; + sleeplocks = buildRebar3 rec { + name = "sleeplocks"; + version = "1.1.2"; - sleeplocks = buildRebar3 rec { - name = "sleeplocks"; - version = "1.1.2"; + src = fetchHex { + pkg = "sleeplocks"; + version = "${version}"; + sha256 = "9fe5d048c5b781d6305c1a3a0f40bb3dfc06f49bf40571f3d2d0c57eaa7f59a5"; + }; - src = fetchHex { - pkg = "sleeplocks"; - version = "${version}"; - sha256 = "9fe5d048c5b781d6305c1a3a0f40bb3dfc06f49bf40571f3d2d0c57eaa7f59a5"; + beamDeps = [ ]; }; - beamDeps = []; - }; + ssl_verify_fun = buildRebar3 rec { + name = "ssl_verify_fun"; + version = "1.1.7"; - ssl_verify_fun = buildRebar3 rec { - name = "ssl_verify_fun"; - version = "1.1.7"; + src = fetchHex { + pkg = "ssl_verify_fun"; + version = "${version}"; + sha256 = "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"; + }; - src = fetchHex { - pkg = "ssl_verify_fun"; - version = "${version}"; - sha256 = "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"; + beamDeps = [ ]; }; - beamDeps = []; - }; + statistex = buildMix rec { + name = "statistex"; + version = "1.0.0"; - statistex = buildMix rec { - name = "statistex"; - version = "1.0.0"; + src = fetchHex { + pkg = "statistex"; + version = "${version}"; + sha256 = "ff9d8bee7035028ab4742ff52fc80a2aa35cece833cf5319009b52f1b5a86c27"; + }; - src = fetchHex { - pkg = "statistex"; - version = "${version}"; - sha256 = "ff9d8bee7035028ab4742ff52fc80a2aa35cece833cf5319009b52f1b5a86c27"; + beamDeps = [ ]; }; - beamDeps = []; - }; + sweet_xml = buildMix rec { + name = "sweet_xml"; + version = "0.7.4"; - sweet_xml = buildMix rec { - name = "sweet_xml"; - version = "0.7.4"; + src = fetchHex { + pkg = "sweet_xml"; + version = "${version}"; + sha256 = "e7c4b0bdbf460c928234951def54fe87edf1a170f6896675443279e2dbeba167"; + }; - src = fetchHex { - pkg = "sweet_xml"; - version = "${version}"; - sha256 = "e7c4b0bdbf460c928234951def54fe87edf1a170f6896675443279e2dbeba167"; + beamDeps = [ ]; }; - beamDeps = []; - }; + swoosh = buildMix rec { + name = "swoosh"; + version = "1.14.2"; - swoosh = buildMix rec { - name = "swoosh"; - version = "1.14.2"; + src = fetchHex { + pkg = "swoosh"; + version = "${version}"; + sha256 = "01d8fae72930a0b5c1bb9725df0408602ed8c5c3d59dc6e7a39c57b723cd1065"; + }; - src = fetchHex { - pkg = "swoosh"; - version = "${version}"; - sha256 = "01d8fae72930a0b5c1bb9725df0408602ed8c5c3d59dc6e7a39c57b723cd1065"; + beamDeps = [ cowboy ex_aws finch gen_smtp hackney jason mail mime plug plug_cowboy telemetry ]; }; - beamDeps = [ cowboy ex_aws finch gen_smtp hackney jason mail mime plug plug_cowboy telemetry ]; - }; + syslog = buildRebar3 rec { + name = "syslog"; + version = "1.1.0"; - syslog = buildRebar3 rec { - name = "syslog"; - version = "1.1.0"; + src = fetchHex { + pkg = "syslog"; + version = "${version}"; + sha256 = "4c6a41373c7e20587be33ef841d3de6f3beba08519809329ecc4d27b15b659e1"; + }; - src = fetchHex { - pkg = "syslog"; - version = "${version}"; - sha256 = "4c6a41373c7e20587be33ef841d3de6f3beba08519809329ecc4d27b15b659e1"; + beamDeps = [ ]; }; - beamDeps = []; - }; + table_rex = buildMix rec { + name = "table_rex"; + version = "3.1.1"; - table_rex = buildMix rec { - name = "table_rex"; - version = "3.1.1"; + src = fetchHex { + pkg = "table_rex"; + version = "${version}"; + sha256 = "678a23aba4d670419c23c17790f9dcd635a4a89022040df7d5d772cb21012490"; + }; - src = fetchHex { - pkg = "table_rex"; - version = "${version}"; - sha256 = "678a23aba4d670419c23c17790f9dcd635a4a89022040df7d5d772cb21012490"; + beamDeps = [ ]; }; - beamDeps = []; - }; + telemetry = buildRebar3 rec { + name = "telemetry"; + version = "1.2.1"; - telemetry = buildRebar3 rec { - name = "telemetry"; - version = "1.2.1"; + src = fetchHex { + pkg = "telemetry"; + version = "${version}"; + sha256 = "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"; + }; - src = fetchHex { - pkg = "telemetry"; - version = "${version}"; - sha256 = "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"; + beamDeps = [ ]; }; - beamDeps = []; - }; + telemetry_metrics = buildMix rec { + name = "telemetry_metrics"; + version = "0.6.1"; - telemetry_metrics = buildMix rec { - name = "telemetry_metrics"; - version = "0.6.1"; + src = fetchHex { + pkg = "telemetry_metrics"; + version = "${version}"; + sha256 = "7be9e0871c41732c233be71e4be11b96e56177bf15dde64a8ac9ce72ac9834c6"; + }; - src = fetchHex { - pkg = "telemetry_metrics"; - version = "${version}"; - sha256 = "7be9e0871c41732c233be71e4be11b96e56177bf15dde64a8ac9ce72ac9834c6"; + beamDeps = [ telemetry ]; }; - beamDeps = [ telemetry ]; - }; + telemetry_metrics_prometheus = buildMix rec { + name = "telemetry_metrics_prometheus"; + version = "1.1.0"; - telemetry_metrics_prometheus = buildMix rec { - name = "telemetry_metrics_prometheus"; - version = "1.1.0"; + src = fetchHex { + pkg = "telemetry_metrics_prometheus"; + version = "${version}"; + sha256 = "d43b3659b3244da44fe0275b717701542365d4519b79d9ce895b9719c1ce4d26"; + }; - src = fetchHex { - pkg = "telemetry_metrics_prometheus"; - version = "${version}"; - sha256 = "d43b3659b3244da44fe0275b717701542365d4519b79d9ce895b9719c1ce4d26"; + beamDeps = [ plug_cowboy telemetry_metrics_prometheus_core ]; }; - beamDeps = [ plug_cowboy telemetry_metrics_prometheus_core ]; - }; + telemetry_metrics_prometheus_core = buildMix rec { + name = "telemetry_metrics_prometheus_core"; + version = "1.1.0"; - telemetry_metrics_prometheus_core = buildMix rec { - name = "telemetry_metrics_prometheus_core"; - version = "1.1.0"; + src = fetchHex { + pkg = "telemetry_metrics_prometheus_core"; + version = "${version}"; + sha256 = "0dd10e7fe8070095df063798f82709b0a1224c31b8baf6278b423898d591a069"; + }; - src = fetchHex { - pkg = "telemetry_metrics_prometheus_core"; - version = "${version}"; - sha256 = "0dd10e7fe8070095df063798f82709b0a1224c31b8baf6278b423898d591a069"; + beamDeps = [ telemetry telemetry_metrics ]; }; - beamDeps = [ telemetry telemetry_metrics ]; - }; + telemetry_poller = buildRebar3 rec { + name = "telemetry_poller"; + version = "1.0.0"; - telemetry_poller = buildRebar3 rec { - name = "telemetry_poller"; - version = "1.0.0"; + src = fetchHex { + pkg = "telemetry_poller"; + version = "${version}"; + sha256 = "b3a24eafd66c3f42da30fc3ca7dda1e9d546c12250a2d60d7b81d264fbec4f6e"; + }; - src = fetchHex { - pkg = "telemetry_poller"; - version = "${version}"; - sha256 = "b3a24eafd66c3f42da30fc3ca7dda1e9d546c12250a2d60d7b81d264fbec4f6e"; + beamDeps = [ telemetry ]; }; - beamDeps = [ telemetry ]; - }; + tesla = buildMix rec { + name = "tesla"; + version = "1.8.0"; - tesla = buildMix rec { - name = "tesla"; - version = "1.8.0"; + src = fetchHex { + pkg = "tesla"; + version = "${version}"; + sha256 = "10501f360cd926a309501287470372af1a6e1cbed0f43949203a4c13300bc79f"; + }; - src = fetchHex { - pkg = "tesla"; - version = "${version}"; - sha256 = "10501f360cd926a309501287470372af1a6e1cbed0f43949203a4c13300bc79f"; + beamDeps = [ castore finch hackney jason mime mint poison telemetry ]; }; - beamDeps = [ castore finch hackney jason mime mint poison telemetry ]; - }; + timex = buildMix rec { + name = "timex"; + version = "3.7.11"; - timex = buildMix rec { - name = "timex"; - version = "3.7.11"; + src = fetchHex { + pkg = "timex"; + version = "${version}"; + sha256 = "8b9024f7efbabaf9bd7aa04f65cf8dcd7c9818ca5737677c7b76acbc6a94d1aa"; + }; - src = fetchHex { - pkg = "timex"; - version = "${version}"; - sha256 = "8b9024f7efbabaf9bd7aa04f65cf8dcd7c9818ca5737677c7b76acbc6a94d1aa"; + beamDeps = [ combine gettext tzdata ]; }; - beamDeps = [ combine gettext tzdata ]; - }; + trailing_format_plug = buildMix rec { + name = "trailing_format_plug"; + version = "0.0.7"; - trailing_format_plug = buildMix rec { - name = "trailing_format_plug"; - version = "0.0.7"; + src = fetchHex { + pkg = "trailing_format_plug"; + version = "${version}"; + sha256 = "bd4fde4c15f3e993a999e019d64347489b91b7a9096af68b2bdadd192afa693f"; + }; - src = fetchHex { - pkg = "trailing_format_plug"; - version = "${version}"; - sha256 = "bd4fde4c15f3e993a999e019d64347489b91b7a9096af68b2bdadd192afa693f"; + beamDeps = [ plug ]; }; - beamDeps = [ plug ]; - }; + tzdata = buildMix rec { + name = "tzdata"; + version = "1.1.1"; - tzdata = buildMix rec { - name = "tzdata"; - version = "1.1.1"; + src = fetchHex { + pkg = "tzdata"; + version = "${version}"; + sha256 = "a69cec8352eafcd2e198dea28a34113b60fdc6cb57eb5ad65c10292a6ba89787"; + }; - src = fetchHex { - pkg = "tzdata"; - version = "${version}"; - sha256 = "a69cec8352eafcd2e198dea28a34113b60fdc6cb57eb5ad65c10292a6ba89787"; + beamDeps = [ hackney ]; }; - beamDeps = [ hackney ]; - }; + ueberauth = buildMix rec { + name = "ueberauth"; + version = "0.10.5"; - ueberauth = buildMix rec { - name = "ueberauth"; - version = "0.10.5"; + src = fetchHex { + pkg = "ueberauth"; + version = "${version}"; + sha256 = "3efd1f31d490a125c7ed453b926f7c31d78b97b8a854c755f5c40064bf3ac9e1"; + }; - src = fetchHex { - pkg = "ueberauth"; - version = "${version}"; - sha256 = "3efd1f31d490a125c7ed453b926f7c31d78b97b8a854c755f5c40064bf3ac9e1"; + beamDeps = [ plug ]; }; - beamDeps = [ plug ]; - }; + unicode_util_compat = buildRebar3 rec { + name = "unicode_util_compat"; + version = "0.7.0"; - unicode_util_compat = buildRebar3 rec { - name = "unicode_util_compat"; - version = "0.7.0"; + src = fetchHex { + pkg = "unicode_util_compat"; + version = "${version}"; + sha256 = "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"; + }; - src = fetchHex { - pkg = "unicode_util_compat"; - version = "${version}"; - sha256 = "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"; + beamDeps = [ ]; }; - beamDeps = []; - }; + unsafe = buildMix rec { + name = "unsafe"; + version = "1.0.2"; - unsafe = buildMix rec { - name = "unsafe"; - version = "1.0.2"; + src = fetchHex { + pkg = "unsafe"; + version = "${version}"; + sha256 = "b485231683c3ab01a9cd44cb4a79f152c6f3bb87358439c6f68791b85c2df675"; + }; - src = fetchHex { - pkg = "unsafe"; - version = "${version}"; - sha256 = "b485231683c3ab01a9cd44cb4a79f152c6f3bb87358439c6f68791b85c2df675"; + beamDeps = [ ]; }; - beamDeps = []; - }; + vex = buildMix rec { + name = "vex"; + version = "0.9.1"; - vex = buildMix rec { - name = "vex"; - version = "0.9.1"; + src = fetchHex { + pkg = "vex"; + version = "${version}"; + sha256 = "a0f9f3959d127ad6a6a617c3f607ecfb1bc6f3c59f9c3614a901a46d1765bafe"; + }; - src = fetchHex { - pkg = "vex"; - version = "${version}"; - sha256 = "a0f9f3959d127ad6a6a617c3f607ecfb1bc6f3c59f9c3614a901a46d1765bafe"; + beamDeps = [ ]; }; - beamDeps = []; - }; + web_push_encryption = buildMix rec { + name = "web_push_encryption"; + version = "0.3.1"; - web_push_encryption = buildMix rec { - name = "web_push_encryption"; - version = "0.3.1"; + src = fetchHex { + pkg = "web_push_encryption"; + version = "${version}"; + sha256 = "4f82b2e57622fb9337559058e8797cb0df7e7c9790793bdc4e40bc895f70e2a2"; + }; - src = fetchHex { - pkg = "web_push_encryption"; - version = "${version}"; - sha256 = "4f82b2e57622fb9337559058e8797cb0df7e7c9790793bdc4e40bc895f70e2a2"; + beamDeps = [ httpoison jose ]; }; - beamDeps = [ httpoison jose ]; - }; + websock = buildMix rec { + name = "websock"; + version = "0.5.3"; - websock = buildMix rec { - name = "websock"; - version = "0.5.3"; + src = fetchHex { + pkg = "websock"; + version = "${version}"; + sha256 = "6105453d7fac22c712ad66fab1d45abdf049868f253cf719b625151460b8b453"; + }; - src = fetchHex { - pkg = "websock"; - version = "${version}"; - sha256 = "6105453d7fac22c712ad66fab1d45abdf049868f253cf719b625151460b8b453"; + beamDeps = [ ]; }; - beamDeps = []; - }; + websock_adapter = buildMix rec { + name = "websock_adapter"; + version = "0.5.5"; - websock_adapter = buildMix rec { - name = "websock_adapter"; - version = "0.5.5"; + src = fetchHex { + pkg = "websock_adapter"; + version = "${version}"; + sha256 = "4b977ba4a01918acbf77045ff88de7f6972c2a009213c515a445c48f224ffce9"; + }; - src = fetchHex { - pkg = "websock_adapter"; - version = "${version}"; - sha256 = "4b977ba4a01918acbf77045ff88de7f6972c2a009213c515a445c48f224ffce9"; + beamDeps = [ plug plug_cowboy websock ]; }; - beamDeps = [ plug plug_cowboy websock ]; - }; + websockex = buildMix rec { + name = "websockex"; + version = "0.4.3"; - websockex = buildMix rec { - name = "websockex"; - version = "0.4.3"; + src = fetchHex { + pkg = "websockex"; + version = "${version}"; + sha256 = "95f2e7072b85a3a4cc385602d42115b73ce0b74a9121d0d6dbbf557645ac53e4"; + }; - src = fetchHex { - pkg = "websockex"; - version = "${version}"; - sha256 = "95f2e7072b85a3a4cc385602d42115b73ce0b74a9121d0d6dbbf557645ac53e4"; + beamDeps = [ ]; }; - - beamDeps = []; }; - }; -in self - +in +self From d598b5d88da2fc8cfaa839a05986dd5990acd043 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sat, 30 Mar 2024 19:14:37 +0000 Subject: [PATCH 0239/1387] nixos/akkoma: check that upload and media proxy base url is specified new versions of akkoma require the upload base url to be specified in order for updates to work properly. this will be a breaking change in 24.05, but for now a reasonable default is set. --- .../manual/release-notes/rl-2405.section.md | 4 ++ nixos/modules/services/web-apps/akkoma.nix | 42 +++++++++++++++++++ nixos/tests/akkoma.nix | 6 ++- 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 065b0101691f..83f742751619 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -402,6 +402,10 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m - The `erlang_node_short_name`, `erlang_node_name`, `port` and `options` configuration parameters are gone, and have been replaced with an `environment` parameter. Use the appropriate [environment variables](https://hexdocs.pm/livebook/readme.html#environment-variables) inside `environment` to configure the service instead. +- `akkoma` now requires explicitly setting the base URL for uploaded media (`settings."Pleroma.Upload".base_url`), as well as for the media proxy if enabled (`settings."Media"`). + This is recommended to be a separate (sub)domain to the one Akkoma is hosted at. + See [here](https://meta.akkoma.dev/t/akkoma-stable-2024-03-securer-i-barely-know-her/681#explicit-upload-and-media-proxy-domains-5) for more details. + - The `crystal` package has been updated to 1.11.x, which has some breaking changes. Refer to crystal's changelog for more information. ([v1.10](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1100-2023-10-09), [v1.11](https://github.com/crystal-lang/crystal/blob/master/CHANGELOG.md#1110-2024-01-08)) diff --git a/nixos/modules/services/web-apps/akkoma.nix b/nixos/modules/services/web-apps/akkoma.nix index 4cd9e2664378..f55134f49bfd 100644 --- a/nixos/modules/services/web-apps/akkoma.nix +++ b/nixos/modules/services/web-apps/akkoma.nix @@ -764,6 +764,21 @@ in { }; }; + "Pleroma.Upload" = let + httpConf = cfg.config.":pleroma"."Pleroma.Web.Endpoint".url; + in { + base_url = mkOption { + type = types.nonEmptyStr; + default = if lib.versionOlder config.system.stateVersion "24.05" + then "${httpConf.scheme}://${httpConf.host}:${builtins.toString httpConf.port}/media/" + else null; + description = mdDoc '' + Base path which uploads will be stored at. + Whilst this can just be set to a subdirectory of the main domain, it is now recommended to use a different subdomain. + ''; + }; + }; + ":frontends" = mkOption { type = elixirValue; default = mapAttrs @@ -781,6 +796,30 @@ in { [{option}`config.services.akkoma.frontends`](#opt-services.akkoma.frontends). ''; }; + + + ":media_proxy" = let + httpConf = cfg.config.":pleroma"."Pleroma.Web.Endpoint".url; + in { + enabled = mkOption { + type = types.bool; + default = false; + description = mdDoc '' + Whether to enable proxying of remote media through the instance's proxy. + ''; + }; + base_url = mkOption { + type = types.nullOr types.nonEmptyStr; + default = if lib.versionOlder config.system.stateVersion "24.05" + then "${httpConf.scheme}://${httpConf.host}:${builtins.toString httpConf.port}/media/" + else null; + description = mdDoc '' + Base path for the media proxy. + Whilst this can just be set to a subdirectory of the main domain, it is now recommended to use a different subdomain. + ''; + }; + }; + }; ":web_push_encryption" = mkOption { @@ -904,6 +943,9 @@ in { }; config = mkIf cfg.enable { + assertions = optionals (cfg.config.":pleroma".":media_proxy".enabled && cfg.config.":pleroma".":media_proxy".base_url == null) ['' + `services.akkoma.config.":pleroma".":media_proxy".base_url` must be set when the media proxy is enabled. + '']; warnings = optionals (with config.security; (!sudo.enable) && (!sudo-rs.enable)) ['' The pleroma_ctl wrapper enabled by the installWrapper option relies on sudo, which appears to have been disabled through security.sudo.enable. diff --git a/nixos/tests/akkoma.nix b/nixos/tests/akkoma.nix index 2907017ee3d5..2a9acd64b7c6 100644 --- a/nixos/tests/akkoma.nix +++ b/nixos/tests/akkoma.nix @@ -36,7 +36,8 @@ let ${pkgs.toot}/bin/toot timeline -1 | grep -F -q "hello world Jamy here" # Test file upload - ${pkgs.toot}/bin/toot upload <(dd if=/dev/zero bs=1024 count=1024 status=none) + echo "y" | ${pkgs.toot}/bin/toot upload <(dd if=/dev/zero bs=1024 count=1024 status=none) \ + | grep -F -q "https://akkoma.nixos.test:443/media" ''; checkFe = pkgs.writers.writeBashBin "checkFe" '' @@ -90,6 +91,9 @@ in "Pleroma.Web.Endpoint" = { url.host = "akkoma.nixos.test"; }; + "Pleroma.Upload" = { + base_url = "https://akkoma.nixos.test:443/media/"; + }; }; }; From f8b9215e9fe939497143ba2cfc9ad0ab8e26a6d8 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sat, 30 Mar 2024 23:11:45 +0000 Subject: [PATCH 0240/1387] akkoma: add tcmal as maintainer --- maintainers/maintainer-list.nix | 6 ++++++ nixos/modules/services/web-apps/akkoma.nix | 2 +- pkgs/servers/akkoma/default.nix | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 4d9715f9784b..040d7b9ede3e 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -19567,6 +19567,12 @@ githubId = 2389333; name = "Andy Tockman"; }; + tcmal = { + email = "me@aria.rip"; + github = "tcmal"; + githubId = 4183876; + name = "Aria Shrimpton"; + }; teatwig = { email = "nix@teatwig.net"; name = "tea"; diff --git a/nixos/modules/services/web-apps/akkoma.nix b/nixos/modules/services/web-apps/akkoma.nix index f55134f49bfd..a5a93c6198fd 100644 --- a/nixos/modules/services/web-apps/akkoma.nix +++ b/nixos/modules/services/web-apps/akkoma.nix @@ -1125,6 +1125,6 @@ in { }; }; - meta.maintainers = with maintainers; [ mvs ]; + meta.maintainers = with maintainers; [ mvs tcmal ]; meta.doc = ./akkoma.md; } diff --git a/pkgs/servers/akkoma/default.nix b/pkgs/servers/akkoma/default.nix index 6e48f5a9f2ba..d38049f32567 100644 --- a/pkgs/servers/akkoma/default.nix +++ b/pkgs/servers/akkoma/default.nix @@ -222,7 +222,7 @@ beamPackages.mixRelease rec { description = "ActivityPub microblogging server"; homepage = "https://akkoma.social"; license = licenses.agpl3Only; - maintainers = with maintainers; [ mvs ]; + maintainers = with maintainers; [ mvs tcmal ]; platforms = platforms.unix; }; } From 0fb5cc0053599bfd54dcd95e21a848df996644a5 Mon Sep 17 00:00:00 2001 From: iko Date: Tue, 9 Apr 2024 15:58:23 +0300 Subject: [PATCH 0241/1387] pgroll: init at 0.5.0 --- .../tools/pgroll/default.nix => by-name/pg/pgroll/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/pgroll/default.nix => by-name/pg/pgroll/package.nix} (100%) diff --git a/pkgs/development/tools/pgroll/default.nix b/pkgs/by-name/pg/pgroll/package.nix similarity index 100% rename from pkgs/development/tools/pgroll/default.nix rename to pkgs/by-name/pg/pgroll/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a0d59f09a08f..710ded329967 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19443,8 +19443,6 @@ with pkgs; pgcli = with pkgs.python3Packages; toPythonApplication pgcli; - pgroll = callPackage ../development/tools/pgroll{ } ; - picotool = callPackage ../development/tools/picotool { }; planus = callPackage ../development/tools/misc/planus { }; From 0ef7aec30966ca383b94ec7d4385fdd30fc43172 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 8 Apr 2024 11:30:02 +0200 Subject: [PATCH 0242/1387] python311Packages.testcontainers: 4.3.1 -> 4.3.3 Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.3.3 --- .../python-modules/testcontainers/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/testcontainers/default.nix b/pkgs/development/python-modules/testcontainers/default.nix index 9302983c201a..8b7ceb416b4b 100644 --- a/pkgs/development/python-modules/testcontainers/default.nix +++ b/pkgs/development/python-modules/testcontainers/default.nix @@ -6,11 +6,12 @@ , deprecation , docker , wrapt +, typing-extensions }: buildPythonPackage rec { pname = "testcontainers"; - version = "4.3.1"; + version = "4.3.3"; disabled = pythonOlder "3.9"; pyproject = true; @@ -19,7 +20,7 @@ buildPythonPackage rec { owner = "testcontainers"; repo = "testcontainers-python"; rev = "refs/tags/testcontainers-v${version}"; - hash = "sha256-pS5YEcHDHpTIWLD4vMPWL4r86DOI+47jN7cTwhDeXHE="; + hash = "sha256-qb7mOtL+YJI24DOBgrqxc817k4fD2kTOtUNF2X0qEIc="; }; postPatch = '' @@ -36,6 +37,10 @@ buildPythonPackage rec { wrapt ]; + dependencies = [ + typing-extensions + ]; + # Tests require various container and database services running doCheck = false; From b3781c38182459cc5bad4c2a2c6aa7fc5d352083 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 9 Apr 2024 14:00:15 +0000 Subject: [PATCH 0243/1387] go-task: 3.35.1 -> 3.36.0 --- pkgs/development/tools/go-task/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/go-task/default.nix b/pkgs/development/tools/go-task/default.nix index 67a6ad2c0863..510acbbdf045 100644 --- a/pkgs/development/tools/go-task/default.nix +++ b/pkgs/development/tools/go-task/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "go-task"; - version = "3.35.1"; + version = "3.36.0"; src = fetchFromGitHub { owner = pname; repo = "task"; rev = "refs/tags/v${version}"; - hash = "sha256-HFjoLzGF62noA9NQk1Delq6vOcuTZzsyq6kH6QtR7zI="; + hash = "sha256-09dw6bDEKbgajH+/estVYDkbUdUiUUuqXYQqeOBTeQ0="; }; - vendorHash = "sha256-HhnherRx5YQn4ArcavVZutze9usYP+PRI07lEXyw8a0="; + vendorHash = "sha256-ahBpIPTHByZ5Qnl6PaOeTLNBq2hQ78+dUmaHvkJxkWg="; doCheck = false; From adbdc6020070af3846e7365d00a1ee5e4b8659e7 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 9 Apr 2024 16:41:10 +0200 Subject: [PATCH 0244/1387] dosbox-x: Get Darwin icon working --- .../emulators/dosbox-x/default.nix | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/pkgs/applications/emulators/dosbox-x/default.nix b/pkgs/applications/emulators/dosbox-x/default.nix index c499c69e5442..7ec2b8df3b71 100644 --- a/pkgs/applications/emulators/dosbox-x/default.nix +++ b/pkgs/applications/emulators/dosbox-x/default.nix @@ -10,6 +10,7 @@ , fluidsynth , freetype , glib +, libicns , libpcap , libpng , libslirp @@ -18,6 +19,7 @@ , makeWrapper , ncurses , pkg-config +, python3 , SDL2 , SDL2_net , testers @@ -36,12 +38,29 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-EcAp7KyqXdBACEbPgkM1INoKeGVo7hMDUx97y2RcX+k="; }; + # sips is unavailable in sandbox, replacing with imagemagick breaks build due to wrong Foundation propagation(?) so don't generate resolution variants + # iconutil is unavailable, replace with png2icns from libicns + # Patch bad hardcoded compiler + # Don't mess with codesign, doesn't seem to work? + postPatch = '' + substituteInPlace Makefile.am \ + --replace-fail 'sips' '## sips' \ + --replace-fail 'iconutil -c icns -o contrib/macos/dosbox.icns src/dosbox.iconset' 'png2icns contrib/macos/dosbox.icns contrib/macos/dosbox-x.png' \ + --replace-fail 'g++' "$CXX" \ + --replace-fail 'codesign' '## codesign' + '' + lib.optionalString stdenv.hostPlatform.isDarwin '' + patchShebangs appbundledeps.py + ''; + strictDeps = true; nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + libicns + python3 ]; buildInputs = [ @@ -75,9 +94,22 @@ stdenv.mkDerivation (finalAttrs: { hardeningDisable = [ "format" ]; # https://github.com/joncampbell123/dosbox-x/issues/4436 + # Build optional App Bundle target, which needs at least one arch-suffixed binary + postBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' + cp src/dosbox-x src/dosbox-x-$(uname -m) + make dosbox-x.app + ''; + postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' wrapProgram $out/bin/dosbox-x \ --prefix PATH : ${lib.makeBinPath [ yad ]} + '' + # Install App Bundle, wrap regular binary into bundle's binary to get the icon working + + lib.optionalString stdenv.hostPlatform.isDarwin '' + mkdir $out/Applications + mv dosbox-x.app $out/Applications/ + mv $out/bin/dosbox-x $out/Applications/dosbox-x.app/Contents/MacOS/dosbox-x + makeWrapper $out/Applications/dosbox-x.app/Contents/MacOS/dosbox-x $out/bin/dosbox-x ''; passthru.tests.version = testers.testVersion { From 1eb936134b4b32e91e8fe21b26bdf312335fd188 Mon Sep 17 00:00:00 2001 From: mgt Date: Tue, 9 Apr 2024 23:25:48 +0800 Subject: [PATCH 0245/1387] typst-preview: 0.11.2 -> 0.11.4 --- pkgs/by-name/ty/typst-preview/Cargo.lock | 79 ++++++++++++--------- pkgs/by-name/ty/typst-preview/dom.json | 8 +-- pkgs/by-name/ty/typst-preview/frontend.json | 4 +- pkgs/by-name/ty/typst-preview/package.nix | 10 +-- 4 files changed, 56 insertions(+), 45 deletions(-) diff --git a/pkgs/by-name/ty/typst-preview/Cargo.lock b/pkgs/by-name/ty/typst-preview/Cargo.lock index be0ad75dc45a..c3f083ff3956 100644 --- a/pkgs/by-name/ty/typst-preview/Cargo.lock +++ b/pkgs/by-name/ty/typst-preview/Cargo.lock @@ -437,9 +437,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.2" +version = "4.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" +checksum = "949626d00e063efc93b6dca932419ceb5432f99769911c0b995f7e884c778813" dependencies = [ "clap_builder", "clap_derive", @@ -468,11 +468,11 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.0" +version = "4.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +checksum = "90239a040c80f5e14809ca132ddc4176ab33d5e17e49691793296e3fcb34d72f" dependencies = [ - "heck", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.52", @@ -1328,6 +1328,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.3.9" @@ -2527,8 +2533,9 @@ dependencies = [ [[package]] name = "reflexo" -version = "0.4.2-rc8" -source = "git+https://github.com/Myriad-Dreamin/typst.ts?rev=c8ff53382c2afa67582465c6e7e0fd78603e4341#c8ff53382c2afa67582465c6e7e0fd78603e4341" +version = "0.5.0-rc2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "247ea8050cb5c88b41a68b3269f5a2eb7ebff55851a564d96b035643418346e6" dependencies = [ "base64 0.22.0", "bitvec", @@ -3138,7 +3145,7 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -3151,7 +3158,7 @@ version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3417fc93d76740d974a01654a09777cb500428cc874ca9f45edfe0c4d4cd18" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -3596,8 +3603,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "typst" -version = "0.10.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.11.0-2#48820fe69b8061bd949847afc343bf160d05c924" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82ce6533a33d2cc4b5eba6b009b862e75c8f9146a584f84ca154c94463e43993" dependencies = [ "az", "bitflags 2.4.2", @@ -3643,7 +3651,7 @@ dependencies = [ "ttf-parser", "two-face", "typed-arena", - "typst-assets 0.10.0", + "typst-assets", "typst-macros", "typst-syntax", "typst-timing", @@ -3657,20 +3665,17 @@ dependencies = [ [[package]] name = "typst-assets" -version = "0.10.0" -source = "git+https://github.com/typst/typst-assets?rev=4d1211a#4d1211ab5ba8a02992a7362000e6dd422d44dd68" - -[[package]] -name = "typst-assets" -version = "0.11.0-rc1" -source = "git+https://github.com/typst/typst-assets?tag=v0.11.0-rc1#0ef66188759fc7035be57d9608ccb1ecfd3ef796" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f13f85360328da54847dd7fefaf272dfa5b6d1fdeb53f32938924c39bf5b2c6c" [[package]] name = "typst-macros" -version = "0.10.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.11.0-2#48820fe69b8061bd949847afc343bf160d05c924" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54e48fdd6dabf48a0e595960aaef6ae43dac7d243e8c1c6926a0787d5b8a9ba7" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 2.0.52", @@ -3678,7 +3683,7 @@ dependencies = [ [[package]] name = "typst-preview" -version = "0.10.10" +version = "0.11.4" dependencies = [ "anyhow", "await-tree", @@ -3702,7 +3707,7 @@ dependencies = [ "tokio", "tokio-tungstenite", "typst", - "typst-assets 0.11.0-rc1", + "typst-assets", "typst-ts-compiler", "typst-ts-core", "typst-ts-svg-exporter", @@ -3711,8 +3716,9 @@ dependencies = [ [[package]] name = "typst-syntax" -version = "0.10.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.11.0-2#48820fe69b8061bd949847afc343bf160d05c924" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "367d86bf18f0363146bea1ea76fad19b54458695fdfad5e74ead3ede574b75fe" dependencies = [ "comemo", "ecow", @@ -3727,8 +3733,9 @@ dependencies = [ [[package]] name = "typst-timing" -version = "0.10.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.11.0-2#48820fe69b8061bd949847afc343bf160d05c924" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b2629933cde6f299c43627b90c83bb006cb906c56cc5dec7324f0a5017d5fd8" dependencies = [ "parking_lot", "serde", @@ -3738,8 +3745,9 @@ dependencies = [ [[package]] name = "typst-ts-compiler" -version = "0.4.2-rc8" -source = "git+https://github.com/Myriad-Dreamin/typst.ts?rev=c8ff53382c2afa67582465c6e7e0fd78603e4341#c8ff53382c2afa67582465c6e7e0fd78603e4341" +version = "0.5.0-rc2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c18cf7d96c0c558901b3f7e3f5200ecb7e3d7d3dcc5a1222e94bc875237ff352" dependencies = [ "append-only-vec", "base64 0.22.0", @@ -3776,8 +3784,9 @@ dependencies = [ [[package]] name = "typst-ts-core" -version = "0.4.2-rc8" -source = "git+https://github.com/Myriad-Dreamin/typst.ts?rev=c8ff53382c2afa67582465c6e7e0fd78603e4341#c8ff53382c2afa67582465c6e7e0fd78603e4341" +version = "0.5.0-rc2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a69135c380eb60efa4aeabd986d27d82ecd1b4c843fd3393992b449409317847" dependencies = [ "base64 0.22.0", "base64-serde", @@ -3813,14 +3822,16 @@ dependencies = [ [[package]] name = "typst-ts-svg-exporter" -version = "0.4.2-rc8" -source = "git+https://github.com/Myriad-Dreamin/typst.ts?rev=c8ff53382c2afa67582465c6e7e0fd78603e4341#c8ff53382c2afa67582465c6e7e0fd78603e4341" +version = "0.5.0-rc2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6063f63c8e3ba3d4d7f4cb1a8fd96b096e8e713f24783278fea98dac0746966" dependencies = [ "base64 0.22.0", "comemo", "log", "once_cell", "rayon", + "reflexo", "siphasher 1.0.0", "tiny-skia", "typst", diff --git a/pkgs/by-name/ty/typst-preview/dom.json b/pkgs/by-name/ty/typst-preview/dom.json index a0ee5f809290..b607a990d978 100644 --- a/pkgs/by-name/ty/typst-preview/dom.json +++ b/pkgs/by-name/ty/typst-preview/dom.json @@ -13,12 +13,12 @@ "unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer" }, "peerDependencies": { - "@myriaddreamin/typst-ts-renderer": "0.4.2-rc9", - "@myriaddreamin/typst.ts": "0.4.2-rc9" + "@myriaddreamin/typst-ts-renderer": "0.4.2-rc10", + "@myriaddreamin/typst.ts": "0.4.2-rc10" }, "devDependencies": { - "@myriaddreamin/typst-ts-renderer": "0.4.2-rc9", - "@myriaddreamin/typst.ts": "0.4.2-rc9", + "@myriaddreamin/typst-ts-renderer": "0.4.2-rc10", + "@myriaddreamin/typst.ts": "0.4.2-rc10", "typescript": "^5.0.2", "vite": "^4.3.9", "vite-plugin-singlefile": "^0.13.5", diff --git a/pkgs/by-name/ty/typst-preview/frontend.json b/pkgs/by-name/ty/typst-preview/frontend.json index 66163cb7920f..2a0439383a2b 100644 --- a/pkgs/by-name/ty/typst-preview/frontend.json +++ b/pkgs/by-name/ty/typst-preview/frontend.json @@ -13,8 +13,8 @@ "unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer" }, "dependencies": { - "@myriaddreamin/typst-ts-renderer": "0.4.2-rc9", - "@myriaddreamin/typst.ts": "0.4.2-rc9", + "@myriaddreamin/typst-ts-renderer": "0.4.2-rc10", + "@myriaddreamin/typst.ts": "0.4.2-rc10", "typst-dom": "file:../typst-dom", "rxjs": "^7.8.1" }, diff --git a/pkgs/by-name/ty/typst-preview/package.nix b/pkgs/by-name/ty/typst-preview/package.nix index 35a9d501fbab..8bfd4e03991b 100644 --- a/pkgs/by-name/ty/typst-preview/package.nix +++ b/pkgs/by-name/ty/typst-preview/package.nix @@ -14,13 +14,13 @@ let # Keep the vscode "mgt19937.typst-preview" extension in sync when updating # this package at pkgs/applications/editors/vscode/extensions/default.nix - version = "0.11.2"; + version = "0.11.4"; src = fetchFromGitHub { owner = "Enter-tainer"; repo = "typst-preview"; rev = "v${version}"; - hash = "sha256-etFP1CuRSE6Sy19+dlF6FUQhuqJrJ53v7LZFrTyA+q0="; + hash = "sha256-5MbKp6j4+61Do8YH0xPIQPHEjU/kCKsMUUQDJDXzSMw="; fetchSubmodules = true; postFetch = '' @@ -41,7 +41,7 @@ let offlineCache = fetchYarnDeps { yarnLock = "${domSrc}/yarn.lock"; - hash = "sha256-aDs+2n6sL4MTizRuYqkwfYrx/lK3ll9u4NoN0zPyWco="; + hash = "sha256-QIGwHG0n6vYfAPA/+CdvK1c+QxM3XyoQdS/T4+TdsKs="; }; buildPhase = '' @@ -67,7 +67,7 @@ let offlineCache = fetchYarnDeps { yarnLock = "${frontendSrc}/yarn.lock"; - hash = "sha256-gkjtDi7ZR3aKn1ZRJEkFc3IdhbmF1GyYoGiIniOsPBo="; + hash = "sha256-QFiyUky/0BdB5vS9KX5xBOvBCEtJ+zZG4f7ai5j6V4U="; }; packageResolutions = { inherit typst-dom; }; @@ -92,7 +92,7 @@ rustPlatform.buildRustPackage { pname = "typst-preview"; inherit version src; - cargoHash = "sha256-f9oTeUMbXjkCHLsiMng9gME9QGRWgBi1WAwoeBCeT6I="; + cargoHash = "sha256-xj8Xvbz0NUy0BFoVS8ONiYZZQWIJu1FZxJkBEuABDOw="; nativeBuildInputs = [ pkg-config From c495c40f15a1466562161783b2f2cd0ac119fdf7 Mon Sep 17 00:00:00 2001 From: aleksana Date: Tue, 9 Apr 2024 23:08:47 +0800 Subject: [PATCH 0246/1387] pomodoro-gtk: init at 1.4.1 --- pkgs/by-name/po/pomodoro-gtk/package.nix | 63 ++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 pkgs/by-name/po/pomodoro-gtk/package.nix diff --git a/pkgs/by-name/po/pomodoro-gtk/package.nix b/pkgs/by-name/po/pomodoro-gtk/package.nix new file mode 100644 index 000000000000..ef667552a811 --- /dev/null +++ b/pkgs/by-name/po/pomodoro-gtk/package.nix @@ -0,0 +1,63 @@ +{ lib +, stdenv +, fetchFromGitLab +, meson +, ninja +, pkg-config +, gjs +, gobject-introspection +, blueprint-compiler +, wrapGAppsHook4 +, desktop-file-utils +, libadwaita +, libgda6 +, gsound +, gst_all_1 +, libportal-gtk4 +}: + +stdenv.mkDerivation { + pname = "pomodoro-gtk"; + version = "1.4.1"; + + src = fetchFromGitLab { + owner = "idevecore"; + repo = "pomodoro"; + rev = "44b724557539084991f3eb55b9593053a2c73eba"; # author didn't make a tag + fetchSubmodules = true; + hash = "sha256-krVRVMrrzuqPY/3P9dCz7rVCCW7/j5cpT95XniGpBEs="; + }; + + postPatch = '' + patchShebangs --build troll/gjspack/bin/gjspack + ''; + + nativeBuildInputs = [ + meson + ninja + pkg-config + gjs # runtime for gjspack + gobject-introspection + blueprint-compiler + wrapGAppsHook4 + desktop-file-utils + ]; + + buildInputs = [ + gjs + libadwaita + libgda6 + gsound + gst_all_1.gst-plugins-base + libportal-gtk4 + ]; + + meta = { + description = "A simple and intuitive timer application (also named Planytimer)"; + homepage = "https://gitlab.com/idevecore/pomodoro"; + license = lib.licenses.gpl3Plus; + mainProgram = "pomodoro"; + maintainers = with lib.maintainers; [ aleksana ]; + platforms = lib.platforms.unix; + }; +} From 5e221931a44bcf95b36076002dbdbaf902a01d25 Mon Sep 17 00:00:00 2001 From: Jean-Francois Chevrette Date: Tue, 9 Apr 2024 12:23:20 -0400 Subject: [PATCH 0247/1387] rosa: set passthru.updateScript to nix-update-script --- pkgs/by-name/ro/rosa/package.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ro/rosa/package.nix b/pkgs/by-name/ro/rosa/package.nix index 61fa1ed83950..c50ca87e821b 100644 --- a/pkgs/by-name/ro/rosa/package.nix +++ b/pkgs/by-name/ro/rosa/package.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, rosa }: +{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, rosa, nix-update-script }: buildGoModule rec { pname = "rosa"; @@ -24,9 +24,12 @@ buildGoModule rec { --zsh <($out/bin/rosa completion zsh) ''; - passthru.tests.version = testers.testVersion { - package = rosa; - command = "rosa version --client"; + passthru = { + tests.version = testers.testVersion { + package = rosa; + command = "rosa version --client"; + }; + updateScript = nix-update-script { }; }; meta = with lib; { From 30756bb4ff30a1f0cdd45fa280bc36a7c08b7ae9 Mon Sep 17 00:00:00 2001 From: Qubasa Date: Tue, 9 Apr 2024 19:16:15 +0200 Subject: [PATCH 0248/1387] Maintainer renamed: luis -> qubasa. Removed vacant package rmount --- maintainers/maintainer-list.nix | 12 ++++++------ pkgs/by-name/im/imhex/package.nix | 2 +- .../compilers/kaitai-struct-compiler/default.nix | 2 +- pkgs/development/tools/analysis/hopper/default.nix | 1 - pkgs/tools/filesystems/rmount/default.nix | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 4d9715f9784b..c61e34c7a705 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11761,12 +11761,6 @@ githubId = 5767106; name = "Lukas Schmidt"; }; - luis = { - email = "luis.nixos@gmail.com"; - github = "Luis-Hebendanz"; - githubId = 22085373; - name = "Luis Hebendanz"; - }; luisdaranda = { email = "luisdomingoaranda@gmail.com"; github = "propet"; @@ -16300,6 +16294,12 @@ matrix = "@quantenzitrone:matrix.org"; name = "quantenzitrone"; }; + qubasa = { + email = "consulting@qube.email"; + github = "Qubasa"; + githubId = 22085373; + name = "Luis Hebendanz"; + }; queezle = { email = "git@queezle.net"; github = "queezle42"; diff --git a/pkgs/by-name/im/imhex/package.nix b/pkgs/by-name/im/imhex/package.nix index 7ee075ae1888..5ff609bd3189 100644 --- a/pkgs/by-name/im/imhex/package.nix +++ b/pkgs/by-name/im/imhex/package.nix @@ -93,7 +93,7 @@ stdenv.mkDerivation rec { description = "Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM"; homepage = "https://github.com/WerWolv/ImHex"; license = with licenses; [ gpl2Only ]; - maintainers = with maintainers; [ luis kashw2 cafkafk ]; + maintainers = with maintainers; [ kashw2 cafkafk ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/compilers/kaitai-struct-compiler/default.nix b/pkgs/development/compilers/kaitai-struct-compiler/default.nix index 7d34bb312cf4..2fd4fba11e3b 100644 --- a/pkgs/development/compilers/kaitai-struct-compiler/default.nix +++ b/pkgs/development/compilers/kaitai-struct-compiler/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { description = "Compiler to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Perl / PHP / Python / Ruby "; license = licenses.gpl3Only; - maintainers = with maintainers; [ luis ]; + maintainers = with maintainers; [ qubasa ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/tools/analysis/hopper/default.nix b/pkgs/development/tools/analysis/hopper/default.nix index d7b519b04c34..2d2804603346 100644 --- a/pkgs/development/tools/analysis/hopper/default.nix +++ b/pkgs/development/tools/analysis/hopper/default.nix @@ -68,7 +68,6 @@ stdenv.mkDerivation rec { description = "A macOS and Linux Disassembler"; license = licenses.unfree; maintainers = with maintainers; [ - luis Enteee ]; platforms = platforms.linux; diff --git a/pkgs/tools/filesystems/rmount/default.nix b/pkgs/tools/filesystems/rmount/default.nix index ec4bb1392712..257db9af80f6 100644 --- a/pkgs/tools/filesystems/rmount/default.nix +++ b/pkgs/tools/filesystems/rmount/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/Luis-Hebendanz/rmount"; description = "Remote mount utility which parses a json file"; license = licenses.mit; - maintainers = [ maintainers.luis ]; + maintainers = [ maintainers.qubasa ]; platforms = platforms.linux; mainProgram = "rmount"; }; From 84b92fff91010912ef1b053abe9d502fedf831c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 9 Apr 2024 19:42:52 +0200 Subject: [PATCH 0249/1387] dnscontrol: 4.8.2 -> 4.9.0 Diff: https://github.com/StackExchange/dnscontrol/compare/v4.8.2...v4.9.0 Changelog: https://github.com/StackExchange/dnscontrol/releases/tag/v4.9.0 --- pkgs/applications/networking/dnscontrol/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/dnscontrol/default.nix b/pkgs/applications/networking/dnscontrol/default.nix index fc2c33e292cf..dd1084b0dd80 100644 --- a/pkgs/applications/networking/dnscontrol/default.nix +++ b/pkgs/applications/networking/dnscontrol/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "dnscontrol"; - version = "4.8.2"; + version = "4.9.0"; src = fetchFromGitHub { owner = "StackExchange"; repo = "dnscontrol"; rev = "v${version}"; - hash = "sha256-9myo073/yl9CWwmVb3Gkihf6I/60kSOl0Pk8+dE39KM="; + hash = "sha256-E5/7qAK2pvl1ADioF7Iwe9SgCE6tVaQdtOAwNo3XZx8="; }; - vendorHash = "sha256-jOLFqCeBxQLXgUAdDbk/QnPBAtMBQi5VR+oKjgZLb28="; + vendorHash = "sha256-5VTC6Y3Bs2ViW5/O8TeD0i6Boeu71b9C+B/3O73bCbk="; subPackages = [ "." ]; From 5c0117766630ac7ec5929b47ec3f5d2f0eba87b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCtke=20Stetzkamp?= Date: Tue, 9 Apr 2024 20:05:23 +0200 Subject: [PATCH 0250/1387] justbuild: Fix build --- pkgs/by-name/ju/justbuild/package.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ju/justbuild/package.nix b/pkgs/by-name/ju/justbuild/package.nix index 42510b0ade0b..550aa3349735 100644 --- a/pkgs/by-name/ju/justbuild/package.nix +++ b/pkgs/by-name/ju/justbuild/package.nix @@ -11,7 +11,7 @@ openssl, pkg-config, - protobuf_23, + protobuf_24, grpc, pandoc, python3, @@ -75,19 +75,21 @@ stdenv.mkDerivation rec { grpc libgit2 openssl - # Using protobuf 23 because this is the same version upstream currently - # uses for bundled builds + # Using protobuf 24 because the current version of grpc is build using + # protobuf 24 and therefore the older protobuf version causes errors + # during build. + # Upstream currently uses protobuf 23 for bundled builds # For future updates: The currently used version can be found in the file # etc/repos.json: https://github.com/just-buildsystem/justbuild/blob/master/etc/repos.json # under the key .repositories.protobuf - protobuf_23 + protobuf_24 python3 ]; postPatch = '' sed -ie 's|\./bin/just-mr.py|${python3}/bin/python3 ./bin/just-mr.py|' bin/bootstrap.py sed -ie 's|#!/usr/bin/env python3|#!${python3}/bin/python3|' bin/parallel-bootstrap-traverser.py - jq '.repositories.protobuf.pkg_bootstrap.local_path = "${protobuf_23}"' etc/repos.json > etc/repos.json.patched + jq '.repositories.protobuf.pkg_bootstrap.local_path = "${protobuf_24}"' etc/repos.json > etc/repos.json.patched mv etc/repos.json.patched etc/repos.json jq '.repositories.com_github_grpc_grpc.pkg_bootstrap.local_path = "${grpc}"' etc/repos.json > etc/repos.json.patched mv etc/repos.json.patched etc/repos.json @@ -170,7 +172,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - broken = true; # last successful build 2024-01-26 + broken = stdenv.isDarwin; description = "a generic build tool"; homepage = "https://github.com/just-buildsystem/justbuild"; license = licenses.asl20; From 3f212d5ed3098efd2206540ce37a2f6a6addd377 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Tue, 9 Apr 2024 20:36:21 +0200 Subject: [PATCH 0251/1387] rPackages.gfilogisreg: fixed build --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 80faec70b36b..35832ef72c29 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -602,6 +602,7 @@ let vcfR = with pkgs; [ zlib.dev ]; bio3d = with pkgs; [ zlib.dev ]; arrangements = with pkgs; [ gmp.dev ]; + gfilogisreg = [ pkgs.gmp.dev ]; spp = with pkgs; [ zlib.dev ]; Rbowtie = with pkgs; [ zlib.dev ]; gaston = with pkgs; [ zlib.dev ]; From 1d0d67d4d4ce6b36d0d679560f9583bd6b4cf417 Mon Sep 17 00:00:00 2001 From: hellwolf Date: Sat, 6 Apr 2024 14:07:40 +0300 Subject: [PATCH 0252/1387] insync: include emblem-icons - insync-emblem-icons is included, which is used by other insync pakcages. --- pkgs/by-name/in/insync/package.nix | 73 +++++++++++++++++------------- 1 file changed, 41 insertions(+), 32 deletions(-) diff --git a/pkgs/by-name/in/insync/package.nix b/pkgs/by-name/in/insync/package.nix index b8206c38ce90..7ec64182f947 100644 --- a/pkgs/by-name/in/insync/package.nix +++ b/pkgs/by-name/in/insync/package.nix @@ -6,7 +6,6 @@ , autoPatchelfHook , dpkg , nss -, cacert , alsa-lib , libvorbis , libdrm @@ -22,36 +21,24 @@ let # Find a binary from https://www.insynchq.com/downloads/linux#ubuntu. version = "3.8.7.50516"; ubuntu-dist = "mantic_amd64"; - meta = with lib; { - platforms = ["x86_64-linux"]; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ hellwolf ]; - homepage = "https://www.insynchq.com"; - description = "Google Drive sync and backup with multiple account support"; - longDescription = '' - Insync is a commercial application that syncs your Drive files to your - computer. It has more advanced features than Google's official client - such as multiple account support, Google Doc conversion, symlink support, - and built in sharing. - - There is a 15-day free trial, and it is a paid application after that. - - Known bug(s): - - 1) Currently the system try icon does not render correctly. - ''; - mainProgram = "insync"; - }; - + insyncDeb = (fetchurl { + urls = [ + "https://cdn.insynchq.com/builds/linux/insync_${version}-${ubuntu-dist}.deb" + "https://web.archive.org/web/20240409080945/https://cdn.insynchq.com/builds/linux/insync_${version}-${ubuntu-dist}.deb" + ]; + hash = "sha256-U7BcgghbdR7r9WiZpEOka+BzXwnxrzL6p4imGESuB/k="; + }); + insyncEmblemIconsDeb = (fetchurl { + urls = [ + "https://cdn.insynchq.com/builds/linux/insync-emblem-icons_${version}_all.deb" + "https://web.archive.org/web/20240409081214/https://cdn.insynchq.com/builds/linux/insync-emblem-icons_${version}_all.deb" + ]; + hash = "sha256-uALaIxETEEkjDTx331uIsb4VswWk2K0dGuDMYH8v5U8="; + }); insync-pkg = stdenvNoCC.mkDerivation { name = "${pname}-pkg-${version}"; - inherit version meta; - src = fetchurl { - url = "https://cdn.insynchq.com/builds/linux/insync_${version}-${ubuntu-dist}.deb"; - sha256 = "sha256-U7BcgghbdR7r9WiZpEOka+BzXwnxrzL6p4imGESuB/k="; - }; + srcs = [ insyncDeb insyncEmblemIconsDeb ]; nativeBuildInputs = [ dpkg @@ -71,7 +58,8 @@ let ]; unpackPhase = '' - dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner + dpkg-deb --fsys-tarfile ${insyncDeb} | tar -x --no-same-permissions --no-same-owner + dpkg-deb --fsys-tarfile ${insyncEmblemIconsDeb} | tar -x --no-same-permissions --no-same-owner ''; installPhase = '' @@ -88,8 +76,7 @@ let }; in buildFHSEnv { - name = pname; - inherit meta; + inherit pname version; targetPkgs = pkgs: with pkgs; [ libudev0-shim @@ -97,7 +84,7 @@ in buildFHSEnv { ]; extraInstallCommands = '' - cp -rsHf "${insync-pkg}"/share $out + cp -rsHf "${insync-pkg}"/share $out/ ''; runScript = writeShellScript "insync-wrapper.sh" '' @@ -119,4 +106,26 @@ in buildFHSEnv { unshareCgroup = false; dieWithParent = true; + + meta = with lib; { + platforms = [ "x86_64-linux" ]; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + license = licenses.unfree; + maintainers = with maintainers; [ hellwolf ]; + homepage = "https://www.insynchq.com"; + description = "Google Drive sync and backup with multiple account support"; + longDescription = '' + Insync is a commercial application that syncs your Drive files to your + computer. It has more advanced features than Google's official client + such as multiple account support, Google Doc conversion, symlink support, + and built in sharing. + + There is a 15-day free trial, and it is a paid application after that. + + Known bug(s): + + 1) Currently the system try icon does not render correctly. + ''; + mainProgram = "insync"; + }; } From 02d5d463dcb3b7f571bd29a75613b5e693d06116 Mon Sep 17 00:00:00 2001 From: hellwolf Date: Fri, 29 Mar 2024 14:23:18 +0200 Subject: [PATCH 0253/1387] insync-nautilus: init at 3.8.7.50516 --- pkgs/by-name/in/insync-nautilus/package.nix | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pkgs/by-name/in/insync-nautilus/package.nix diff --git a/pkgs/by-name/in/insync-nautilus/package.nix b/pkgs/by-name/in/insync-nautilus/package.nix new file mode 100644 index 000000000000..98079f1a2e88 --- /dev/null +++ b/pkgs/by-name/in/insync-nautilus/package.nix @@ -0,0 +1,48 @@ +{ stdenv, + fetchurl, + lib, + dpkg, + gnome, + insync +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "insync-nautilus"; + version = lib.getVersion insync; + pyproject = true; + + # Download latest from: https://www.insynchq.com/downloads/linux#nautilus + + src = fetchurl { + urls = [ + "https://cdn.insynchq.com/builds/linux/insync-nautilus_${finalAttrs.version}_all.deb" + "https://web.archive.org/web/20240409080611/https://cdn.insynchq.com/builds/linux/insync-nautilus_${finalAttrs.version}_all.deb" + ]; + hash = "sha256-aB1/ZzcQH3T1lviMZO8jXbtdbe4TW20f0TAcv4HDOGI="; + }; + + nativeBuildInputs = [ + dpkg + ]; + + buildInputs = [ + gnome.nautilus-python + insync + ]; + + installPhase = '' + runHook preInstall + mkdir -p $out + cp -R usr/share $out/ + runHook postInstall + ''; + + meta = with lib; { + platforms = [ "x86_64-linux" ]; + sourceProvenance = with lib.sourceTypes; [ fromSource ]; + license = licenses.unfree; + maintainers = with maintainers; [ hellwolf ]; + homepage = "https://www.insynchq.com"; + description = "This package contains the Python extension and icons for integrating Insync with Nautilus"; + }; +}) From 8f95320f39d7e4e4a29ee70b8718974295a619f4 Mon Sep 17 00:00:00 2001 From: emilylange Date: Tue, 9 Apr 2024 21:52:35 +0200 Subject: [PATCH 0254/1387] grafana-loki,promtail: 2.9.6 -> 3.0.0 Starting with v3.0.0, the ldflag prefix now also includes `v3`. It's unclear if this will change with each major release. This is something we should keep an eye on. The commit right after this will add a simple version test for this based on `testers.testVersion`. https://github.com/grafana/loki/releases/tag/v3.0.0 changelog: https://github.com/grafana/loki/blob/c9142722684ad6aca2bb09ae5487d5a2af087d0f/CHANGELOG.md diff (unusable, 5000+ edits because upstream vendors go deps): https://github.com/grafana/loki/compare/v2.9.6...v3.0.0 --- pkgs/servers/monitoring/loki/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/loki/default.nix b/pkgs/servers/monitoring/loki/default.nix index 2935b9d0bf4c..176ec316a6eb 100644 --- a/pkgs/servers/monitoring/loki/default.nix +++ b/pkgs/servers/monitoring/loki/default.nix @@ -8,14 +8,14 @@ }: buildGoModule rec { - version = "2.9.6"; + version = "3.0.0"; pname = "grafana-loki"; src = fetchFromGitHub { owner = "grafana"; repo = "loki"; rev = "v${version}"; - hash = "sha256-79hK7axHf6soku5DvdXkE/0K4WKc4pnS9VMbVc1FS2I="; + hash = "sha256-2+OST6bKIjuhrXJKA+8vUERKT1/min7tN8oFxKn3L74="; }; vendorHash = null; @@ -40,7 +40,7 @@ buildGoModule rec { passthru.tests = { inherit (nixosTests) loki; }; - ldflags = let t = "github.com/grafana/loki/pkg/util/build"; in [ + ldflags = let t = "github.com/grafana/loki/v3/pkg/util/build"; in [ "-s" "-w" "-X ${t}.Version=${version}" From ba904259485ccd2cc48fe22f959eb489ee2b8d78 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 9 Apr 2024 22:14:43 +0200 Subject: [PATCH 0255/1387] changelog-d: fix build Build failed (https://hydra.nixos.org/build/254972708/nixlog/2) with Error: Setup: Encountered missing or private dependencies: base >=4.11.1.0 && <4.12 || >=4.12.0.0 && <4.13 || >=4.13.0.0 && <4.14 || >=4.14.0.0 && <4.15 || >=4.16.1.0 && <4.17 || >=4.17.0.0 && <4.18 --- pkgs/by-name/ch/changelog-d/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ch/changelog-d/package.nix b/pkgs/by-name/ch/changelog-d/package.nix index 10d4ad1ae355..380f4a801afa 100644 --- a/pkgs/by-name/ch/changelog-d/package.nix +++ b/pkgs/by-name/ch/changelog-d/package.nix @@ -13,6 +13,7 @@ let haskellModifications = lib.flip lib.pipe [ addCompletions + haskell.lib.doJailbreak haskell.lib.justStaticExecutables ]; From 613f342043ed4cde40bd7462c644444b05a4f509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Tue, 9 Apr 2024 22:39:41 +0200 Subject: [PATCH 0256/1387] rPackages.PhIPData: skip load check --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd..281d12c64e6e 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -948,6 +948,7 @@ let packagesToSkipCheck = [ "Rmpi" # tries to run MPI processes "ReactomeContentService4R" # tries to connect to Reactome + "PhIPData" # tries to download something from a DB "pbdMPI" # tries to run MPI processes "data_table" # fails to rename shared library before check ]; From 9bb98c69ad65df80ad80e53b970f70bcce4b36ad Mon Sep 17 00:00:00 2001 From: maralorn Date: Tue, 9 Apr 2024 22:56:14 +0200 Subject: [PATCH 0257/1387] haskellPackages: stackage LTS 22.14 -> LTS 22.16 This commit has been generated by maintainers/scripts/haskell/update-stackage.sh --- .../configuration-hackage2nix/stackage.yaml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml index c4bdc86e5333..17ce50df0fc3 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml @@ -1,4 +1,4 @@ -# Stackage LTS 22.14 +# Stackage LTS 22.16 # This file is auto-generated by # maintainers/scripts/haskell/update-stackage.sh default-package-overrides: @@ -489,7 +489,7 @@ default-package-overrides: - bitvec ==1.1.5.0 - bitwise-enum ==1.0.1.2 - blake2 ==0.3.0.1 - - Blammo ==1.1.2.1 + - Blammo ==1.1.2.2 - blank-canvas ==0.7.4 - blanks ==0.5.0 - blas-carray ==0.1.0.2 @@ -684,7 +684,7 @@ default-package-overrides: - commonmark-extensions ==0.2.5.4 - commonmark-pandoc ==0.2.2.1 - commutative ==0.0.2 - - commutative-semigroups ==0.1.0.2 + - commutative-semigroups ==0.1.1.0 - comonad ==5.0.8 - compact ==0.2.0.0 - compactmap ==0.1.4.3 @@ -999,7 +999,7 @@ default-package-overrides: - enum-text ==0.5.3.0 - envelope ==0.2.2.0 - envparse ==0.5.0 - - envy ==2.1.2.0 + - envy ==2.1.3.0 - epub-metadata ==5.2 - eq ==4.3 - equal-files ==0.0.5.4 @@ -1085,7 +1085,7 @@ default-package-overrides: - FindBin ==0.0.5 - fingertree ==0.1.5.0 - finite-typelits ==0.1.6.0 - - first-class-families ==0.8.0.1 + - first-class-families ==0.8.1.0 - fits-parse ==0.3.6 - fitspec ==0.4.10 - fixed ==0.3 @@ -1325,7 +1325,7 @@ default-package-overrides: - happy ==1.20.1.1 - happy-meta ==0.2.1.0 - HasBigDecimal ==0.2.0.0 - - hashable ==1.4.3.0 + - hashable ==1.4.4.0 - hashids ==1.1.1.0 - hashing ==0.1.1.0 - hashmap ==1.3.3 @@ -1845,7 +1845,7 @@ default-package-overrides: - matchable ==0.1.2.1 - mathexpr ==0.3.1.0 - math-extras ==0.1.1.0 - - math-functions ==0.3.4.3 + - math-functions ==0.3.4.4 - mathlist ==0.2.0.0 - matplotlib ==0.7.7 - matrices ==0.5.0 @@ -1861,9 +1861,9 @@ default-package-overrides: - med-module ==0.1.3 - megaparsec ==9.5.0 - megaparsec-tests ==9.5.0 - - mega-sdist ==0.4.3.0 + - mega-sdist ==0.4.3.1 - membership ==0.0.1 - - memcache ==0.3.0.1 + - memcache ==0.3.0.2 - memfd ==1.0.1.3 - memory ==0.18.0 - MemoTrie ==0.6.11 @@ -2089,7 +2089,7 @@ default-package-overrides: - Only ==0.1 - oo-prototypes ==0.1.0.0 - oops ==0.2.0.1 - - opaleye ==0.10.2.1 + - opaleye ==0.10.2.3 - OpenAL ==1.7.0.5 - openapi3 ==3.2.4 - open-browser ==0.2.1.0 @@ -2135,7 +2135,7 @@ default-package-overrides: - pandoc-cli ==3.1.11.1 - pandoc-dhall-decoder ==0.1.0.1 - pandoc-lua-engine ==0.2.1.2 - - pandoc-lua-marshal ==0.2.5 + - pandoc-lua-marshal ==0.2.6 - pandoc-plot ==1.8.0 - pandoc-server ==0.1.0.5 - pandoc-throw ==0.1.0.0 @@ -2258,7 +2258,7 @@ default-package-overrides: - posix-paths ==0.3.0.0 - posix-pty ==0.2.2 - possibly ==1.0.0.0 - - postgres-options ==0.2.1.0 + - postgres-options ==0.2.2.0 - postgresql-binary ==0.13.1.3 - postgresql-libpq ==0.10.0.0 - postgresql-libpq-notify ==0.2.0.0 @@ -2489,7 +2489,7 @@ default-package-overrides: - runmemo ==1.0.0.1 - run-st ==0.1.3.3 - rvar ==0.3.0.2 - - rzk ==0.7.3 + - rzk ==0.7.4 - s3-signer ==0.5.0.0 - safe ==0.3.21 - safe-coloured-text ==0.2.0.2 @@ -2892,7 +2892,7 @@ default-package-overrides: - text-builder-linear ==0.1.2 - text-conversions ==0.3.1.1 - text-format ==0.3.2.1 - - text-icu ==0.8.0.4 + - text-icu ==0.8.0.5 - text-iso8601 ==0.1 - text-latin1 ==0.3.1 - text-ldap ==0.1.1.14 @@ -2940,8 +2940,8 @@ default-package-overrides: - th-test-utils ==1.2.1 - th-utilities ==0.2.5.0 - thyme ==0.4 - - tidal ==1.9.4 - - tidal-link ==1.0.2 + - tidal ==1.9.5 + - tidal-link ==1.0.3 - tile ==0.3.0.0 - time-compat ==1.9.6.1 - time-domain ==0.1.0.3 From 8f2ca20859c824caeb061ed561bc4c32d085df8f Mon Sep 17 00:00:00 2001 From: maralorn Date: Tue, 9 Apr 2024 22:56:27 +0200 Subject: [PATCH 0258/1387] all-cabal-hashes: 2024-03-31T04:36:22Z -> 2024-04-09T20:48:09Z This commit has been generated by maintainers/scripts/haskell/update-hackage.sh --- pkgs/data/misc/hackage/pin.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/data/misc/hackage/pin.json b/pkgs/data/misc/hackage/pin.json index 6b1eafaee7e0..ede51924e027 100644 --- a/pkgs/data/misc/hackage/pin.json +++ b/pkgs/data/misc/hackage/pin.json @@ -1,6 +1,6 @@ { - "commit": "a3f1357d6561e38afbb7545f733063f9ad7465c4", - "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/a3f1357d6561e38afbb7545f733063f9ad7465c4.tar.gz", - "sha256": "0nvrqbaf483af1abxqcms8f60nbxyqghf5k1jb4m3xah0206kdwf", - "msg": "Update from Hackage at 2024-03-31T04:36:22Z" + "commit": "5bae847bf7e96ce10e824377f4cb7f02c51b7245", + "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/5bae847bf7e96ce10e824377f4cb7f02c51b7245.tar.gz", + "sha256": "1p45mapjca2d7r8ky27s0pn3sflp61iippcabsb85s49fi9sqlv2", + "msg": "Update from Hackage at 2024-04-09T20:48:09Z" } From d9bbcd5f81c1abcccc275c0777c86605b4173da7 Mon Sep 17 00:00:00 2001 From: maralorn Date: Tue, 9 Apr 2024 22:57:35 +0200 Subject: [PATCH 0259/1387] haskellPackages: regenerate package set based on current config This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh --- .../haskell-modules/hackage-packages.nix | 1173 ++++++++++------- 1 file changed, 683 insertions(+), 490 deletions(-) diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index c80f544d34e9..0bd561c62b7f 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -2101,15 +2101,14 @@ self: { "Blammo" = callPackage ({ mkDerivation, aeson, base, bytestring, case-insensitive, clock , containers, dlist, envparse, exceptions, fast-logger, hspec - , http-types, lens, markdown-unlit, monad-logger-aeson, mtl, text - , time, unliftio, unliftio-core, unordered-containers, vector, wai + , http-types, lens, markdown-unlit, monad-logger + , monad-logger-aeson, mtl, text, time, unliftio, unliftio-core + , unordered-containers, vector, wai }: mkDerivation { pname = "Blammo"; - version = "1.1.2.1"; - sha256 = "0j71glqsvzrmvj5ag32n48ib8wyyasjw0vdz2g93l2g2zhmsyz8y"; - revision = "1"; - editedCabalFile = "12kfvkvc78d386w4v8wdhwb3xd6470cnpqsaxd5kwldvvaz5hznj"; + version = "1.1.2.2"; + sha256 = "1yk670v8qiri7ivxjmpbbbs447ayspmq382qh5ag31yb23wwq5f4"; libraryHaskellDepends = [ aeson base bytestring case-insensitive clock containers dlist envparse exceptions fast-logger http-types lens monad-logger-aeson @@ -2117,7 +2116,8 @@ self: { wai ]; testHaskellDepends = [ - aeson base bytestring hspec markdown-unlit mtl text time + aeson base bytestring envparse hspec markdown-unlit monad-logger + mtl text time ]; testToolDepends = [ markdown-unlit ]; description = "Batteries-included Structured Logging library"; @@ -7170,6 +7170,20 @@ self: { license = lib.licenses.bsd3; }) {}; + "GOST34112012-Hash" = callPackage + ({ mkDerivation, base, bytestring, text, utf8-string }: + mkDerivation { + pname = "GOST34112012-Hash"; + version = "0.1.1.2"; + sha256 = "143nppw4b5drfx3444a1gw02x0cjj0ngfcrai1aj03mf88ikgjj4"; + revision = "2"; + editedCabalFile = "0rir26yvx52qvrzribdy3l2d07p4wq287iwr62qn4h0wdc4240dh"; + libraryHaskellDepends = [ base bytestring ]; + testHaskellDepends = [ base bytestring text utf8-string ]; + description = "Bindings to the GOST R 34.11-2012 hashing implementation"; + license = lib.licenses.bsd2; + }) {}; + "GPX" = callPackage ({ mkDerivation, base, comonad, comonad-transformers, containers , data-lens, hxt, newtype, xsd @@ -12349,8 +12363,8 @@ self: { pname = "JuicyPixels"; version = "3.3.8"; sha256 = "0gmndzcbqys34sf6y8db13r5gaqa1cp9zxyb4vav788m6p5gd86k"; - revision = "1"; - editedCabalFile = "1gbmls58qdlip8nsysy1qsnf7wrw8cgss7i7vmbxxnf9ni0iawn9"; + revision = "2"; + editedCabalFile = "0xc9qlfgrlf6v4h5m9rcwy58wsa4ksm8fpnx3fyh5ld9x3nhgfpd"; libraryHaskellDepends = [ base binary bytestring containers deepseq mtl primitive transformers vector zlib @@ -16759,6 +16773,19 @@ self: { broken = true; }) {}; + "PenroseKiteDart" = callPackage + ({ mkDerivation, base, containers, diagrams-lib, hspec }: + mkDerivation { + pname = "PenroseKiteDart"; + version = "1.0.0"; + sha256 = "068r77shs4j5vhwdzwwxq0c3ajx0nhrm8apdb8j2h5kb0s3yav5y"; + libraryHaskellDepends = [ base containers diagrams-lib ]; + testHaskellDepends = [ base containers diagrams-lib hspec ]; + benchmarkHaskellDepends = [ base containers diagrams-lib ]; + description = "Library to explore Penrose's Kite and Dart Tilings"; + license = lib.licenses.bsd3; + }) {}; + "PerfectHash" = callPackage ({ mkDerivation, array, base, binary, bytestring, cmph, containers , digest, time @@ -18336,6 +18363,18 @@ self: { mainProgram = "RollingDirectory"; }) {}; + "RoundingFiasco" = callPackage + ({ mkDerivation, base }: + mkDerivation { + pname = "RoundingFiasco"; + version = "0.1.0.0"; + sha256 = "1n51zrbngiickyh7mqm3jnvnf7qcbjdrqz5q4pjqpx9cl9hx7yl0"; + libraryHaskellDepends = [ base ]; + testHaskellDepends = [ base ]; + description = "rounding variants floor, ceil and truncate for floating point operations +-*/√…"; + license = lib.licenses.mit; + }) {}; + "RoyalMonad" = callPackage ({ mkDerivation, base }: mkDerivation { @@ -22588,6 +22627,8 @@ self: { pname = "Win32-services"; version = "0.4.0.1"; sha256 = "1skf8w3d1n61847bjpvll3bql65mrc6vg03q84bg21mlh77mx1s3"; + revision = "1"; + editedCabalFile = "1c3xxdg4adk00d3k9jxxw7vigibkmyp31bf1lzyng3jgw55qawj9"; libraryHaskellDepends = [ base Win32 Win32-errors ]; librarySystemDepends = [ Advapi32 ]; description = "Windows service applications"; @@ -23207,6 +23248,25 @@ self: { license = lib.licenses.bsd3; }) {}; + "Yampa_0_14_8" = callPackage + ({ mkDerivation, base, criterion, deepseq, filepath, random + , simple-affine-space, time + }: + mkDerivation { + pname = "Yampa"; + version = "0.14.8"; + sha256 = "0w33n17haja7jzwhha7j6psqkcyq0k06ddckbs96yqldmq96il18"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base deepseq random simple-affine-space + ]; + benchmarkHaskellDepends = [ base criterion filepath time ]; + description = "Elegant Functional Reactive Programming Language for Hybrid Systems"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "Yampa-core" = callPackage ({ mkDerivation, base, deepseq, random, vector-space }: mkDerivation { @@ -41175,8 +41235,8 @@ self: { }: mkDerivation { pname = "atp-haskell"; - version = "1.14.2"; - sha256 = "1gwcs0iafg5q2n14nrksd152p3a84wisp451q73h3pph9ldrq2h3"; + version = "1.14.3"; + sha256 = "12qw8y0vy2nb0ciw5q0g5wxs6qws3pad3ifv7mga543ay4chypy5"; libraryHaskellDepends = [ applicative-extras base containers extra HUnit mtl parsec pretty template-haskell time @@ -44579,8 +44639,8 @@ self: { }: mkDerivation { pname = "bank-holiday-germany"; - version = "1.2.0.0"; - sha256 = "17xqwa51rv64k7szvlpix4gm9g65rwjjlcmkn9khpyjis396zx4f"; + version = "1.3.0.0"; + sha256 = "1agf4flql5xkj2rpdbdxpmvajhigcwzbxsmrh76bckmcj2b38k9f"; libraryHaskellDepends = [ base time ]; testHaskellDepends = [ base doctest hedgehog hspec hspec-hedgehog time @@ -49160,32 +49220,31 @@ self: { }) {}; "binrep" = callPackage - ({ mkDerivation, aeson, base, bytestring, deepseq, flatparse, gauge - , generic-data-functions, generic-random, hspec, hspec-discover - , mason, megaparsec, parser-combinators, QuickCheck - , quickcheck-instances, refined1, strongweak, text, text-icu - , vector, vector-sized + ({ mkDerivation, base, bytestring, bytezap, deepseq, flatparse + , gauge, generic-data-asserts, generic-data-functions + , generic-random, hspec, hspec-discover, parser-combinators + , QuickCheck, quickcheck-instances, refined1, strongweak, text + , text-icu }: mkDerivation { pname = "binrep"; - version = "0.5.0"; - sha256 = "069038cx1b0ch2g0jf94l1wp8f09zrcr1xlzflrgpk2ka1y5rr3c"; + version = "0.6.0"; + sha256 = "1rd27h3i39zibz7dvwk53akqkrfhwln2igfczxdwflhav372ah18"; libraryHaskellDepends = [ - aeson base bytestring deepseq flatparse generic-data-functions - mason megaparsec parser-combinators refined1 strongweak text - text-icu vector vector-sized + base bytestring bytezap deepseq flatparse generic-data-asserts + generic-data-functions parser-combinators refined1 strongweak text + text-icu ]; testHaskellDepends = [ - aeson base bytestring deepseq flatparse generic-data-functions - generic-random hspec mason megaparsec parser-combinators QuickCheck - quickcheck-instances refined1 strongweak text text-icu vector - vector-sized + base bytestring bytezap deepseq flatparse generic-data-asserts + generic-data-functions generic-random hspec parser-combinators + QuickCheck quickcheck-instances refined1 strongweak text text-icu ]; testToolDepends = [ hspec-discover ]; benchmarkHaskellDepends = [ - aeson base bytestring deepseq flatparse gauge - generic-data-functions mason megaparsec parser-combinators refined1 - strongweak text text-icu vector vector-sized + base bytestring bytezap deepseq flatparse gauge + generic-data-asserts generic-data-functions parser-combinators + refined1 strongweak text text-icu ]; description = "Encode precise binary representations directly in types"; license = lib.licenses.mit; @@ -51816,8 +51875,8 @@ self: { ({ mkDerivation, bluefin-internal }: mkDerivation { pname = "bluefin"; - version = "0.0.3.0"; - sha256 = "1b1050pbxqi0hyz4xkm56v54rp5c0z9sr36swwg07xmkv52g7hil"; + version = "0.0.4.2"; + sha256 = "08r1xma5kg7kcc88lflq59kz3qs1qix2pg4hq882pabis0lnwr64"; libraryHaskellDepends = [ bluefin-internal ]; description = "The Bluefin effect system"; license = lib.licenses.mit; @@ -51829,8 +51888,8 @@ self: { }: mkDerivation { pname = "bluefin-internal"; - version = "0.0.3.0"; - sha256 = "1xsb5qxmfaw2bb0jslz2hr04lihxc7r51x8rsqnvdly05a8vxglv"; + version = "0.0.4.2"; + sha256 = "1jgql7bvv4zaqigafbrk3bydp2fyab0za5rpw7nz6fxvnxn3w9aj"; libraryHaskellDepends = [ base monad-control transformers transformers-base unliftio-core ]; @@ -56422,8 +56481,8 @@ self: { ({ mkDerivation, base, bytestring, primitive, text }: mkDerivation { pname = "bytezap"; - version = "1.0.0"; - sha256 = "198nvi6dk8s6mb24z31xaz6yqfaiyrgwm1bhmjak4sbgpp3jika5"; + version = "1.1.0"; + sha256 = "08nr0iyj80bc19fj8dgfzyyb1dws93lclpmgxq2m0jcaxxzid1kj"; libraryHaskellDepends = [ base bytestring primitive text ]; description = "Bytestring builder with zero intermediate allocation"; license = lib.licenses.mit; @@ -57843,8 +57902,8 @@ self: { pname = "cabal-plan"; version = "0.7.3.0"; sha256 = "0rjyf5dh13kqwjr520i4w1g7y37nv4rn7vbpkgcjf5qi9f2m9p6c"; - revision = "2"; - editedCabalFile = "13y7ypl763wirrd2i5az9dcgw69vnrd7nb7xd6v3bcrxwj9snams"; + revision = "3"; + editedCabalFile = "1d9wii8gca1g7q6dr3y4yi08xnq2dw5wfk911abp34r5vf8zmgwm"; configureFlags = [ "-fexe" ]; isLibrary = true; isExecutable = true; @@ -69466,8 +69525,8 @@ self: { ({ mkDerivation, base, containers }: mkDerivation { pname = "commutative-semigroups"; - version = "0.1.0.2"; - sha256 = "0r8kagn44ms59qsni71igbryiwb8hv3swq81a1jnac7smfj3l51l"; + version = "0.1.1.0"; + sha256 = "07b4w4z68dkfz26rm5b6b9fpgcssxr8lqx4snd2qhbf0qr29m8pk"; libraryHaskellDepends = [ base containers ]; description = "Commutative semigroups"; license = lib.licenses.bsd3; @@ -76023,18 +76082,19 @@ self: { mainProgram = "crackNum"; }) {}; - "crackNum_3_10" = callPackage - ({ mkDerivation, base, directory, filepath, libBF, process, sbv - , tasty, tasty-golden + "crackNum_3_12" = callPackage + ({ mkDerivation, base, deepseq, directory, filepath, ghc, libBF + , process, sbv, tasty, tasty-golden }: mkDerivation { pname = "crackNum"; - version = "3.10"; - sha256 = "00zkd6rv84axzvfbkaz4cfpv2vnmlyrmyya30a0rnxh8gad0ix5g"; + version = "3.12"; + sha256 = "1d1hn24c9xdnb19h8c0nakq7825q0gv4b4pxbf8cpwjsspb155wm"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ - base directory filepath libBF process sbv tasty tasty-golden + base deepseq directory filepath ghc libBF process sbv tasty + tasty-golden ]; description = "Crack various integer and floating-point data formats"; license = lib.licenses.bsd3; @@ -78928,7 +78988,6 @@ self: { testHaskellDepends = [ base hspec text ]; description = "Currencies representation, pretty printing and conversion"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "currency" = callPackage @@ -89546,8 +89605,8 @@ self: { }: mkDerivation { pname = "distributed-process"; - version = "0.7.5"; - sha256 = "1si3s8540nyybsyzbh6qa96aanvd8qf70b9lgcg78jn4a1fww7c9"; + version = "0.7.6"; + sha256 = "0kfgz8nrg8pdnw56msdkdlc1y894giz6jmgss6gxmhrr929rsnlz"; libraryHaskellDepends = [ base binary bytestring containers data-accessor deepseq distributed-static exceptions hashable mtl network-transport random @@ -90001,18 +90060,18 @@ self: { "distributed-process-tests" = callPackage ({ mkDerivation, ansi-terminal, base, binary, bytestring - , distributed-process, distributed-static, HUnit, network - , network-transport, network-transport-inmemory, random, rematch - , setenv, stm, test-framework, test-framework-hunit + , distributed-process, distributed-static, exceptions, HUnit + , network, network-transport, network-transport-inmemory, random + , rematch, setenv, stm, test-framework, test-framework-hunit }: mkDerivation { pname = "distributed-process-tests"; - version = "0.4.11"; - sha256 = "0rpmmyl3bal61q1gg6kk57i8whvard8r6f6w57pdgspp2sy5bhh7"; + version = "0.4.12"; + sha256 = "1jr7xgmwsy89hyih81w54bid8664rgqd8mxvwcd6xa6b41n90r7f"; libraryHaskellDepends = [ ansi-terminal base binary bytestring distributed-process - distributed-static HUnit network network-transport random rematch - setenv stm test-framework test-framework-hunit + distributed-static exceptions HUnit network network-transport + random rematch setenv stm test-framework test-framework-hunit ]; testHaskellDepends = [ base network network-transport network-transport-inmemory @@ -91741,18 +91800,17 @@ self: { "domain-auth" = callPackage ({ mkDerivation, asn1-encoding, asn1-types, attoparsec, base - , bytestring, containers, crypton, crypton-x509, dns, doctest - , iproute, memory, network, pretty-simple, word8 + , bytestring, containers, crypton, crypton-x509, dns, iproute + , memory, network, pretty-simple, word8 }: mkDerivation { pname = "domain-auth"; - version = "0.2.3"; - sha256 = "1kwc7rgqcv5jyi8071cbfac5q3anhdd0jl1kq5x9bnync6lriv69"; + version = "0.2.4"; + sha256 = "0vmmyc1pq4ck6x0c4nbdzn4mr6l16355i74lp7cczizcjjraymj8"; libraryHaskellDepends = [ asn1-encoding asn1-types attoparsec base bytestring containers - crypton crypton-x509 dns iproute memory network word8 + crypton crypton-x509 dns iproute memory network pretty-simple word8 ]; - testHaskellDepends = [ base doctest pretty-simple ]; description = "Domain authentication library"; license = lib.licenses.bsd3; }) {}; @@ -98549,26 +98607,6 @@ self: { }) {}; "envy" = callPackage - ({ mkDerivation, base, bytestring, containers, hspec, mtl - , QuickCheck, quickcheck-instances, text, time, transformers - }: - mkDerivation { - pname = "envy"; - version = "2.1.2.0"; - sha256 = "1msabmxhcafblvadhshda65g5mhzca3719p6dqy6ifrj8202bkr4"; - libraryHaskellDepends = [ - base bytestring containers mtl text time transformers - ]; - testHaskellDepends = [ - base bytestring hspec mtl QuickCheck quickcheck-instances text time - transformers - ]; - description = "An environmentally friendly way to deal with environment variables"; - license = lib.licenses.bsd3; - maintainers = [ lib.maintainers.sternenseemann ]; - }) {}; - - "envy_2_1_3_0" = callPackage ({ mkDerivation, base, bytestring, containers, hspec, mtl , QuickCheck, quickcheck-instances, text, time, transformers }: @@ -98585,7 +98623,6 @@ self: { ]; description = "An environmentally friendly way to deal with environment variables"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; maintainers = [ lib.maintainers.sternenseemann ]; }) {}; @@ -101737,8 +101774,8 @@ self: { }: mkDerivation { pname = "exiftool"; - version = "0.2.0.4"; - sha256 = "1aa6n86xwgzz075pkwicxl817fvpl7qmwaxrxq85xa5zyl2718bk"; + version = "0.2.0.5"; + sha256 = "1n6d7yf23rnrxj5lf6vfc1l7igk1w88l89hvkxjfz0qrqz2cc0vx"; libraryHaskellDepends = [ aeson base base64 bytestring hashable process scientific temporary text unordered-containers vector @@ -106856,6 +106893,22 @@ self: { maintainers = [ lib.maintainers.turion ]; }) {}; + "finite-typelits_0_2_0_0" = callPackage + ({ mkDerivation, base, deepseq, QuickCheck, tagged + , template-haskell + }: + mkDerivation { + pname = "finite-typelits"; + version = "0.2.0.0"; + sha256 = "048f0az0qvkz35i0y1a2nsnbv3yvkfkywal6jhkqchab1ak9bml8"; + libraryHaskellDepends = [ base deepseq tagged template-haskell ]; + testHaskellDepends = [ base deepseq QuickCheck ]; + description = "A type inhabited by finitely many values, indexed by type-level naturals"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + maintainers = [ lib.maintainers.turion ]; + }) {}; + "finito" = callPackage ({ mkDerivation, base, numeric-domains, propeller, split , transformers @@ -106983,10 +107036,8 @@ self: { ({ mkDerivation, base }: mkDerivation { pname = "first-class-families"; - version = "0.8.0.1"; - sha256 = "0wnsq69f2br9h9hnf8sx41pchwjag86hb41ivjl7wx81psyqy72a"; - revision = "2"; - editedCabalFile = "0idiqb4ckwa7hya827gc2cbjh83wmz3cppnl124834pkla2h99np"; + version = "0.8.1.0"; + sha256 = "1zynw2nvclx3rqjpd9g78mrmhll11x59s21hjppqsgv47zbf5vmk"; libraryHaskellDepends = [ base ]; testHaskellDepends = [ base ]; description = "First-class type families"; @@ -110843,8 +110894,8 @@ self: { ({ mkDerivation, base }: mkDerivation { pname = "free-alacarte"; - version = "0.1.0.3"; - sha256 = "1djx7v5n0fc29c4ix6fx51gg2khsy57fd89vknwzqzx3c22skgxm"; + version = "0.1.0.4"; + sha256 = "0zv3rsbacjh055spn77q3yz9f7mrsdw5kdbmynxv9hrpg584218x"; libraryHaskellDepends = [ base ]; description = "Free monads based on intuitions from the Data types à la Carte"; license = lib.licenses.gpl3Only; @@ -112201,20 +112252,18 @@ self: { }) {}; "ftp-client" = callPackage - ({ mkDerivation, attoparsec, base, bytestring, connection - , containers, exceptions, network, tasty, tasty-hspec, transformers + ({ mkDerivation, attoparsec, base, bytestring, containers + , crypton-connection, exceptions, hspec, network, transformers }: mkDerivation { pname = "ftp-client"; - version = "0.5.1.4"; - sha256 = "0c2xn2q24imrfgsx4zxzi24ciwkrly6n47lc5k5406j5b4znn5lf"; - revision = "3"; - editedCabalFile = "1a7xya5c89lj4s73bd0cgr53id53xz4fnqzrizdibb6a90ml7g9r"; + version = "0.5.1.5"; + sha256 = "08sxbk4s3prh22b1c19cv571fgdc5k9347i17jqmvfwjl3lkv5w7"; libraryHaskellDepends = [ - attoparsec base bytestring connection containers exceptions network - transformers + attoparsec base bytestring containers crypton-connection exceptions + network transformers ]; - testHaskellDepends = [ base bytestring tasty tasty-hspec ]; + testHaskellDepends = [ base bytestring hspec ]; description = "Transfer files with FTP and FTPS"; license = lib.licenses.publicDomain; hydraPlatforms = lib.platforms.none; @@ -113719,6 +113768,8 @@ self: { pname = "g2"; version = "0.2.0.0"; sha256 = "1d4vd357l7arxd0dwyy97c6cz6x3dqm4camfsp4dpdjry7bc8r9q"; + revision = "1"; + editedCabalFile = "00k9mwdjjck6mx9dnqwxa3z5lnqm3mskhnp3sh750a9ykmwfmx5f"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -115209,13 +115260,25 @@ self: { license = lib.licenses.mit; }) {}; + "generic-data-asserts" = callPackage + ({ mkDerivation, base, type-spec }: + mkDerivation { + pname = "generic-data-asserts"; + version = "0.2.0"; + sha256 = "1v2pfibff26bsy5z3q1fv45v30p6hmmrka6c4chpd7abn89hknz1"; + libraryHaskellDepends = [ base ]; + testHaskellDepends = [ base type-spec ]; + description = "Structural assertions on generic data representations"; + license = lib.licenses.mit; + }) {}; + "generic-data-functions" = callPackage - ({ mkDerivation, base, text }: + ({ mkDerivation, base, contravariant, text }: mkDerivation { pname = "generic-data-functions"; - version = "0.2.0"; - sha256 = "1vpjj61lw0bqngxvsqlljq71b773krwiw80vdff0fy94y1d2arj8"; - libraryHaskellDepends = [ base text ]; + version = "0.5.0"; + sha256 = "0qjbwn0b59i5lrq26v36ai7z8xckid3gjz33w6l0kq1cvpfvzrnx"; + libraryHaskellDepends = [ base contravariant text ]; description = "Familiar functions lifted to generic data types"; license = lib.licenses.mit; maintainers = [ lib.maintainers.raehik ]; @@ -118697,8 +118760,8 @@ self: { }: mkDerivation { pname = "ghc-source-gen"; - version = "0.4.4.1"; - sha256 = "0fbzvybj86apy4xkx1m4gbp7gybmd87ab64f6sngpsbkk5shxsrk"; + version = "0.4.5.0"; + sha256 = "18v6i0a6j72brwr7zq0j0igmkzigx3w4a6rdhq8cn768vflpflvv"; libraryHaskellDepends = [ base ghc ]; testHaskellDepends = [ base ghc ghc-paths QuickCheck tasty tasty-hunit tasty-quickcheck @@ -119477,12 +119540,12 @@ self: { license = lib.licenses.mit; }) {}; - "ghcjs-base_0_2_1_0" = callPackage + "ghcjs-base_0_8_0_0" = callPackage ({ mkDerivation }: mkDerivation { pname = "ghcjs-base"; - version = "0.2.1.0"; - sha256 = "05dw3kvrwgipxjg1i3gfirqz260azcmgj1rwp7m37a94q4550bcq"; + version = "0.8.0.0"; + sha256 = "1bbgvyw4vbwi7whidldrxi46hjx9hsg3hp6l2py30528n7hfdpdp"; description = "base library for GHCJS"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; @@ -119525,8 +119588,8 @@ self: { }: mkDerivation { pname = "ghcjs-dom"; - version = "0.9.5.0"; - sha256 = "1ya4ns81xwri8knbhmkbxpvm48q4ygyn1sqq873sbpsawknqcn65"; + version = "0.9.9.0"; + sha256 = "11zc5p7d74c5q3rq3vzczf16y7r0lci3ddvq1nry6jsfrxkklziy"; libraryHaskellDepends = [ base containers ghcjs-dom-jsaddle text transformers ]; @@ -119557,12 +119620,22 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "ghcjs-dom-javascript" = callPackage + ({ mkDerivation }: + mkDerivation { + pname = "ghcjs-dom-javascript"; + version = "0.9.9.0"; + sha256 = "0vhk1gjr5g5cp6rzkr9p0km4mrdi61kfwk8jc0w97wkwmi030qcb"; + description = "DOM library using JSFFI and GHCJS"; + license = lib.licenses.mit; + }) {}; + "ghcjs-dom-jsaddle" = callPackage ({ mkDerivation, jsaddle-dom }: mkDerivation { pname = "ghcjs-dom-jsaddle"; - version = "0.9.5.0"; - sha256 = "12y95c10f16ysbbsfhwmw3pyyp339rm1hnzsb7hbbiwh6g2kx8vd"; + version = "0.9.9.0"; + sha256 = "0r9xkp23j3w8c6qwsx4zyd8g8a3pryx073rw84k7fl8nfsjb0b7m"; libraryHaskellDepends = [ jsaddle-dom ]; doHaddock = false; description = "DOM library that supports both GHCJS and GHC using jsaddle"; @@ -119573,8 +119646,8 @@ self: { ({ mkDerivation }: mkDerivation { pname = "ghcjs-dom-jsffi"; - version = "0.9.5.0"; - sha256 = "1pmxrhpdh4630q0z8a8pqg5m7323a1w1z8ny2fvb1acr12x6l1f0"; + version = "0.9.9.0"; + sha256 = "0fhcs89x180kw75qgbfh28wjyn55frwdfj4rqlqa1smx0fwhzyy1"; description = "DOM library using JSFFI and GHCJS"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; @@ -121462,22 +121535,22 @@ self: { "gigaparsec" = callPackage ({ mkDerivation, base, bytestring, containers, deepseq, gauge, knob - , pretty-terminal, selective, tasty, tasty-expected-failure + , pretty-terminal, rt, selective, tasty, tasty-expected-failure , tasty-hunit, template-haskell }: mkDerivation { pname = "gigaparsec"; - version = "0.2.5.1"; - sha256 = "1ks2wv3n478r4532q7lfyll51kkrzsgh58akz9yflnv9n038sfr5"; + version = "0.3.0.0"; + sha256 = "13r2h7k37rwbig9ka75202vgifprjf719xp9zgrnrqa3dxpynh93"; libraryHaskellDepends = [ - base containers pretty-terminal selective template-haskell + base containers pretty-terminal rt selective template-haskell ]; testHaskellDepends = [ - base bytestring containers deepseq knob tasty + base bytestring containers deepseq knob rt tasty tasty-expected-failure tasty-hunit ]; benchmarkHaskellDepends = [ base deepseq gauge ]; - description = "Refreshed parsec-style library for compatiblity with Scala parsley"; + description = "Refreshed parsec-style library for compatibility with Scala parsley"; license = lib.licenses.bsd3; }) {}; @@ -128878,8 +128951,8 @@ self: { }: mkDerivation { pname = "greenclip"; - version = "4.1.0"; - sha256 = "1z52ffb3f0iflls3bjlwzpz4w3a904vj67c1zsdyql6j2xpln6n4"; + version = "4.2.0"; + sha256 = "03y179mjck7i1f9jw5j6aj1mzgvr91fzmdsbmzhabdjnhcl9b1r6"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -132096,8 +132169,8 @@ self: { pname = "hackage-security"; version = "0.6.2.4"; sha256 = "10jcxn3ihsaf2dv0wyrccjszwqz2cpgv2k8bwqxfjhjbn0xmp4lb"; - revision = "1"; - editedCabalFile = "0n3jss7hignrjzgzrk2krq9jffh1bfarmacmjlmigcg5ha91d5cn"; + revision = "3"; + editedCabalFile = "15y006779ssm21ypcg291307gv2xrg740aqw4ky8qsxyrmcyj4sg"; libraryHaskellDepends = [ base base16-bytestring base64-bytestring bytestring Cabal Cabal-syntax containers cryptohash-sha256 directory ed25519 @@ -132113,7 +132186,7 @@ self: { license = lib.licenses.bsd3; }) {}; - "hackage-security_0_6_2_5" = callPackage + "hackage-security_0_6_2_6" = callPackage ({ mkDerivation, aeson, base, base16-bytestring, base64-bytestring , bytestring, Cabal, Cabal-syntax, containers, cryptohash-sha256 , directory, ed25519, filepath, ghc-prim, lukko, mtl, network @@ -132123,8 +132196,8 @@ self: { }: mkDerivation { pname = "hackage-security"; - version = "0.6.2.5"; - sha256 = "1az2bziiw3dlz1bfz2nblklrszr45l7rdmnxkvj37pilchihkj45"; + version = "0.6.2.6"; + sha256 = "0sfvd5y9v01bjsxsrf446ldcqf56arzr94jk2zsvj49yddbn2hif"; libraryHaskellDepends = [ base base16-bytestring base64-bytestring bytestring Cabal Cabal-syntax containers cryptohash-sha256 directory ed25519 @@ -133828,8 +133901,8 @@ self: { ({ mkDerivation, base }: mkDerivation { pname = "halfsplit"; - version = "0.4.2.0"; - sha256 = "1fa2bdch3rqprfvjy3rmhb7zkbzfqnyzi193ayh5zlsmshx5w0cl"; + version = "0.4.3.0"; + sha256 = "1y09vl853nsc6fx19bwmmmh9k7di825j4y7rsm06wyk35m911yv7"; libraryHaskellDepends = [ base ]; description = "A library to provide special kind of two-column output for Phladiprelio"; license = lib.licenses.mit; @@ -136169,22 +136242,24 @@ self: { "hashable" = callPackage ({ mkDerivation, base, bytestring, containers, deepseq, filepath - , ghc-bignum, ghc-prim, HUnit, QuickCheck, random, test-framework - , test-framework-hunit, test-framework-quickcheck2, text, unix + , ghc-bignum, ghc-prim, HUnit, os-string, QuickCheck, random + , test-framework, test-framework-hunit, test-framework-quickcheck2 + , text, unix }: mkDerivation { pname = "hashable"; - version = "1.4.3.0"; - sha256 = "1xdhg8mn1i3bci7sbw9nx18sxadkz6fw7rfbnw4n4y4i51nb3vrj"; + version = "1.4.4.0"; + sha256 = "0n27mz24xsjlcdxcs4irxai4zafaimnwg6cbnfr442a4912xd8qz"; revision = "1"; - editedCabalFile = "153i7nzxqmimb565yrq0c6wnypmmzvf2rvvqldja1xqdzan6igzk"; + editedCabalFile = "1nskqpfd2qdc83ffdi9aj446ff06f8z3av0cx68slwn5fj1268mf"; libraryHaskellDepends = [ base bytestring containers deepseq filepath ghc-bignum ghc-prim - text + os-string text ]; testHaskellDepends = [ - base bytestring ghc-prim HUnit QuickCheck random test-framework - test-framework-hunit test-framework-quickcheck2 text unix + base bytestring filepath ghc-prim HUnit os-string QuickCheck random + test-framework test-framework-hunit test-framework-quickcheck2 text + unix ]; description = "A class for types that can be converted to a hash value"; license = lib.licenses.bsd3; @@ -140016,8 +140091,8 @@ self: { }: mkDerivation { pname = "haskoin-store"; - version = "1.4.0"; - sha256 = "0fvy3n2dc54vssrz1mm6acv1nsnmwbmx6kgi14pkqll3fx9i6m4g"; + version = "1.5.0"; + sha256 = "01lrrbz6811jcj47bj2ah0i23jkx2gdl326s2hx03rvfnygbz1bq"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -143956,8 +144031,8 @@ self: { pname = "hedgehog"; version = "1.4"; sha256 = "1sz685n2ljriqwfpfy57adbsc6gyrd4x7jmy628803rfalqznjpm"; - revision = "4"; - editedCabalFile = "0c0wvp1ax1zjk9p45hmblf0pabl83ddy6vl5nh6xi53cx8l6rxm0"; + revision = "5"; + editedCabalFile = "1majbvnqywyqfzm7qm7bhwmfzi3jamiz7d5ql4yvzsix8wg4rbag"; libraryHaskellDepends = [ ansi-terminal async barbies base bytestring concurrent-output containers deepseq directory erf exceptions lifted-async mmorph @@ -147489,6 +147564,17 @@ self: { mainProgram = "hiedb"; }) {}; + "hiedb-plugin" = callPackage + ({ mkDerivation, base, directory, filepath, ghc, hiedb, stm }: + mkDerivation { + pname = "hiedb-plugin"; + version = "0.1.0"; + sha256 = "163sj0yqa2srnh9w5a219hgnm1ljq7y76x1h2lbgpyx6bmw3vkn9"; + libraryHaskellDepends = [ base directory filepath ghc hiedb stm ]; + description = "See README on Github for more information"; + license = lib.licenses.mit; + }) {}; + "hieraclus" = callPackage ({ mkDerivation, base, containers, HUnit, mtl, multiset }: mkDerivation { @@ -155914,10 +156000,8 @@ self: { }: mkDerivation { pname = "hs-opentelemetry-instrumentation-auto"; - version = "0.1.0.0"; - sha256 = "1kp5fslrpaxyfj365hg1h4p6mbr8785pql6hwp507iydkawjlamc"; - revision = "2"; - editedCabalFile = "0shc5psmgdw0sskz21ars13ph3ylq3cyd3a54ji4v0mzihlw3rh0"; + version = "0.1.0.1"; + sha256 = "00qsmldcn20c5vsy617w0kcn4dw0l730n74bdrp2acv1jpppaa4v"; libraryHaskellDepends = [ base bytestring containers directory ghc hs-opentelemetry-api parsec text time toml-parser unliftio @@ -160333,13 +160417,13 @@ self: { }: mkDerivation { pname = "hspray"; - version = "0.2.4.0"; - sha256 = "0zc85y4wcalvf57gjr24v8w1x63wb388v0pdqa0n2awi950nf7dd"; + version = "0.2.5.0"; + sha256 = "00md7i8g7sqxac7lplgdxy6csabaz35bm2lnb6c290fn261mvlx1"; libraryHaskellDepends = [ base containers hashable matrix numeric-prelude text unordered-containers ]; - testHaskellDepends = [ base tasty tasty-hunit ]; + testHaskellDepends = [ base numeric-prelude tasty tasty-hunit ]; benchmarkHaskellDepends = [ base tasty-bench ]; description = "Multivariate polynomials"; license = lib.licenses.gpl3Only; @@ -160723,8 +160807,8 @@ self: { ({ mkDerivation, base, directory, parsec, random, unix }: mkDerivation { pname = "hsshellscript"; - version = "3.6.2"; - sha256 = "1p59graa3y2f7apv22qqmaw0l4lgawip6bxs4dpgf9nb5cgwk9iy"; + version = "3.6.4"; + sha256 = "0xglkx1x8wgqfrgcdzsg7l727ygb1hjfmgd86p5j9qpqral9003n"; libraryHaskellDepends = [ base directory parsec random unix ]; description = "Using Haskell for Unix shell scripting tasks"; license = lib.licenses.lgpl3Plus; @@ -162276,10 +162360,8 @@ self: { }: mkDerivation { pname = "http-client-rustls"; - version = "0.0.0.0"; - sha256 = "1rwiclqc1hpxgaqz6y8pxl96g68bg8d8m1clapg60fgmyj0zjnha"; - revision = "1"; - editedCabalFile = "0qhs7zbkw0zp1rv96da484kxizlx9vkc8n7zr8rz9w55gszb2bcf"; + version = "0.0.1.0"; + sha256 = "1yx93cfvn8zqvsrl2bg6zv12acvmbz2d66wyhb7w53jib7gwzk8z"; libraryHaskellDepends = [ base bytestring http-client network resourcet rustls text ]; @@ -163274,7 +163356,7 @@ self: { license = lib.licenses.bsd3; }) {}; - "http2_5_1_2" = callPackage + "http2_5_1_4" = callPackage ({ mkDerivation, aeson, aeson-pretty, array, async, base , base16-bytestring, bytestring, case-insensitive, containers , crypton, directory, filepath, gauge, Glob, hspec, hspec-discover @@ -163284,10 +163366,8 @@ self: { }: mkDerivation { pname = "http2"; - version = "5.1.2"; - sha256 = "0gp8z7hldfvfwn20aq8lpcxjgzd733g949ypnv14k8x5ncb1kvcx"; - revision = "1"; - editedCabalFile = "10k46jg4rbs3nn5fjak9jh0ldri9514ix843180i3ha18z1dsl8r"; + version = "5.1.4"; + sha256 = "0asf51bfzbn0nxp0zn58089ym1c4wkcmh67qdd0s094r1qh9d5x2"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -163317,10 +163397,8 @@ self: { }: mkDerivation { pname = "http2-client"; - version = "0.10.0.0"; - sha256 = "0kv4qa9cbwwj6b62manzpl1sk4jnsb5vx2y73w49drlfkrw1vpgy"; - revision = "2"; - editedCabalFile = "02frmqjcpx1d3c3y54z8ajckmd3dkjing3j9xaphmr6i3s9nbpa0"; + version = "0.10.0.1"; + sha256 = "1051qcnnigxyq20067r26gm3wp61p4ipga2pzjymd2wvnndx56hg"; libraryHaskellDepends = [ async base bytestring containers deepseq http2 lifted-async lifted-base mtl network stm time tls transformers-base @@ -163433,8 +163511,10 @@ self: { }: mkDerivation { pname = "http2-tls"; - version = "0.2.7"; - sha256 = "00n62n13f4w42d3kyc34prycwb9mv7sy8qpc8kk53y8shdix6x5z"; + version = "0.2.8"; + sha256 = "0zb9wgwlyd4lac3ivcm9s49xjx226fiqxnx11rb39fnkyvldw01w"; + isLibrary = true; + isExecutable = true; libraryHaskellDepends = [ base bytestring crypton-x509-store crypton-x509-validation data-default-class http2 network network-control network-run recv @@ -168916,15 +168996,15 @@ self: { }) {}; "imp" = callPackage - ({ mkDerivation, base, containers, exceptions, ghc, hspec - , transformers + ({ mkDerivation, base, Cabal-syntax, containers, exceptions, ghc + , hspec, transformers }: mkDerivation { pname = "imp"; - version = "1.0.1.0"; - sha256 = "1isxa5wbr8v9v6amydvhlkwvwsamr0jrw9996n1fj6311vwwh831"; + version = "1.0.2.0"; + sha256 = "1r0z0s6q8xfjyk098w3p1qvs8d8fl6y2mna867j7i8ksvvjm5khd"; libraryHaskellDepends = [ - base containers exceptions ghc transformers + base Cabal-syntax containers exceptions ghc transformers ]; testHaskellDepends = [ base exceptions ghc hspec ]; description = "A GHC plugin for automatically importing modules"; @@ -171261,8 +171341,8 @@ self: { pname = "integer-logarithms"; version = "1.0.3.1"; sha256 = "0zzapclfabc76g8jzsbsqwdllx2zn0gp4raq076ib6v0mfgry2lv"; - revision = "5"; - editedCabalFile = "03f07vv1xqvv53fiarn4rpj2hzsa9bx7lw883axmgzv49qrzq3ad"; + revision = "6"; + editedCabalFile = "146n3p1wzpwk3l675x6sr2qgzbfrnnzfpj2x8am5r74c8mns3585"; libraryHaskellDepends = [ array base ghc-bignum ghc-prim ]; testHaskellDepends = [ base QuickCheck smallcheck tasty tasty-hunit tasty-quickcheck @@ -174712,20 +174792,20 @@ self: { }) {}; "jackpolynomials" = callPackage - ({ mkDerivation, array, base, hspray, hypergeomatrix, ilist, lens - , math-functions, numeric-prelude, tasty, tasty-hunit + ({ mkDerivation, array, base, combinat, containers, hspray + , hypergeomatrix, ilist, lens, numeric-prelude, tasty, tasty-hunit }: mkDerivation { pname = "jackpolynomials"; - version = "1.1.1.0"; - sha256 = "00grr7r2f0jh8vmkv87vhl0h39rbakz8pgbh0s6mmj1k6fi3bkds"; + version = "1.2.0.0"; + sha256 = "159hipi5xqshxlys5rsv1v116njnbbhgfkxhn9s4m4rjd2ng149g"; libraryHaskellDepends = [ - array base hspray ilist lens math-functions numeric-prelude + array base combinat containers hspray ilist lens numeric-prelude ]; testHaskellDepends = [ base hspray hypergeomatrix tasty tasty-hunit ]; - description = "Jack, zonal, and Schur polynomials"; + description = "Jack, zonal, Schur and skew Schur polynomials"; license = lib.licenses.gpl3Only; }) {}; @@ -176224,14 +176304,36 @@ self: { license = lib.licenses.mit; }) {}; + "jsaddle_0_9_9_0" = callPackage + ({ mkDerivation, aeson, attoparsec, base, base-compat + , base64-bytestring, bytestring, containers, deepseq, exceptions + , filepath, ghc-prim, http-types, lens, primitive, process, random + , ref-tf, scientific, stm, text, time, transformers, unliftio-core + , unordered-containers, vector + }: + mkDerivation { + pname = "jsaddle"; + version = "0.9.9.0"; + sha256 = "0vpd76wicdvybbvrj1v28mxkyagrisijfl0821wkv35k0lls4m9a"; + libraryHaskellDepends = [ + aeson attoparsec base base-compat base64-bytestring bytestring + containers deepseq exceptions filepath ghc-prim http-types lens + primitive process random ref-tf scientific stm text time + transformers unliftio-core unordered-containers vector + ]; + description = "Interface for JavaScript that works with GHCJS and GHC"; + license = lib.licenses.mit; + hydraPlatforms = lib.platforms.none; + }) {}; + "jsaddle-clib" = callPackage ({ mkDerivation, aeson, base, base-compat, bytestring, data-default , jsaddle, text }: mkDerivation { pname = "jsaddle-clib"; - version = "0.9.8.3"; - sha256 = "1ss1f7nlmkpby4xfcviq1lmw5x8mvqq5zs406lyp3bksxgkvs6vj"; + version = "0.9.9.0"; + sha256 = "0i2abhhfcg9dy767hx9h6si83syhxpnk7cgihadh2l3l7p4ykbgr"; libraryHaskellDepends = [ aeson base base-compat bytestring data-default jsaddle text ]; @@ -176242,14 +176344,13 @@ self: { }) {}; "jsaddle-dom" = callPackage - ({ mkDerivation, base, base-compat, Cabal, exceptions, jsaddle - , lens, text, transformers + ({ mkDerivation, base, base-compat, exceptions, jsaddle, lens, text + , transformers }: mkDerivation { pname = "jsaddle-dom"; - version = "0.9.5.0"; - sha256 = "1abl7rwh8yc7852vphv5g5k3jv6454cdrqd2dzmhxxhxqkgxv88p"; - setupHaskellDepends = [ base Cabal ]; + version = "0.9.9.0"; + sha256 = "0jvvxwr7984aizh1n59q2m12y5x3ahy5nwfir47s6q48n4pi0l9z"; libraryHaskellDepends = [ base base-compat exceptions jsaddle lens text transformers ]; @@ -176286,8 +176387,8 @@ self: { }: mkDerivation { pname = "jsaddle-warp"; - version = "0.9.8.3"; - sha256 = "1hdcaxspazd8yxk6f6a0jcdr3hwwr2xwrmp40qarbklx33b9ajqa"; + version = "0.9.9.0"; + sha256 = "0kl296fw3f1fis4fzq9i4q23r0lgxil9bil2alfwnkv6yixj0mhs"; libraryHaskellDepends = [ aeson base bytestring containers foreign-store http-types jsaddle stm text time transformers wai wai-websockets warp websockets @@ -176310,8 +176411,8 @@ self: { }: mkDerivation { pname = "jsaddle-webkit2gtk"; - version = "0.9.8.4"; - sha256 = "1aky8lczbvhm11s6hhn5vnmssq8sdhd3nx93dihhsvlma1gg8gs3"; + version = "0.9.9.0"; + sha256 = "0b3kl5hm4ssbiga8cjcb30fli15z8sx4x8p5qvpxzlwmzx9zsk9p"; libraryHaskellDepends = [ aeson base bytestring directory gi-gio gi-glib gi-gtk gi-javascriptcore gi-webkit2 haskell-gi-base haskell-gi-overloading @@ -176345,8 +176446,8 @@ self: { ({ mkDerivation }: mkDerivation { pname = "jsaddle-wkwebview"; - version = "0.9.8.3"; - sha256 = "0lh613ws0lgrw298p1sbq1jdj1ka5nzn1ijpg2zwwr5wc2g5ha4w"; + version = "0.9.9.0"; + sha256 = "0r8payj72akz951jmv7frllj8cxpwgjyci7gad7250s7nmnd9f1s"; description = "Interface for JavaScript that works with GHCJS and GHC"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; @@ -177111,8 +177212,8 @@ self: { }: mkDerivation { pname = "json-spec"; - version = "0.3.0.0"; - sha256 = "16q6jdv42ayh2j8xvmcc2h7jvi1xgxiyp1ccii2c08a1wv2a262f"; + version = "0.3.0.1"; + sha256 = "1gyg378y7s9yc6vkjgl8zydjpkl86qlywwbs6kvrfip9a3hvj3p7"; libraryHaskellDepends = [ aeson base containers scientific text time vector ]; @@ -177127,21 +177228,17 @@ self: { }) {}; "json-spec-elm" = callPackage - ({ mkDerivation, base, bound, containers, directory, elm-syntax - , hspec, json-spec, mtl, prettyprinter, process, text - , unordered-containers + ({ mkDerivation, base, bound, containers, elm-syntax, json-spec + , mtl, text }: mkDerivation { pname = "json-spec-elm"; - version = "0.4.0.0"; - sha256 = "0kybrnri951ql6vlrv09hzi63gc6yb27a62p62243y2pj131hbjy"; + version = "0.4.0.1"; + sha256 = "0gqlkb3zbkb46lf2bqa65ikj231qyi7kq59hys6vv3y13w3yq2ck"; libraryHaskellDepends = [ base bound containers elm-syntax json-spec mtl text ]; - testHaskellDepends = [ - base containers directory elm-syntax hspec json-spec prettyprinter - process text unordered-containers - ]; + testHaskellDepends = [ base containers elm-syntax json-spec text ]; description = "Elm code generate for `json-spec`"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; @@ -177155,8 +177252,8 @@ self: { }: mkDerivation { pname = "json-spec-elm-servant"; - version = "0.4.0.0"; - sha256 = "1lg9wm3b148i8rdkv5ypd0wm6vvjkcvxw1cy7m7wfbm5vdjns0qm"; + version = "0.4.0.1"; + sha256 = "0smg0sx4mybfqycz99xpax3ia5qiwa17p14k87xmp793m6yyj2iq"; libraryHaskellDepends = [ base bound containers elm-syntax http-types json-spec json-spec-elm mtl servant text @@ -180849,6 +180946,7 @@ self: { description = "Advanced keyboard remapping utility"; license = lib.licenses.mit; mainProgram = "kmonad"; + maintainers = [ lib.maintainers.slotThe ]; }) {}; "kmp-dfa" = callPackage @@ -184190,21 +184288,22 @@ self: { }) {}; "language-thrift" = callPackage - ({ mkDerivation, ansi-wl-pprint, base, containers, hspec - , hspec-discover, megaparsec, QuickCheck, scientific, semigroups - , text, transformers + ({ mkDerivation, base, containers, hspec, hspec-discover + , megaparsec, prettyprinter-compat-ansi-wl-pprint, QuickCheck + , scientific, semigroups, text, transformers }: mkDerivation { pname = "language-thrift"; - version = "0.12.0.1"; - sha256 = "1cn92cf60j34ybchgg0zyc3nzy1iw6mz69cn16y28pkaymaz5lrn"; + version = "0.13.0.0"; + sha256 = "0v34xzd73mmvzjxq7vhdz79wrp6q082f7klyc9gr6p3g0ny7jl4m"; libraryHaskellDepends = [ - ansi-wl-pprint base containers megaparsec scientific semigroups - text transformers + base containers megaparsec prettyprinter-compat-ansi-wl-pprint + scientific semigroups text transformers ]; testHaskellDepends = [ - ansi-wl-pprint base containers hspec megaparsec QuickCheck - scientific semigroups text transformers + base containers hspec megaparsec + prettyprinter-compat-ansi-wl-pprint QuickCheck scientific + semigroups text transformers ]; testToolDepends = [ hspec-discover ]; description = "Parser and pretty printer for the Thrift IDL format"; @@ -186194,8 +186293,8 @@ self: { pname = "lens"; version = "5.2.3"; sha256 = "0kcr1dqvnjmi05yd9m9ylipk5210jwd7d00c9scq9n49vnl8q7nz"; - revision = "3"; - editedCabalFile = "18mz3d7m8yb1fpxvkkwm1vwf2q67as5pz348i56c4xxfzhqhxdrj"; + revision = "4"; + editedCabalFile = "0j0ga11zqgj19nsk9nyd6l23chdixc5cd2v7vgjj7flwy5vc97kn"; libraryHaskellDepends = [ array assoc base base-orphans bifunctors bytestring call-stack comonad containers contravariant distributive exceptions filepath @@ -190167,10 +190266,12 @@ self: { pname = "liquid-base"; version = "4.15.1.0"; sha256 = "0mzv7l1w54wvwcqzy94kwlf6srh4vg1fi4lddm19ysrvfrw7r0pc"; + revision = "1"; + editedCabalFile = "0n6xdqmq9x8r63yj05f7g7rcm8k0z6kj5p7y9kpxy7yfm28ndm9d"; enableSeparateDataOutput = true; setupHaskellDepends = [ base Cabal liquidhaskell ]; libraryHaskellDepends = [ base liquid-ghc-prim liquidhaskell ]; - description = "Drop-in base replacement for LiquidHaskell"; + description = "base specs for LiquidHaskell"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; @@ -190183,10 +190284,12 @@ self: { pname = "liquid-bytestring"; version = "0.10.12.1"; sha256 = "0zzcbpsli9bcf94z42lg1yg1bkaa09vgpcbak0fq4fm9ws12yisf"; + revision = "1"; + editedCabalFile = "02gagira72jhx1nbs3k4wlwmgigc1s05f9v540134fr83rd9i3rm"; enableSeparateDataOutput = true; setupHaskellDepends = [ base Cabal liquidhaskell ]; libraryHaskellDepends = [ bytestring liquid-base liquidhaskell ]; - description = "LiquidHaskell specs for the bytestring package"; + description = "Old specs for the bytestring package"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; @@ -190199,10 +190302,12 @@ self: { pname = "liquid-containers"; version = "0.6.4.1"; sha256 = "0529qxvmipw6yd6v1p9vgkbk9al9cqcbwp71zzaxg9y22kkxly6a"; + revision = "2"; + editedCabalFile = "0bb3cbh6gp51d2fnaxn9lyirymqg6c3rj49c9532zw6bbsj8nx0b"; enableSeparateDataOutput = true; setupHaskellDepends = [ base Cabal liquidhaskell ]; libraryHaskellDepends = [ containers liquid-base liquidhaskell ]; - description = "LiquidHaskell specs for the containers package"; + description = "Old specs for containers"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; @@ -190256,10 +190361,12 @@ self: { pname = "liquid-ghc-prim"; version = "0.7.0.1"; sha256 = "1a9k21krk2b32cmw6b193794wsh5kmpb3d0bvrrkyl0pbvz5jrg2"; + revision = "1"; + editedCabalFile = "0kmjrdh62cs1lhpvjv4w3a2adll04rlfrvvdgya6kwdgmj513jcw"; enableSeparateDataOutput = true; setupHaskellDepends = [ base Cabal liquidhaskell ]; libraryHaskellDepends = [ ghc-prim liquidhaskell ]; - description = "Drop-in ghc-prim replacement for LiquidHaskell"; + description = "Drop-in ghc-prim replacement for LH"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; }) {}; @@ -191237,21 +191344,22 @@ self: { }) {}; "llvm-dsl" = callPackage - ({ mkDerivation, base, bool8, llvm-extra, llvm-tf, numeric-prelude - , prelude-compat, storable-enum, storable-record, tfp, transformers - , unsafe, utility-ht, vault + ({ mkDerivation, base, bool8, doctest-exitcode-stdio, llvm-extra + , llvm-tf, numeric-prelude, prelude-compat, storable-enum + , storable-record, tfp, transformers, unsafe, utility-ht, vault }: mkDerivation { pname = "llvm-dsl"; - version = "0.1.1"; - sha256 = "15ad2kv7d4hr732zlxk6f2faw76xavaynpi2d18kch41x1giivxv"; - revision = "1"; - editedCabalFile = "0iq6v0z6g7lzg8pnijanphcj51fhbvishs5vzylhjvhjikfcv9lc"; + version = "0.1.2"; + sha256 = "1ynldbzdlr5i08174s85nzi8iwaic0zr10x8zccvl127d9d3264q"; libraryHaskellDepends = [ base bool8 llvm-extra llvm-tf numeric-prelude prelude-compat storable-enum storable-record tfp transformers unsafe utility-ht vault ]; + testHaskellDepends = [ + base doctest-exitcode-stdio llvm-extra llvm-tf tfp transformers + ]; description = "Support for writing an EDSL with LLVM-JIT as target"; license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; @@ -191284,8 +191392,8 @@ self: { }: mkDerivation { pname = "llvm-extra"; - version = "0.12"; - sha256 = "0syd18037lg1g1yg4nk5pmmwwzgxzrlgg9jzli47q5v346dk0mv6"; + version = "0.12.0.1"; + sha256 = "1sx5nrf2mpq27cjja81i8fgp487j4pn4wxdhp1y4gksk736nza5i"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -192744,6 +192852,8 @@ self: { pname = "logict"; version = "0.8.1.0"; sha256 = "04xqwfbvh5gfjwbvmadbakq0932gskh2gy68aw7251443ic4gp6k"; + revision = "1"; + editedCabalFile = "0ckbljn4rcvbnni6ldn6wd5p4c6y6dx5ixc8hg2i9a7irllgifr9"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base mtl transformers ]; @@ -193828,8 +193938,8 @@ self: { }: mkDerivation { pname = "lsp-client"; - version = "0.2.0.0"; - sha256 = "0wh9qjcck2pdya5dpz8k6k9x49a543j4p3vjvscd4bk0vzk76rc0"; + version = "0.3.0.0"; + sha256 = "0d5d0rzscq9gc4jnl02584908g50mrqgxs3b6nly6wfpjaprklsd"; libraryHaskellDepends = [ aeson aeson-pretty base bytestring co-log-core containers data-default dependent-map Diff directory extra filepath @@ -197674,29 +197784,6 @@ self: { }) {}; "math-functions" = callPackage - ({ mkDerivation, base, data-default-class, deepseq, erf, primitive - , QuickCheck, random, tasty, tasty-bench, tasty-hunit - , tasty-quickcheck, vector, vector-th-unbox - }: - mkDerivation { - pname = "math-functions"; - version = "0.3.4.3"; - sha256 = "0ri9vf9bcs4q8bj9451sjc4q5cfxc8bcjjx6wqgsdk3yx2sxb1jd"; - libraryHaskellDepends = [ - base data-default-class deepseq primitive vector - ]; - testHaskellDepends = [ - base data-default-class deepseq erf primitive QuickCheck tasty - tasty-hunit tasty-quickcheck vector vector-th-unbox - ]; - benchmarkHaskellDepends = [ - base data-default-class random tasty-bench vector - ]; - description = "Collection of tools for numeric computations"; - license = lib.licenses.bsd2; - }) {}; - - "math-functions_0_3_4_4" = callPackage ({ mkDerivation, base, data-default-class, deepseq, erf, primitive , QuickCheck, random, tasty, tasty-bench, tasty-hunit , tasty-quickcheck, vector, vector-th-unbox @@ -197717,7 +197804,6 @@ self: { ]; description = "Collection of tools for numeric computations"; license = lib.licenses.bsd2; - hydraPlatforms = lib.platforms.none; }) {}; "math-grads" = callPackage @@ -199171,25 +199257,6 @@ self: { }) {}; "mega-sdist" = callPackage - ({ mkDerivation, aeson, base, bytestring, optparse-simple, pantry - , path, path-io, rio, rio-orphans, yaml - }: - mkDerivation { - pname = "mega-sdist"; - version = "0.4.3.0"; - sha256 = "0bv490zs2a25r0kwb7kqmami3xfxmjg9fqb1j4azn7jyf14jg367"; - isLibrary = false; - isExecutable = true; - executableHaskellDepends = [ - aeson base bytestring optparse-simple pantry path path-io rio - rio-orphans yaml - ]; - description = "Handles uploading to Hackage from mega repos"; - license = lib.licenses.mit; - mainProgram = "mega-sdist"; - }) {}; - - "mega-sdist_0_4_3_1" = callPackage ({ mkDerivation, aeson, base, bytestring, optparse-simple, pantry , path, path-io, rio, rio-orphans, yaml }: @@ -199205,7 +199272,6 @@ self: { ]; description = "Handles uploading to Hackage from mega repos"; license = lib.licenses.mit; - hydraPlatforms = lib.platforms.none; mainProgram = "mega-sdist"; }) {}; @@ -199542,27 +199608,6 @@ self: { }) {}; "memcache" = callPackage - ({ mkDerivation, base, binary, blaze-builder, bytestring, criterion - , data-default-class, hashable, network, resource-pool, time - , vector - }: - mkDerivation { - pname = "memcache"; - version = "0.3.0.1"; - sha256 = "0sbfzmdq0rqzrvrjk7yzkn0mfadbz3dxj1d9n8f3s9mz3s8bv328"; - libraryHaskellDepends = [ - base binary blaze-builder bytestring data-default-class hashable - network resource-pool time vector - ]; - testHaskellDepends = [ - base binary blaze-builder bytestring network - ]; - benchmarkHaskellDepends = [ base bytestring criterion ]; - description = "A memcached client library"; - license = lib.licenses.bsd3; - }) {}; - - "memcache_0_3_0_2" = callPackage ({ mkDerivation, base, binary, blaze-builder, bytestring, criterion , data-default-class, hashable, network, resource-pool, time , vector @@ -199581,7 +199626,6 @@ self: { benchmarkHaskellDepends = [ base bytestring criterion ]; description = "A memcached client library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "memcache-conduit" = callPackage @@ -201490,8 +201534,8 @@ self: { }: mkDerivation { pname = "mighttpd2"; - version = "4.0.5"; - sha256 = "0zi3d2af31h6mvymmh7fwa2d2lwir642jzdisvgnm9yfhsavd39v"; + version = "4.0.6"; + sha256 = "1viyk6rwlswsj8rky8i9mnh1qh0fw2q1r4mzlbs96608xm2p460k"; isLibrary = true; isExecutable = true; enableSeparateDataOutput = true; @@ -202281,19 +202325,19 @@ self: { }) {}; "minizinc-process" = callPackage - ({ mkDerivation, aeson, attoparsec, base, bytestring, containers - , directory, hashable, hedgehog, hspec, hspec-hedgehog, process - , process-extras, template-haskell, text + ({ mkDerivation, aeson, attoparsec, attoparsec-aeson, base + , bytestring, containers, directory, hashable, hedgehog, hspec + , hspec-hedgehog, process, process-extras, template-haskell, text }: mkDerivation { pname = "minizinc-process"; - version = "0.1.4.1"; - sha256 = "0sihpmjzda7kph8mds4p4fn4pgbiay6v680pcqv2d116a5di2c5g"; + version = "0.1.5.0"; + sha256 = "02xmmpkhhcvmns2l8rgbmp0qr2p8fyps2zkfx74v62r5bcv5g6ac"; revision = "1"; - editedCabalFile = "09h0brd6zhfdz8y780xiqxzs78fcclwljh9r2xiw60wcigasa15j"; + editedCabalFile = "1pq4mkckfb14m8dyl4vfyifdn9diq3n6v34c234w7jfp843cp006"; libraryHaskellDepends = [ - aeson attoparsec base bytestring containers directory hashable - process process-extras template-haskell text + aeson attoparsec attoparsec-aeson base bytestring containers + directory hashable process process-extras template-haskell text ]; testHaskellDepends = [ aeson base hashable hedgehog hspec hspec-hedgehog @@ -213990,6 +214034,22 @@ self: { license = lib.licenses.bsd3; }) {}; + "network-control_0_1_0" = callPackage + ({ mkDerivation, base, hspec, hspec-discover, pretty-simple + , psqueues, QuickCheck, text, unix-time + }: + mkDerivation { + pname = "network-control"; + version = "0.1.0"; + sha256 = "0bvkjid0nqhc15f5nn4za6xwvcc5x8hxfbwky0m2zqdyzwd9bmlp"; + libraryHaskellDepends = [ base psqueues unix-time ]; + testHaskellDepends = [ base hspec pretty-simple QuickCheck text ]; + testToolDepends = [ hspec-discover ]; + description = "Library to control network protocols"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "network-data" = callPackage ({ mkDerivation, base, bytestring, cereal, pretty }: mkDerivation { @@ -215412,8 +215472,8 @@ self: { }: mkDerivation { pname = "ngx-export-distribution"; - version = "0.5.1.3"; - sha256 = "008i34viq8cw36r46qvnwvhn13y2srpxia7r3n9bk0sjxfz6ia7a"; + version = "0.5.3.0"; + sha256 = "1dfjvzw65q6fjzdwisr6rbwfwcp4d36k56pn3vp7i86z9vn2syqx"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base Cabal directory filepath ]; @@ -215421,7 +215481,7 @@ self: { ansi-terminal base Cabal cabal-plan containers directory filepath parsec text ]; - description = "Build custom libraries for Nginx haskell module"; + description = "Build custom libraries for Nginx Haskell module"; license = lib.licenses.bsd3; mainProgram = "nhm-tool"; }) {}; @@ -216067,8 +216127,8 @@ self: { }: mkDerivation { pname = "nix-tree"; - version = "0.4.0"; - sha256 = "01dfrny4y51gilysj3k46fi1zpxjal2ygr7d5zf6bvc4rw0awk6d"; + version = "0.4.1"; + sha256 = "1w8fg872fw40r346vkkqffahplmyly792ygcbqq0czapwhl0wbvv"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -216227,6 +216287,25 @@ self: { broken = true; }) {}; + "nkeys" = callPackage + ({ mkDerivation, base, base32, binary, bytestring, ed25519, HUnit + , text, vector + }: + mkDerivation { + pname = "nkeys"; + version = "0.0.1.1"; + sha256 = "0m13xgm6303sqh2r12h630r4lhb0ndd2171091hpd94b06sqgcl0"; + isLibrary = false; + isExecutable = false; + libraryHaskellDepends = [ + base base32 binary bytestring ed25519 text vector + ]; + testHaskellDepends = [ base base32 bytestring ed25519 HUnit text ]; + doHaddock = false; + description = "Nkeys ed25519 encoding for use with NATS"; + license = lib.licenses.asl20; + }) {}; + "nkjp" = callPackage ({ mkDerivation, base, bytestring, containers, data-named, filepath , polysoup, tar, text, zlib @@ -220163,10 +220242,8 @@ self: { ({ mkDerivation, base, containers, ghc, safe }: mkDerivation { pname = "om-plugin-imports"; - version = "0.2.0.0"; - sha256 = "0slklr71ydis12mdjrs8p8s2aff2xgr6xjf78ddw4zj5fisg4s92"; - revision = "1"; - editedCabalFile = "0rvllrq6bm08kpn641b4fh33y3ybbhpii96z5y23jykzw1xjlsbv"; + version = "0.2.0.0.9.6"; + sha256 = "1whwipj1dqka4dhjigcmq4c74gv0r6y5y5px8m3fp08v62dbvbf2"; libraryHaskellDepends = [ base containers ghc safe ]; description = "Plugin-based import warnings"; license = lib.licenses.mit; @@ -220379,8 +220456,8 @@ self: { ({ mkDerivation, base, containers, parsec, tagsoup }: mkDerivation { pname = "onama"; - version = "0.2.2.0"; - sha256 = "09knyhswd0jgiwx1p1qra1hppnkny7yqjrzmqspxdxjhl0zs91fz"; + version = "0.2.3.0"; + sha256 = "1gmyh7hh5021kb1dzs6a4r2rzgyanbar4svx311ixnh02pajqjjx"; libraryHaskellDepends = [ base containers parsec tagsoup ]; description = "HTML-parsing primitives for Parsec"; license = lib.licenses.bsd3; @@ -220657,35 +220734,6 @@ self: { }) {}; "opaleye" = callPackage - ({ mkDerivation, aeson, base, base16-bytestring, bytestring - , case-insensitive, containers, contravariant, dotenv, hspec - , hspec-discover, multiset, postgresql-simple, pretty - , product-profunctors, profunctors, QuickCheck, scientific - , semigroups, text, time, time-compat, time-locale-compat - , transformers, uuid, void - }: - mkDerivation { - pname = "opaleye"; - version = "0.10.2.1"; - sha256 = "0n6z93a9j5qcr39m1y4fdff3mfnc7bxcx74xw7cnb228b23a6gx1"; - libraryHaskellDepends = [ - aeson base base16-bytestring bytestring case-insensitive - contravariant postgresql-simple pretty product-profunctors - profunctors scientific semigroups text time-compat - time-locale-compat transformers uuid void - ]; - testHaskellDepends = [ - aeson base bytestring containers contravariant dotenv hspec - hspec-discover multiset postgresql-simple product-profunctors - profunctors QuickCheck semigroups text time time-compat - transformers uuid - ]; - testToolDepends = [ hspec-discover ]; - description = "An SQL-generating DSL targeting PostgreSQL"; - license = lib.licenses.bsd3; - }) {}; - - "opaleye_0_10_2_3" = callPackage ({ mkDerivation, aeson, base, base16-bytestring, bytestring , case-insensitive, containers, contravariant, dotenv, hspec , hspec-discover, multiset, postgresql-simple, pretty @@ -220712,7 +220760,6 @@ self: { testToolDepends = [ hspec-discover ]; description = "An SQL-generating DSL targeting PostgreSQL"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "opaleye-classy" = callPackage @@ -224724,8 +224771,8 @@ self: { }: mkDerivation { pname = "pagerduty-hs"; - version = "0.2.0.0"; - sha256 = "0znjxcf4a6x71sfykmgdx4zlmdghc864yis6rl5q7y85qq9s324i"; + version = "0.3.0.0"; + sha256 = "14f359mrxay1kh0gfv7j628srqbn9na6rlzdbbx0mzv116n2v16d"; libraryHaskellDepends = [ aeson base exceptions lens text wreq ]; testHaskellDepends = [ aeson base exceptions HUnit lens tasty tasty-hunit tasty-quickcheck @@ -224978,7 +225025,7 @@ self: { ]; }) {}; - "pandoc_3_1_12_3" = callPackage + "pandoc_3_1_13" = callPackage ({ mkDerivation, aeson, aeson-pretty, array, attoparsec, base , base64-bytestring, binary, blaze-html, blaze-markup, bytestring , case-insensitive, citeproc, commonmark, commonmark-extensions @@ -224997,8 +225044,8 @@ self: { }: mkDerivation { pname = "pandoc"; - version = "3.1.12.3"; - sha256 = "0qfgfjvrk4y6yvh8yv4kl9w81xvrlcz4prz8vr17rasnli7k561r"; + version = "3.1.13"; + sha256 = "1l3mlqhwvma6q3dam41xik8waw6ri578q5lc8n9js2yg3kpnq5sr"; configureFlags = [ "-f-trypandoc" ]; enableSeparateDataOutput = true; libraryHaskellDepends = [ @@ -225120,14 +225167,14 @@ self: { maintainers = [ lib.maintainers.maralorn ]; }) {}; - "pandoc-cli_3_1_12_3" = callPackage + "pandoc-cli_3_1_13" = callPackage ({ mkDerivation, base, hslua-cli, pandoc, pandoc-lua-engine , pandoc-server, safe, temporary, text, wai-extra, warp }: mkDerivation { pname = "pandoc-cli"; - version = "3.1.12.3"; - sha256 = "19b0ybqmwffimyyx9amvcyv71myv09z4lja3g5qlna42bd6wfqfn"; + version = "3.1.13"; + sha256 = "0809x6338hcm5lih3y7rjq9pzx4pp567qdhp4w6nx9lyxg56i65g"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -225508,7 +225555,7 @@ self: { license = lib.licenses.gpl2Plus; }) {}; - "pandoc-lua-engine_0_2_1_3" = callPackage + "pandoc-lua-engine_0_2_1_4" = callPackage ({ mkDerivation, aeson, base, bytestring, citeproc, containers , data-default, directory, doclayout, doctemplates, exceptions , filepath, hslua, hslua-module-doclayout, hslua-module-path @@ -225519,8 +225566,8 @@ self: { }: mkDerivation { pname = "pandoc-lua-engine"; - version = "0.2.1.3"; - sha256 = "1hmqjz4if85pl7fsg224mf01131ddl0zkgmhq9inm782pajzhdmg"; + version = "0.2.1.4"; + sha256 = "1r288fyqqqcfz3qam3rii2pjyy37ny1bfcpd1c31gp06mhy8yiwx"; libraryHaskellDepends = [ aeson base bytestring citeproc containers data-default doclayout doctemplates exceptions hslua hslua-module-doclayout @@ -225538,28 +225585,6 @@ self: { }) {}; "pandoc-lua-marshal" = callPackage - ({ mkDerivation, aeson, base, bytestring, containers, exceptions - , hslua, hslua-list, hslua-marshalling, pandoc-types, QuickCheck - , safe, tasty, tasty-hunit, tasty-lua, tasty-quickcheck, text - }: - mkDerivation { - pname = "pandoc-lua-marshal"; - version = "0.2.5"; - sha256 = "0wzbxwy7wzrlq45agxwd0ifihqwjpz6307ij4s4zqplh7y16n9mi"; - libraryHaskellDepends = [ - aeson base bytestring containers exceptions hslua hslua-list - hslua-marshalling pandoc-types safe text - ]; - testHaskellDepends = [ - aeson base bytestring containers exceptions hslua hslua-list - hslua-marshalling pandoc-types QuickCheck safe tasty tasty-hunit - tasty-lua tasty-quickcheck text - ]; - description = "Use pandoc types in Lua"; - license = lib.licenses.mit; - }) {}; - - "pandoc-lua-marshal_0_2_6" = callPackage ({ mkDerivation, aeson, base, bytestring, containers, exceptions , hslua, hslua-list, hslua-marshalling, pandoc-types, QuickCheck , safe, tasty, tasty-hunit, tasty-lua, tasty-quickcheck, text @@ -225579,7 +225604,6 @@ self: { ]; description = "Use pandoc types in Lua"; license = lib.licenses.mit; - hydraPlatforms = lib.platforms.none; }) {}; "pandoc-markdown-ghci-filter" = callPackage @@ -226791,8 +226815,8 @@ self: { pname = "parallel"; version = "3.2.2.0"; sha256 = "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"; - revision = "7"; - editedCabalFile = "192gkkmr47vfqbb9yal9q38ps0v1wgkji7d6ykpjd4gyk1p414xr"; + revision = "8"; + editedCabalFile = "0c9ychx28pzxdmfz3d3l170zdwd180galkbs901za5pzzl3hpkxr"; libraryHaskellDepends = [ array base containers deepseq ghc-prim ]; description = "Parallel programming library"; license = lib.licenses.bsd3; @@ -227246,6 +227270,8 @@ self: { pname = "parsec"; version = "3.1.17.0"; sha256 = "0dlx2ypfbbddlv75m9axirxb30srb9kzvpa3haf88g7cq6z01iaq"; + revision = "1"; + editedCabalFile = "0mlbcjdfrazqar46aphawzmkr8dcyz91p2gqzyh41xnp53acn1w4"; libraryHaskellDepends = [ base bytestring mtl text ]; testHaskellDepends = [ base deepseq mtl tasty tasty-hunit ]; description = "Monadic parser combinators"; @@ -231999,12 +232025,12 @@ self: { }) {}; "phladiprelio-general-datatype" = callPackage - ({ mkDerivation, base, containers }: + ({ mkDerivation, base, containers, quantizer }: mkDerivation { pname = "phladiprelio-general-datatype"; - version = "0.7.0.0"; - sha256 = "0m67xx2kd0fala287qvqr8hbkiarcs04ayvw9jdlby18za8abh2g"; - libraryHaskellDepends = [ base containers ]; + version = "0.10.1.0"; + sha256 = "1nll9p9bczqyrkppxfnjn0lvn215i48xi2555ibnks0hp0mkky10"; + libraryHaskellDepends = [ base containers quantizer ]; description = "Extended functionality of PhLADiPreLiO"; license = lib.licenses.mit; }) {}; @@ -232023,8 +232049,8 @@ self: { }) {}; "phladiprelio-general-simple" = callPackage - ({ mkDerivation, async, base, cli-arguments, directory, halfsplit - , minmax, phladiprelio-general-datatype + ({ mkDerivation, async, base, cli-arguments, deepseq, directory + , halfsplit, minmax, phladiprelio-general-datatype , phladiprelio-general-shared, phladiprelio-tests , phonetic-languages-basis, phonetic-languages-constraints-array , phonetic-languages-permutations-array @@ -232034,10 +232060,10 @@ self: { }: mkDerivation { pname = "phladiprelio-general-simple"; - version = "0.15.0.0"; - sha256 = "1d4zsa1lhxwhsl8kns8d0r13pd1v9z9516h74a317j6vb26zqx1q"; + version = "0.20.0.1"; + sha256 = "0rc7di62zcbssl21pa109k9klxkc44ihz12sdlzwq3hg3hrmnrsv"; libraryHaskellDepends = [ - async base cli-arguments directory halfsplit minmax + async base cli-arguments deepseq directory halfsplit minmax phladiprelio-general-datatype phladiprelio-general-shared phladiprelio-tests phonetic-languages-basis phonetic-languages-constraints-array @@ -232074,22 +232100,23 @@ self: { "phladiprelio-ukrainian-shared" = callPackage ({ mkDerivation, base, directory, mmsyn2-array - , ukrainian-phonetics-basic-array + , phladiprelio-general-datatype, ukrainian-phonetics-basic-array }: mkDerivation { pname = "phladiprelio-ukrainian-shared"; - version = "0.1.1.0"; - sha256 = "05jgydwz0mc8n1h04dzk8azcc3clyyw2akjgxjh43l6dia33r4xm"; + version = "0.5.0.2"; + sha256 = "16jrf8m96sn8897rwm7q2iln7i3kvqadznin9yn9adsr6mfhb2fi"; libraryHaskellDepends = [ - base directory mmsyn2-array ukrainian-phonetics-basic-array + base directory mmsyn2-array phladiprelio-general-datatype + ukrainian-phonetics-basic-array ]; description = "A shared by different Ukrainian implementations of the PhLADiPreLiO functionality"; license = lib.licenses.mit; }) {}; "phladiprelio-ukrainian-simple" = callPackage - ({ mkDerivation, async, base, cli-arguments, directory, halfsplit - , minmax, mmsyn2-array, phladiprelio-general-datatype + ({ mkDerivation, async, base, cli-arguments, deepseq, directory + , halfsplit, minmax, mmsyn2-array, phladiprelio-general-datatype , phladiprelio-tests, phladiprelio-ukrainian-shared , phonetic-languages-basis, phonetic-languages-constraints-array , phonetic-languages-permutations-array @@ -232099,13 +232126,13 @@ self: { }: mkDerivation { pname = "phladiprelio-ukrainian-simple"; - version = "0.16.0.0"; - sha256 = "0h629wlm10rjprdnhwdl42dw74g4a5wn5c49md0p8iwkjk8qmn22"; + version = "0.20.2.1"; + sha256 = "1jlx3dffra7cs263bg1mgvbi1kzw15dy98jiysxb906ivwd5vnfd"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ - async base cli-arguments directory halfsplit minmax mmsyn2-array - phladiprelio-general-datatype phladiprelio-tests + async base cli-arguments deepseq directory halfsplit minmax + mmsyn2-array phladiprelio-general-datatype phladiprelio-tests phladiprelio-ukrainian-shared phonetic-languages-basis phonetic-languages-constraints-array phonetic-languages-permutations-array @@ -232114,8 +232141,8 @@ self: { rhythmic-sequences ukrainian-phonetics-basic-array ]; executableHaskellDepends = [ - async base cli-arguments directory halfsplit minmax mmsyn2-array - phladiprelio-general-datatype phladiprelio-tests + async base cli-arguments deepseq directory halfsplit minmax + mmsyn2-array phladiprelio-general-datatype phladiprelio-tests phladiprelio-ukrainian-shared phonetic-languages-basis phonetic-languages-constraints-array phonetic-languages-permutations-array @@ -238864,8 +238891,8 @@ self: { }: mkDerivation { pname = "postgres-options"; - version = "0.2.1.0"; - sha256 = "0vck8hv2yry7yvvyg4gps17b0h1dfgjiv9zzl2fc9gks8ksarcha"; + version = "0.2.2.0"; + sha256 = "0fmzpx464a04s2ylsg8yq0psfiapgg4bh708kxjrb1mjywi05mv5"; libraryHaskellDepends = [ base bytestring generic-monoid split uri-bytestring ]; @@ -243643,8 +243670,8 @@ self: { }: mkDerivation { pname = "prometheus-proc"; - version = "0.1.5.0"; - sha256 = "0kk96ph9xrr9gqd83rbmgsy6dpx05gg9jz145iv90d225rqb23qf"; + version = "0.1.6.0"; + sha256 = "0rpbpyl1gy08cbcb3d1sdkpvva7jmr8pwbcp0xmdm9k3xh1pj2ng"; libraryHaskellDepends = [ base directory filepath prometheus-client regex-applicative text unix unix-memory @@ -244096,6 +244123,28 @@ self: { license = lib.licenses.bsd3; }) {}; + "proto-lens_0_7_1_5" = callPackage + ({ mkDerivation, base, bytestring, containers, deepseq, ghc-prim + , lens-family, parsec, pretty, primitive, profunctors, QuickCheck + , tagged, tasty, tasty-quickcheck, text, transformers, vector + }: + mkDerivation { + pname = "proto-lens"; + version = "0.7.1.5"; + sha256 = "042wn6dw4jg0j9gfp4pgzm86j3hq0vkv02rlnp77v13b87q75lfs"; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + base bytestring containers deepseq ghc-prim lens-family parsec + pretty primitive profunctors tagged text transformers vector + ]; + testHaskellDepends = [ + base bytestring QuickCheck tasty tasty-quickcheck vector + ]; + description = "A lens-based implementation of protocol buffers in Haskell"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "proto-lens-arbitrary" = callPackage ({ mkDerivation, base, bytestring, containers, lens-family , proto-lens, QuickCheck, text @@ -244113,6 +244162,23 @@ self: { broken = true; }) {}; + "proto-lens-arbitrary_0_1_2_13" = callPackage + ({ mkDerivation, base, bytestring, containers, lens-family + , proto-lens, QuickCheck, text + }: + mkDerivation { + pname = "proto-lens-arbitrary"; + version = "0.1.2.13"; + sha256 = "015zdynzvlnix6ac6cr3yf8dyn6makv5iachc8djdghgcj5lmdr5"; + libraryHaskellDepends = [ + base bytestring containers lens-family proto-lens QuickCheck text + ]; + description = "Arbitrary instances for proto-lens"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + broken = true; + }) {}; + "proto-lens-combinators" = callPackage ({ mkDerivation, base, Cabal, HUnit, lens-family, lens-family-core , proto-lens, proto-lens-runtime, proto-lens-setup, test-framework @@ -244182,6 +244248,20 @@ self: { license = lib.licenses.bsd3; }) {}; + "proto-lens-optparse_0_1_1_12" = callPackage + ({ mkDerivation, base, optparse-applicative, proto-lens, text }: + mkDerivation { + pname = "proto-lens-optparse"; + version = "0.1.1.12"; + sha256 = "09j01nafh03942v1n6y1lw2vp7s1zdqyy7rz9xrbv6klv95ixhkl"; + libraryHaskellDepends = [ + base optparse-applicative proto-lens text + ]; + description = "Adapting proto-lens to optparse-applicative ReadMs"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "proto-lens-protobuf-types" = callPackage ({ mkDerivation, base, Cabal, lens-family, proto-lens , proto-lens-protoc, proto-lens-runtime, proto-lens-setup, protobuf @@ -244189,8 +244269,8 @@ self: { }: mkDerivation { pname = "proto-lens-protobuf-types"; - version = "0.7.2.0"; - sha256 = "0500rwh5rmxyd49ah6nca5d7m9vbib9vmggyi1ybd0n36fcm7wzy"; + version = "0.7.2.1"; + sha256 = "0622dfxc7s260fhb2hcjis5p0k7cidr7vvxicmhhk2n3zamngvrb"; setupHaskellDepends = [ base Cabal proto-lens-setup ]; libraryHaskellDepends = [ base lens-family proto-lens proto-lens-runtime text @@ -244207,8 +244287,8 @@ self: { }: mkDerivation { pname = "proto-lens-protoc"; - version = "0.8.0.0"; - sha256 = "09cx1q6p9phg2gk2hh4wb54cl1h1vn7z34h1n62bpixj87954flj"; + version = "0.8.0.1"; + sha256 = "0kyvcmvsjrj6mwi71k1rfpzvxjy379yb981fj8nacgv5ka1xmja6"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base filepath ]; @@ -244238,14 +244318,31 @@ self: { license = lib.licenses.bsd3; }) {}; + "proto-lens-runtime_0_7_0_6" = callPackage + ({ mkDerivation, base, bytestring, containers, deepseq, filepath + , lens-family, proto-lens, text, vector + }: + mkDerivation { + pname = "proto-lens-runtime"; + version = "0.7.0.6"; + sha256 = "0qq1hdjq5y0r9gprlwwqvvvsyb0w4wm1q7acqc1mxywiyb7nvr18"; + libraryHaskellDepends = [ + base bytestring containers deepseq filepath lens-family proto-lens + text vector + ]; + doHaddock = false; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {}; + "proto-lens-setup" = callPackage ({ mkDerivation, base, bytestring, Cabal, containers, deepseq , directory, filepath, process, proto-lens-protoc, temporary, text }: mkDerivation { pname = "proto-lens-setup"; - version = "0.4.0.7"; - sha256 = "0d3j1pxyj0sy65y3ydxc0s8dz5kl9qw2n83pkmy8zzxa171h8lgm"; + version = "0.4.0.8"; + sha256 = "1g7fsmxfqpfnyaldxmhiq8i2vndnz5br70c1zplp0dvxp3kfynna"; libraryHaskellDepends = [ base bytestring Cabal containers deepseq directory filepath process proto-lens-protoc temporary text @@ -247167,13 +247264,15 @@ self: { }) {}; "quantizer" = callPackage - ({ mkDerivation, base, subG, uniqueness-periods-vector-stats }: + ({ mkDerivation, base, minmax, monoid-insertleft + , uniqueness-periods-vector-stats + }: mkDerivation { pname = "quantizer"; - version = "0.3.0.2"; - sha256 = "0b28vc3ckwf7140pkzqrfay0djpiz1wfac653i9nfwn2cyrhiwpg"; + version = "0.3.1.0"; + sha256 = "1pd3cqz73nvdf9i7fg11q1yjm699n11shxan60iv2v57q6kryjw4"; libraryHaskellDepends = [ - base subG uniqueness-periods-vector-stats + base minmax monoid-insertleft uniqueness-periods-vector-stats ]; description = "Library to provide the behaviour similar to quantum states superposition"; license = lib.licenses.mit; @@ -247515,8 +247614,8 @@ self: { }: mkDerivation { pname = "quic"; - version = "0.1.18"; - sha256 = "18j2fn7qwzvbn4931bls78pwh1dn3gic8sk1vg44l5b2mhfgr43b"; + version = "0.1.19"; + sha256 = "0kxdiah415lsj06pdi14bcs3i7gqyyx9x093rxss8l48w1820zwr"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -250899,6 +250998,17 @@ self: { broken = true; }) {}; + "rdf4h-vocab-activitystreams" = callPackage + ({ mkDerivation, base, rdf4h, text }: + mkDerivation { + pname = "rdf4h-vocab-activitystreams"; + version = "1.0.0"; + sha256 = "1lq47v42ajhgs1r3bqhmf4iy6yn3v5a6rahs91khrbpkgf453f0k"; + libraryHaskellDepends = [ base rdf4h text ]; + description = "The ActivityStreams 2 RDF vocabulary for rdf4h"; + license = lib.licenses.bsd3; + }) {}; + "rdioh" = callPackage ({ mkDerivation, aeson, base, bytestring, containers, hoauth, hspec , json, MissingH, mtl, transformers, urlencoded @@ -258290,8 +258400,8 @@ self: { ({ mkDerivation, base }: mkDerivation { pname = "rhythmic-sequences"; - version = "0.4.1.0"; - sha256 = "0giigbk8wsai1w32db3lakgbh8h60fa83mzq2h3mr4i3gr1syxii"; + version = "0.8.0.0"; + sha256 = "15fqa0aqv0hkcgfmv2g5ymbh693csxwsdjb4g3rqhyxhbsgxh9lc"; libraryHaskellDepends = [ base ]; description = "Improved library to deal with rhythmicity of short sequences"; license = lib.licenses.mit; @@ -260913,6 +261023,17 @@ self: { broken = true; }) {}; + "rt" = callPackage + ({ mkDerivation, base }: + mkDerivation { + pname = "rt"; + version = "0.1.0.0"; + sha256 = "18kpashzq6wnf1yc2xvz7l6c53v45yimzsahaavdf60pvw4zfhrx"; + libraryHaskellDepends = [ base ]; + description = "A more fine-grained version of state threads (ST)"; + license = lib.licenses.bsd3; + }) {}; + "rtcm" = callPackage ({ mkDerivation, aeson, array, base, base64-bytestring , basic-prelude, binary, binary-bits, binary-conduit, bytestring @@ -261339,17 +261460,16 @@ self: { "rustls" = callPackage ({ mkDerivation, async, base, bytestring, containers - , derive-storable, derive-storable-plugin, directory, filepath - , hedgehog, network, process, resourcet, rustls, stm, tasty - , tasty-hedgehog, tasty-hunit, temporary, text, transformers + , derive-storable, directory, filepath, hedgehog, network, process + , resourcet, rustls, stm, tasty, tasty-hedgehog, tasty-hunit + , temporary, text, transformers }: mkDerivation { pname = "rustls"; - version = "0.0.1.0"; - sha256 = "0dx5swy6s2rsgb3ahpzwscmw9i50mnvmch0vxvirbi70inalvnj5"; + version = "0.1.0.0"; + sha256 = "19gv5cc0c3mnl40h5z1qnxrdhshiikmpmlyljv27jx2vk4i4vqib"; libraryHaskellDepends = [ - base bytestring derive-storable derive-storable-plugin network - resourcet text transformers + base bytestring derive-storable network resourcet text transformers ]; librarySystemDepends = [ rustls ]; testHaskellDepends = [ @@ -261460,8 +261580,8 @@ self: { }: mkDerivation { pname = "rzk"; - version = "0.7.3"; - sha256 = "0nkhw8nbzqpsl41skwly86pbp75c5mpvppn5vcqj6mmni7bj2i8q"; + version = "0.7.4"; + sha256 = "1n7dk24pbllr1xxr3klqxh5nq2pcjchygdr0xvhd2yla7w5hjhv5"; isLibrary = true; isExecutable = true; setupHaskellDepends = [ base Cabal process ]; @@ -263524,7 +263644,7 @@ self: { broken = true; }) {inherit (pkgs) z3;}; - "sbv_10_7" = callPackage + "sbv_10_9" = callPackage ({ mkDerivation, array, async, base, bytestring, containers , deepseq, directory, filepath, libBF, mtl, pretty, process , QuickCheck, random, syb, tasty, tasty-bench, tasty-golden @@ -263533,8 +263653,8 @@ self: { }: mkDerivation { pname = "sbv"; - version = "10.7"; - sha256 = "02j3rsj0f5ggp5nzbxw3pq0jqmkw8ik8jgnwi6fgnkm2gjwjwm3l"; + version = "10.9"; + sha256 = "043l5akpdqrz5lzgs7m5dscy64cidgkpijf82wd4qwhs838qp8m0"; enableSeparateDataOutput = true; libraryHaskellDepends = [ array async base containers deepseq directory filepath libBF mtl @@ -266276,6 +266396,25 @@ self: { hydraPlatforms = lib.platforms.none; }) {}; + "sel" = callPackage + ({ mkDerivation, base, base16, bytestring, hedgehog + , libsodium-bindings, tasty, tasty-hunit, text, text-display + }: + mkDerivation { + pname = "sel"; + version = "0.0.1.0"; + sha256 = "0md8xdd7jci3jdq1l5acjfxgaz2ahiwz6c7cwam06x5kp0h1nik1"; + libraryHaskellDepends = [ + base base16 bytestring libsodium-bindings text text-display + ]; + testHaskellDepends = [ + base base16 bytestring hedgehog libsodium-bindings tasty + tasty-hunit text text-display + ]; + description = "Cryptography for the casual user"; + license = lib.licenses.bsd3; + }) {}; + "selda" = callPackage ({ mkDerivation, base, bytestring, containers, exceptions, mtl , random, text, time, uuid-types @@ -282138,6 +282277,8 @@ self: { pname = "splitmix"; version = "0.1.0.5"; sha256 = "00ihw7vji8ydik7f5lk9iwj21j829lpl22wa4nqz2igg26b7mw4x"; + revision = "1"; + editedCabalFile = "0yxp6jhbza30w829zjvp02458sj2aziz9h53yv3rc55z5alv9afa"; libraryHaskellDepends = [ base deepseq ]; testHaskellDepends = [ async base base-compat base-compat-batteries bytestring containers @@ -283567,6 +283708,8 @@ self: { pname = "stack"; version = "2.15.5"; sha256 = "0q4jyaj8gn74i5sm5dqnwz9ppbih33jd2axbz3yijvv8m1dbn1cd"; + revision = "1"; + editedCabalFile = "01bfnvsn079hl6cmc6ccmwc3ash45g556jkr1i0mkkc8ij42zny1"; configureFlags = [ "-fdisable-git-info" "-fhide-dependency-versions" "-fsupported-build" @@ -284440,16 +284583,17 @@ self: { , amazonka-cloudformation, amazonka-core, amazonka-ec2 , amazonka-lambda, amazonka-mtl, amazonka-sso, amazonka-sts, base , Blammo, bytestring, cfn-flip, conduit, containers, envparse - , errors, exceptions, extra, filepath, Glob, hspec, hspec-golden - , lens, lens-aeson, monad-logger, mtl, optparse-applicative - , QuickCheck, resourcet, rio, semigroups, text, text-metrics, time + , errors, exceptions, extra, filepath, Glob, hspec + , hspec-expectations-lifted, hspec-golden, http-types, lens + , lens-aeson, monad-logger, mtl, optparse-applicative, QuickCheck + , resourcet, rio, semigroups, text, text-metrics, time , transformers, typed-process, unliftio, unordered-containers, uuid , yaml }: mkDerivation { pname = "stackctl"; - version = "1.6.0.0"; - sha256 = "0pb7w53zyq8kkczg6q29nkic8i5w2ma2hsvn0x0g8iq4i016c23c"; + version = "1.6.1.1"; + sha256 = "01q5zmgb6z85v9agbi1q3gwqygbljmf0rw09r2hw099340vyfklb"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -284463,8 +284607,10 @@ self: { ]; executableHaskellDepends = [ base ]; testHaskellDepends = [ - aeson base bytestring filepath Glob hspec hspec-golden mtl - QuickCheck yaml + aeson amazonka amazonka-cloudformation amazonka-ec2 amazonka-lambda + amazonka-mtl base Blammo bytestring filepath Glob hspec + hspec-expectations-lifted hspec-golden http-types lens mtl + QuickCheck text time unliftio yaml ]; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; @@ -288803,8 +288949,8 @@ self: { }: mkDerivation { pname = "strongweak"; - version = "0.6.0"; - sha256 = "1zys6zi222d7rldjyh3i95774zkairz99dc4fvm2xvhl38n3860m"; + version = "0.6.1"; + sha256 = "0pyfxq7p5viq7agka8pw67br08czg3xs4d2wh5zkf7zahamy4kic"; libraryHaskellDepends = [ acc base either prettyprinter refined1 text vector vector-sized ]; @@ -298055,8 +298201,8 @@ self: { }: mkDerivation { pname = "test-certs"; - version = "0.1.0.2"; - sha256 = "09n7893q67wy266mpwp5nkywjxb1jz46cm996qvy62bdc6gi17a9"; + version = "0.1.0.3"; + sha256 = "0ayvf1by5hp7xxn78j6d2ajiiz3f6gngjvijps8dgibwcawjvc79"; libraryHaskellDepends = [ base bytestring filepath HsOpenSSL temporary text time ]; @@ -298839,6 +298985,30 @@ self: { license = lib.licenses.gpl2Only; }) {}; + "texmath_0_12_8_8" = callPackage + ({ mkDerivation, base, bytestring, containers, directory, filepath + , mtl, pandoc-types, parsec, pretty-show, split, syb, tagged, tasty + , tasty-golden, text, typst-symbols, xml + }: + mkDerivation { + pname = "texmath"; + version = "0.12.8.8"; + sha256 = "0wh98gfsh70v7lzrig3v9fhjhgd25yiqsh45b0qnpz6mbwd7pibc"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base containers mtl pandoc-types parsec split syb text + typst-symbols xml + ]; + testHaskellDepends = [ + base bytestring directory filepath pretty-show tagged tasty + tasty-golden text xml + ]; + description = "Conversion between math formats"; + license = lib.licenses.gpl2Only; + hydraPlatforms = lib.platforms.none; + }) {}; + "texrunner" = callPackage ({ mkDerivation, attoparsec, base, bytestring, directory, filepath , HUnit, io-streams, lens, mtl, process, semigroups, temporary @@ -299134,8 +299304,8 @@ self: { }: mkDerivation { pname = "text-display"; - version = "0.0.5.1"; - sha256 = "13r2fwr8q5glajc9gwrxd59kx945cqhxqml3dcwzfrmc6a7gr18q"; + version = "0.0.5.2"; + sha256 = "14wqc8wj0jdmd6nryc1yvmr9crhp5yyxpzdayx1j3b2vldib1p3s"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base bytestring text ]; @@ -299229,8 +299399,8 @@ self: { }: mkDerivation { pname = "text-icu"; - version = "0.8.0.4"; - sha256 = "1yj0jdjrsx12sy6lj1gizb2ys5likp9rcv8ryc6sjf2dw74097rd"; + version = "0.8.0.5"; + sha256 = "1nzd7al2vpm07xa19w9vy6f696bm4z48h0m4fljsxjg4v0wblbj4"; libraryHaskellDepends = [ base bytestring deepseq text time ]; librarySystemDepends = [ icu ]; libraryPkgconfigDepends = [ icu ]; @@ -301842,10 +302012,8 @@ self: { }: mkDerivation { pname = "tidal"; - version = "1.9.4"; - sha256 = "126p05lqlq8q03gdhqq378dirs5imfkk9csaf797jz1j6lcwbnv1"; - revision = "3"; - editedCabalFile = "0sxx6cnlhjmiccmfpjkfrisxxbghbacip0q372i66a32wwkg9i0h"; + version = "1.9.5"; + sha256 = "1skm8x9gh60c0i1rr0a18jxi6y4mpi83fvzjcadlziwjna5x6a3w"; enableSeparateDataOutput = true; libraryHaskellDepends = [ base bytestring clock colour containers deepseq exceptions hosc mtl @@ -301863,8 +302031,8 @@ self: { ({ mkDerivation, base, system-cxx-std-lib }: mkDerivation { pname = "tidal-link"; - version = "1.0.2"; - sha256 = "1lvyfnj2mazzrh0clzxxixmvdhyy7dmfcqm9hnmikizinrh6fprp"; + version = "1.0.3"; + sha256 = "1yqxwjs2y8n01j3x6mc4cg2ka4kl0k3yi0wmcxcs5v257g8f8dg7"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base system-cxx-std-lib ]; @@ -304382,8 +304550,8 @@ self: { }: mkDerivation { pname = "tokenize"; - version = "0.3.0"; - sha256 = "1dcimgwy6ik5l6f98b0w6sc7pf06qazckfwf2cbmrd7g0q7lk20f"; + version = "0.3.0.1"; + sha256 = "02zl34jf19s6sv8jwjgp17vn6j059zk6hs9sf4gvbjj559db1jwh"; libraryHaskellDepends = [ base split text ]; benchmarkHaskellDepends = [ base bytestring criterion deepseq filepath split text @@ -310679,7 +310847,7 @@ self: { license = lib.licenses.bsd3; }) {}; - "typst_0_5_0_2" = callPackage + "typst_0_5_0_3" = callPackage ({ mkDerivation, aeson, array, base, bytestring, cassava , containers, directory, filepath, mtl, ordered-containers, parsec , pretty, pretty-show, regex-tdfa, scientific, tasty, tasty-golden @@ -310687,8 +310855,8 @@ self: { }: mkDerivation { pname = "typst"; - version = "0.5.0.2"; - sha256 = "1myglayx9wdjzr33hp9faqg37brvw5s8ic31xw5alf3n444g6i0j"; + version = "0.5.0.3"; + sha256 = "0g290vpw9yqi888a2pcw87gc6nbh41x0gp2l6g5hmrg509x1yhg3"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -311305,8 +311473,8 @@ self: { }: mkDerivation { pname = "ukrainian-phonetics-basic-array"; - version = "0.7.1.1"; - sha256 = "0qazbvkl6rsw08a4xh54yli4pwww0g1psn051bggs1ppscc31fd4"; + version = "0.10.0.0"; + sha256 = "0lrz00z2a2l2rlqv1d564g5adzbswnjzidyi1dvd8734fig2hb4p"; libraryHaskellDepends = [ base intermediate-structures mmsyn2-array ukrainian-phonetics-common @@ -313365,16 +313533,14 @@ self: { license = lib.licenses.mit; }) {}; - "unix_2_8_5_0" = callPackage + "unix_2_8_5_1" = callPackage ({ mkDerivation, base, bytestring, filepath, tasty, tasty-hunit , tasty-quickcheck, time }: mkDerivation { pname = "unix"; - version = "2.8.5.0"; - sha256 = "0zc5jbdkhnh8m8dxbgvbwx3r1jmgjxdnqq8qc632wzpf8bi822yp"; - revision = "1"; - editedCabalFile = "0n8j03w0wyga4qgv3q5drj9kv27hl4242gzas09yzmyz6bq44vi5"; + version = "2.8.5.1"; + sha256 = "0974ajqri7was72gnsgxa8zc4gq649zclaad1gw9pszjmr3c7djs"; libraryHaskellDepends = [ base bytestring filepath time ]; testHaskellDepends = [ base bytestring filepath tasty tasty-hunit tasty-quickcheck @@ -323089,8 +323255,8 @@ self: { }: mkDerivation { pname = "webauthn"; - version = "0.9.0.0"; - sha256 = "0rjd4hwap4vhbp7isfb2spyp1kc062x7q9vd5jfdfrvcqmgklav5"; + version = "0.10.0.0"; + sha256 = "0ndgwv8d7yndl9kb4fzvfp5wrz1pfshsp2xwhwnynd2a9mz3yqwp"; libraryHaskellDepends = [ aeson asn1-encoding asn1-parse asn1-types base base16-bytestring base64-bytestring binary bytestring cborg containers crypton @@ -328972,7 +329138,7 @@ self: { "xmobar" = callPackage ({ mkDerivation, aeson, alsa-core, alsa-mixer, async, base , bytestring, cairo, colour, containers, dbus, directory - , extensible-exceptions, filepath, gauge, hinotify, hspec + , extensible-exceptions, extra, filepath, gauge, hinotify, hspec , http-client-tls, http-conduit, http-types, iwlib, libmpd, libXpm , libXrandr, libXrender, mtl, old-locale, pango, parsec , parsec-numbers, process, regex-compat, stm, temporary, time @@ -328981,8 +329147,8 @@ self: { }: mkDerivation { pname = "xmobar"; - version = "0.47.4"; - sha256 = "1vbi6psaljnqsvv397vqsla23azq1pcmmzlxm88n9qiqb85a52h7"; + version = "0.48"; + sha256 = "0k0vzfvz46lx4lpq2yi3jpr7l5mpl50rvqlnvsx9gqnm0dsac14s"; configureFlags = [ "-fwith_alsa" "-fwith_conduit" "-fwith_datezone" "-fwith_dbus" "-fwith_inotify" "-fwith_iwlib" "-fwith_mpd" "-fwith_mpris" @@ -328993,11 +329159,11 @@ self: { isExecutable = true; libraryHaskellDepends = [ aeson alsa-core alsa-mixer async base bytestring cairo colour - containers dbus directory extensible-exceptions filepath hinotify - http-client-tls http-conduit http-types iwlib libmpd mtl old-locale - pango parsec parsec-numbers process regex-compat stm time - timezone-olson timezone-series transformers unix utf8-string X11 - X11-xft + containers dbus directory extensible-exceptions extra filepath + hinotify http-client-tls http-conduit http-types iwlib libmpd mtl + old-locale pango parsec parsec-numbers process regex-compat stm + time timezone-olson timezone-series transformers unix utf8-string + X11 X11-xft ]; librarySystemDepends = [ libXpm libXrandr libXrender wirelesstools @@ -330683,8 +330849,8 @@ self: { }: mkDerivation { pname = "yampa-test"; - version = "0.14.7"; - sha256 = "0h9f6ps4jnq88dadhwgsifw1r1jhqsw5cc1shplbwr0pva00s91x"; + version = "0.14.8"; + sha256 = "0bsah360hxb1w9b1ypmgcdr1lb2wi4pzlbvgd106kqslkfyk942x"; libraryHaskellDepends = [ base normaldistribution QuickCheck Yampa ]; @@ -330964,8 +331130,8 @@ self: { }: mkDerivation { pname = "yaya"; - version = "0.6.0.0"; - sha256 = "0id4h41rpjm668fhwvv9dcw1733rrnqs0v00vg6m7h11r8nylzs1"; + version = "0.6.2.0"; + sha256 = "1k6w1c89s7c416xjxm23mllcm68l8ya6m7jw2ml9axwsns27kx98"; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base comonad either foldable1-classes-compat free kan-extensions @@ -330983,8 +331149,8 @@ self: { }: mkDerivation { pname = "yaya-containers"; - version = "0.1.1.0"; - sha256 = "14knwk5sk6h76iy97kxa3s95px3bv2ns9xmcwmhbcrsaf338dyrz"; + version = "0.1.2.0"; + sha256 = "03rfpzsrjimlp40s5pbn2fd5v4cby529nhmsh9xna7n8xf6jmm05"; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base containers yaya ]; testHaskellDepends = [ base doctest ]; @@ -330998,8 +331164,8 @@ self: { }: mkDerivation { pname = "yaya-hedgehog"; - version = "0.3.0.0"; - sha256 = "08gyij5hlgmcv77gzzcsjak8aw7c7vmnfkrl8f0m6isfdb0lq1gr"; + version = "0.3.0.2"; + sha256 = "1kyqbqp84whi9jsygk7x2vhja76h45fk75k7bgh9jwjqfj83zy7s"; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base deriving-compat hedgehog yaya ]; testHaskellDepends = [ @@ -331015,8 +331181,8 @@ self: { }: mkDerivation { pname = "yaya-quickcheck"; - version = "0.2.0.0"; - sha256 = "0ihxrf8n2jyiz4v82pnjscii8vm8zsj3n9sbyjrdcn5kx66myaq3"; + version = "0.2.0.1"; + sha256 = "0ncnp0m93fyjn9vqp8s0vbvra3v6nin8sh5jr58rv1r5538hkyr5"; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base QuickCheck splitmix yaya ]; testHaskellDepends = [ base doctest ]; @@ -331049,8 +331215,8 @@ self: { }: mkDerivation { pname = "yaya-unsafe"; - version = "0.4.0.0"; - sha256 = "11g00zsjzrcm4g5b1q8xz5vhzakxqjgl1yz0z0cfnndqmh720s3n"; + version = "0.4.1.1"; + sha256 = "0s3fna5b0g5jxbndzmqsy9bqz8b4ry7p88kspnzv8shrq271mmmk"; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base bifunctors comonad free lens yaya ]; testHaskellDepends = [ base doctest hedgehog yaya yaya-hedgehog ]; @@ -331901,6 +332067,8 @@ self: { pname = "yesod-bin"; version = "1.6.2.3"; sha256 = "15lsiw4g0zf1wk13fvqw4kngqhg3c2fi9jh65blhdw8kzbznf8xg"; + revision = "1"; + editedCabalFile = "01mwlxikp618dqgvnirhyy3x7yy5fy7n58ppplnrsvbg3g202h6d"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -335428,6 +335596,31 @@ self: { license = lib.licenses.bsd3; }) {inherit (pkgs) which;}; + "zip-archive_0_4_3_2" = callPackage + ({ mkDerivation, array, base, binary, bytestring, containers + , digest, directory, filepath, HUnit, mtl, pretty, process + , temporary, text, time, unix, which, zlib + }: + mkDerivation { + pname = "zip-archive"; + version = "0.4.3.2"; + sha256 = "0p6b4n4z3qa9f5vh25lqf7b8gdf5qcfs4zsnlzr12m0xgysfdnk1"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + array base binary bytestring containers digest directory filepath + mtl pretty text time unix zlib + ]; + testHaskellDepends = [ + base bytestring directory filepath HUnit process temporary time + unix + ]; + testToolDepends = [ which ]; + description = "Library for creating and modifying zip archives"; + license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; + }) {inherit (pkgs) which;}; + "zip-cmd" = callPackage ({ mkDerivation, base, bytestring, filepath, optparse-applicative , shellwords, text, time, zip From a447b4f5fd199c996adefbf9c7f5f5a062d8452d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Tue, 9 Apr 2024 22:57:46 +0200 Subject: [PATCH 0260/1387] rPackages.interactiveDisplay: add missing Rdep --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd..9e092c16dc44 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -308,6 +308,7 @@ let FactoMineR = [ self.car ]; pander = [ self.codetools ]; rmsb = [ self.rstantools ]; + interactiveDisplay = [ self.BiocManager ]; }; packagesWithNativeBuildInputs = { From be2729d5e45b5b358a5be48c33b2be90956a2468 Mon Sep 17 00:00:00 2001 From: Dave Conroy Date: Tue, 9 Apr 2024 14:15:23 -0700 Subject: [PATCH 0261/1387] docker: 25.0.3 -> 25.0.5 --- pkgs/applications/virtualization/docker/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix index f91f7d6df3df..21d3cc94bed8 100644 --- a/pkgs/applications/virtualization/docker/default.nix +++ b/pkgs/applications/virtualization/docker/default.nix @@ -294,11 +294,11 @@ rec { }; docker_25 = callPackage dockerGen rec { - version = "25.0.3"; + version = "25.0.5"; cliRev = "v${version}"; - cliHash = "sha256-Jvb0plV1O/UzrcpzN4zH5OulmTVF+p9UQQQ9xqkiObQ="; + cliHash = "sha256-CACMi3bXUN6oGc2f/Z+lNQqMgQ4llRWPRKgijdpiPGg="; mobyRev = "v${version}"; - mobyHash = "sha256-cDlRVdQNzH/X2SJUYHK1QLUHlKQtSyRYCVbz3wPx1ZM="; + mobyHash = "sha256-4QGz22fXxyAD77pyUWb2lF3VKqxmPIrGqcJGoyrEHew="; runcRev = "v1.1.12"; runcHash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0="; containerdRev = "v1.7.13"; From fb775fd856d3535b2ae2efb3ee74a7dafac8c640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Tue, 9 Apr 2024 23:25:06 +0200 Subject: [PATCH 0262/1387] rPackages.SpliceWiz: fix build --- pkgs/development/r-modules/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd..8139c2b6d991 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1065,6 +1065,10 @@ let patchPhase = "patchShebangs configure"; }); + SpliceWiz = old.SpliceWiz.overrideAttrs (attrs: { + postPatch = "patchShebangs configure"; + }); + data_table = old.data_table.overrideAttrs (attrs: { env = (attrs.env or { }) // { NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -fopenmp"; From 7ad95a2d241ab855e8613bda94662452e3dd4ddc Mon Sep 17 00:00:00 2001 From: Dave Conroy Date: Tue, 9 Apr 2024 14:26:33 -0700 Subject: [PATCH 0263/1387] docker_26: init at 26.0.0 --- .../virtualization/docker/default.nix | 15 +++++++++++++++ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix index f91f7d6df3df..d32ae07d365a 100644 --- a/pkgs/applications/virtualization/docker/default.nix +++ b/pkgs/applications/virtualization/docker/default.nix @@ -306,4 +306,19 @@ rec { tiniRev = "v0.19.0"; tiniHash = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; }; + + docker_26 = callPackage dockerGen rec { + version = "26.0.0"; + cliRev = "v${version}"; + cliHash = "sha256-jGg/AVnIzI8e+DdF0uKlSZApRxcwuOjCQpfnBaCY4fI="; + mobyRev = "v${version}"; + mobyHash = "sha256-cDlRVdQNzH/X2SJUYHK1QLUHlKQtSyRYCVbz3wPx1ZM="; + runcRev = "v1.1.12"; + runcHash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0="; + containerdRev = "v1.7.13"; + containerdHash = "sha256-y3CYDZbA2QjIn1vyq/p1F1pAVxQHi/0a6hGWZCRWzyk="; + tiniRev = "v0.19.0"; + tiniHash = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; + }; + } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9ef3a450b974..692f2cfe8f9b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30584,7 +30584,7 @@ with pkgs; dnglab = callPackage ../tools/graphics/dnglab { }; inherit (callPackage ../applications/virtualization/docker {}) - docker_24 docker_25; + docker_24 docker_25 docker_26; docker = docker_24; docker-client = docker.override { clientOnly = true; }; From d38b10e6bdafb3d82f3722e457d05b286f37832d Mon Sep 17 00:00:00 2001 From: Mikilio Date: Tue, 2 Apr 2024 15:05:29 +0200 Subject: [PATCH 0264/1387] morgen: enable wayland via ozone When NIXOS_OZOME_WL is set electron should start with wayland enabled. --- pkgs/applications/office/morgen/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/morgen/default.nix b/pkgs/applications/office/morgen/default.nix index 41cae1da04e3..a77655588464 100644 --- a/pkgs/applications/office/morgen/default.nix +++ b/pkgs/applications/office/morgen/default.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { --replace '/opt/Morgen' $out/bin makeWrapper ${electron}/bin/electron $out/bin/morgen \ - --add-flags $out/opt/Morgen/resources/app.asar + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer}} $out/opt/Morgen/resources/app.asar" runHook postInstall ''; From ef16276bb6b7b18adb374bf748af37cb1ae0c64d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 9 Apr 2024 21:33:46 +0000 Subject: [PATCH 0265/1387] llama-cpp: 2589 -> 2636 --- pkgs/by-name/ll/llama-cpp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index fad19eeda41d..f5214b8c4ecb 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -72,13 +72,13 @@ let in effectiveStdenv.mkDerivation (finalAttrs: { pname = "llama-cpp"; - version = "2589"; + version = "2636"; src = fetchFromGitHub { owner = "ggerganov"; repo = "llama.cpp"; rev = "refs/tags/b${finalAttrs.version}"; - hash = "sha256-VvTXNEl1pzzwSBT6JSOyvys3tHkjp1n6lVGngD97J74="; + hash = "sha256-FAU9Kv8cfFmx2gCx5oFgPmBQnwVuhkqlxIsB1yWDHUY="; }; postPatch = '' From 63dbe07eeb4fc26b6c5389a4a6b12d6b5796e106 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:34:19 +0200 Subject: [PATCH 0266/1387] wordpress: 6.4.3 -> 6.5 --- pkgs/servers/web-apps/wordpress/default.nix | 6 +++++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/wordpress/default.nix b/pkgs/servers/web-apps/wordpress/default.nix index f1a73feab865..52f2345b64d0 100644 --- a/pkgs/servers/web-apps/wordpress/default.nix +++ b/pkgs/servers/web-apps/wordpress/default.nix @@ -1,5 +1,5 @@ { callPackage }: builtins.mapAttrs (_: callPackage ./generic.nix) rec { - wordpress = wordpress6_4; + wordpress = wordpress6_5; wordpress6_3 = { version = "6.3.2"; hash = "sha256-Jo2/Vlm4Ml24ucPI6ZHs2mkbpY2rZB1dofmGXNPweA8="; @@ -8,4 +8,8 @@ version = "6.4.3"; hash = "sha256-PwjHHRlwhEH9q94bPq34NnQv3uhm1kOpjRAu0/ECaYY="; }; + wordpress6_5 = { + version = "6.5"; + hash = "sha256-NCRWKIrhSMC6itw2y/WJUd2LSRtnVWkmVO/b2nEJK58="; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e55325e54f45..c4b2581abe31 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -40733,7 +40733,7 @@ with pkgs; wmutils-opt = callPackage ../tools/X11/wmutils-opt { }; inherit (callPackage ../servers/web-apps/wordpress {}) - wordpress wordpress6_3 wordpress6_4; + wordpress wordpress6_3 wordpress6_4 wordpress6_5; wordpressPackages = ( callPackage ../servers/web-apps/wordpress/packages { plugins = lib.importJSON ../servers/web-apps/wordpress/packages/plugins.json; From 66ce6b9ff571acc8abec0a4fff32a392f8b47bf2 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:37:38 +0200 Subject: [PATCH 0267/1387] wordpress: update languages, plugins and themes --- .../wordpress/packages/languages.json | 18 +- .../web-apps/wordpress/packages/plugins.json | 172 +++++++++--------- .../web-apps/wordpress/packages/themes.json | 40 ++-- 3 files changed, 115 insertions(+), 115 deletions(-) diff --git a/pkgs/servers/web-apps/wordpress/packages/languages.json b/pkgs/servers/web-apps/wordpress/packages/languages.json index 6a9d4361f226..ee7b57912cc5 100644 --- a/pkgs/servers/web-apps/wordpress/packages/languages.json +++ b/pkgs/servers/web-apps/wordpress/packages/languages.json @@ -1,20 +1,20 @@ { "de_DE": { "path": "de_DE", - "rev": "1286009", - "sha256": "1w6q2ja1y77yagg73zhrw94f2vpgd521zahwhvxqxa8isphbrybj", - "version": "6.4" + "rev": "1410426", + "sha256": "1h7nffn5lwvg1m1lv8sgwblzzbyx2ksrj55nlv9gj52qn4lv02f3", + "version": "6.5" }, "fr_FR": { "path": "fr_FR", - "rev": "1285884", - "sha256": "1qlq7p9pmspizbgjp895jldb6cbsvfal6h02p44r87ag356cjk6j", - "version": "6.4" + "rev": "1410193", + "sha256": "1ka8z78ayfclnz8w4nc4sq8kp2ywnk63xcmc3pbzfilmf6sx2vss", + "version": "6.5" }, "ro_RO": { "path": "ro_RO", - "rev": "1296680", - "sha256": "0m98iaai240yn4lx4lhqgzi2wlxkz67v1cg86jhfi72n0rhr4l46", - "version": "6.4" + "rev": "1410195", + "sha256": "01jhp0z1cb98mk5fh88b64fmmw112r73n34q44dp2rl2hi8wlrfg", + "version": "6.5" } } diff --git a/pkgs/servers/web-apps/wordpress/packages/plugins.json b/pkgs/servers/web-apps/wordpress/packages/plugins.json index e85bf69310c1..3d5f69ccb900 100644 --- a/pkgs/servers/web-apps/wordpress/packages/plugins.json +++ b/pkgs/servers/web-apps/wordpress/packages/plugins.json @@ -6,16 +6,16 @@ "version": "2.4.6" }, "akismet": { - "path": "akismet/tags/5.3", - "rev": "2991242", - "sha256": "1i7y09x2aikndf80wl7xv65m71nv5s0w6jcadpp0dsyzp2m3gjnn", - "version": "5.3" + "path": "akismet/tags/5.3.2", + "rev": "3055719", + "sha256": "1298r4mqv4ndyizgmsln06d4cgr04kw3wpdsl6y7ym7lriy207qw", + "version": "5.3.2" }, "antispam-bee": { - "path": "antispam-bee/tags/2.11.5", - "rev": "2969611", - "sha256": "1pbigfchwkz9zks3vf1xd83d0aj4n1fmlimn8dpa5pw96687nc9d", - "version": "2.11.5" + "path": "antispam-bee/tags/2.11.6", + "rev": "3051694", + "sha256": "1nbfg7ksyh2mrlbk9p7czk6gv64gzxjd2lnsi5nyn90j2m8kw2kc", + "version": "2.11.6" }, "async-javascript": { "path": "async-javascript/tags/2.21.08.31", @@ -24,10 +24,10 @@ "version": "2.21.08.31" }, "breeze": { - "path": "breeze/tags/2.1.2", - "rev": "3011880", - "sha256": "164sf180j99icn39215s997qqmqddyqnkf7k29fwpkgz5ww0zkkd", - "version": "2.1.2" + "path": "breeze/tags/2.1.6", + "rev": "3051666", + "sha256": "0926fxbxkw06g6828s0yx017zp1sr60lh2b9cdgil0fxwc5ga26z", + "version": "2.1.6" }, "co-authors-plus": { "path": "co-authors-plus/tags/3.5.15", @@ -42,10 +42,10 @@ "version": "3.1.1" }, "cookie-notice": { - "path": "cookie-notice/tags/2.4.13", - "rev": "3002920", - "sha256": "0rw511zygmg1i8zp388s4fc526wr4pgszsqxw0bmwia6sjz0a9pn", - "version": "2.4.13" + "path": "cookie-notice/tags/2.4.16", + "rev": "3062780", + "sha256": "0fiskqj229r9ymnhr7h1z7snyhbv3ka3lp1ysbdyl631l992lwnc", + "version": "2.4.16" }, "disable-xml-rpc": { "path": "disable-xml-rpc/tags/1.0.1", @@ -60,10 +60,10 @@ "version": "1.4.0" }, "gutenberg": { - "path": "gutenberg/tags/17.3.0", - "rev": "3012944", - "sha256": "0n51lldbbk0sfzcjk8mcjnaj6dmhhbg45kc9a03igl6cnppw6g53", - "version": "17.3.0" + "path": "gutenberg/tags/18.0.1", + "rev": "3067379", + "sha256": "008kz282jmxiw7ayycl4a1dnwfvzna0dax1nydbm27sdj9nzqzak", + "version": "18.0.1" }, "hello-dolly": { "path": "hello-dolly/tags/1.7.2", @@ -73,15 +73,15 @@ }, "hkdev-maintenance-mode": { "path": "hkdev-maintenance-mode/trunk", - "rev": "3003933", - "sha256": "1mfn9njy7sp23hgpd597y74gs52gi9lm8qajv7xbgza82920mlgd", - "version": "2.5.0" + "rev": "3054874", + "sha256": "0p2qj6w0gy0pl0mq4x9f53r3y0rkr47039mb7l9rg6rgs41baa9m", + "version": "3.0.2" }, "jetpack": { - "path": "jetpack/tags/12.9.3", - "rev": "3013460", - "sha256": "1lgkd3bgaqf155a39zfxx7ikmfxpzfsfak71mrlga12sfmyrrw74", - "version": "12.9.3" + "path": "jetpack/tags/13.3", + "rev": "3063825", + "sha256": "1fv3dr993smlb8yd2ca7cd4w67a2sn2vbkc53w6hcjggkjn8bkkv", + "version": "13.3" }, "jetpack-lite": { "path": "jetpack-lite/tags/3.0.3", @@ -90,22 +90,22 @@ "version": "3.0.3" }, "lightbox-photoswipe": { - "path": "lightbox-photoswipe/tags/5.1.0", - "rev": "3001652", - "sha256": "1mdrxc15skbg8gm18b88hj97mps668in7xvyvymfn5sgpf843glz", - "version": "5.1.0" + "path": "lightbox-photoswipe/tags/5.2.6", + "rev": "3065055", + "sha256": "1bhw5wvv722qm5a47ia2g5laj5fxr0yw61ajq03qbp0jpqry3slf", + "version": "5.2.6" }, "login-lockdown": { - "path": "login-lockdown/tags/2.08", - "rev": "3007562", - "sha256": "0s9ahqbqcl0rlbbszrbdggyhnqw8k60xzlwq3nzsh2dxaphnmbi5", - "version": "2.08" + "path": "login-lockdown/tags/2.09", + "rev": "3059559", + "sha256": "0rvxzb1bfssfsngkf3mkqb0h3vivyjnsw822s7fwkavhklm6cfjx", + "version": "2.09" }, "mailpoet": { - "path": "mailpoet/tags/4.40.0", - "rev": "3008786", - "sha256": "18604065zjwdrr63ad0a8zqy0cdfh8f5i3jyq5na5iayspgmy0lz", - "version": "4.40.0" + "path": "mailpoet/tags/4.48.2", + "rev": "3067726", + "sha256": "13brfys3xmpmw5yd1wn826mrzxvb6312177l7hmr6mhk0adp5lhz", + "version": "4.48.2" }, "merge-minify-refresh": { "path": "merge-minify-refresh/trunk", @@ -115,20 +115,20 @@ }, "opengraph": { "path": "opengraph/tags/1.11.2", - "rev": "2995321", - "sha256": "03cg7jm0g3rfwkvgjcg392mw09mlbmnvhw261rlldycfglmi270m", + "rev": "3065435", + "sha256": "1s78pf57s37rljd5qjddjyhbff2kw7h9y11k0nk9a6rj3l1zx9hl", "version": "1.11.2" }, "simple-login-captcha": { - "path": "simple-login-captcha/tags/1.3.5", - "rev": "2988106", - "sha256": "1byq8f5qkxxnhjc4dk1ab7h8vzcr01y1nid81wwj2k1i03z9llqa", - "version": "1.3.5" + "path": "simple-login-captcha/tags/1.3.6", + "rev": "3061970", + "sha256": "0fxvx71ncxd2gypfcl86s56qy93npw2jmzl06f6zdvrk48644f0z", + "version": "1.3.6" }, "simple-mastodon-verification": { "path": "simple-mastodon-verification/tags/1.1.3", - "rev": "2998678", - "sha256": "0ikymrf21l86gpdcjfawadqg1nbfsm6gggcc1g2g553pjg277grz", + "rev": "3044168", + "sha256": "1r0jfcy7qmrcclnhfqja6rixs3w3ipadblpgk54s36b11gnkfs9q", "version": "1.1.3" }, "static-mail-sender-configurator": { @@ -144,40 +144,40 @@ "version": "1.2.3" }, "webp-converter-for-media": { - "path": "webp-converter-for-media/tags/5.11.5", - "rev": "3006520", - "sha256": "1mkfki9148w43r3h8afp1j8vkrljsch68y8l4m6i8w5jsjvb5c18", - "version": "5.11.5" + "path": "webp-converter-for-media/tags/5.12.3", + "rev": "3054812", + "sha256": "16gfsx0378rhs133csyl1mblz4jvasjd146amrljgbrk9anj8cnx", + "version": "5.12.3" }, "webp-express": { - "path": "webp-express/tags/0.25.8", - "rev": "2981697", - "sha256": "17v94im2cnvjiglfzbqq598blwn7m5j84sd8ysbq8lc60kwn0vi3", - "version": "0.25.8" + "path": "webp-express/tags/0.25.9", + "rev": "3066149", + "sha256": "1rcd6qxpq569w8hk01h2k807n9qwvz2qv4g33n7spzsxpgqiicgh", + "version": "0.25.9" }, "wordpress-seo": { - "path": "wordpress-seo/tags/21.7", - "rev": "3008568", - "sha256": "1iigdycbxhdzrprnajw54b1jjmp8akig72z9v78infaf2sjawmgh", - "version": "21.7" + "path": "wordpress-seo/tags/22.4", + "rev": "3063381", + "sha256": "05p4i83q1w5gcp7ml08cihy50ksi4igpa7rrsfcr6pnid739s6lm", + "version": "22.4" }, "worker": { - "path": "worker/tags/4.9.18", - "rev": "3010154", - "sha256": "1wkkabw0g2c9bfqwqddjqrc13wwf39h508bb25cxwz2yi5fdhp9v", - "version": "4.9.18" + "path": "worker/tags/4.9.19", + "rev": "3019262", + "sha256": "1pfn7bvdqv0cy10nbkdqw9m0b0nys6grw3jry41nr9ffbajbx4kx", + "version": "4.9.19" }, "wp-change-email-sender": { - "path": "wp-change-email-sender/trunk", - "rev": "2812298", - "sha256": "1ibdj2yv572pk21pr313pdrqxi2f9vawwd0byb0s38224jjx4plh", - "version": "1.0" + "path": "wp-change-email-sender/tags/2.0", + "rev": "3055794", + "sha256": "06rq7axcyw5jrar5gzma61liwq0h0cc2c9b0zxcg3gyz9n1aj5zx", + "version": "2.0" }, "wp-fastest-cache": { - "path": "wp-fastest-cache/tags/1.2.2", - "rev": "2994820", - "sha256": "1mj18yrljjdrd07b0yjkd9pwdciyn4jyrs6hgx6jcys0mc5p009v", - "version": "1.2.2" + "path": "wp-fastest-cache/tags/1.2.5", + "rev": "3065036", + "sha256": "0q3ra4xry8jbvnx7nxj6a8jjyrni6faa8ys0s2ikaf6jf3r9skqa", + "version": "1.2.5" }, "wp-gdpr-compliance": { "path": "wp-gdpr-compliance/tags/2.0.22", @@ -186,22 +186,22 @@ "version": "2.0.22" }, "wp-mail-smtp": { - "path": "wp-mail-smtp/tags/3.11.0", - "rev": "3009463", - "sha256": "1vk6bdchqka5nmiakq9s8kj7psk2nq2yxln377bidqyqj0q9kqmk", - "version": "3.11.0" + "path": "wp-mail-smtp/tags/4.0.1", + "rev": "3043224", + "sha256": "0hvcigsmlwgjnv7ha6zrj3n9yhxyak5r3937m3dp0whsl7ci0qw9", + "version": "4.0.1" }, "wp-statistics": { - "path": "wp-statistics/tags/14.3.2", - "rev": "3013471", - "sha256": "03iahbjnyyy1lxvxmfgzzzin0sfng0dyagx0q0bvfa9bqx4pi37h", - "version": "14.3.2" + "path": "wp-statistics/tags/14.5.2", + "rev": "3049813", + "sha256": "1x136m26l8nnx355q68cpi971zz37mxjwi1i3vgwfsmphn1gynlb", + "version": "14.5.2" }, "wp-swiper": { "path": "wp-swiper/trunk", - "rev": "3013138", - "sha256": "1h5l99m73z7fn0l5sa4qbdpi3r8nanvrbciix5756qj4qbzb51li", - "version": "1.1.0" + "rev": "3045384", + "sha256": "1m8gmab211pnhibpwviqsxm9pgzb2si2y41myksmxnbsvnnfmj7j", + "version": "1.1.6" }, "wp-user-avatars": { "path": "wp-user-avatars/trunk", @@ -210,9 +210,9 @@ "version": "1.4.1" }, "wpforms-lite": { - "path": "wpforms-lite/tags/1.8.5.3", - "rev": "3009465", - "sha256": "1xj4wn1zfdjqxh1h6k9xa316276k8n26nmgjfcapwss452qajwkm", - "version": "1.8.5.3" + "path": "wpforms-lite/tags/1.8.7.2", + "rev": "3043142", + "sha256": "1na6vlvnvni9vqg99i1ab49z5cyy6kyqf197ph8r79nc46lyxa5a", + "version": "1.8.7.2" } } diff --git a/pkgs/servers/web-apps/wordpress/packages/themes.json b/pkgs/servers/web-apps/wordpress/packages/themes.json index 92d09ef4ca97..a9e5e53f14bb 100644 --- a/pkgs/servers/web-apps/wordpress/packages/themes.json +++ b/pkgs/servers/web-apps/wordpress/packages/themes.json @@ -1,32 +1,32 @@ { "twentynineteen": { - "path": "twentynineteen/2.7", - "rev": "207575", - "sha256": "19zbbpj1qxfz6599di2455qr97z5x4vrprf0bf20c8dq8n8lrh41", - "version": "2.7" + "path": "twentynineteen/2.8", + "rev": "223028", + "sha256": "0mw74ww2am6gi2m7vvn44g99y3l7scwahhdni6fh0m858r81fx09", + "version": "2.8" }, "twentytwenty": { - "path": "twentytwenty/2.4", - "rev": "207576", - "sha256": "0xp2jcgsn16gv9ad8dirm7j24mi7633yrl524wi858l3m8dh4q4a", - "version": "2.4" + "path": "twentytwenty/2.6", + "rev": "223029", + "sha256": "063jcwb3c4qnwp6m0dw0wfvimxnj25xvfssvibhbjlby4ibdxa6k", + "version": "2.6" }, "twentytwentyone": { - "path": "twentytwentyone/2.0", - "rev": "207577", - "sha256": "0ypdqxfd1va9m6f3zbc0281i69br5hpvvjdqb03kk2xnmam2hjaa", - "version": "2.0" + "path": "twentytwentyone/2.2", + "rev": "223030", + "sha256": "15z84ccabjxy88qpyrjb41f13xvgx27gyg0ivvfh468052jkwna9", + "version": "2.2" }, "twentytwentythree": { - "path": "twentytwentythree/1.3", - "rev": "207579", - "sha256": "0r2k73yskqaxhl641ri1shy74rck5xvmfi7b562kz3j44hx0dz4f", - "version": "1.3" + "path": "twentytwentythree/1.4", + "rev": "223032", + "sha256": "12n50rffvrzl7vmcz3cbgh1i464hsp6yb9dr8p9000nf877pkq7b", + "version": "1.4" }, "twentytwentytwo": { - "path": "twentytwentytwo/1.6", - "rev": "207578", - "sha256": "0ga1682a5sh038xfc7whvdws5vfy1g3qvvy13rm5dln79x022riq", - "version": "1.6" + "path": "twentytwentytwo/1.7", + "rev": "223031", + "sha256": "1irivpi4asd6gzqjc1fw4fmff7kf8fh2n118pjfr3v8mw5hmfssp", + "version": "1.7" } } From 91a91b9ae468de8500dccb74c7896b1218e9c1de Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 31 Mar 2024 13:55:54 +0200 Subject: [PATCH 0268/1387] haskell.compiler.ghcHEAD: fix hash mismatch on case insensitive fs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By trying to migitate the conflict between two files on a case insensitive fs, we will inevitably end up with a different hash than on case sensitive filesystems. To work around this, we just delete the directory that contains the offending files — luckily it is not important to the build of GHC. --- pkgs/development/compilers/ghc/common-hadrian.nix | 4 +++- pkgs/development/compilers/ghc/head.nix | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/ghc/common-hadrian.nix b/pkgs/development/compilers/ghc/common-hadrian.nix index b201379668b1..079bbefbae4c 100644 --- a/pkgs/development/compilers/ghc/common-hadrian.nix +++ b/pkgs/development/compilers/ghc/common-hadrian.nix @@ -5,7 +5,7 @@ if rev != null then "https://gitlab.haskell.org/ghc/ghc.git" else "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz" - +, postFetch ? null }: { lib @@ -146,6 +146,8 @@ inherit url sha256; } // lib.optionalAttrs (rev != null) { inherit rev; + } // lib.optionalAttrs (postFetch != null) { + inherit postFetch; }) # GHC's build system hadrian built from the GHC-to-build's source tree diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index ab7771e94733..30e8f4e1d991 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -1,5 +1,11 @@ import ./common-hadrian.nix { version = "9.11.20240323"; rev = "8f7cfc7ee00978fda14f31ce4a56ad4639c07138"; - sha256 = "1id5gmn472zrzx372hy4wci5sby941jd8imspgaam6vrqxibdyln"; + sha256 = "sha256-UFiZ8Vu45PZ1+QuyoruiXA6ksiFZImQvvsgC3kQCHak="; + # The STM benchmark contains chanbench.hs and ChanBench.hs causing a hash + # mismatch on case insensitive filesystems. See also + # https://gitlab.haskell.org/ghc/packages/stm/-/issues/2 + postFetch = '' + rm -rf "$out/libraries/stm/bench" + ''; } From 3a8f13270d6d1d575ce3e527805c347af2148148 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 9 Apr 2024 23:42:38 +0000 Subject: [PATCH 0269/1387] python311Packages.gradio-pdf: 0.0.5 -> 0.0.7 --- pkgs/development/python-modules/gradio-pdf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gradio-pdf/default.nix b/pkgs/development/python-modules/gradio-pdf/default.nix index a029f427ca2e..caa3ddbaa6b8 100644 --- a/pkgs/development/python-modules/gradio-pdf/default.nix +++ b/pkgs/development/python-modules/gradio-pdf/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "gradio-pdf"; - version = "0.0.5"; + version = "0.0.7"; format = "pyproject"; src = fetchPypi { pname = "gradio_pdf"; inherit version; - hash = "sha256-yHISYpkZ5YgUBxCfu2rw3R+g9t4h1WogXXCuBiV92Vk="; + hash = "sha256-3OJiBnp79woCUtiNiaePwfJCAS42WYkv9GFeScesFv8="; }; nativeBuildInputs = [ From 4229fdcddb6f977fa2b197d716baf2bd6c1e52b6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 02:06:43 +0000 Subject: [PATCH 0270/1387] eclib: 20231212 -> 20240408 --- pkgs/development/libraries/eclib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/eclib/default.nix b/pkgs/development/libraries/eclib/default.nix index f78fb9a19106..0c886a265b63 100644 --- a/pkgs/development/libraries/eclib/default.nix +++ b/pkgs/development/libraries/eclib/default.nix @@ -14,7 +14,7 @@ assert withFlint -> flint != null; stdenv.mkDerivation rec { pname = "eclib"; - version = "20231212"; # upgrade might break the sage interface + version = "20240408"; # upgrade might break the sage interface # sage tests to run: # src/sage/interfaces/mwrank.py # src/sage/libs/eclib @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { # see https://github.com/JohnCremona/eclib/issues/64#issuecomment-789788561 # for upstream's explanation of the above url = "https://github.com/JohnCremona/eclib/releases/download/v${version}/eclib-${version}.tar.bz2"; - sha256 = "sha256-MtEWo+NZsN5PZIbCu2GIu4tVPIuDP2GMwllkhOi2FFo="; + sha256 = "sha256-O6kI4gGd5T/LoUFEnKpvqC8DYFv4O/nagJLfU4ravnw="; }; buildInputs = [ pari From 094ecb0ae8df451e63c994f4ab200184e8d6ac1e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 03:04:06 +0000 Subject: [PATCH 0271/1387] prometheus-blackbox-exporter: 0.24.0 -> 0.25.0 --- pkgs/servers/monitoring/prometheus/blackbox-exporter.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix b/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix index 8c929353a820..66456a85e150 100644 --- a/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix @@ -2,17 +2,17 @@ buildGoModule rec { pname = "blackbox_exporter"; - version = "0.24.0"; + version = "0.25.0"; rev = "v${version}"; src = fetchFromGitHub { inherit rev; owner = "prometheus"; repo = "blackbox_exporter"; - sha256 = "sha256-eoXSBliHadRGPT6+K75p2tEjKHKXmLz4svE59yQAEuM="; + sha256 = "sha256-RyVP/lcCN/HbhRtGM7n4kFRpBxMO5SvpleeygzCq5bA="; }; - vendorHash = "sha256-yhgmJaWdYR5w5A8MVnHQS1yF6sTIMd1TOiesV4mc0Gs="; + vendorHash = "sha256-gVVYccbwtB9/WA3lfzXwI9cZkTdTv96/2gLfwtoE+WM="; # dns-lookup is performed for the tests doCheck = false; From 0b3d01046f2799b7d93d70b346a668d7eff9d6d8 Mon Sep 17 00:00:00 2001 From: rewine Date: Tue, 9 Apr 2024 17:23:40 +0800 Subject: [PATCH 0272/1387] hyprcursor: 0.1.5 -> 0.1.7 --- pkgs/by-name/hy/hyprcursor/package.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/hy/hyprcursor/package.nix b/pkgs/by-name/hy/hyprcursor/package.nix index fa86f0f0f2f2..144c2d71df14 100644 --- a/pkgs/by-name/hy/hyprcursor/package.nix +++ b/pkgs/by-name/hy/hyprcursor/package.nix @@ -7,19 +7,25 @@ , hyprlang , librsvg , libzip +, tomlplusplus , nix-update-script }: stdenv.mkDerivation (finalAttrs: { pname = "hyprcursor"; - version = "0.1.5"; + version = "0.1.7"; src = fetchFromGitHub { owner = "hyprwm"; repo = "hyprcursor"; rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-e6+fu30inlTIdflotS6l7qYusslKMNkhZVNLn9ZSogg="; + hash = "sha256-T0lV+xA07RzroRLwZsGbF9bWZNHInXS+oB0RJ6YdvWg="; }; + patches = [ + # fix icon directories system search path + "${finalAttrs.src}/nix/dirs.patch" + ]; + nativeBuildInputs = [ cmake pkg-config @@ -30,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: { hyprlang librsvg libzip + tomlplusplus ]; outputs = [ From 482f3851f6fb1697c12fbd13d55070494aa4b021 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 04:36:52 +0000 Subject: [PATCH 0273/1387] zarf: 0.32.6 -> 0.33.0 --- pkgs/applications/networking/cluster/zarf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/zarf/default.nix b/pkgs/applications/networking/cluster/zarf/default.nix index abf93f495695..b8436f611c35 100644 --- a/pkgs/applications/networking/cluster/zarf/default.nix +++ b/pkgs/applications/networking/cluster/zarf/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "zarf"; - version = "0.32.6"; + version = "0.33.0"; src = fetchFromGitHub { owner = "defenseunicorns"; repo = "zarf"; rev = "v${version}"; - hash = "sha256-YytP6JC3efREoVzKKYLz6e8YzuSZas89Sw43mQn+aBI="; + hash = "sha256-r/PRLOqzXANYWAq3hdLKWxw1WXJzgVjIenHky2+WXj4="; }; - vendorHash = "sha256-nV+Beciv81brFWPVl4131Mtcj/oUwRhVTGK+M4Yedus="; + vendorHash = "sha256-6DGkDHBoUj5Zk0KI3HVb+trkzWzB4+8nOh1ijE9PrEk="; proxyVendor = true; preBuild = '' From 6656743523912fedeb02d4285551e0c518f8c618 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 05:58:33 +0000 Subject: [PATCH 0274/1387] melange: 0.6.9 -> 0.6.11 --- pkgs/development/tools/melange/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/melange/default.nix b/pkgs/development/tools/melange/default.nix index 40f4fa598731..24e7584b76d3 100644 --- a/pkgs/development/tools/melange/default.nix +++ b/pkgs/development/tools/melange/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "melange"; - version = "0.6.9"; + version = "0.6.11"; src = fetchFromGitHub { owner = "chainguard-dev"; repo = pname; rev = "v${version}"; - hash = "sha256-txyfoGl0MPMHQFOhdCQPVSLveYBVFIiDxJct1W6xYKM="; + hash = "sha256-/P85vrcKWZHXNUIlzLpc9v0I5KEL7HUyr1SM2207l7o="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -25,7 +25,7 @@ buildGoModule rec { ''; }; - vendorHash = "sha256-uMdphe78cEwypVZOyIvFgUJQuVQ3scd6SQc8y5Sqjdo="; + vendorHash = "sha256-R1Fo4N5q00ePkddOJKauC6iDPGMYk15FIKEXqWy6ifQ="; subPackages = [ "." ]; From b993e9c7b3d3a4391e9635760b9525c9342075d4 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 5 Apr 2024 08:50:43 +0200 Subject: [PATCH 0275/1387] python311Packages.arviz: 0.17.1 -> 0.18.0 Diff: https://github.com/arviz-devs/arviz/compare/refs/tags/v0.17.1...v0.18.0 Changelog: https://github.com/arviz-devs/arviz/blob/v0.18.0/CHANGELOG.md --- .../python-modules/arviz/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/arviz/default.nix b/pkgs/development/python-modules/arviz/default.nix index 56298852a377..b7860aa5dc30 100644 --- a/pkgs/development/python-modules/arviz/default.nix +++ b/pkgs/development/python-modules/arviz/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, dm-tree , fetchFromGitHub , emcee , h5netcdf @@ -14,6 +15,7 @@ , scipy , packaging , pythonOlder +, typing-extensions , xarray , xarray-einstats , zarr @@ -31,27 +33,32 @@ buildPythonPackage rec { pname = "arviz"; - version = "0.17.1"; + version = "0.18.0"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "arviz-devs"; repo = "arviz"; rev = "refs/tags/v${version}"; - hash = "sha256-V0/yboKpK/4QuCOzKDiyFpu/J2JLu0aQxRZ+rpMS9eY="; + hash = "sha256-SZRqSqChQBSA9/jBXN2ds9hh6TI3qZksHai1j2oVsq0="; }; - propagatedBuildInputs = [ + build-system = [ + packaging + setuptools + ]; + + dependencies = [ + dm-tree h5netcdf matplotlib netcdf4 numpy - packaging pandas scipy - setuptools + typing-extensions xarray xarray-einstats ]; From ab94b9eaa7ee2ef98ac06098bb7bc9c0a2b0b036 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 07:20:22 +0000 Subject: [PATCH 0276/1387] python311Packages.pyscard: 2.0.8 -> 2.0.9 --- pkgs/development/python-modules/pyscard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyscard/default.nix b/pkgs/development/python-modules/pyscard/default.nix index b2a0256415d1..5fa9e60ae5c6 100644 --- a/pkgs/development/python-modules/pyscard/default.nix +++ b/pkgs/development/python-modules/pyscard/default.nix @@ -16,7 +16,7 @@ let in buildPythonPackage rec { - version = "2.0.8"; + version = "2.0.9"; pname = "pyscard"; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "LudovicRousseau"; repo = "pyscard"; rev = "refs/tags/${version}"; - hash = "sha256-UpTSbq4mf42tcSWL8wR54MQDZ+z2YjrTW0Ud2F5/J2E="; + hash = "sha256-DO4Ea+mlrWPpOLI8Eki+03UnsOXEhN2PAl0+gdN5sTo="; }; nativeBuildInputs = [ From d8102af47387d2923b145ef2222a571f5be1ed6f Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 10 Apr 2024 10:55:10 +0200 Subject: [PATCH 0277/1387] taler: 0.9.3 -> 0.10.1 --- .../applications/networking/taler/default.nix | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/taler/default.nix b/pkgs/applications/networking/taler/default.nix index c1de12fb9427..babdff54f185 100644 --- a/pkgs/applications/networking/taler/default.nix +++ b/pkgs/applications/networking/taler/default.nix @@ -1,15 +1,15 @@ { lib, stdenv, fetchgit, curl, gnunet, jansson, libgcrypt, libmicrohttpd , qrencode, libsodium, libtool, libunistring, pkg-config, postgresql -, autoreconfHook, python39, recutils, wget, jq, gettext, texinfo +, autoreconfHook, python3, recutils, wget, jq, gettext, texinfo }: let - version = "0.9.3"; + version = "0.10.1"; taler-wallet-core = fetchgit { url = "https://git.taler.net/wallet-core.git"; rev = "v${version}"; - sha256 = "sha256-oL8vi8gxPjKxRpioMs0GLvkzlTkrm1kyvhsXOgrtvVQ="; + hash = "sha256-sgiJd1snN9JDqS7IUeORKL60Gcm7XwL/JCX3sNRDTdY="; }; taler-exchange = stdenv.mkDerivation { @@ -20,7 +20,7 @@ let url = "https://git.taler.net/exchange.git"; rev = "v${version}"; fetchSubmodules = true; - sha256 = "sha256-NgDZF6LNeJI4ZuXEwoRdFG6g0S9xNTVhszzlfAnzVOs="; + hash = "sha256-SKnMep8bMQaJt4r3u0SrzwYSuFbzv4RnflbutSqwtPg="; # When fetching submodules without the .git folder we get the following error: # "Server does not allow request for unadvertised object" @@ -45,14 +45,20 @@ let gettext texinfo # Fix 'makeinfo' is missing on your system. libunistring - python39.pkgs.jinja2 + python3.pkgs.jinja2 # jq is necessary for some tests and is checked by configure script jq ]; propagatedBuildInputs = [ gnunet ]; - preConfigure = '' + # From ./bootstrap + preAutoreconf = '' ./contrib/gana-generate.sh + pushd contrib + find wallet-core/aml-backoffice/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext + truncate -s -2 Makefile.am.ext + cat Makefile.am.in Makefile.am.ext >> Makefile.am + popd ''; enableParallelBuilding = true; @@ -87,7 +93,7 @@ let url = "https://git.taler.net/merchant.git"; rev = "v${version}"; fetchSubmodules = true; - sha256 = "sha256-HewCqyO/7nnIQY9Tgva0k1nTk2LuwLyGK/UUxvx9BG0="; + hash = "sha256-8VpoyloLpd/HckSIRU6IclWUXQyEHqlcNdoJI9U3t0Y="; }; postUnpack = '' ln -s ${taler-wallet-core}/spa.html $sourceRoot/contrib/ @@ -104,11 +110,11 @@ let # From ./bootstrap preAutoreconf = '' - cd contrib + pushd contrib find wallet-core/backoffice/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext truncate -s -2 Makefile.am.ext cat Makefile.am.in Makefile.am.ext >> Makefile.am - cd .. + popd ''; configureFlags = [ "--with-gnunet=${gnunet}" From d0415e5734f5ed2c58d7ba96b5153e3028f6ca20 Mon Sep 17 00:00:00 2001 From: Michael Stone Date: Mon, 3 Apr 2023 11:35:10 -0400 Subject: [PATCH 0278/1387] vscode-extensions.vadimcn.vscode-lldb: fix on Darwin Summary: vscode-lldb has been broken on Darwin due to a build-time issue: * on Darwin, the vscode-lldb build scripts expect $HOME to exist and be writable, #202507 and several runtime-issues: * codelldb can't find its dynamic libraries (#160874) * lldb-server from nixpkgs doesn't work due to missing the "com.apple.security.cs.debugger" macOS codesigning entitlement, (#38624), also with the symptom that tccd, the macOS "Transparency, Consent, and Control" daemon, denies requests it receives from vscode/codium with log messages like: "AUTHREQ_CTX: msgID=..., function=, service=kTCCServiceDeveloperTool, preflight=yes, query=1," "Service kTCCServiceDeveloperTool does not allow prompting; returning denied." "AUTHREQ_RESULT: msgID=..., authValue=0, authReason=5, authVersion=1, error=(null),", etc. * lldb-server from nixpkgs may also provide a different CLI interface than codelldb expects on macOS. * vscode-lldb directs lldb to load rust pretty-printing scripts which need to be preserved through the build process in nixpkgs Solution: * The build problem can be fixed by setting HOME="$(pwd)/home", as suggested in #202507. * The dynamic libraries issue can be fixed by setting LD_LIBRARY_PATH while wrapping codelldb * The permissions issue and CLI interface issue can both be fixed by using Xcode's debugserver, /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver on macOS, since it has the required entitlement and the expected interface. * Finally, the script-loading issue can be fixed by copying the required scripts to the location that vscode-lldb expects to find them in. Fixes: * #148946: Error failed to get reply to handshake packet on x86_64-darwin with vscode-extensions.vadimcn.vscode-lldb * #160874: codelldb inside of vscode-lldb extension doesn't work * #202507: vscode-extensions.vadimcn.vscode-lldb fails to build on aarch64-darwin --- .../vadimcn.vscode-lldb/default.nix | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix index ad7fd06cb020..b6e47094d57a 100644 --- a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix +++ b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix @@ -27,8 +27,14 @@ let cargoHash = "sha256-e/Jki/4pCs0qzaBVR4iiUhdBFmWlTZYREQkuFSoWYFo="; + buildInputs = lib.optionals stdenv.isDarwin [ lldb ]; + nativeBuildInputs = [ makeWrapper ]; + env = lib.optionalAttrs stdenv.isDarwin { + NIX_LDFLAGS = "-llldb -lc++abi"; + }; + buildAndTestSubdir = "adapter"; buildFeatures = [ "weak-linkage" ]; @@ -89,6 +95,15 @@ let ''; }; + # debugservers on macOS require the 'com.apple.security.cs.debugger' + # entitlement which nixpkgs' lldb-server does not yet provide; see + # for details + lldbServer = + if stdenv.isDarwin then + "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver" + else + "${lldb.out}/bin/lldb-server"; + in stdenv.mkDerivation { pname = "vscode-extension-${publisher}-${pname}"; inherit src version vscodeExtUniqueId vscodeExtPublisher vscodeExtName; @@ -107,6 +122,9 @@ in stdenv.mkDerivation { postConfigure = '' cp -r ${nodeDeps}/lib/node_modules . + '' + lib.optionalString stdenv.isDarwin '' + export HOME="$TMPDIR/home" + mkdir $HOME ''; cmakeFlags = [ @@ -129,7 +147,8 @@ in stdenv.mkDerivation { mv -t $ext vsix-extracted/extension/* cp -t $ext/ -r ${adapter}/share/* wrapProgram $ext/adapter/codelldb \ - --set-default LLDB_DEBUGSERVER_PATH "${lldb.out}/bin/lldb-server" + --prefix LD_LIBRARY_PATH : "$ext/lldb/lib" \ + --set-default LLDB_DEBUGSERVER_PATH "${lldbServer}" # Mark that all components are installed. touch $ext/platform.ok From 85aed69b47548df827e7eb311147eb3e7ca1722c Mon Sep 17 00:00:00 2001 From: Aditya Date: Wed, 10 Apr 2024 15:22:23 +0530 Subject: [PATCH 0279/1387] _64gram: 1.1.16 -> 1.1.17 --- pkgs/by-name/_6/_64gram/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/_6/_64gram/package.nix b/pkgs/by-name/_6/_64gram/package.nix index 58f6816bc027..e8a28081c040 100644 --- a/pkgs/by-name/_6/_64gram/package.nix +++ b/pkgs/by-name/_6/_64gram/package.nix @@ -6,7 +6,7 @@ telegram-desktop.overrideAttrs (old: rec { pname = "64gram"; - version = "1.1.16"; + version = "1.1.17"; src = fetchFromGitHub { owner = "TDesktop-x64"; @@ -14,7 +14,7 @@ telegram-desktop.overrideAttrs (old: rec { rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-2IuNJleHtlkELcTHDwRT4pcDcDXSqM5YlLPGYiGT2TE="; + hash = "sha256-QWHC1NAAKpH9zU7cplCW2rNYckY87bpU7MEZ1ytSi58="; }; meta = with lib; { From fbea5e488ac46e64d55b99f785adb2f6d4f49b82 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 9 Apr 2024 23:03:11 +0900 Subject: [PATCH 0280/1387] python311Packages.labelbox: 3.65 -> 3.67.0 Diff: https://github.com/Labelbox/labelbox-python/compare/refs/tags/v3.65...v.3.67.0 Changelog: https://github.com/Labelbox/labelbox-python/blob/v.3.67.0/CHANGELOG.md --- .../python-modules/labelbox/default.nix | 37 ++++++++++++------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/labelbox/default.nix b/pkgs/development/python-modules/labelbox/default.nix index 25314acd5026..98c7adcc8e11 100644 --- a/pkgs/development/python-modules/labelbox/default.nix +++ b/pkgs/development/python-modules/labelbox/default.nix @@ -15,9 +15,11 @@ , pytestCheckHook , python-dateutil , pythonOlder +, pythonRelaxDepsHook , requests , setuptools , shapely +, strenum , tqdm , typeguard , typing-extensions @@ -25,36 +27,49 @@ buildPythonPackage rec { pname = "labelbox"; - version = "3.65"; + version = "3.67.0"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Labelbox"; repo = "labelbox-python"; - rev = "refs/tags/v${version}"; - hash = "sha256-i0hbVxGrb2C/bMcVPNzaPBxhKm+5r3o1GlToZvIS35k="; + rev = "refs/tags/v.${version}"; + hash = "sha256-JQTjmYxPBS8JC4HQTtbQ7hb80LPLYE4OEj1lFA6cZ1Y="; }; postPatch = '' substituteInPlace pytest.ini \ - --replace "--reruns 5 --reruns-delay 10" "" + --replace-fail "--reruns 2 --reruns-delay 10 --durations=20 -n 10" "" + + # disable pytest_plugins which requires `pygeotile` + substituteInPlace tests/conftest.py \ + --replace-fail "pytest_plugins" "_pytest_plugins" ''; nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "python-dateutil" + ]; + + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ google-api-core pydantic python-dateutil requests + strenum tqdm ]; - passthru.optional-dependencies = { + optional-dependencies = { data = [ shapely geojson @@ -74,13 +89,7 @@ buildPythonPackage rec { nbconvert nbformat pytestCheckHook - ] ++ passthru.optional-dependencies.data; - - # disable pytest_plugins which requires `pygeotile` - preCheck = '' - substituteInPlace tests/conftest.py \ - --replace "pytest_plugins" "_pytest_plugins" - ''; + ] ++ optional-dependencies.data; disabledTestPaths = [ # Requires network access From dce04b381ed8c92694da1dbb3db0a6d2a26c7f9f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 11:52:12 +0000 Subject: [PATCH 0281/1387] python312Packages.snowflake-connector-python: 3.8.0 -> 3.8.1 --- .../python-modules/snowflake-connector-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix index 20eeba3c7414..f7d7743ef6e5 100644 --- a/pkgs/development/python-modules/snowflake-connector-python/default.nix +++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "snowflake-connector-python"; - version = "3.8.0"; + version = "3.8.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-tbXoXQK0NIofLWxn30gpqjOHlnsBM9K3+jHRkNBgnDE="; + hash = "sha256-m8zhoNniEs7s9F7c6gLRjiBalfiMwEcK2kqLrLVCR9U="; }; build-system = [ From 80001d63f5af63a4d6d9af345d0f2e4876be382a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 11:52:18 +0000 Subject: [PATCH 0282/1387] python312Packages.qcs-api-client: 0.24.1 -> 0.25.0 --- pkgs/development/python-modules/qcs-api-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qcs-api-client/default.nix b/pkgs/development/python-modules/qcs-api-client/default.nix index d14554e4d764..98e3b05812f1 100644 --- a/pkgs/development/python-modules/qcs-api-client/default.nix +++ b/pkgs/development/python-modules/qcs-api-client/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "qcs-api-client"; - version = "0.24.1"; + version = "0.25.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "rigetti"; repo = "qcs-api-client-python"; rev = "refs/tags/v${version}"; - hash = "sha256-7PgWIAHwMcuKXHxTX66xmLP1VTNYWecTIMbWoTQqmjs="; + hash = "sha256-dKjiicrPLRlaIwHwSqpY5dBMTzrZD4xfw3h54IN3rh0="; }; patches = [ From 14ce2430da9ca41d408e0002a666a4fa16251c71 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 12:06:07 +0000 Subject: [PATCH 0283/1387] simdjson: 3.8.0 -> 3.9.1 --- pkgs/development/libraries/simdjson/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/simdjson/default.nix b/pkgs/development/libraries/simdjson/default.nix index 9e28ea4eed38..b836220efaff 100644 --- a/pkgs/development/libraries/simdjson/default.nix +++ b/pkgs/development/libraries/simdjson/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "simdjson"; - version = "3.8.0"; + version = "3.9.1"; src = fetchFromGitHub { owner = "simdjson"; repo = "simdjson"; rev = "v${version}"; - sha256 = "sha256-1WxQU9WAIZKVoNTYJRnwxLAloBfW1g5XSPH4b29x9rE="; + sha256 = "sha256-Az5QZNnzLYpEE7O+1/VceIT6vykkg8vMuAuN9u8OseM="; }; nativeBuildInputs = [ cmake ]; From 14c7a500c0939d8251a60ca0932bba3fca3b1737 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 10 Apr 2024 20:47:15 +0800 Subject: [PATCH 0284/1387] nixos/cinnamon: Don't enable modules for excludePackages ref: bc970e94e786d554237c931457ac50f5c415b9f0 ref: nixpkgs issue 299877 --- .../modules/services/x11/desktop-managers/cinnamon.nix | 10 +++++----- nixos/tests/cinnamon.nix | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/cinnamon.nix b/nixos/modules/services/x11/desktop-managers/cinnamon.nix index f5a6c05865c4..a23b680ec254 100644 --- a/nixos/modules/services/x11/desktop-managers/cinnamon.nix +++ b/nixos/modules/services/x11/desktop-managers/cinnamon.nix @@ -95,7 +95,7 @@ in ''; # Default services - services.blueman.enable = mkDefault true; + services.blueman.enable = mkDefault (notExcluded pkgs.blueman); hardware.bluetooth.enable = mkDefault true; hardware.pulseaudio.enable = mkDefault true; security.polkit.enable = true; @@ -228,10 +228,10 @@ in }) (mkIf serviceCfg.apps.enable { - programs.geary.enable = mkDefault true; - programs.gnome-disks.enable = mkDefault true; - programs.gnome-terminal.enable = mkDefault true; - programs.file-roller.enable = mkDefault true; + programs.geary.enable = mkDefault (notExcluded pkgs.gnome.geary); + programs.gnome-disks.enable = mkDefault (notExcluded pkgs.gnome.gnome-disk-utility); + programs.gnome-terminal.enable = mkDefault (notExcluded pkgs.gnome.gnome-terminal); + programs.file-roller.enable = mkDefault (notExcluded pkgs.gnome.file-roller); environment.systemPackages = with pkgs // pkgs.gnome // pkgs.cinnamon; utils.removePackagesByName [ # cinnamon team apps diff --git a/nixos/tests/cinnamon.nix b/nixos/tests/cinnamon.nix index eab907d0b712..694308152149 100644 --- a/nixos/tests/cinnamon.nix +++ b/nixos/tests/cinnamon.nix @@ -8,6 +8,10 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { services.xserver.enable = true; services.xserver.desktopManager.cinnamon.enable = true; + # We don't ship gnome-text-editor in Cinnamon module, we add this line mainly + # to catch eval issues related to this option. + environment.cinnamon.excludePackages = [ pkgs.gnome-text-editor ]; + # For the sessionPath subtest. services.xserver.desktopManager.cinnamon.sessionPath = [ pkgs.gnome.gpaste ]; }; From 5deb1d364e08750871668322c4b39c4f7a750d21 Mon Sep 17 00:00:00 2001 From: Aditya Date: Wed, 10 Apr 2024 17:56:33 +0530 Subject: [PATCH 0285/1387] _64gram: add nix-update-script --- pkgs/by-name/_6/_64gram/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/_6/_64gram/package.nix b/pkgs/by-name/_6/_64gram/package.nix index e8a28081c040..959a2ad5d17e 100644 --- a/pkgs/by-name/_6/_64gram/package.nix +++ b/pkgs/by-name/_6/_64gram/package.nix @@ -2,6 +2,7 @@ , stdenv , fetchFromGitHub , telegram-desktop +, nix-update-script }: telegram-desktop.overrideAttrs (old: rec { @@ -17,6 +18,8 @@ telegram-desktop.overrideAttrs (old: rec { hash = "sha256-QWHC1NAAKpH9zU7cplCW2rNYckY87bpU7MEZ1ytSi58="; }; + passthru.updateScript = nix-update-script {}; + meta = with lib; { description = "An unofficial Telegram Desktop providing Windows 64bit build and extra features"; license = licenses.gpl3Only; From a6ada0502be8e784b08b24dd023f3653499bd526 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 10 Apr 2024 21:27:31 +0800 Subject: [PATCH 0286/1387] nixos/pantheon: Don't enable modules for excludePackages ref: bc970e94e786d554237c931457ac50f5c415b9f0 ref: nixpkgs issue 299877 While at it, also enable flatpak in nixosTests.pantheon so we ensure appcenter builds. --- nixos/modules/services/x11/desktop-managers/pantheon.nix | 5 +++-- nixos/tests/pantheon.nix | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix index b9ca6bd4ba8d..026e9a9a2e4a 100644 --- a/nixos/modules/services/x11/desktop-managers/pantheon.nix +++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix @@ -12,6 +12,7 @@ let extraGSettingsOverrides = cfg.extraGSettingsOverrides; }; + notExcluded = pkg: (!(lib.elem pkg config.environment.pantheon.excludePackages)); in { @@ -288,8 +289,8 @@ in }) (mkIf serviceCfg.apps.enable { - programs.evince.enable = mkDefault true; - programs.file-roller.enable = mkDefault true; + programs.evince.enable = mkDefault (notExcluded pkgs.gnome.evince); + programs.file-roller.enable = mkDefault (notExcluded pkgs.gnome.file-roller); environment.systemPackages = utils.removePackagesByName ([ pkgs.gnome.gnome-font-viewer diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix index f8de2eb8061d..d2a4a009af53 100644 --- a/nixos/tests/pantheon.nix +++ b/nixos/tests/pantheon.nix @@ -13,6 +13,13 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : services.xserver.enable = true; services.xserver.desktopManager.pantheon.enable = true; + # We ship pantheon.appcenter by default when this is enabled. + services.flatpak.enable = true; + + # We don't ship gnome-text-editor in Pantheon module, we add this line mainly + # to catch eval issues related to this option. + environment.pantheon.excludePackages = [ pkgs.gnome-text-editor ]; + environment.systemPackages = [ pkgs.xdotool ]; }; From 2a8a59aebb851f48004c5b659909f3fb2c4bd189 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 10 Apr 2024 21:33:34 +0800 Subject: [PATCH 0287/1387] nixos/budgie: Don't enable modules for excludePackages ref: bc970e94e786d554237c931457ac50f5c415b9f0 ref: nixpkgs issue 299877 --- nixos/modules/services/x11/desktop-managers/budgie.nix | 4 +++- nixos/tests/budgie.nix | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/desktop-managers/budgie.nix b/nixos/modules/services/x11/desktop-managers/budgie.nix index 466ef5c565b7..e39507622cde 100644 --- a/nixos/modules/services/x11/desktop-managers/budgie.nix +++ b/nixos/modules/services/x11/desktop-managers/budgie.nix @@ -43,6 +43,8 @@ let budgie-control-center = pkgs.budgie.budgie-control-center.override { enableSshSocket = config.services.openssh.startWhenNeeded; }; + + notExcluded = pkg: (!(lib.elem pkg config.environment.budgie.excludePackages)); in { meta.maintainers = lib.teams.budgie.members; @@ -160,7 +162,7 @@ in { ++ cfg.sessionPath; # Both budgie-desktop-view and nemo defaults to this emulator. - programs.gnome-terminal.enable = mkDefault true; + programs.gnome-terminal.enable = mkDefault (notExcluded pkgs.gnome.gnome-terminal); # Fonts. fonts.packages = [ diff --git a/nixos/tests/budgie.nix b/nixos/tests/budgie.nix index 5228e869b056..203e718c8c6d 100644 --- a/nixos/tests/budgie.nix +++ b/nixos/tests/budgie.nix @@ -18,6 +18,10 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { }; }; + # We don't ship gnome-text-editor in Budgie module, we add this line mainly + # to catch eval issues related to this option. + environment.budgie.excludePackages = [ pkgs.gnome-text-editor ]; + services.xserver.desktopManager.budgie = { enable = true; extraPlugins = [ From 8b3445a066b255d68dab5914ab3764b80cf11083 Mon Sep 17 00:00:00 2001 From: bigshaq9999 <97749920+bigshaq9999@users.noreply.github.com> Date: Wed, 10 Apr 2024 20:52:37 +0700 Subject: [PATCH 0288/1387] sweethome3d.application: 7.2 -> 7.3 --- pkgs/applications/misc/sweethome3d/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/sweethome3d/default.nix b/pkgs/applications/misc/sweethome3d/default.nix index c78e1246c5c8..bc429817d55a 100644 --- a/pkgs/applications/misc/sweethome3d/default.nix +++ b/pkgs/applications/misc/sweethome3d/default.nix @@ -108,13 +108,13 @@ in { application = mkSweetHome3D rec { pname = lib.toLower module + "-application"; - version = "7.2"; + version = "7.3"; module = "SweetHome3D"; description = "Design and visualize your future home"; license = lib.licenses.gpl2Plus; src = fetchzip { url = "mirror://sourceforge/sweethome3d/${module}-${version}-src.zip"; - hash = "sha256-RVuwxL/YATqHoQuc25ZaYgZ+o2rMOqnzU8/LLxb5Ra4="; + hash = "sha256-adMQzQE+xAZpMJyQFm01A+AfvcB5YHsJvk+533BUf1Q="; }; desktopName = "Sweet Home 3D"; icons = { From 271fd55b7ecf4c5a7579a795d3d69519275a6c9f Mon Sep 17 00:00:00 2001 From: emilylange Date: Wed, 10 Apr 2024 16:06:56 +0200 Subject: [PATCH 0289/1387] grafana-loki: add simple version test v3.0.0 changed the ldflag prefix, which we rely on to pass and embed version information. This is likely to happen again, and such version test is incredibly inexpensive. --- pkgs/servers/monitoring/loki/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/loki/default.nix b/pkgs/servers/monitoring/loki/default.nix index 176ec316a6eb..0cf35895ca6c 100644 --- a/pkgs/servers/monitoring/loki/default.nix +++ b/pkgs/servers/monitoring/loki/default.nix @@ -5,6 +5,8 @@ , makeWrapper , nixosTests , systemd +, testers +, grafana-loki }: buildGoModule rec { @@ -38,7 +40,13 @@ buildGoModule rec { --prefix LD_LIBRARY_PATH : "${lib.getLib systemd}/lib" ''; - passthru.tests = { inherit (nixosTests) loki; }; + passthru.tests = { + inherit (nixosTests) loki; + version = testers.testVersion { + command = "loki --version"; + package = grafana-loki; + }; + }; ldflags = let t = "github.com/grafana/loki/v3/pkg/util/build"; in [ "-s" From 042a17e5fe687360c88bc4eda6b431eaf9903432 Mon Sep 17 00:00:00 2001 From: Jess Bodzo Date: Fri, 5 Apr 2024 11:19:45 -0400 Subject: [PATCH 0290/1387] auth0-cli: 1.1.2 -> 1.4.0 https://github.com/auth0/auth0-cli/releases/tag/v1.4.0 --- pkgs/tools/admin/auth0-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/auth0-cli/default.nix b/pkgs/tools/admin/auth0-cli/default.nix index 44de0a5058b4..31ed1298db26 100644 --- a/pkgs/tools/admin/auth0-cli/default.nix +++ b/pkgs/tools/admin/auth0-cli/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "auth0-cli"; - version = "1.1.2"; + version = "1.4.0"; src = fetchFromGitHub { owner = "auth0"; repo = "auth0-cli"; rev = "v${version}"; - hash = "sha256-EJH+Vn7wvrQ2umjmSXHjbgf2uf/kRbDoo0usTMqDFo4="; + hash = "sha256-j7HT57/4rrrVkx9Zz+XuWD6UL0spdej+U5gWtFo1FSI="; }; - vendorHash = "sha256-T8y7MPFebDU6skfz4Rqo0ElRRaldtfexOl99D7h+orU="; + vendorHash = "sha256-bWAneCRsQbPRxEM/3jr1/Lov6NV67MRycOgrlj3bKF8="; ldflags = [ "-s" "-w" From 0b57d008d4e181567580f646ef9b8d74e2bb83bd Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 10 Apr 2024 10:43:55 -0400 Subject: [PATCH 0291/1387] CODEOWNERS: add adamcstephens for incus/lxc/lxd --- .github/CODEOWNERS | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 352212ba5100..a25d00c2aaf0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -359,3 +359,16 @@ pkgs/development/tools/continuous-integration/buildbot @Mic92 @zowoq pkgs/by-name/pr/pretix/ @mweinelt nixos/modules/services/web-apps/pretix.nix @mweinelt nixos/tests/web-apps/pretix.nix @mweinelt + +# incus/lxc/lxd +nixos/maintainers/scripts/lxd/ @adamcstephens +nixos/modules/virtualisation/incus.nix @adamcstephens +nixos/modules/virtualisation/lxc* @adamcstephens +nixos/modules/virtualisation/lxd* @adamcstephens +nixos/tests/incus/ @adamcstephens +nixos/tests/lxd/ @adamcstephens +pkgs/by-name/in/incus/ @adamcstephens +pkgs/by-name/lx/lxc* @adamcstephens +pkgs/by-name/lx/lxd* @adamcstephens +pkgs/os-specific/linux/lxc/ @adamcstephens + From 3744104cb669ed237a2d8926899f5ad94a04d1b0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 23:54:52 +0200 Subject: [PATCH 0292/1387] auth0-cli: refactor --- pkgs/tools/admin/auth0-cli/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/admin/auth0-cli/default.nix b/pkgs/tools/admin/auth0-cli/default.nix index 31ed1298db26..739e5f8ca890 100644 --- a/pkgs/tools/admin/auth0-cli/default.nix +++ b/pkgs/tools/admin/auth0-cli/default.nix @@ -10,16 +10,17 @@ buildGoModule rec { src = fetchFromGitHub { owner = "auth0"; repo = "auth0-cli"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-j7HT57/4rrrVkx9Zz+XuWD6UL0spdej+U5gWtFo1FSI="; }; vendorHash = "sha256-bWAneCRsQbPRxEM/3jr1/Lov6NV67MRycOgrlj3bKF8="; ldflags = [ - "-s" "-w" - "-X github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}" - "-X github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000" + "-s" + "-w" + "-X=github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}" + "-X=github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000" ]; preCheck = '' From 3729f136b21caafbf01935d695703e1ee6d2c047 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 15:09:11 +0000 Subject: [PATCH 0293/1387] templ: 0.2.648 -> 0.2.663 --- pkgs/development/tools/templ/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/templ/default.nix b/pkgs/development/tools/templ/default.nix index 154ce64ce364..d4380a959609 100644 --- a/pkgs/development/tools/templ/default.nix +++ b/pkgs/development/tools/templ/default.nix @@ -5,7 +5,7 @@ buildGoModule rec { pname = "templ"; - version = "0.2.648"; + version = "0.2.663"; subPackages = [ "cmd/templ" ]; @@ -21,7 +21,7 @@ buildGoModule rec { owner = "a-h"; repo = "templ"; rev = "refs/tags/v${version}"; - hash = "sha256-9Co3yvfy8X69PIffPg2lDjVCVTjDhiFnSsJd4MQ6cf4="; + hash = "sha256-TU8QG6OmUzSNDAX9W0Ntmz5cucLqVQeTskfnJbm/YM0="; }; vendorHash = "sha256-Upd5Wq4ajsyOMDiAWS2g2iNO1sm1XJc43AFQLIo5eDM="; From ec6c59494497d5679ed1d1d4086abacd89de8ef4 Mon Sep 17 00:00:00 2001 From: Dan Callahan Date: Wed, 10 Apr 2024 16:15:24 +0100 Subject: [PATCH 0294/1387] stdenv/check-meta: Fix error message for disallowed unfree packages Nixpkgs tries to print a helpful message when it blocks unfree packages, but the suggestion is subtly broken. The predicate only matches on the package's name, but the suggestion includes the full name-version pair. Fixed by formatting the message with the same function as the predicate. This issue arises because check-meta defines its own local getName with semantics divergent from lib.getName. The former includes the version, the latter does not. Example Before: Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "obsidian-1.5.12" ]; } Example After: Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "obsidian" ]; } Fixes #303116 --- pkgs/stdenv/generic/check-meta.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index bcb2ca249ddf..a61f3e1ae4d0 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -189,7 +189,7 @@ let Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.${predicateConfigAttr} = pkg: builtins.elem (lib.getName pkg) [ - "${getName attrs}" + "${lib.getName attrs}" ]; } ''; From 13481954160723e1080b02851ae38a72e04f4fee Mon Sep 17 00:00:00 2001 From: Olivia Crain Date: Wed, 10 Apr 2024 10:01:45 -0500 Subject: [PATCH 0295/1387] tests.importCargoLock: fix self-inclusive src listings in .nix files Replace `src = ./.` instances with more explicit source listings. Otherwise, derivations will be rebuilt on any change to the files defining them (e.g. formatting via nixfmt-rfc-style). --- .../import-cargo-lock/basic-dynamic/default.nix | 15 ++++++++++++--- .../rust/test/import-cargo-lock/basic/default.nix | 15 ++++++++++++--- .../git-dependency-branch/default.nix | 15 ++++++++++++--- .../default.nix | 13 +++++++++++-- .../git-dependency-rev/default.nix | 15 ++++++++++++--- .../git-dependency-tag/default.nix | 15 ++++++++++++--- .../import-cargo-lock/git-dependency/default.nix | 15 ++++++++++++--- .../rust/test/import-cargo-lock/v1/default.nix | 15 ++++++++++++--- 8 files changed, 95 insertions(+), 23 deletions(-) diff --git a/pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/default.nix index eea2c3760599..105303201617 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "basic-dynamic"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock.lockFileContents = builtins.readFile ./Cargo.lock; diff --git a/pkgs/build-support/rust/test/import-cargo-lock/basic/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/basic/default.nix index d595b58109ad..325380977b88 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/basic/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/basic/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "basic"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock = { lockFile = ./Cargo.lock; diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-branch/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-branch/default.nix index f274d86c52b8..3111c747d372 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-branch/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-branch/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "git-dependency-branch"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock = { lockFile = ./Cargo.lock; diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev-non-workspace-nested-crate/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev-non-workspace-nested-crate/default.nix index dcf1e601c31c..63e3bea3ca1f 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev-non-workspace-nested-crate/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev-non-workspace-nested-crate/default.nix @@ -1,10 +1,19 @@ { rustPlatform, pkg-config, openssl, lib, darwin, stdenv }: - +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "git-dependency-rev-non-workspace-nested-crate"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; nativeBuildInputs = [ pkg-config diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev/default.nix index 40487d6829a2..d3cb0fa7df81 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "git-dependency-rev"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock = { lockFile = ./Cargo.lock; diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-tag/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-tag/default.nix index 2a2f860ac8a1..dfaa1e3028da 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-tag/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-tag/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "git-dependency-tag"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock = { lockFile = ./Cargo.lock; diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency/default.nix index 944de9b45cb5..98aa35bf8e1d 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "git-dependency"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock = { lockFile = ./Cargo.lock; diff --git a/pkgs/build-support/rust/test/import-cargo-lock/v1/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/v1/default.nix index d13d468ae7f9..b53b7113590c 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/v1/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/v1/default.nix @@ -1,10 +1,19 @@ -{ rustPlatform }: - +{ lib, rustPlatform }: +let + fs = lib.fileset; +in rustPlatform.buildRustPackage { pname = "v1"; version = "0.1.0"; - src = ./.; + src = fs.toSource { + root = ./.; + fileset = fs.unions [ + ./Cargo.toml + ./Cargo.lock + ./src + ]; + }; cargoLock = { lockFile = ./Cargo.lock; From 61d1e897904c626e1d0e97b97683e8f192ffd639 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 10 Apr 2024 18:38:11 +0300 Subject: [PATCH 0296/1387] ubootOrangePi5: drop extraConfig This has been applied upstream, so can be removed. --- pkgs/misc/uboot/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index c1a38d1985f4..ef17ac96f857 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -386,12 +386,6 @@ in { extraMeta.platforms = ["aarch64-linux"]; BL31 = "${armTrustedFirmwareRK3588}/bl31.elf"; ROCKCHIP_TPL = rkbin.TPL_RK3588; - - # FIXME: applied upstream, remove in 2024.04 - extraConfig = '' - CONFIG_ROCKCHIP_SPI_IMAGE=y - ''; - filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" "u-boot-rockchip-spi.bin" ]; }; From a3d3cdf5d9fcfc086f7f83c4e9a4833f0e24e111 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 8 Apr 2024 16:10:47 +0200 Subject: [PATCH 0297/1387] nixos/matrix-synapse: don't use `services.postgresql.initialScript` in setup example Closes #285688 This is misleading because `initialScript` will only be executed at the *very first* run of postgresql. I.e. when deploying synapse to a server with an existing postgresql, this won't work. We don't have a good way of automatically provisioning databases _declaratively_, so for now just explain what needs to be done here and leave it to the user how to include this into their deployment. --- nixos/modules/services/matrix/synapse.md | 29 +++++++++++++++++------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/nixos/modules/services/matrix/synapse.md b/nixos/modules/services/matrix/synapse.md index 7f6587ce09df..0ce13550d5b2 100644 --- a/nixos/modules/services/matrix/synapse.md +++ b/nixos/modules/services/matrix/synapse.md @@ -18,7 +18,27 @@ around Matrix. [Synapse](https://github.com/element-hq/synapse) is the reference homeserver implementation of Matrix from the core development -team at matrix.org. The following configuration example will set up a +team at matrix.org. + +Before deploying synapse server, a postgresql database must be set up. +For that, please make sure that postgresql is running and the following +SQL statements to create a user & database called `matrix-synapse` were +executed before synapse starts up: + +```sql +CREATE ROLE "matrix-synapse"; +CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse" + TEMPLATE template0 + LC_COLLATE = "C" + LC_CTYPE = "C"; +``` + +Usually, it's sufficient to do this once manually before +continuing with the installation. + +Please make sure to set a different password. + +The following configuration example will set up a synapse server for the `example.org` domain, served from the host `myhostname.example.org`. For more information, please refer to the @@ -41,13 +61,6 @@ in { networking.firewall.allowedTCPPorts = [ 80 443 ]; services.postgresql.enable = true; - services.postgresql.initialScript = pkgs.writeText "synapse-init.sql" '' - CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse'; - CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse" - TEMPLATE template0 - LC_COLLATE = "C" - LC_CTYPE = "C"; - ''; services.nginx = { enable = true; From 0d1cfb5efcd4de9eb01770b66e3507ba1faf9dbe Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:32:43 +0000 Subject: [PATCH 0298/1387] discord: 0.0.47 -> 0.0.49 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index f9604c2ce166..6e957f52223a 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -2,7 +2,7 @@ let versions = if stdenv.isLinux then { - stable = "0.0.47"; + stable = "0.0.49"; ptb = "0.0.76"; canary = "0.0.326"; development = "0.0.16"; @@ -17,7 +17,7 @@ let x86_64-linux = { stable = fetchurl { url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; - hash = "sha256-4cELs7K7DAfzbA0/BwAkKraTD7z58jzOf1J3Our3CwM="; + hash = "sha256-rVSYAkTZTlurnbUeYJFCgsPcsCqjJ1bJneQQiyhmvwQ="; }; ptb = fetchurl { url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; From 8d4d2b7f7a1d4f82ee5f0168109b2043bc6760d3 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:33:17 +0000 Subject: [PATCH 0299/1387] discord-ptb: 0.0.76 -> 0.0.78 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 6e957f52223a..254577d1b21d 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -3,7 +3,7 @@ let versions = if stdenv.isLinux then { stable = "0.0.49"; - ptb = "0.0.76"; + ptb = "0.0.78"; canary = "0.0.326"; development = "0.0.16"; } else { @@ -21,7 +21,7 @@ let }; ptb = fetchurl { url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; - hash = "sha256-Gj6OLzkHrEQ2CeEQpICaAh1m13DpM2cpNVsebBJ0MVc="; + hash = "sha256-Fp94BsR6Fzy4tV+c5ToP9GKg6GC/TryGvHWLupew4Z8="; }; canary = fetchurl { url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; From 1fdc06c13b0be1968c9fdbee0e3160f4f1382190 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:33:39 +0000 Subject: [PATCH 0300/1387] discord-canary: 0.0.326 -> 0.0.346 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 254577d1b21d..4ac3be8615e6 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -4,7 +4,7 @@ let if stdenv.isLinux then { stable = "0.0.49"; ptb = "0.0.78"; - canary = "0.0.326"; + canary = "0.0.346"; development = "0.0.16"; } else { stable = "0.0.298"; @@ -25,7 +25,7 @@ let }; canary = fetchurl { url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; - hash = "sha256-MxiFhd7tLvL1tBRc451qjCFZlmGM8IolckExp0sR3y8="; + hash = "sha256-/FBVo3ptZk2YQPoq+VpyxMlSWYlVb8ChpKW5YH/BM7U="; }; development = fetchurl { url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; From 524d680ac76d75908d8c76a3cf3a9b457d57d20d Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:34:09 +0000 Subject: [PATCH 0301/1387] discord-development: 0.0.16 -> 0.0.17 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 4ac3be8615e6..7194d24bc8a5 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -5,7 +5,7 @@ let stable = "0.0.49"; ptb = "0.0.78"; canary = "0.0.346"; - development = "0.0.16"; + development = "0.0.17"; } else { stable = "0.0.298"; ptb = "0.0.105"; @@ -29,7 +29,7 @@ let }; development = fetchurl { url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; - hash = "sha256-6QImWsNmL2JveB2QJ1MyBxkVEQfdPvKEdenRPjURptI="; + hash = "sha256-AmbaMVi/or+9QLuQO5u5btgKeKdrfo7bzZgGLILwgqo="; }; }; x86_64-darwin = { From 3941e911f452e0bf8d38dff7c232b3376180dc97 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:34:48 +0000 Subject: [PATCH 0302/1387] pkgsCross.aarch64-darwin.discord: 0.0.298 -> 0.0.300 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 7194d24bc8a5..10188bfec7b0 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -7,7 +7,7 @@ let canary = "0.0.346"; development = "0.0.17"; } else { - stable = "0.0.298"; + stable = "0.0.300"; ptb = "0.0.105"; canary = "0.0.451"; development = "0.0.39"; @@ -35,7 +35,7 @@ let x86_64-darwin = { stable = fetchurl { url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg"; - hash = "sha256-GlTebQ16sRgHdpB9+Jw7dn+KVZ6qIrAmWBSypTcoFmE="; + hash = "sha256-f9YIlzRESzzxtD9/us1DY5acu2HYo+UrwS7GWk9RwCk="; }; ptb = fetchurl { url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; From 340b351855d05ac87b0ebe7a2608e471d171d234 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:35:21 +0000 Subject: [PATCH 0303/1387] pkgsCross.aarch64-darwin.discord-ptb: 0.0.105 -> 0.0.107 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 10188bfec7b0..b785d4acfbbe 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -8,7 +8,7 @@ let development = "0.0.17"; } else { stable = "0.0.300"; - ptb = "0.0.105"; + ptb = "0.0.107"; canary = "0.0.451"; development = "0.0.39"; }; @@ -39,7 +39,7 @@ let }; ptb = fetchurl { url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; - hash = "sha256-X5bYO1D5eWTYh22v4R274OhjTsVv70XCyrMqeRlt0Bo="; + hash = "sha256-etxXrO9Ksacbdes3DT1Tm4kKD/t40jGUeSAegdexRqc="; }; canary = fetchurl { url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg"; From 4bde407c23943c488dd9ced58e0bc13b18fbbcfe Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 10 Apr 2024 17:36:08 +0000 Subject: [PATCH 0304/1387] pkgsCross.aarch64-darwin.discord-canary: 0.0.451 -> 0.0.468 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index b785d4acfbbe..f2d0e55e1871 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -9,7 +9,7 @@ let } else { stable = "0.0.300"; ptb = "0.0.107"; - canary = "0.0.451"; + canary = "0.0.468"; development = "0.0.39"; }; version = versions.${branch}; @@ -43,7 +43,7 @@ let }; canary = fetchurl { url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg"; - hash = "sha256-psVm0eXDHVBGNb/R0kHbvz/4ilyIg4xlOj/CwkwlvgM="; + hash = "sha256-UOoXDwAa5pFukqTCmUfM89QVK5jB13id8ek/gwWajMM="; }; development = fetchurl { url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg"; From 870545873fdd47558d4471aa724c893ebad874c1 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sat, 6 Apr 2024 12:55:32 +0400 Subject: [PATCH 0305/1387] tootik: init at 0.9.6 --- pkgs/by-name/to/tootik/package.nix | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/to/tootik/package.nix diff --git a/pkgs/by-name/to/tootik/package.nix b/pkgs/by-name/to/tootik/package.nix new file mode 100644 index 000000000000..4917f781528c --- /dev/null +++ b/pkgs/by-name/to/tootik/package.nix @@ -0,0 +1,35 @@ +{ lib, stdenv, buildGoModule, fetchFromGitHub, openssl }: + +buildGoModule rec { + pname = "tootik"; + version = "0.9.6"; + + src = fetchFromGitHub { + owner = "dimkr"; + repo = "tootik"; + rev = version; + hash = "sha256-RcuioFb0+mvZupwgaCN6qbcOy7gHp9KjJxRwaPI55yo="; + }; + + vendorHash = "sha256-/52VjfoecXaML1cDRIEe1EQPYU8xeP9lu4lY3cMV3VE="; + + nativeBuildInputs = [ openssl ]; + + preBuild = '' + go generate ./migrations + ''; + + ldflags = [ "-X github.com/dimkr/tootik/buildinfo.Version=${version}" ]; + + tags = [ "fts5" ]; + + doCheck = !(stdenv.isDarwin && stdenv.isAarch64); + + meta = { + description = "A federated nanoblogging service with a Gemini frontend"; + homepage = "https://github.com/dimkr/tootik"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ sikmir ]; + mainProgram = "tootik"; + }; +} From 2848915e9bc33ed9bdd7905c4b353b45f38ae81b Mon Sep 17 00:00:00 2001 From: Keto Date: Wed, 10 Apr 2024 14:51:00 -0400 Subject: [PATCH 0306/1387] stow: 2.3.1 -> 2.4.0 --- pkgs/tools/misc/stow/default.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/misc/stow/default.nix b/pkgs/tools/misc/stow/default.nix index c91cfdabc278..4dd72d8d8caf 100644 --- a/pkgs/tools/misc/stow/default.nix +++ b/pkgs/tools/misc/stow/default.nix @@ -1,15 +1,17 @@ -{ lib, stdenv, fetchurl, perl, perlPackages }: +{ lib +, stdenv +, fetchurl +, perl +, perlPackages +}: -let +stdenv.mkDerivation (finalAttrs: { pname = "stow"; - version = "2.3.1"; -in -stdenv.mkDerivation { - name = "${pname}-${version}"; + version = "2.4.0"; src = fetchurl { - url = "mirror://gnu/stow/stow-${version}.tar.bz2"; - sha256 = "0bs2b90wjkk1camcasy8kn403kazq6c7fj5m5msfl3navbgwz9i6"; + url = "mirror://gnu/stow/stow-${finalAttrs.version}.tar.bz2"; + hash = "sha256-p7rGc9qiRs9U/7SKET6t0gSmFWMOdrU7X2TYGidbd7M="; }; buildInputs = with perlPackages; [ perl IOStringy TestOutput ]; @@ -34,4 +36,4 @@ stdenv.mkDerivation { maintainers = with maintainers; [ sarcasticadmin ]; platforms = platforms.all; }; -} +}) From 73b0dc621761cfe174c7e4aad76e007520d61405 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 29 Feb 2024 16:28:15 +0000 Subject: [PATCH 0307/1387] maintainers: add link2xt --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 26b84016947b..27da2f1381f3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11403,6 +11403,13 @@ fingerprint = "80EE AAD8 43F9 3097 24B5 3D7E 27E9 7B91 E63A 7FF8"; }]; }; + link2xt = { + email = "link2xt@testrun.org"; + githubId = 18373967; + github = "link2xt"; + matrix = "@link2xt:matrix.org"; + name = "link2xt"; + }; linquize = { email = "linquize@yahoo.com.hk"; github = "linquize"; From 1d093cb426580ec80afe667ede9bafae36843239 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 17 Feb 2024 23:33:09 +0000 Subject: [PATCH 0308/1387] deltatouch: init at 1.4.0 Co-authored-by: matthewcroughan Co-authored-by: Cosima Neidahl --- pkgs/by-name/de/deltatouch/package.nix | 91 ++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 pkgs/by-name/de/deltatouch/package.nix diff --git a/pkgs/by-name/de/deltatouch/package.nix b/pkgs/by-name/de/deltatouch/package.nix new file mode 100644 index 000000000000..db6ba129e219 --- /dev/null +++ b/pkgs/by-name/de/deltatouch/package.nix @@ -0,0 +1,91 @@ +{ lib +, stdenv +, fetchFromGitea +, fetchpatch +, cmake +, intltool +, libdeltachat +, lomiri +, qt5 +, quirc +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "deltatouch"; + version = "1.4.0"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "lk108"; + repo = "deltatouch"; + rev = "v${finalAttrs.version}"; + hash = "sha256-tqcQmFmF8Z9smVMfaXOmXQ3Uw41bUcU4iUi8fxBlg8U="; + fetchSubmodules = true; + }; + + + patches = [ + (fetchpatch { + name = "0001-deltatouch-Fix-localisation.patch"; + url = "https://codeberg.org/lk108/deltatouch/commit/dcfdd8a0fca5fff10d0383f77f4c0cbea302de00.patch"; + hash = "sha256-RRjHG/xKtj757ZP2SY0GtWwh66kkTWoICV1vDkFAw3k="; + }) + ]; + + nativeBuildInputs = [ + qt5.wrapQtAppsHook + intltool + cmake + ]; + + buildInputs = [ + qt5.qtbase + qt5.qtwebengine + qt5.qtquickcontrols2 + lomiri.lomiri-ui-toolkit + lomiri.lomiri-ui-extras + lomiri.lomiri-api + lomiri.lomiri-indicator-network # Lomiri.Connectivity module + lomiri.qqc2-suru-style + ]; + + postPatch = '' + # Fix all sorts of install locations + substituteInPlace CMakeLists.txt \ + --replace-fail 'set(DATA_DIR /)' 'set(DATA_DIR ''${CMAKE_INSTALL_DATAROOTDIR})' \ + --replace-fail 'RUNTIME DESTINATION ''${CMAKE_INSTALL_PREFIX}' 'RUNTIME DESTINATION ''${CMAKE_INSTALL_BINDIR}' \ + --replace-fail 'assets/logo.svg DESTINATION assets' 'assets/logo.svg DESTINATION ''${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps RENAME deltatouch.svg' \ + --replace-fail "\''${DESKTOP_FILE_NAME} DESTINATION \''${DATA_DIR}" "\''${DESKTOP_FILE_NAME} DESTINATION \''${CMAKE_INSTALL_DATAROOTDIR}/applications" + + substituteInPlace plugins/DeltaHandler/CMakeLists.txt plugins/DTWebEngineProfile/CMakeLists.txt \ + --replace-fail 'set(QT_IMPORTS_DIR "/lib/''${ARCH_TRIPLET}")' 'set(QT_IMPORTS_DIR "${placeholder "out"}/${qt5.qtbase.qtQmlPrefix}")' + + # Fix import of library dependencies + substituteInPlace plugins/DeltaHandler/CMakeLists.txt \ + --replace-fail 'IMPORTED_LOCATION "''${CMAKE_CURRENT_BINARY_DIR}/libdeltachat.so"' 'IMPORTED_LOCATION "${lib.getLib libdeltachat}/lib/libdeltachat.so"' \ + --replace-fail 'IMPORTED_LOCATION "''${CMAKE_CURRENT_BINARY_DIR}/libquirc.so.1.2"' 'IMPORTED_LOCATION "${lib.getLib quirc}/lib/libquirc.so"' + + # Fix icon reference in desktop file + substituteInPlace deltatouch.desktop.in \ + --replace-fail 'Icon=assets/logo.svg' 'Icon=deltatouch' + ''; + + postInstall = '' + # Remove clickable metadata & helpers from out + rm $out/{manifest.json,share/push*} + ''; + + meta = with lib; { + changelog = "https://codeberg.org/lk108/deltatouch/src/commit/${finalAttrs.src.rev}/CHANGELOG"; + description = "Messaging app for Ubuntu Touch, powered by Delta Chat core"; + longDescription = '' + DeltaTouch is a messenger for Ubuntu Touch based on Delta Chat core. + Delta Chat works over email. + ''; + homepage = "https://codeberg.org/lk108/deltatouch"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ link2xt ]; + mainProgram = "deltatouch"; + platforms = platforms.linux; + }; +}) From 3dfa97c9ea128e79294cc0524fc939e09a300bbd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 19:05:51 +0000 Subject: [PATCH 0309/1387] stackit-cli: 0.1.0 -> 0.2.1 --- pkgs/by-name/st/stackit-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/st/stackit-cli/package.nix b/pkgs/by-name/st/stackit-cli/package.nix index 22b80895df3f..badf0e86b7e8 100644 --- a/pkgs/by-name/st/stackit-cli/package.nix +++ b/pkgs/by-name/st/stackit-cli/package.nix @@ -12,16 +12,16 @@ buildGoModule rec { pname = "stackit-cli"; - version = "0.1.0"; + version = "0.2.1"; src = fetchFromGitHub { owner = "stackitcloud"; repo = "stackit-cli"; rev = "v${version}"; - hash = "sha256-EozgdlxCfWciFg7XPDbn2vztwoAKnuQBwyg/ufGRZQ0="; + hash = "sha256-eAJe/AlYxp0v2LifXdlSxeZL+qwKf2wj+tnNJ2Y8LcQ="; }; - vendorHash = "sha256-6WbY8t7Qjxq8oBF+r2rZVgAa6ZNzjHs7Nh16zJQBRdg="; + vendorHash = "sha256-gir3RtIdQ/xDVL050kH8OxFuHoBOD2weeyRjguhubV0="; subPackages = [ "." ]; From a5c3a84e42ade89ad415e088553c2e4c5764811d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 18:29:39 +0000 Subject: [PATCH 0310/1387] files-cli: 2.12.54 -> 2.12.56 --- pkgs/by-name/fi/files-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fi/files-cli/package.nix b/pkgs/by-name/fi/files-cli/package.nix index 182b0292c8f4..641e85d91663 100644 --- a/pkgs/by-name/fi/files-cli/package.nix +++ b/pkgs/by-name/fi/files-cli/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "files-cli"; - version = "2.12.54"; + version = "2.12.56"; src = fetchFromGitHub { repo = "files-cli"; owner = "files-com"; rev = "v${version}"; - hash = "sha256-NA71J7sfbUW1c/FxVrmkTw/hwbZqFbxqdPjeMoYA9nc="; + hash = "sha256-0cvGdYy84gfxDIPcz4GqUNwwADSDaSdTlpkD6eYh2CU="; }; - vendorHash = "sha256-/Zd5U/a/9mw/9llSRvmjLT+L7gcE0OZjkiRAOYHoQCU="; + vendorHash = "sha256-igFqxTkSJpWHfquvRnBDLXcW8VNsJJK4fNIDob5oCuE="; ldflags = [ "-s" From 9ea7984ec0e22aabf68f21c3549c6a00aed5c1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Wed, 10 Apr 2024 22:05:28 +0200 Subject: [PATCH 0311/1387] rPackages.BiocOncoTK: fix build --- pkgs/development/r-modules/bioc-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/r-modules/bioc-packages.nix b/pkgs/development/r-modules/bioc-packages.nix index 36fb5e2a30c4..818fa41a432f 100644 --- a/pkgs/development/r-modules/bioc-packages.nix +++ b/pkgs/development/r-modules/bioc-packages.nix @@ -118,7 +118,7 @@ in with self; { BiocHubsShiny = derive2 { name="BiocHubsShiny"; version="1.2.0"; sha256="1sz27svvpvcys4b9p53da1javkh5k9235pzsjvn2wx76gi6b1jkj"; depends=[AnnotationHub DT ExperimentHub htmlwidgets S4Vectors shiny shinyAce shinyjs shinythemes shinytoastr]; }; BiocIO = derive2 { name="BiocIO"; version="1.12.0"; sha256="0bn2jknvj2ag1yv67kjqr7gsq771rmqv3my9njjkwcc9nzrxzhbp"; depends=[BiocGenerics S4Vectors]; }; BiocNeighbors = derive2 { name="BiocNeighbors"; version="1.20.2"; sha256="0lvsw920i75di5pwq7yvk8wcxp01wrh7863xmwbrmk5jrvl3y4h4"; depends=[BiocParallel Matrix Rcpp RcppHNSW S4Vectors]; }; - BiocOncoTK = derive2 { name="BiocOncoTK"; version="1.22.0"; sha256="1xymgfiv9abyaq5s7m683ml8a1ls9mqvbh9qjiz3jqbbpvmsm502"; depends=[bigrquery car ComplexHeatmap curatedTCGAData DBI dplyr DT GenomicFeatures GenomicRanges ggplot2 ggpubr graph httr IRanges magrittr MASS plyr Rgraphviz rjson S4Vectors scales shiny SummarizedExperiment]; }; + BiocOncoTK = derive2 { name="BiocOncoTK"; version="1.22.2"; sha256="0yx32yj9bw78nhbv1yvgs26sxdmnava1a89g9hs4ai26c1hy150s"; depends=[bigrquery car ComplexHeatmap curatedTCGAData DBI dplyr DT GenomicFeatures GenomicRanges ggplot2 ggpubr graph httr IRanges magrittr MASS plyr Rgraphviz rjson S4Vectors scales shiny SummarizedExperiment]; }; BiocParallel = derive2 { name="BiocParallel"; version="1.36.0"; sha256="19h80qf0zdxfg3pkcwwywh9gg0ymv92n51qpimnw4c3w5iaszy6b"; depends=[BH codetools cpp11 futile_logger snow]; }; BiocPkgTools = derive2 { name="BiocPkgTools"; version="1.20.0"; sha256="0swi6xiads31xcndc2cfzh0ivdl0wc88s83s1p1gxh51rgmgkb14"; depends=[BiocFileCache BiocManager biocViews dplyr DT gh graph htmltools htmlwidgets httr igraph jsonlite magrittr RBGL readr rlang rorcid rvest stringr tibble xml2]; }; BiocSet = derive2 { name="BiocSet"; version="1.16.1"; sha256="1qmi6b0hrfzj7ixcbxlsxyy3qg7d2qrq8jcjrjrgfyrgcfws46qd"; depends=[AnnotationDbi BiocIO dplyr KEGGREST ontologyIndex plyr rlang S4Vectors tibble tidyr]; }; From 974668588a745682d5818c17aa3f05967c3c449e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 17:14:46 +0000 Subject: [PATCH 0312/1387] base16384: 2.3.0 -> 2.3.1 --- pkgs/tools/text/base16384/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/base16384/default.nix b/pkgs/tools/text/base16384/default.nix index b075b0665aae..2d6ffd48a29c 100644 --- a/pkgs/tools/text/base16384/default.nix +++ b/pkgs/tools/text/base16384/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "base16384"; - version = "2.3.0"; + version = "2.3.1"; src = fetchFromGitHub { owner = "fumiama"; repo = pname; rev = "v${version}"; - hash = "sha256-FzZ8k7dkGksQvknrHoSjX1iUpIyL5xGlFTm3mgpBIig="; + hash = "sha256-2HZeom+8eEH4CrphCoOV+wJbqhYKVUcAQrYLyEVACkQ="; }; nativeBuildInputs = [ cmake ]; From 55303810750c35b8e83f008fda6ccdf467f7b536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Wed, 10 Apr 2024 22:19:01 +0200 Subject: [PATCH 0313/1387] rPackages.h5vc: fix build --- pkgs/development/r-modules/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd..5e6c649984be 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -355,7 +355,7 @@ let gslnls = [ pkgs.gsl ]; gert = [ pkgs.libgit2 ]; haven = with pkgs; [ zlib.dev ]; - h5vc = [ pkgs.zlib.dev ]; + h5vc = with pkgs; [ zlib.dev bzip2.dev xz.dev ]; highs = [ pkgs.which pkgs.cmake ]; rbedrock = [ pkgs.zlib.dev pkgs.which pkgs.cmake ]; HiCseg = [ pkgs.gsl ]; From ab631a7f60c8a649070d19917e1ec34587714530 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:33:54 -0300 Subject: [PATCH 0314/1387] vscode-extensions.signageos.signageos-vscode-sops: init 0.9.1 Release: https://github.com/signageos/vscode-sops/releases/tag/v0.9.1 --- .../editors/vscode/extensions/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 21e7c8a32fba..5a6abd73a516 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3901,6 +3901,23 @@ let }; }; + signageos.signageos-vscode-sops = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "signageos-vscode-sops"; + publisher = "signageos"; + version = "0.9.1"; + hash = "sha256-b1Gp+tL5/e97xMuqkz4EvN0PxI7cJOObusEkcp+qKfM="; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/signageos.signageos-vscode-sops/changelog"; + description = "A Visual Studio Code extension for SOPS support"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=signageos.signageos-vscode-sops"; + homepage = "https://github.com/signageos/vscode-sops"; + license = lib.licenses.unfree; + maintainers = [ lib.maintainers.superherointj ]; + }; + }; + silofy.hackthebox = buildVscodeMarketplaceExtension { mktplcRef = { name = "hackthebox"; From c3a4456e035d40a51d59b0ecf59ea70a1337948e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Wed, 10 Apr 2024 22:39:33 +0200 Subject: [PATCH 0315/1387] rPackages.qckitfastq: fix build --- pkgs/development/r-modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd..ebfd955e0c5c 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -578,6 +578,7 @@ let odbc = [ pkgs.pkg-config ]; openssl = [ pkgs.pkg-config ]; pdftools = [ pkgs.pkg-config ]; + qckitfastq = [ pkgs.zlib.dev ]; RQuantLib = with pkgs; [ quantlib.dev boost.dev ]; sf = with pkgs; [ pkg-config sqlite.dev proj.dev ]; terra = with pkgs; [ pkg-config sqlite.dev proj.dev ]; From 3acad1b873b172ea682919a1b9cd178256fa3a6f Mon Sep 17 00:00:00 2001 From: Defelo Date: Wed, 10 Apr 2024 21:48:28 +0200 Subject: [PATCH 0316/1387] uiua: 0.10.2 -> 0.10.3 --- pkgs/by-name/ui/uiua/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ui/uiua/package.nix b/pkgs/by-name/ui/uiua/package.nix index ab39f1d53f66..5e21f4307651 100644 --- a/pkgs/by-name/ui/uiua/package.nix +++ b/pkgs/by-name/ui/uiua/package.nix @@ -14,16 +14,16 @@ rustPlatform.buildRustPackage rec { pname = "uiua"; - version = "0.10.2"; + version = "0.10.3"; src = fetchFromGitHub { owner = "uiua-lang"; repo = "uiua"; rev = version; - hash = "sha256-vfWSMsduaJOh3ueJsjXW4MzYKZYI959lmah8glwex4A="; + hash = "sha256-lqFDzM6EscC8cFPGq/JnEybctaurNRoEQi0zxFaKgwI="; }; - cargoHash = "sha256-LkW3/C67CuUpfGX3KQw3BjnmZpL1Vv+i7kqlXdhpP2I="; + cargoHash = "sha256-R97KO3MYmtO9C1Hi9kU+1FDdbOCVQk+gwVXTTvbeok4="; nativeBuildInputs = lib.optionals stdenv.isDarwin [ rustPlatform.bindgenHook From bc4dc452fa3ce8895a31273e6d541fbc6abfc2af Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 10 Apr 2024 22:43:57 +0200 Subject: [PATCH 0317/1387] envoy: flag as vulnerable to CVE-2024-30255 Envoy 1.27.4 [0] contains the fix but upgrading it is not straightforward as the build of the current version is already broken and only thanks to the caching of the deps (seems to be the case since the removal of Go 1.20). Fixing the build seems to require more Bazel knownledge than I have and the the usual maintainer is currently not available. [0] https://github.com/envoyproxy/envoy/releases/tag/v1.27.4 --- pkgs/servers/http/envoy/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/http/envoy/default.nix b/pkgs/servers/http/envoy/default.nix index bb8a5e6a575c..50067d7dd622 100644 --- a/pkgs/servers/http/envoy/default.nix +++ b/pkgs/servers/http/envoy/default.nix @@ -197,5 +197,6 @@ buildBazelPackage { license = licenses.asl20; maintainers = with maintainers; [ lukegb ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; + knownVulnerabilities = [ "CVE-2024-30255" ]; }; } From 8628dda9b98fdd31e00afef07f664bb40d01869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Kupcsik?= Date: Wed, 10 Apr 2024 23:04:40 +0200 Subject: [PATCH 0318/1387] rPackages.FLAMES: fix build --- pkgs/development/r-modules/default.nix | 6 +++++- pkgs/development/r-modules/patches/FLAMES.patch | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/r-modules/patches/FLAMES.patch diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd..7dcc50d13e6f 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -657,7 +657,7 @@ let rGEDI = with pkgs; [ libgeotiff.dev libaec zlib.dev hdf5.dev ]; rawrr = [ pkgs.mono ]; HDF5Array = [ pkgs.zlib.dev ]; - FLAMES = [ pkgs.zlib.dev ]; + FLAMES = with pkgs; [ zlib.dev bzip2.dev xz.dev ]; ncdfFlow = [ pkgs.zlib.dev ]; proj4 = [ pkgs.proj.dev ]; rtmpt = [ pkgs.gsl ]; @@ -1208,6 +1208,10 @@ let patches = [ ./patches/spMC.patch ]; }); + FLAMES = old.FLAMES.overrideAttrs (attrs: { + patches = [ ./patches/FLAMES.patch ]; + }); + openssl = old.openssl.overrideAttrs (attrs: { preConfigure = '' patchShebangs configure diff --git a/pkgs/development/r-modules/patches/FLAMES.patch b/pkgs/development/r-modules/patches/FLAMES.patch new file mode 100644 index 000000000000..334ea5156f9a --- /dev/null +++ b/pkgs/development/r-modules/patches/FLAMES.patch @@ -0,0 +1,17 @@ +diff --git a/src/Makevars b/src/Makevars +index 4f3fa42ce752..e48e45561292 100755 +--- a/src/Makevars ++++ b/src/Makevars +@@ -24,12 +24,6 @@ FILES = $(CFILES) $(CPPFILES) + SOURCES = $(FILES) + OBJECTS = $(CPPFILES:.cpp=.o) $(CFILES:.c=.o) + +-strippedLib: $(SHLIB) +- if test -e "/usr/bin/strip" & test -e "/bin/uname" & [[ `uname` == "Linux" ]] ; then /usr/bin/strip --strip-debug $(SHLIB); fi +-clean: +- rm $(OBJECTS) +-.phony: strippedLib clean +- + RHTSLIB_LIBS=$(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript" -e \ + 'Rhtslib::pkgconfig("PKG_LIBS")') + RHTSLIB_CPPFLAGS=$(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript" -e \ From 70ed4f3edcfd218fda4c8eae69ea5841ccd68327 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 21:11:45 +0000 Subject: [PATCH 0319/1387] python312Packages.mitogen: 0.3.6 -> 0.3.7 --- pkgs/development/python-modules/mitogen/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mitogen/default.nix b/pkgs/development/python-modules/mitogen/default.nix index ea710516df68..a7de51b4f8cb 100644 --- a/pkgs/development/python-modules/mitogen/default.nix +++ b/pkgs/development/python-modules/mitogen/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "mitogen"; - version = "0.3.6"; + version = "0.3.7"; pyproject = true; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "mitogen-hq"; repo = "mitogen"; rev = "refs/tags/v${version}"; - hash = "sha256-zQTto4SGPvQIXPAcTQx8FA+n/5RcpqKKn0UqlFM2yqI="; + hash = "sha256-RcgAyBF5qNw8Hp//aq6UuvElhUjJXS+ySSXsSweyFXE="; }; build-system = [ setuptools ]; From 4adc607b77d623ecd6b545b75435e455ae9382ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Wed, 10 Apr 2024 21:10:05 +0000 Subject: [PATCH 0320/1387] potreeconverter: Don't unnecessarily override patchPhase/fixupPhase. Overriding `patchPhase` makes declaring or overriding `patches = [...]` have no effect. --- pkgs/applications/graphics/potreeconverter/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/graphics/potreeconverter/default.nix b/pkgs/applications/graphics/potreeconverter/default.nix index cc63cbe289b6..ae7acec3522f 100644 --- a/pkgs/applications/graphics/potreeconverter/default.nix +++ b/pkgs/applications/graphics/potreeconverter/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { cmake ]; - patchPhase = '' + postPatch = '' runHook prePatch substituteInPlace ./CMakeLists.txt \ @@ -37,12 +37,12 @@ stdenv.mkDerivation rec { # prevent inheriting permissions from /nix/store when copying substituteInPlace Converter/src/main.cpp --replace \ 'fs::copy(templateDir, pagedir, fs::copy_options::overwrite_existing | fs::copy_options::recursive)' 'string cmd = "cp --no-preserve=mode -r " + templateDir + " " + pagedir; system(cmd.c_str());' - - runHook postPatch ''; + # The upstream build system does not provide an install target. installPhase = '' runHook preInstall + mkdir -p $out/{bin,lib} mv liblaszip.so $out/lib mv PotreeConverter $out/bin @@ -56,10 +56,8 @@ stdenv.mkDerivation rec { runHook postInstall ''; - fixupPhase = '' - runHook preFixup + postFixup = '' ln -s $src/resources $out/bin/resources - runHook postFixup ''; meta = with lib; { From e897ff2f219e8172d50ddfaa9e65631872366d64 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Apr 2024 21:21:46 +0000 Subject: [PATCH 0321/1387] devbox: 0.10.3 -> 0.10.4 --- pkgs/development/tools/devbox/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/devbox/default.nix b/pkgs/development/tools/devbox/default.nix index fb362c5af14e..63adb92c6ee5 100644 --- a/pkgs/development/tools/devbox/default.nix +++ b/pkgs/development/tools/devbox/default.nix @@ -5,13 +5,13 @@ }: buildGoModule rec { pname = "devbox"; - version = "0.10.3"; + version = "0.10.4"; src = fetchFromGitHub { owner = "jetpack-io"; repo = pname; rev = version; - hash = "sha256-rKFGcqvg82r4SxU0vaXk6Qsdbm613OwcTqrdykc5xak="; + hash = "sha256-HLoTQrC8LVI2LZFJPRaobFX0TgT8mwVkmzyuii5bGA8="; }; ldflags = [ @@ -23,7 +23,7 @@ buildGoModule rec { # integration tests want file system access doCheck = false; - vendorHash = "sha256-5rdB7vBWw3oU0OtYw7/51aQbEUCRAUwKsjA5AbUtRlI="; + vendorHash = "sha256-L7LDOfJ2v4FIdF8Ttpy7qOhMMLFFuhVxjuy5znn9Yb4="; nativeBuildInputs = [ installShellFiles ]; From 59fd0e0be784cd126d83bb42b4a17a4e78ce15c0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:28:37 +0200 Subject: [PATCH 0322/1387] python312Packages.pytenable: 1.4.21 -> 1.4.22 Diff: https://github.com/tenable/pyTenable/compare/refs/tags/1.4.21...1.4.22 Changelog: https://github.com/tenable/pyTenable/releases/tag/1.4.22 --- pkgs/development/python-modules/pytenable/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytenable/default.nix b/pkgs/development/python-modules/pytenable/default.nix index 0bf5ef3de39f..a9f791c1bf99 100644 --- a/pkgs/development/python-modules/pytenable/default.nix +++ b/pkgs/development/python-modules/pytenable/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "pytenable"; - version = "1.4.21"; + version = "1.4.22"; pyproject = true; disabled = pythonOlder "3.7"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "tenable"; repo = "pyTenable"; rev = "refs/tags/${version}"; - hash = "sha256-+P+6EmKpR+qlvLMgeg6iIxSx7jtC995v2eijkjJdc70="; + hash = "sha256-acMafLlO0yGEnW+0XeBWUpDWvOPFAB4RK/XyAb2JbPw="; }; nativeBuildInputs = [ From 8456d31ce24d6aa2d29e8a6c1bed957f9b9ad8eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:29:08 +0200 Subject: [PATCH 0323/1387] python312Packages.pytenable: refactor --- pkgs/development/python-modules/pytenable/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytenable/default.nix b/pkgs/development/python-modules/pytenable/default.nix index a9f791c1bf99..6ae3db6a5510 100644 --- a/pkgs/development/python-modules/pytenable/default.nix +++ b/pkgs/development/python-modules/pytenable/default.nix @@ -32,11 +32,11 @@ buildPythonPackage rec { hash = "sha256-acMafLlO0yGEnW+0XeBWUpDWvOPFAB4RK/XyAb2JbPw="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ defusedxml marshmallow python-box From 8a36964ecf416433c78bd5e9e4f7ef7278eb9621 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:29:28 +0200 Subject: [PATCH 0324/1387] python312Packages.pytenable: format with nixfmt --- .../python-modules/pytenable/default.nix | 45 +++++++++---------- 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/pkgs/development/python-modules/pytenable/default.nix b/pkgs/development/python-modules/pytenable/default.nix index 6ae3db6a5510..2fba1b0b779f 100644 --- a/pkgs/development/python-modules/pytenable/default.nix +++ b/pkgs/development/python-modules/pytenable/default.nix @@ -1,21 +1,22 @@ -{ lib -, buildPythonPackage -, defusedxml -, fetchFromGitHub -, marshmallow -, pytest-datafiles -, pytest-vcr -, pytestCheckHook -, python-box -, python-dateutil -, pythonOlder -, requests -, requests-pkcs12 -, responses -, restfly -, semver -, setuptools -, typing-extensions +{ + lib, + buildPythonPackage, + defusedxml, + fetchFromGitHub, + marshmallow, + pytest-datafiles, + pytest-vcr, + pytestCheckHook, + python-box, + python-dateutil, + pythonOlder, + requests, + requests-pkcs12, + responses, + restfly, + semver, + setuptools, + typing-extensions, }: buildPythonPackage rec { @@ -32,9 +33,7 @@ buildPythonPackage rec { hash = "sha256-acMafLlO0yGEnW+0XeBWUpDWvOPFAB4RK/XyAb2JbPw="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ defusedxml @@ -71,9 +70,7 @@ buildPythonPackage rec { "test_events_list_vcr" ]; - pythonImportsCheck = [ - "tenable" - ]; + pythonImportsCheck = [ "tenable" ]; meta = with lib; { description = "Python library for the Tenable.io and TenableSC API"; From ef03145c3b404a9e6226c02861cb273daa68dab5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:31:23 +0200 Subject: [PATCH 0325/1387] python312Packages.tencentcloud-sdk-python: 3.0.1126 -> 3.0.1127 Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1126...3.0.1127 Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1127/CHANGELOG.md --- .../python-modules/tencentcloud-sdk-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix index 507652c5a78d..dd9aaf49e62f 100644 --- a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix +++ b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "tencentcloud-sdk-python"; - version = "3.0.1126"; + version = "3.0.1127"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "TencentCloud"; repo = "tencentcloud-sdk-python"; rev = "refs/tags/${version}"; - hash = "sha256-o8MECOLzs8JUxUTgAzSM5MpY3pK39Pt3hF/IQQrGMrA="; + hash = "sha256-NF3ygbCLbx2wszgnyWNSZWc+p7t/c2PtJ0N2zUGIkkg="; }; build-system = [ setuptools ]; From da83c7ae68df9561b49598292b38294bca868dc9 Mon Sep 17 00:00:00 2001 From: abysssol Date: Wed, 10 Apr 2024 16:18:28 -0400 Subject: [PATCH 0326/1387] ollama: add cudart_static to cuda dependencies --- pkgs/tools/misc/ollama/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/misc/ollama/default.nix b/pkgs/tools/misc/ollama/default.nix index 2b02cc3ff500..74bd213b043f 100644 --- a/pkgs/tools/misc/ollama/default.nix +++ b/pkgs/tools/misc/ollama/default.nix @@ -86,6 +86,7 @@ let paths = [ cudaPackages.cudatoolkit cudaPackages.cuda_cudart + cudaPackages.cuda_cudart.static ]; postBuild = '' rm "$out/lib64" From 3944e8ada4e1038be2399ea8fa0a83bee8de20cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:35:17 +0200 Subject: [PATCH 0327/1387] python312Packages.langchain-core: 0.1.40 -> 0.1.41 --- pkgs/development/python-modules/langchain-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index 20a98496dbf7..0ad445301cc6 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "langchain-core"; - version = "0.1.40"; + version = "0.1.41"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "langchain_core"; inherit version; - hash = "sha256-NMBvwObTU0tzjGP4VANEa0vnEWFmW34JH5uxnJFOwQA="; + hash = "sha256-QAIwSIOyUa+Mt4HwHFn1au7li+Qsll273soKO/uPlq8="; }; pythonRelaxDeps = [ From f973d87b1bf25e11f1305f0e4d00eda70158b2d6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:35:47 +0200 Subject: [PATCH 0328/1387] python312Packages.langsmith: 0.1.42 -> 0.1.45 Diff: https://github.com/langchain-ai/langsmith-sdk/compare/refs/tags/v0.1.42...v0.1.45 Changelog: https://github.com/langchain-ai/langsmith-sdk/releases/tag/v0.1.45 --- pkgs/development/python-modules/langsmith/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index 8578209e728b..db00f39cfe89 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "langsmith"; - version = "0.1.42"; + version = "0.1.45"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langsmith-sdk"; rev = "refs/tags/v${version}"; - hash = "sha256-jt7uVDWOJbq14RepJoRHDBzp5nGWq26GRbr9ayqlFEM="; + hash = "sha256-8A9wqhM8U5Q8o0uMyu+LQKhV+1Nsyg4opJjwylc6kkI="; }; sourceRoot = "${src.name}/python"; From ba66597c5eb9ad8b9f1679dd45983498b4796f92 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 10 Apr 2024 23:36:08 +0200 Subject: [PATCH 0329/1387] python312Packages.langchain-community: 0.0.31 -> 0.0.32 --- .../python-modules/langchain-community/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-community/default.nix b/pkgs/development/python-modules/langchain-community/default.nix index a23a1df69c64..6832aeffeaf4 100644 --- a/pkgs/development/python-modules/langchain-community/default.nix +++ b/pkgs/development/python-modules/langchain-community/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "langchain-community"; - version = "0.0.31"; + version = "0.0.32"; pyproject = true; disabled = pythonOlder "3.8"; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "langchain_community"; inherit version; - hash = "sha256-mpcLwrtZu0wgS2ltjGLCU09t2zEAUAXMG31/k05Ypfw="; + hash = "sha256-FRAhfWRsg4D1TphQNR9tKgsN1zxQG2Zsb0tAuqgWCyk="; }; build-system = [ poetry-core ]; From d43568d70292b6d5602f11d9ac6ea56719aae1fd Mon Sep 17 00:00:00 2001 From: Patrick Callahan Date: Wed, 10 Apr 2024 14:42:20 -0700 Subject: [PATCH 0330/1387] trufflehog: fix Darwin builds --- pkgs/tools/security/trufflehog/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/trufflehog/default.nix b/pkgs/tools/security/trufflehog/default.nix index 336c304aa1fd..76e887824b53 100644 --- a/pkgs/tools/security/trufflehog/default.nix +++ b/pkgs/tools/security/trufflehog/default.nix @@ -17,7 +17,8 @@ buildGoModule rec { hash = "sha256-2xgvXHeltoODr5Rok7yaUqdVcO2crtdPvvRrN+DDGr4="; }; - vendorHash = "sha256-dQ/oKVy5RZ5R8cbNom1msSbuzrQ7VbtK7m+8aS33u7Y="; + vendorHash = "sha256-zpHrwQ1egD2juWkQicHl2HVzXGr3DCmAyRdUgm5jdGg="; + proxyVendor = true; ldflags = [ "-s" From 24d031bfa207df12b9fca6ff14838bc25fb5a531 Mon Sep 17 00:00:00 2001 From: Corinna Raab Date: Thu, 11 Apr 2024 00:12:00 +0200 Subject: [PATCH 0331/1387] python312Packages.sparse: fix build and other minor changes --- .../python-modules/sparse/default.nix | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sparse/default.nix b/pkgs/development/python-modules/sparse/default.nix index 1ecf340e975e..0c81e3435098 100644 --- a/pkgs/development/python-modules/sparse/default.nix +++ b/pkgs/development/python-modules/sparse/default.nix @@ -6,22 +6,34 @@ , numpy , pytestCheckHook , pythonOlder +, setuptools +, setuptools-scm , scipy }: buildPythonPackage rec { pname = "sparse"; version = "0.15.1"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-lzrcuIqNuOPYBHlTMx4m0/ZKVlf5tGprhZxHZjw+75k="; }; - propagatedBuildInputs = [ + postPatch = '' + substituteInPlace pytest.ini \ + --replace-fail "--cov-report term-missing --cov-report html --cov-report=xml --cov-report=term --cov sparse --cov-config .coveragerc --junitxml=junit/test-results.xml" "" + ''; + + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ numba numpy scipy @@ -36,6 +48,11 @@ buildPythonPackage rec { "sparse" ]; + pytestFlagsArray = [ + "-W" + "ignore::pytest.PytestRemovedIn8Warning" + ]; + meta = with lib; { description = "Sparse n-dimensional arrays computations"; homepage = "https://sparse.pydata.org/"; From 2e87a8cbd1b3c709adeb0fdc7c9ed225de2a9d88 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 11 Apr 2024 00:20:20 +0200 Subject: [PATCH 0332/1387] cosign: 2.2.3 -> 2.2.4 Fixes GHSA-95pr-fxf5-86gv and GHSA-88jx-383q-w4qc. Changes: https://github.com/sigstore/cosign/releases/tag/v2.2.4 --- pkgs/tools/security/cosign/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/cosign/default.nix b/pkgs/tools/security/cosign/default.nix index f2b9a5ed254d..3ea85f771147 100644 --- a/pkgs/tools/security/cosign/default.nix +++ b/pkgs/tools/security/cosign/default.nix @@ -13,13 +13,13 @@ }: buildGoModule rec { pname = "cosign"; - version = "2.2.3"; + version = "2.2.4"; src = fetchFromGitHub { owner = "sigstore"; repo = pname; rev = "v${version}"; - hash = "sha256-+y79Uml1TvKypbwcWkZZF415qUPPfieP5pKHO+APjPE="; + hash = "sha256-csFFB1VYwd009fL4QHDK9jmCmwFJ45CVutLVzluG1NU="; }; buildInputs = @@ -28,7 +28,7 @@ buildGoModule rec { nativeBuildInputs = [ pkg-config installShellFiles ]; - vendorHash = "sha256-udMnSdXBjlDQlQRzhhLBDBcHwREkEev0uLIVjT8BbuU="; + vendorHash = "sha256-LYdbHpucF/lUzMu0m5y0Gt3A/8ISUs9oLM79mTF/REM="; subPackages = [ "cmd/cosign" From a7056eb22e83dc66b185eb2ac96c7ca06990ea5c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:24:45 +0200 Subject: [PATCH 0333/1387] python312Packages.sentry-sdk: 1.43.0 -> 1.45.0 Diff: https://github.com/getsentry/sentry-python/compare/refs/tags/1.43.0...1.45.0 Changelog: https://github.com/getsentry/sentry-python/blob/1.45.0/CHANGELOG.md --- pkgs/development/python-modules/sentry-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 9a173b7597d3..599af753270a 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -38,7 +38,7 @@ buildPythonPackage rec { pname = "sentry-sdk"; - version = "1.43.0"; + version = "1.45.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -47,7 +47,7 @@ buildPythonPackage rec { owner = "getsentry"; repo = "sentry-python"; rev = "refs/tags/${version}"; - hash = "sha256-HBmAIsn19pdiCnllyWiNdY6QkObvYgK+KDxrmr1VPgA="; + hash = "sha256-OWoMqJlf0vmBHWWsW6mF4u5X9USzxkFmCJyX7Ws0dD0="; }; nativeBuildInputs = [ From fa30aeaecf7d82d2b9beb0cfb6505cf9d5134ad4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:26:16 +0200 Subject: [PATCH 0334/1387] python312Packages.sentry-sdk: refactor --- pkgs/development/python-modules/sentry-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 599af753270a..79348ee2f645 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -50,11 +50,11 @@ buildPythonPackage rec { hash = "sha256-OWoMqJlf0vmBHWWsW6mF4u5X9USzxkFmCJyX7Ws0dD0="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ certifi urllib3 ]; From fe1bedbd902ca515fedb10a8c0a8e436937a8574 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:26:38 +0200 Subject: [PATCH 0335/1387] python312Packages.sentry-sdk: format with nixfmt --- .../python-modules/sentry-sdk/default.nix | 156 ++++++++---------- 1 file changed, 66 insertions(+), 90 deletions(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 79348ee2f645..3f57549a1e39 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -1,39 +1,40 @@ -{ lib -, stdenv -, aiohttp -, apache-beam -, asttokens -, blinker -, bottle -, buildPythonPackage -, celery -, certifi -, chalice -, django -, executing -, falcon -, fetchFromGitHub -, flask -, gevent -, httpx -, jsonschema -, mock -, pure-eval -, pyrsistent -, pyspark -, pysocks -, pytest-forked -, pytest-localserver -, pytest-watch -, pytestCheckHook -, pythonOlder -, quart -, rq -, sanic -, setuptools -, sqlalchemy -, tornado -, urllib3 +{ + lib, + stdenv, + aiohttp, + apache-beam, + asttokens, + blinker, + bottle, + buildPythonPackage, + celery, + certifi, + chalice, + django, + executing, + falcon, + fetchFromGitHub, + flask, + gevent, + httpx, + jsonschema, + mock, + pure-eval, + pyrsistent, + pyspark, + pysocks, + pytest-forked, + pytest-localserver, + pytest-watch, + pytestCheckHook, + pythonOlder, + quart, + rq, + sanic, + setuptools, + sqlalchemy, + tornado, + urllib3, }: buildPythonPackage rec { @@ -50,9 +51,7 @@ buildPythonPackage rec { hash = "sha256-OWoMqJlf0vmBHWWsW6mF4u5X9USzxkFmCJyX7Ws0dD0="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ certifi @@ -60,37 +59,19 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - aiohttp = [ - aiohttp - ]; - beam = [ - apache-beam - ]; - bottle = [ - bottle - ]; - celery = [ - celery - ]; - chalice = [ - chalice - ]; - django = [ - django - ]; - falcon = [ - falcon - ]; + aiohttp = [ aiohttp ]; + beam = [ apache-beam ]; + bottle = [ bottle ]; + celery = [ celery ]; + chalice = [ chalice ]; + django = [ django ]; + falcon = [ falcon ]; flask = [ flask blinker ]; - httpx = [ - httpx - ]; - pyspark = [ - pyspark - ]; + httpx = [ httpx ]; + pyspark = [ pyspark ]; pure_eval = [ asttokens executing @@ -100,18 +81,10 @@ buildPythonPackage rec { quart blinker ]; - rq = [ - rq - ]; - sanic = [ - sanic - ]; - sqlalchemy = [ - sqlalchemy - ]; - tornado = [ - tornado - ]; + rq = [ rq ]; + sanic = [ sanic ]; + sqlalchemy = [ sqlalchemy ]; + tornado = [ tornado ]; }; nativeCheckInputs = [ @@ -137,24 +110,27 @@ buildPythonPackage rec { "test_default_release" ]; - disabledTestPaths = [ - # Varius integration tests fail every once in a while when we - # upgrade dependencies, so don't bother testing them. - "tests/integrations/" - ] ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [ - # test crashes on aarch64 - "tests/test_transport.py" - ]; + disabledTestPaths = + [ + # Varius integration tests fail every once in a while when we + # upgrade dependencies, so don't bother testing them. + "tests/integrations/" + ] + ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [ + # test crashes on aarch64 + "tests/test_transport.py" + ]; - pythonImportsCheck = [ - "sentry_sdk" - ]; + pythonImportsCheck = [ "sentry_sdk" ]; meta = with lib; { description = "Python SDK for Sentry.io"; homepage = "https://github.com/getsentry/sentry-python"; changelog = "https://github.com/getsentry/sentry-python/blob/${version}/CHANGELOG.md"; license = licenses.bsd2; - maintainers = with maintainers; [ fab gebner ]; + maintainers = with maintainers; [ + fab + gebner + ]; }; } From ecde7fd7f4b0ad8f65463cdfae09b2506b478387 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:39:38 +0200 Subject: [PATCH 0336/1387] python312Packages.sqlmap: 1.8.3 -> 1.8.4 Changelog: https://github.com/sqlmapproject/sqlmap/releases/tag/1.8.4 --- pkgs/development/python-modules/sqlmap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlmap/default.nix b/pkgs/development/python-modules/sqlmap/default.nix index 0bb9375ebe44..c151aabdb814 100644 --- a/pkgs/development/python-modules/sqlmap/default.nix +++ b/pkgs/development/python-modules/sqlmap/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "sqlmap"; - version = "1.8.3"; + version = "1.8.4"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-X3xz2ucuxr48q9gS9K19Zd7gYkRCpU+XLWMSrwiQMIo="; + hash = "sha256-zTFdGDzvPlNebsepPxXn2++22YANlDu82yprs7eHfac="; }; postPatch = '' From 13c669b3d813a004b5f8c90e4fa4f25c25b67810 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:41:39 +0200 Subject: [PATCH 0337/1387] python312Packages.sqlmap: refactor --- pkgs/development/python-modules/sqlmap/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlmap/default.nix b/pkgs/development/python-modules/sqlmap/default.nix index c151aabdb814..0f89aef9138d 100644 --- a/pkgs/development/python-modules/sqlmap/default.nix +++ b/pkgs/development/python-modules/sqlmap/default.nix @@ -4,12 +4,13 @@ , fetchPypi , file , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "sqlmap"; version = "1.8.4"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -27,6 +28,10 @@ buildPythonPackage rec { echo 'LAST_UPDATE_NAGGING_DAYS = float("inf")' >> sqlmap/lib/core/settings.py ''; + build-system = [ + setuptools + ]; + # No tests in archive doCheck = false; @@ -36,10 +41,10 @@ buildPythonPackage rec { meta = with lib; { description = "Automatic SQL injection and database takeover tool"; - mainProgram = "sqlmap"; homepage = "https://sqlmap.org"; changelog = "https://github.com/sqlmapproject/sqlmap/releases/tag/${version}"; license = licenses.gpl2Plus; maintainers = with maintainers; [ bennofs ]; + mainProgram = "sqlmap"; }; } From 513bb9b52f81a66d46cba0723eb689f348ef212e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:42:04 +0200 Subject: [PATCH 0338/1387] python312Packages.sqlmap: format with nixfmt --- .../python-modules/sqlmap/default.nix | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/sqlmap/default.nix b/pkgs/development/python-modules/sqlmap/default.nix index 0f89aef9138d..9771771c8d0f 100644 --- a/pkgs/development/python-modules/sqlmap/default.nix +++ b/pkgs/development/python-modules/sqlmap/default.nix @@ -1,10 +1,11 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, file -, pythonOlder -, setuptools +{ + lib, + stdenv, + buildPythonPackage, + fetchPypi, + file, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -28,16 +29,12 @@ buildPythonPackage rec { echo 'LAST_UPDATE_NAGGING_DAYS = float("inf")' >> sqlmap/lib/core/settings.py ''; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; # No tests in archive doCheck = false; - pythonImportsCheck = [ - "sqlmap" - ]; + pythonImportsCheck = [ "sqlmap" ]; meta = with lib; { description = "Automatic SQL injection and database takeover tool"; From 090f1039ac3cd492c5cd8ce7a876475346dff4e2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 11 Apr 2024 00:42:45 +0200 Subject: [PATCH 0339/1387] mujoco: 3.1.3 -> 3.1.4 Diff: https://github.com/google-deepmind/mujoco/compare/refs/tags/3.1.3...3.1.4 Changelog: https://github.com/google-deepmind/mujoco/releases/tag/3.1.4 --- pkgs/applications/science/robotics/mujoco/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/robotics/mujoco/default.nix b/pkgs/applications/science/robotics/mujoco/default.nix index 15d2e156a589..3013ce74a334 100644 --- a/pkgs/applications/science/robotics/mujoco/default.nix +++ b/pkgs/applications/science/robotics/mujoco/default.nix @@ -129,7 +129,7 @@ let in stdenv.mkDerivation rec { pname = "mujoco"; - version = "3.1.3"; + version = "3.1.4"; # Bumping version? Make sure to look though the MuJoCo's commit # history for bumped dependency pins! @@ -137,7 +137,7 @@ in stdenv.mkDerivation rec { owner = "google-deepmind"; repo = "mujoco"; rev = "refs/tags/${version}"; - hash = "sha256-22yH3zAD479TRNS3XSqy6PuuLqyWmjvwScUTVfKumzY="; + hash = "sha256-VgD6ditMDpHki7l23Gjip2roA8Oi4MGpxl+4gSLTEFs="; }; patches = [ ./mujoco-system-deps-dont-fetch.patch ]; From 90175aae04721840425fe07c0593b50be6490f1b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 11 Apr 2024 00:45:27 +0200 Subject: [PATCH 0340/1387] python311Packages.mujoco: 3.1.3 -> 3.1.4 Changelog: https://github.com/google-deepmind/mujoco/releases/tag/3.1.4 --- pkgs/development/python-modules/mujoco/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mujoco/default.nix b/pkgs/development/python-modules/mujoco/default.nix index 098e2a768cc0..9237dbb6501c 100644 --- a/pkgs/development/python-modules/mujoco/default.nix +++ b/pkgs/development/python-modules/mujoco/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "mujoco"; - version = "3.1.3"; + version = "3.1.4"; pyproject = true; @@ -27,7 +27,7 @@ buildPythonPackage rec { # in the project's CI. src = fetchPypi { inherit pname version; - hash = "sha256-9wDQdAMQYLRhEd22BDLQBCX4Ie7q8MzHbtldR4Yb1N4="; + hash = "sha256-GdeL1zMri/ArjXyjXTgan48WVPTHDA1/SZxtTYB8QFk="; }; nativeBuildInputs = [ cmake setuptools ]; From 4baf94dca8374d11e4f08c02ff6468a081d4e5ef Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:46:21 +0200 Subject: [PATCH 0341/1387] python312Packages.dvc-render: 1.0.1 -> 1.0.2 Diff: https://github.com/iterative/dvc-render/compare/refs/tags/1.0.1...1.0.2 Changelog: https://github.com/iterative/dvc-render/releases/tag/1.0.2 --- pkgs/development/python-modules/dvc-render/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dvc-render/default.nix b/pkgs/development/python-modules/dvc-render/default.nix index fc0a13004970..eee647d3d634 100644 --- a/pkgs/development/python-modules/dvc-render/default.nix +++ b/pkgs/development/python-modules/dvc-render/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "dvc-render"; - version = "1.0.1"; + version = "1.0.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "iterative"; repo = "dvc-render"; rev = "refs/tags/${version}"; - hash = "sha256-7rmmhf6Y6teoHR8u1+Ce1Xq0rdtC1/MWLXb282OOEnc="; + hash = "sha256-V4QVZu4PSOW9poT6YUWbgTjJpIJ8YUtGDAE4Ijgm5Ac="; }; nativeBuildInputs = [ From 60925cabbc0c0100e99ace423b2be0edff6dd049 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:46:51 +0200 Subject: [PATCH 0342/1387] python312Packages.dvc-render: refactor --- pkgs/development/python-modules/dvc-render/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/dvc-render/default.nix b/pkgs/development/python-modules/dvc-render/default.nix index eee647d3d634..23adab3c2ad3 100644 --- a/pkgs/development/python-modules/dvc-render/default.nix +++ b/pkgs/development/python-modules/dvc-render/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { hash = "sha256-V4QVZu4PSOW9poT6YUWbgTjJpIJ8YUtGDAE4Ijgm5Ac="; }; - nativeBuildInputs = [ + build-system = [ setuptools-scm ]; From 871d80c872f66f18bbb7b6f0307097fa3f3bfbc7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 00:47:18 +0200 Subject: [PATCH 0343/1387] python312Packages.dvc-render: format with nixfmt --- .../python-modules/dvc-render/default.nix | 43 ++++++++----------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/pkgs/development/python-modules/dvc-render/default.nix b/pkgs/development/python-modules/dvc-render/default.nix index 23adab3c2ad3..2cab268fecf6 100644 --- a/pkgs/development/python-modules/dvc-render/default.nix +++ b/pkgs/development/python-modules/dvc-render/default.nix @@ -1,16 +1,17 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub -, flatten-dict -, funcy -, matplotlib -, tabulate -, pytestCheckHook -, pytest-mock -, pytest-test-utils -, pythonOlder -, setuptools-scm +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, + flatten-dict, + funcy, + matplotlib, + tabulate, + pytestCheckHook, + pytest-mock, + pytest-test-utils, + pythonOlder, + setuptools-scm, }: buildPythonPackage rec { @@ -27,9 +28,7 @@ buildPythonPackage rec { hash = "sha256-V4QVZu4PSOW9poT6YUWbgTjJpIJ8YUtGDAE4Ijgm5Ac="; }; - build-system = [ - setuptools-scm - ]; + build-system = [ setuptools-scm ]; passthru.optional-dependencies = { table = [ @@ -47,17 +46,11 @@ buildPythonPackage rec { pytestCheckHook pytest-mock pytest-test-utils - ] - ++ passthru.optional-dependencies.table - ++ passthru.optional-dependencies.markdown; + ] ++ passthru.optional-dependencies.table ++ passthru.optional-dependencies.markdown; - disabledTestPaths = lib.optionals stdenv.isDarwin [ - "tests/test_vega.py" - ]; + disabledTestPaths = lib.optionals stdenv.isDarwin [ "tests/test_vega.py" ]; - pythonImportsCheck = [ - "dvc_render" - ]; + pythonImportsCheck = [ "dvc_render" ]; meta = with lib; { description = "Library for rendering DVC plots"; From 1a55c25e86ca702c41500693d01edf7fbb03d22b Mon Sep 17 00:00:00 2001 From: annalee <166473706+annaleaves@users.noreply.github.com> Date: Wed, 10 Apr 2024 23:46:15 +0000 Subject: [PATCH 0344/1387] duckdb: increase file descriptors for installCheck fixes https://github.com/NixOS/nixpkgs/issues/303226 --- pkgs/development/libraries/duckdb/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/duckdb/default.nix b/pkgs/development/libraries/duckdb/default.nix index be1a20987881..03857e962a83 100644 --- a/pkgs/development/libraries/duckdb/default.nix +++ b/pkgs/development/libraries/duckdb/default.nix @@ -108,6 +108,7 @@ stdenv.mkDerivation (finalAttrs: { in '' runHook preInstallCheck + (($(ulimit -n) < 1024)) && ulimit -n 1024 HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes} From 1a62250cc12f9d3045a5425efa56b5535e2b3fcb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 02:13:27 +0200 Subject: [PATCH 0345/1387] python312Packages.langchain: 0.1.14 -> 0.1.15 Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/v0.1.14...v0.1.15 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.1.15 --- pkgs/development/python-modules/langchain/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 3b8cc793697d..cd629d56f3da 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -51,7 +51,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.1.14"; + version = "0.1.15"; pyproject = true; disabled = pythonOlder "3.8"; @@ -60,7 +60,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/v${version}"; - hash = "sha256-wV6QFeJ/kV0nDVlA2qsJ9p1n3Yxy8Q/NZ1IX8cFtzcg="; + hash = "sha256-SjuIt3pyFOqBlWObs/sHeWvwKs1wkZsowKd74HXLiAo="; }; sourceRoot = "${src.name}/libs/langchain"; From b7f618ad85a4448cb9cb4fe81723dfb3afa8f397 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 00:31:15 +0000 Subject: [PATCH 0346/1387] daktilo: 0.5.0 -> 0.6.0 --- pkgs/tools/misc/daktilo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/daktilo/default.nix b/pkgs/tools/misc/daktilo/default.nix index b28f3b08f8cd..e557862b6713 100644 --- a/pkgs/tools/misc/daktilo/default.nix +++ b/pkgs/tools/misc/daktilo/default.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "daktilo"; - version = "0.5.0"; + version = "0.6.0"; src = fetchFromGitHub { owner = "orhun"; repo = "daktilo"; rev = "v${version}"; - hash = "sha256-kbJwBOUODtHdngbfa6HbbQJ0kgW6f64c0EG3y8wLymw="; + hash = "sha256-gIBWonJGX6IpxyBeMulcfQEExsG1GrBVQLZbBBA1ruc="; }; - cargoHash = "sha256-u9vL2HAUgP43ZDwIEK2u/I+KUEjQsfXda03gnGJ1Krc="; + cargoHash = "sha256-lBlzXTkhsEboTby5tH7WfsvZxUwtw7sLYVJRozjI1D4="; nativeBuildInputs = [ installShellFiles From 2ea8115fcf40bff8d4b8171e564ad60680120e94 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 00:57:40 +0000 Subject: [PATCH 0347/1387] git-cliff: 2.2.0 -> 2.2.1 --- pkgs/applications/version-management/git-cliff/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/git-cliff/default.nix b/pkgs/applications/version-management/git-cliff/default.nix index fd840580cade..817394cdc570 100644 --- a/pkgs/applications/version-management/git-cliff/default.nix +++ b/pkgs/applications/version-management/git-cliff/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "git-cliff"; - version = "2.2.0"; + version = "2.2.1"; src = fetchFromGitHub { owner = "orhun"; repo = "git-cliff"; rev = "v${version}"; - hash = "sha256-pOmSVySn8QUpFLTXFXBVm1KTX9ny221t1xSxBRHkljQ="; + hash = "sha256-FRcreSnSO65m9h9+SUg4qdFELvpVX1+HkWH3dI2RR/M="; }; - cargoHash = "sha256-y0XTvSV8JE6nmSJfJKLw2Gt/D/yX12kbx2+RHqVCVWI="; + cargoHash = "sha256-RlcZvyFi7fc8eJYB5X64axAnNp8Z1h0WOV4hM1SLoRk="; # attempts to run the program on .git in src which is not deterministic doCheck = false; From 80cd58c0fc275ceaaced003ec87f5b91109dfa56 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 00:58:28 +0000 Subject: [PATCH 0348/1387] grpcui: 1.3.3 -> 1.4.1 --- pkgs/tools/networking/grpcui/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/grpcui/default.nix b/pkgs/tools/networking/grpcui/default.nix index f4bca5a29911..92a5df036de1 100644 --- a/pkgs/tools/networking/grpcui/default.nix +++ b/pkgs/tools/networking/grpcui/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "grpcui"; - version = "1.3.3"; + version = "1.4.1"; src = fetchFromGitHub { owner = "fullstorydev"; repo = pname; rev = "v${version}"; - sha256 = "sha256-G4lVYwx8fYxuyHI2CzAfBQHQV/G4lf7zBwL8JTpnscA="; + sha256 = "sha256-OIwfLuWY7Y0t85v+P/0F55vEe0hNohlqMl16Omr8AF0="; }; - vendorHash = "sha256-lw8HildV1RFTGLOf6FaitbXPxr4FtVGg7GxdzBVFiTM="; + vendorHash = "sha256-dEek7q8OjFgCn+f/qyiQL/5qu8RJp38vZk3OrBREHx4="; doCheck = false; From a021f9dc78066e1dc20c2143f239bea09a4d6dd8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 00:58:40 +0000 Subject: [PATCH 0349/1387] grpcurl: 1.8.9 -> 1.9.1 --- pkgs/tools/networking/grpcurl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/grpcurl/default.nix b/pkgs/tools/networking/grpcurl/default.nix index 252a148f6fc7..3aadefc1d871 100644 --- a/pkgs/tools/networking/grpcurl/default.nix +++ b/pkgs/tools/networking/grpcurl/default.nix @@ -2,18 +2,18 @@ buildGoModule rec { pname = "grpcurl"; - version = "1.8.9"; + version = "1.9.1"; src = fetchFromGitHub { owner = "fullstorydev"; repo = "grpcurl"; rev = "v${version}"; - sha256 = "sha256-zN/vleCph919HXZZ9wsXoJBXRT6y7gjyuQxnjRMzq00="; + sha256 = "sha256-OVlFOZD4+ZXRKl0Q0Dh5Etij/zeB1jTGoY8n13AyLa4="; }; subPackages = [ "cmd/grpcurl" ]; - vendorHash = "sha256-g5G966CuaVILGAgWunHAPrrkLjSv8pBj9R4bcLzyI+A="; + vendorHash = "sha256-KsPrJC4hGrGEny8wVWE1EG00qn+b1Rrvh4qK27VzgLU="; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; From 71913aac04f206485305bbec5e010d1e573587db Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 00:59:26 +0000 Subject: [PATCH 0350/1387] helm-ls: 0.0.14 -> 0.0.15 --- pkgs/development/tools/language-servers/helm-ls/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/language-servers/helm-ls/default.nix b/pkgs/development/tools/language-servers/helm-ls/default.nix index 74c0701bce5a..337e45153f55 100644 --- a/pkgs/development/tools/language-servers/helm-ls/default.nix +++ b/pkgs/development/tools/language-servers/helm-ls/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "helm-ls"; - version = "0.0.14"; + version = "0.0.15"; src = fetchFromGitHub { owner = "mrjosh"; repo = "helm-ls"; rev = "v${version}"; - hash = "sha256-h6s4mQgahFkGHiFcSS+HjUKzOT4x82UQMR19JWX09n0="; + hash = "sha256-RRpPmpwEHrORVVXn3mVgGcOAI7nmyrl+gwIuGXAZglY="; }; vendorHash = "sha256-pV1FYhBLP0goetSr9v9iqXbeFTUHLdiIQ3ixqOsmp+Q="; From 51f1681f814e821d409de95617540397fb51bc04 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 01:10:11 +0000 Subject: [PATCH 0351/1387] ibus-engines.m17n: 1.4.28 -> 1.4.29 --- pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix index 2509659cf8ef..f2b2b3b30511 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "ibus-m17n"; - version = "1.4.28"; + version = "1.4.29"; src = fetchFromGitHub { owner = "ibus"; repo = "ibus-m17n"; rev = version; - sha256 = "sha256-3/AnytPIIi1Q2i/25rkqOZWgUCtouO+cS+TByp9neOI="; + sha256 = "sha256-KHAdGTlRdTNpSuYbT6rocbT9rSNhxCdt4Z6QSLlbBsg="; }; nativeBuildInputs = [ From 12aa54eb5083ba434c7ad0e22bcd201a41b9ed4d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 01:10:29 +0000 Subject: [PATCH 0352/1387] ibus-engines.typing-booster-unwrapped: 2.25.4 -> 2.25.6 --- .../inputmethods/ibus-engines/ibus-typing-booster/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix index e01f8f8485a6..a27c9082f7f0 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix @@ -13,13 +13,13 @@ in stdenv.mkDerivation rec { pname = "ibus-typing-booster"; - version = "2.25.4"; + version = "2.25.6"; src = fetchFromGitHub { owner = "mike-fabian"; repo = "ibus-typing-booster"; rev = version; - hash = "sha256-uTq+/g2DtiftfQvNVYIKtARyxA9Y8LE6VCeGFcWs5SQ="; + hash = "sha256-HFC6VhlA3Kt1oZd1R5bOHRMQrNiNu4J0Op1uCKOXj9w="; }; nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook gobject-introspection ]; From 67ad2fccc1ffe2ac3bb1bf946ffe872193eab09f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 01:11:48 +0000 Subject: [PATCH 0353/1387] kubernetes-helm: 3.14.3 -> 3.14.4 --- pkgs/applications/networking/cluster/helm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix index b46ed8f329b1..15599846c719 100644 --- a/pkgs/applications/networking/cluster/helm/default.nix +++ b/pkgs/applications/networking/cluster/helm/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "kubernetes-helm"; - version = "3.14.3"; + version = "3.14.4"; src = fetchFromGitHub { owner = "helm"; repo = "helm"; rev = "v${version}"; - sha256 = "sha256-GC9rkB35m+a/9pEvD7aNjE4z3qrv33NES842crrzD3I="; + sha256 = "sha256-Wt5ovKa2CHrD0VSxvReYAwoC4SsuZHAhi/P6Kn1H7So="; }; - vendorHash = "sha256-f5tLyq9tP5tdE73Mlee9vAUSHqkUAtAJkwjZP/K6wPM="; + vendorHash = "sha256-b25LUyr4B4fF/WF4Q+zzrDo78kuSTEPBklKkA4o+DBo="; subPackages = [ "cmd/helm" ]; ldflags = [ From ee7205fa8857e9646ec52b98fc02267dd4262703 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 01:12:58 +0000 Subject: [PATCH 0354/1387] micronaut: 4.3.7 -> 4.3.8 --- pkgs/development/tools/micronaut/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/micronaut/default.nix b/pkgs/development/tools/micronaut/default.nix index a126ce98314c..7acf37c5ccf8 100644 --- a/pkgs/development/tools/micronaut/default.nix +++ b/pkgs/development/tools/micronaut/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "micronaut"; - version = "4.3.7"; + version = "4.3.8"; src = fetchzip { url = "https://github.com/micronaut-projects/micronaut-starter/releases/download/v${version}/micronaut-cli-${version}.zip"; - sha256 = "sha256-TP7Ccv/Krc5l35AxyrkRmeRMSgQP9Q3BpNiHxlqLD4I="; + sha256 = "sha256-8sUXJExg1CApMbF95Lx3B/mnOJ5Y6HAck8+0UgF0bdc="; }; nativeBuildInputs = [ makeWrapper installShellFiles ]; From e122cdb5fe34b2e62ffada323dd7bdfac3fe147a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 01:24:53 +0000 Subject: [PATCH 0355/1387] namespace-cli: 0.0.354 -> 0.0.355 --- pkgs/by-name/na/namespace-cli/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/na/namespace-cli/package.nix b/pkgs/by-name/na/namespace-cli/package.nix index b98d249ad71f..0f9325f842e4 100644 --- a/pkgs/by-name/na/namespace-cli/package.nix +++ b/pkgs/by-name/na/namespace-cli/package.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "namespace-cli"; - version = "0.0.354"; + version = "0.0.355"; src = fetchFromGitHub { owner = "namespacelabs"; repo = "foundation"; rev = "v${version}"; - hash = "sha256-wO1ygoaqgCkvtVJ+ATxNGSiJpAZAqe2LXyPg8r4osQk="; + hash = "sha256-St/zZqfoate9TwYo7q9Za+T6q4kRw9vSzcBfMW7AXkw="; }; vendorHash = "sha256-a/e+xPOD9BDSlKknmfcX2tTMyIUrzKxqtUpFXcFIDSE="; From 94d3c3c65c57d46f7561e5d718537c8b52aad3ef Mon Sep 17 00:00:00 2001 From: toastal Date: Mon, 18 Mar 2024 14:08:46 +0700 Subject: [PATCH 0356/1387] movim: add bin script helper --- pkgs/by-name/mo/movim/package.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/by-name/mo/movim/package.nix b/pkgs/by-name/mo/movim/package.nix index 600af837b107..0fb4851aa109 100644 --- a/pkgs/by-name/mo/movim/package.nix +++ b/pkgs/by-name/mo/movim/package.nix @@ -1,5 +1,6 @@ { lib , fetchFromGitHub +, dash , php , phpCfg ? null , withPgsql ? true # “strongly recommended” according to docs @@ -34,10 +35,24 @@ php.buildComposerProject (finalAttrs: { vendorHash = "sha256-PBoJbVuF0Qy7nNlL4yx446ivlZpPYNIai78yC0wWkCM="; + postInstall = '' + mkdir -p $out/bin + echo "#!${lib.getExe dash}" > $out/bin/movim + echo "${lib.getExe finalAttrs.php} $out/share/php/${finalAttrs.pname}/daemon.php \"\$@\"" >> $out/bin/movim + chmod +x $out/bin/movim + + mkdir -p $out/share/{bash-completion/completion,fish/vendor_completions.d,zsh/site-functions} + $out/bin/movim completion bash | sed "s/daemon.php/movim/g" > $out/share/bash-completion/completion/movim.bash + $out/bin/movim completion fish | sed "s/daemon.php/movim/g" > $out/share/fish/vendor_completions.d/movim.fish + $out/bin/movim completion zsh | sed "s/daemon.php/movim/g" > $out/share/zsh/site-functions/_movim + chmod +x $out/share/{bash-completion/completion/movim.bash,fish/vendor_completions.d/movim.fish,zsh/site-functions/_movim} + ''; + meta = { description = "a federated blogging & chat platform that acts as a web front end for the XMPP protocol"; homepage = "https://movim.eu"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ toastal ]; + mainProgram = "movim"; }; }) From c10316a4f6337a4ef58902784fae1ecc37c8daf4 Mon Sep 17 00:00:00 2001 From: toastal Date: Fri, 22 Mar 2024 23:48:53 +0700 Subject: [PATCH 0357/1387] movim: ImageMagick fix --- pkgs/by-name/mo/movim/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/mo/movim/package.nix b/pkgs/by-name/mo/movim/package.nix index 0fb4851aa109..658e15916b7e 100644 --- a/pkgs/by-name/mo/movim/package.nix +++ b/pkgs/by-name/mo/movim/package.nix @@ -35,6 +35,14 @@ php.buildComposerProject (finalAttrs: { vendorHash = "sha256-PBoJbVuF0Qy7nNlL4yx446ivlZpPYNIai78yC0wWkCM="; + postPatch = '' + # BUGFIX: Imagick API Changes for 7.x+ + # See additionally: https://github.com/movim/movim/pull/1122 + substituteInPlace src/Movim/Image.php \ + --replace-fail "Imagick::ALPHACHANNEL_REMOVE" "Imagick::ALPHACHANNEL_OFF" \ + --replace-fail "Imagick::ALPHACHANNEL_ACTIVATE" "Imagick::ALPHACHANNEL_ON" + ''; + postInstall = '' mkdir -p $out/bin echo "#!${lib.getExe dash}" > $out/bin/movim From b094c83dd3519451ce89dfc5ddad63f9e2748473 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 01:31:47 +0000 Subject: [PATCH 0358/1387] camunda-modeler: 5.21.0 -> 5.22.0 --- pkgs/applications/misc/camunda-modeler/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/camunda-modeler/default.nix b/pkgs/applications/misc/camunda-modeler/default.nix index 89a16a7c97b7..d0065910e906 100644 --- a/pkgs/applications/misc/camunda-modeler/default.nix +++ b/pkgs/applications/misc/camunda-modeler/default.nix @@ -9,11 +9,11 @@ stdenvNoCC.mkDerivation rec { pname = "camunda-modeler"; - version = "5.21.0"; + version = "5.22.0"; src = fetchurl { url = "https://github.com/camunda/camunda-modeler/releases/download/v${version}/camunda-modeler-${version}-linux-x64.tar.gz"; - hash = "sha256-brZRYvRrOHj/HUb+w5tPkxHnJzVyFBKshk2ZO7YMzsU="; + hash = "sha256-WLJMF+G7pP7OZh6xDrO/JpNV9iX/9XBmi5kRPp3TJBI="; }; sourceRoot = "camunda-modeler-${version}-linux-x64"; From cc0f05649269e39170b59716af72ff738ef5b931 Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Thu, 11 Apr 2024 11:39:09 +1000 Subject: [PATCH 0359/1387] ryzen-smu: init at 0.1.5 A Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors. Contains monitor_cpu, a userspace tool for viewing info. Using fork of original to match ryzen_monitor_ng, a more advanced userspace tool for accessing the SMU via this kernel module, planned for a later commit. --- pkgs/os-specific/linux/ryzen-smu/default.nix | 69 ++++++++++++++++++++ pkgs/top-level/linux-kernels.nix | 2 + 2 files changed, 71 insertions(+) create mode 100644 pkgs/os-specific/linux/ryzen-smu/default.nix diff --git a/pkgs/os-specific/linux/ryzen-smu/default.nix b/pkgs/os-specific/linux/ryzen-smu/default.nix new file mode 100644 index 000000000000..7f899f2c2c90 --- /dev/null +++ b/pkgs/os-specific/linux/ryzen-smu/default.nix @@ -0,0 +1,69 @@ +{ lib +, stdenv +, fetchFromGitHub +, kernel +}: + +let + version = "0.1.5-unstable-2024-01-03"; + + ## Upstream has not been merging PRs. + ## Nixpkgs maintainers are providing a + ## repo with PRs merged until upstream is + ## updated. + src = fetchFromGitHub { + owner = "Cryolitia"; + repo = "ryzen_smu"; + rev = "ce1aa918efa33ca79998f0f7d467c04d4b07016c"; + hash = "sha256-s9SSmbL6ixWqZUKEhrZdxN4xoWgk+8ClZPoKq2FDAAE="; + }; + + monitor-cpu = stdenv.mkDerivation { + pname = "monitor-cpu"; + inherit version src; + + makeFlags = [ + "-C userspace" + ]; + + installPhase = '' + runHook preInstall + + install userspace/monitor_cpu -Dm755 -t $out/bin + + runHook postInstall + ''; + }; + +in +stdenv.mkDerivation { + pname = "ryzen-smu-${kernel.version}"; + inherit version src; + + hardeningDisable = [ "pic" ]; + + nativeBuildInputs = kernel.moduleBuildDependencies; + + makeFlags = [ + "TARGET=${kernel.modDirVersion}" + "KERNEL_BUILD=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" + ]; + + installPhase = '' + runHook preInstall + + install ryzen_smu.ko -Dm444 -t $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/ryzen_smu + install ${monitor-cpu}/bin/monitor_cpu -Dm755 -t $out/bin + + runHook postInstall + ''; + + meta = with lib; { + description = "A Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors"; + homepage = "https://gitlab.com/leogx9r/ryzen_smu"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ Cryolitia phdyellow ]; + platforms = [ "x86_64-linux" ]; + mainProgram = "monitor_cpu"; + }; +} diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 62caa91bd496..08524243faff 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -551,6 +551,8 @@ in { ithc = callPackage ../os-specific/linux/ithc { }; + ryzen-smu = callPackage ../os-specific/linux/ryzen-smu { }; + zenpower = callPackage ../os-specific/linux/zenpower { }; zfs_2_1 = callPackage ../os-specific/linux/zfs/2_1.nix { From ba0566726ec5c55f4091fb3dd93a9b313215384d Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Thu, 11 Apr 2024 11:40:43 +1000 Subject: [PATCH 0360/1387] nixos/ryzen-smu: init module Provide a module for installing ryzen_smu, a Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors. Installs monitor_cpu, a userspace tool for viewing info. Using fork of original to match ryzen_monitor_ng, a more advanced userspace tool for accessing the SMU via this kernel module, planned for a later commit. --- nixos/modules/hardware/cpu/amd-ryzen-smu.nix | 26 ++++++++++++++++++++ nixos/modules/module-list.nix | 1 + 2 files changed, 27 insertions(+) create mode 100644 nixos/modules/hardware/cpu/amd-ryzen-smu.nix diff --git a/nixos/modules/hardware/cpu/amd-ryzen-smu.nix b/nixos/modules/hardware/cpu/amd-ryzen-smu.nix new file mode 100644 index 000000000000..b1a5895aaa24 --- /dev/null +++ b/nixos/modules/hardware/cpu/amd-ryzen-smu.nix @@ -0,0 +1,26 @@ +{ config +, lib +, ... +}: +let + inherit (lib) mkEnableOption mkIf; + cfg = config.hardware.cpu.amd.ryzen-smu; + ryzen-smu = config.boot.kernelPackages.ryzen-smu; +in +{ + options.hardware.cpu.amd.ryzen-smu = { + enable = mkEnableOption '' + ryzen_smu, a linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors. + + WARNING: Damage cause by use of your AMD processor outside of official AMD specifications or outside of factory settings are not covered under any AMD product warranty and may not be covered by your board or system manufacturer's warranty + ''; + }; + + config = mkIf cfg.enable { + boot.kernelModules = [ "ryzen-smu" ]; + boot.extraModulePackages = [ ryzen-smu ]; + environment.systemPackages = [ ryzen-smu ]; + }; + + meta.maintainers = with lib.maintainers; [ Cryolitia phdyellow ]; +} diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index ec022713e12e..aee2aa2ef489 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -54,6 +54,7 @@ ./hardware/corectrl.nix ./hardware/cpu/amd-microcode.nix ./hardware/cpu/amd-sev.nix + ./hardware/cpu/amd-ryzen-smu.nix ./hardware/cpu/intel-microcode.nix ./hardware/cpu/intel-sgx.nix ./hardware/cpu/x86-msr.nix From a352dc5e0ff3b482e2aad50ca664693eafda20de Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Thu, 11 Apr 2024 11:45:42 +1000 Subject: [PATCH 0361/1387] ryzen-monitor-ng: init at 2.0.5 A userspace tool for setting and getting AMD CPU power and performance parameters. Relies on the ryzen_smu kernel module. --- pkgs/by-name/ry/ryzen-monitor-ng/package.nix | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/ry/ryzen-monitor-ng/package.nix diff --git a/pkgs/by-name/ry/ryzen-monitor-ng/package.nix b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix new file mode 100644 index 000000000000..9a9996ecf61a --- /dev/null +++ b/pkgs/by-name/ry/ryzen-monitor-ng/package.nix @@ -0,0 +1,41 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation { + pname = "ryzen-monitor-ng"; + version = "2.0.5-unstable-2023-11-05"; + + # Upstream has not updated ryzen_smu header version + # This fork corrects ryzen_smu header version and + # adds support for Matisse AMD CPUs. + src = fetchFromGitHub { + owner = "plasmin"; + repo = "ryzen_monitor_ng"; + rev = "8b7854791d78de731a45ce7d30dd17983228b7b1"; + hash = "sha256-fcW2fEsCFliRnMFnboR0jchzVIlCYbr2AE6AS06cb6o="; + }; + + ## Remove binaries committed into upstream repo + preBuild = '' + rm src/ryzen_monitor + ''; + + makeTargets = [ "clean" "install" ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + mv ./src/ryzen_monitor $out/bin + + runHook postInstall + ''; + + meta = with lib; { + description = "Access Ryzen SMU information exposed by the ryzen_smu driver"; + homepage = "https://github.com/mann1x/ryzen_monitor_ng"; + license = licenses.agpl3Only; + platforms = [ "x86_64-linux" ]; + maintainers = with maintainers; [ phdyellow ]; + mainProgram = "ryzen_monitor"; + }; +} From 286d741f474ebeabae13574c508bcd214d115a72 Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Thu, 11 Apr 2024 11:46:59 +1000 Subject: [PATCH 0362/1387] nixos/ryzen-monitor-ng: init module A userspace tool for setting and getting AMD CPU power and performance parameters. The module adds `ryzen_monitor_ng` to `environment.systemPackages` and enables the `ryzen-smu` module, as `ryzen_monitor_ng` requires the `ryzen_smu` kernel module to function. --- nixos/modules/module-list.nix | 1 + nixos/modules/programs/ryzen-monitor-ng.nix | 35 +++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 nixos/modules/programs/ryzen-monitor-ng.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index aee2aa2ef489..1eaa9a4725b1 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -245,6 +245,7 @@ ./programs/regreet.nix ./programs/rog-control-center.nix ./programs/rust-motd.nix + ./programs/ryzen-monitor-ng.nix ./programs/screen.nix ./programs/seahorse.nix ./programs/sedutil.nix diff --git a/nixos/modules/programs/ryzen-monitor-ng.nix b/nixos/modules/programs/ryzen-monitor-ng.nix new file mode 100644 index 000000000000..cb0c391ce6b1 --- /dev/null +++ b/nixos/modules/programs/ryzen-monitor-ng.nix @@ -0,0 +1,35 @@ +{ pkgs +, config +, lib +, ... +}: +let + inherit (lib) mkEnableOption mkPackageOption mkIf; + cfg = config.programs.ryzen-monitor-ng; +in +{ + options = { + programs.ryzen-monitor-ng = { + enable = mkEnableOption '' + ryzen_monitor_ng, a userspace application for setting and getting Ryzen SMU (System Management Unit) parameters via the ryzen_smu kernel driver. + + Monitor power information of Ryzen processors via the PM table of the SMU. + + SMU Set and Get for many parameters and CO counts. + + https://github.com/mann1x/ryzen_monitor_ng + + WARNING: Damage cause by use of your AMD processor outside of official AMD specifications or outside of factory settings are not covered under any AMD product warranty and may not be covered by your board or system manufacturer's warranty + ''; + + package = mkPackageOption pkgs "ryzen-monitor-ng" {}; + }; + }; + + config = mkIf cfg.enable { + environment.systemPackages = [ cfg.package ]; + hardware.cpu.amd.ryzen-smu.enable = true; + }; + + meta.maintainers = with lib.maintainers; [ Cryolitia phdyellow ]; +} From 97899b5ba66be56998c7520b44b9710b1686706f Mon Sep 17 00:00:00 2001 From: Phil Dyer Date: Fri, 1 Dec 2023 11:26:02 +1000 Subject: [PATCH 0363/1387] doc: add information about ryzen-monitor-ng and ryzen-smu modules --- nixos/doc/manual/release-notes/rl-2405.section.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 70ee02183f4f..b70e350a3549 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -50,6 +50,10 @@ In addition to numerous new and upgraded packages, this release has the followin - [maubot](https://github.com/maubot/maubot), a plugin-based Matrix bot framework. Available as [services.maubot](#opt-services.maubot.enable). +- [ryzen-monitor-ng](https://github.com/mann1x/ryzen_monitor_ng), a desktop AMD CPU power monitor and controller, similar to Ryzen Master but for Linux. Available as [programs.ryzen-monitor-ng](#opt-programs.ryzen-monitor-ng.enable) + +- [ryzen-smu](https://gitlab.com/leogx9r/ryzen_smu), Linux kernel driver to expose the SMU (System Management Unit) for certain AMD Ryzen Processors. Includes the userspace program `monitor_cpu`. Available at [hardward.cpu.amd.ryzen-smu](#opt-hardware.cpu.amd.ryzen-smu.enable) + - systemd's gateway, upload, and remote services, which provides ways of sending journals across the network. Enable using [services.journald.gateway](#opt-services.journald.gateway.enable), [services.journald.upload](#opt-services.journald.upload.enable), and [services.journald.remote](#opt-services.journald.remote.enable). - [GNS3](https://www.gns3.com/), a network software emulator. Available as [services.gns3-server](#opt-services.gns3-server.enable). From 47918937b8b017764161116c0346a9f09f3f83ab Mon Sep 17 00:00:00 2001 From: toastal Date: Fri, 22 Mar 2024 23:15:47 +0700 Subject: [PATCH 0364/1387] movim: update to latest (includes NixOS patches) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version is ‘weird’ to deal with the composer script --- pkgs/by-name/mo/movim/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/mo/movim/package.nix b/pkgs/by-name/mo/movim/package.nix index 658e15916b7e..0225dbc98018 100644 --- a/pkgs/by-name/mo/movim/package.nix +++ b/pkgs/by-name/mo/movim/package.nix @@ -9,13 +9,13 @@ php.buildComposerProject (finalAttrs: { pname = "movim"; - version = "0.23"; + version = "0.23.0.20240328"; src = fetchFromGitHub { owner = "movim"; repo = "movim"; - rev = "v${finalAttrs.version}"; - hash = "sha256-9MBe2IRYxvUuCc5m7ajvIlBU7YVm4A3RABlOOIjpKoM="; + rev = "c3a43cd7e3a1a3a6efd595470e6a85b2ec578cba"; + hash = "sha256-x0C4w3SRP3NMOhGSZOQALk6PNWUre4MvFW5cESr8Wvk="; }; php = php.buildEnv ({ @@ -33,7 +33,7 @@ php.buildComposerProject (finalAttrs: { # pinned commonmark composerStrictValidation = false; - vendorHash = "sha256-PBoJbVuF0Qy7nNlL4yx446ivlZpPYNIai78yC0wWkCM="; + vendorHash = "sha256-RFIi1I+gcagRgkDpgQeR1oGJeBGA7z9q3DCfW+ZDr2Y="; postPatch = '' # BUGFIX: Imagick API Changes for 7.x+ From de1025fdfd914e37108451448c4c4ed91436ca8f Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Wed, 10 Apr 2024 22:18:56 -0400 Subject: [PATCH 0365/1387] orc: fix build on 32-bit ARM In 0.4.36, the sed expression that tries to disable the exec_opcodes_sys test also deletes other lines that break the file syntax. The build fails with: testsuite/meson.build:23:25: ERROR: Expecting endif got colon. install: false, ^ For a block that started at 22,2 if enabled_backends.contains('sse') and enabled_backends.contains('avx') ^ The test has apparently been fixed since 0.4.33 anyway (see [1]), so just get rid of this sed patch. [1] https://gitlab.freedesktop.org/gstreamer/orc/-/commit/5d5515ea5b01c82bbe559029255f528082c4fce1 --- pkgs/development/compilers/orc/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/compilers/orc/default.nix b/pkgs/development/compilers/orc/default.nix index be01d49d5f5a..4d7be6c4b282 100644 --- a/pkgs/development/compilers/orc/default.nix +++ b/pkgs/development/compilers/orc/default.nix @@ -25,10 +25,7 @@ in stdenv.mkDerivation rec { sha256 = "sha256-g7B0y2cxfVi+8ejQzIYveuinekW7/wVqH5h8ZIiy9f0="; }; - postPatch = lib.optionalString stdenv.isAarch32 '' - # https://gitlab.freedesktop.org/gstreamer/orc/-/issues/20 - sed -i '/exec_opcodes_sys/d' testsuite/meson.build - '' + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' + postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' # This benchmark times out on Hydra.nixos.org sed -i '/memcpy_speed/d' testsuite/meson.build ''; From d8f6e7df57751b43798510143b9cdd01f018ffef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E9=9B=81=20Cryolitia?= Date: Thu, 11 Apr 2024 11:03:02 +0800 Subject: [PATCH 0366/1387] shanggu-fonts: init at 1.020 --- pkgs/by-name/sh/shanggu-fonts/package.nix | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 pkgs/by-name/sh/shanggu-fonts/package.nix diff --git a/pkgs/by-name/sh/shanggu-fonts/package.nix b/pkgs/by-name/sh/shanggu-fonts/package.nix new file mode 100644 index 000000000000..f769087d4055 --- /dev/null +++ b/pkgs/by-name/sh/shanggu-fonts/package.nix @@ -0,0 +1,70 @@ +{ + lib, + stdenvNoCC, + fetchurl, + p7zip, +}: +let + version = "1.020"; + + source = + with lib.attrsets; + mapAttrs' + ( + name: hash: + nameValuePair (lib.strings.toLower name) (fetchurl { + url = "https://github.com/GuiWonder/Shanggu/releases/download/${version}/Shanggu${name}TTCs.7z"; + inherit hash; + }) + ) + { + Mono = "sha256-PcP4zJk8pptuX9tchr4qOorqAvj8YMRBcVrtCbp/1Zo="; + Round = "sha256-3wqMdnpdn4xpw7wO+QmIpl5/vZjQGgcfTMdtewK28B8="; + Sans = "sha256-isRqIVcH24knPqPI+a+9CpxEKd+PG642giUS9+VbC60="; + Serif = "sha256-k0I0NXStE1hcdOaOykuESy6sYqBHHaMaDxxr3tJUSYU="; + }; +in +stdenvNoCC.mkDerivation { + pname = "shanggu-fonts"; + inherit version; + + outputs = [ "out" ] ++ builtins.attrNames source; + + nativeBuildInputs = [ p7zip ]; + + unpackPhase = '' + runHook preUnpack + '' + lib.strings.concatLines ( + lib.attrsets.mapAttrsToList (name: value: '' + 7z x ${value} -o${name} + '') source + ) + '' + runHook postUnpack + ''; + + installPhase = + '' + runHook preInstall + + mkdir -p $out/share/fonts/truetype + '' + + lib.strings.concatLines ( + lib.lists.forEach (builtins.attrNames source) ( + name: ('' + install -Dm444 ${name}/*.ttc -t $'' + name + ''/share/fonts/truetype + ln -s $'' + name + ''/share/fonts/truetype/*.ttc $out/share/fonts/truetype + '' + ) + ) + ) + '' + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/GuiWonder/Shanggu"; + description = "Heritage glyph (old glyph) font based on Siyuan"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ Cryolitia ]; + }; +} From f5933f5148ff7a19152248383b8a267c19d27e69 Mon Sep 17 00:00:00 2001 From: ByteSudoer Date: Thu, 11 Apr 2024 04:18:49 +0100 Subject: [PATCH 0367/1387] chess-tui: init at 1.2.0 --- pkgs/by-name/ch/chess-tui/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/ch/chess-tui/package.nix diff --git a/pkgs/by-name/ch/chess-tui/package.nix b/pkgs/by-name/ch/chess-tui/package.nix new file mode 100644 index 000000000000..d37e1956bc8f --- /dev/null +++ b/pkgs/by-name/ch/chess-tui/package.nix @@ -0,0 +1,26 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "chess-tui"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "thomas-mauran"; + repo = "chess-tui"; + rev = "${version}"; + hash = "sha256-If2xShHuqdCeasP12ZzwvGJSIKFmqJs0Hv1fBhJKoU4="; + }; + + cargoHash = "sha256-TT4lVAttlT3knufMslSVxInn9QM0QJ9jyklzwhRikWA="; + + meta = with lib;{ + description = "A chess TUI implementation in rust"; + homepage = "https://github.com/thomas-mauran/chess-tui"; + maintainers = with maintainers; [ ByteSudoer ]; + license = licenses.mit; + mainProgram = "chess-tui"; + }; +} From ac734d9b1edd6e9a73a9a08f1d99d40deeee6ee3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 03:19:22 +0000 Subject: [PATCH 0368/1387] wslu: 4.1.2 -> 4.1.3 --- pkgs/by-name/ws/wslu/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ws/wslu/package.nix b/pkgs/by-name/ws/wslu/package.nix index b45d566b0f85..015d0350af92 100644 --- a/pkgs/by-name/ws/wslu/package.nix +++ b/pkgs/by-name/ws/wslu/package.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "wslu"; - version = "4.1.2"; + version = "4.1.3"; src = fetchFromGitHub { owner = "wslutilities"; repo = "wslu"; rev = "v${version}"; - hash = "sha256-rmNGKayg8Y872yICilveMpDFBLkDZ6Ox8rqtWrK2om8="; + hash = "sha256-lyJk8nOADq+s7GkZXsd1T4ilrDzMRsoALOesG8NxYK8="; }; nativeBuildInputs = [ copyDesktopItems ]; From c9adc16471134289e252874051c9d868f98a5802 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 03:21:40 +0000 Subject: [PATCH 0369/1387] terraform: 1.7.5 -> 1.8.0 --- pkgs/applications/networking/cluster/terraform/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 94b7fe50c5a9..f5b5d9550e6d 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -167,9 +167,9 @@ rec { mkTerraform = attrs: pluggable (generic attrs); terraform_1 = mkTerraform { - version = "1.7.5"; - hash = "sha256-k/ugXlHK7lEKfOpSBXQNUdcq26rVVdjo53U+7ChJLIc="; - vendorHash = "sha256-5sCf65gFpI3y+qwDYvD08OZHNsDMg2IuDL65NMsLQ4Y="; + version = "1.8.0"; + hash = "sha256-An/ElR1tXQSb9x26R5o9gcb4XKTeVxlv+72Whcrdeoc="; + vendorHash = "sha256-xpgGceAA+kvwUp4T0m9rnbPoZ3uJHU2KIRsrcGr8dRo="; patches = [ ./provider-path-0_15.patch ]; passthru = { inherit plugins; From aa5041e9c23cde58eff59e34ba1bb1299584b57a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 03:26:27 +0000 Subject: [PATCH 0370/1387] spicedb: 1.30.0 -> 1.30.1 --- pkgs/servers/spicedb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/spicedb/default.nix b/pkgs/servers/spicedb/default.nix index c82984154879..3ef10799a5f1 100644 --- a/pkgs/servers/spicedb/default.nix +++ b/pkgs/servers/spicedb/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "spicedb"; - version = "1.30.0"; + version = "1.30.1"; src = fetchFromGitHub { owner = "authzed"; repo = "spicedb"; rev = "v${version}"; - hash = "sha256-enMUGLOoVy56PCAqfW6jTOgEr/Me6kbuUvq3YmlxMPs="; + hash = "sha256-4hxIDdmPXU+wnD6O7S/H30YIAroOWAQobAPimwwxxv0="; }; vendorHash = "sha256-lMhfCkuLuA8aj3Q+I/v/Ohof/htBJjPRmQ3c9QXsioc="; From ec1f6857a12475f620e374bb3042d4881abfbc78 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 03:31:09 +0000 Subject: [PATCH 0371/1387] python312Packages.pubnub: 7.4.3 -> 7.4.4 --- pkgs/development/python-modules/pubnub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index b6437f880ddb..27528167c30d 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pubnub"; - version = "7.4.3"; + version = "7.4.4"; pyproject = true; disabled = pythonOlder "3.7"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = pname; repo = "python"; rev = "refs/tags/v${version}"; - hash = "sha256-t3lNotfT3C2hv5AGPWZpL3wN68m8HRcjsccUz8QcY5I="; + hash = "sha256-4Paodw3t2RvAKrDMcWHIGLs5JNtH/9sP+BTyAm/hj4E="; }; build-system = [ From 1c5c38f1ce3c6c27338339ec74d7b3ca5d24a430 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 03:37:13 +0000 Subject: [PATCH 0372/1387] python312Packages.openai: 1.16.2 -> 1.17.0 --- pkgs/development/python-modules/openai/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index b61fc611b9d2..67532ed5e6df 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "openai"; - version = "1.16.2"; + version = "1.17.0"; pyproject = true; disabled = pythonOlder "3.7.1"; @@ -34,7 +34,7 @@ buildPythonPackage rec { owner = "openai"; repo = "openai-python"; rev = "refs/tags/v${version}"; - hash = "sha256-7JWwEoVEdAy+tPcaYUPN7xA62Egzlv/2NNcDqvmDYh4="; + hash = "sha256-NAfG8edQB9L72MlESqMXw6fo/s2F/BjAf5yRAmx+J/s="; }; build-system = [ From a3c17b5d6b09e994345b2b728f3f297d09058427 Mon Sep 17 00:00:00 2001 From: shivaraj-bh Date: Thu, 11 Apr 2024 09:13:08 +0530 Subject: [PATCH 0373/1387] nix-health: 0.2.3 -> 0.3.0 * add shivaraj-bh as maintainer --- pkgs/by-name/ni/nix-health/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ni/nix-health/package.nix b/pkgs/by-name/ni/nix-health/package.nix index 5a5179cfcd0a..bd9c66856ae6 100644 --- a/pkgs/by-name/ni/nix-health/package.nix +++ b/pkgs/by-name/ni/nix-health/package.nix @@ -9,15 +9,15 @@ rustPlatform.buildRustPackage rec { pname = "nix-health"; - version = "0.2.3"; + version = "0.3.0"; src = fetchCrate { inherit version; pname = "nix_health"; - hash = "sha256-WdzzEFk9VPld6AFTNRsaQbMymw1+mNn/TViGO/Qv0so="; + hash = "sha256-u5ipQnux/ulllfPFyUdeLj7gAf3Vu7KL2Q4uYxtv1q4="; }; - cargoHash = "sha256-xmuosy9T/52D90uXMQAIxtaYDOlCekNCtzpu/3GyQXE="; + cargoHash = "sha256-oTO9V+zGmMgDXrt6w1fB81b+WmK3MRI/eCTNEuVM0hk="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libiconv openssl ] @@ -30,9 +30,9 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Check the health of your Nix setup"; - homepage = "https://zero-to-flakes.com/health/"; + homepage = "https://github.com/juspay/nix-health"; license = licenses.asl20; - maintainers = with maintainers; [ srid ]; + maintainers = with maintainers; [ srid shivaraj-bh ]; mainProgram = "nix-health"; }; } From c1d5363ecc0345338802eddabc421a74c3b351a5 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Wed, 10 Apr 2024 21:12:51 -0700 Subject: [PATCH 0374/1387] nixos/cloudflared: fix docs for tlsTimeout The URL and link text were swapped. --- nixos/modules/services/networking/cloudflared.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/cloudflared.nix b/nixos/modules/services/networking/cloudflared.nix index b9556bfa60d0..76db339a1831 100644 --- a/nixos/modules/services/networking/cloudflared.nix +++ b/nixos/modules/services/networking/cloudflared.nix @@ -11,7 +11,7 @@ let default = null; example = "30s"; description = lib.mdDoc '' - Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by [https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/local-management/ingress/#tlstimeout](tlsTimeout). + Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by [tlsTimeout](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/configuration/local-management/ingress/#tlstimeout). ''; }; From 1c9801b1c18c42af0955b8467265ebeb7742cb77 Mon Sep 17 00:00:00 2001 From: RoGreat Date: Wed, 10 Apr 2024 23:05:00 -0500 Subject: [PATCH 0375/1387] streamlink-twitch-gui-bin: icons --- pkgs/applications/video/streamlink-twitch-gui/bin.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/streamlink-twitch-gui/bin.nix b/pkgs/applications/video/streamlink-twitch-gui/bin.nix index ac74ed748f41..f425f50b249e 100644 --- a/pkgs/applications/video/streamlink-twitch-gui/bin.nix +++ b/pkgs/applications/video/streamlink-twitch-gui/bin.nix @@ -92,8 +92,13 @@ stdenv.mkDerivation rec { # Install all files, remove unnecessary ones cp -a . $out/opt/${basename}/ rm -r $out/opt/${basename}/{{add,remove}-menuitem.sh,credits.html,icons/} - ln -s "$out/opt/${basename}/${basename}" $out/bin/ - cp -r "${desktopItem}/share/applications" $out/share/ + ln -s $out/opt/${basename}/${basename} $out/bin/ + for res in 16 32 48 64 128 256; do + install -Dm644 \ + icons/icon-"$res".png \ + $out/share/icons/hicolor/"$res"x"$res"/apps/${basename}.png + done + ln -s $desktopItem/share/applications $out/share/ runHook postInstall ''; From 1198dc84f8584a37e4146919d24016ceaf3f4dd8 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 10 Apr 2024 23:59:31 +0530 Subject: [PATCH 0376/1387] nixos/hyprland: systemd.setPath - fix user profile bin directory %u modifier can be used to get the username in systemd config $USER var expansion does not work without manually importing $USER Should fix opening links in home manager/user profile programs --- nixos/modules/programs/wayland/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix index ccc701c547c0..5891ff25e437 100644 --- a/nixos/modules/programs/wayland/hyprland.nix +++ b/nixos/modules/programs/wayland/hyprland.nix @@ -76,7 +76,7 @@ in systemd = mkIf cfg.systemd.setPath.enable { user.extraConfig = '' - DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/$USER/bin:/run/wrappers/bin" + DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/%u/bin:/run/wrappers/bin" ''; }; }; From 96731aab0fbe1cb9a4f92d5d5c1ace31b81a21e2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 06:37:39 +0000 Subject: [PATCH 0377/1387] flowblade: 2.12.0.2 -> 2.14.0.1 --- pkgs/applications/video/flowblade/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/flowblade/default.nix b/pkgs/applications/video/flowblade/default.nix index 004601163190..4e558d335e03 100644 --- a/pkgs/applications/video/flowblade/default.nix +++ b/pkgs/applications/video/flowblade/default.nix @@ -5,18 +5,18 @@ stdenv.mkDerivation rec { pname = "flowblade"; - version = "2.12.0.2"; + version = "2.14.0.1"; src = fetchFromGitHub { owner = "jliljebl"; repo = pname; rev = "v${version}"; - sha256 = "sha256-SZ/J03PYeAbqQlNQXdqLSduo/5VjQ7VH4eErJqO3Ua0="; + sha256 = "sha256-kyW/vYKGy/tgHmev8LgJbGugfKkzKFwLZStQQfWYPuQ="; }; buildInputs = [ ffmpeg frei0r sox gtk3 ladspaPlugins - (python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow ])) + (python3.withPackages (ps: with ps; [ mlt pygobject3 dbus-python numpy pillow libusb1 ])) ]; nativeBuildInputs = [ gobject-introspection makeWrapper wrapGAppsHook ]; From 646500b85fd9a0cfd397aaee67c6458a0cc94034 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 04:45:01 +0000 Subject: [PATCH 0378/1387] gitu: 0.13.1 -> 0.15.0 --- pkgs/by-name/gi/gitu/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gi/gitu/package.nix b/pkgs/by-name/gi/gitu/package.nix index 9ad397566547..7948fdd82966 100644 --- a/pkgs/by-name/gi/gitu/package.nix +++ b/pkgs/by-name/gi/gitu/package.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "gitu"; - version = "0.13.1"; + version = "0.15.0"; src = fetchFromGitHub { owner = "altsem"; repo = "gitu"; rev = "v${version}"; - hash = "sha256-1wfc3n3uSkox2wa5i+Qiv7PZ0d2dXXbwjWw8NMXJXj8="; + hash = "sha256-/yPP8GzeaVMauhcYLDAgXzOafUpOhJF2tyHOyD6KWS8="; }; - cargoHash = "sha256-JwNyzA6D8mIzp/+egjD2C7T9mGbcCKKtwFRXBuXMQ+U="; + cargoHash = "sha256-eKRFPnH9MvSykrnPo4dc5DtEfb79s0hBtmYfERGQbWg="; nativeBuildInputs = [ pkg-config From 68b0265ab5c2b420f916b4f51880f5bcbf6a51ff Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:13:40 +0530 Subject: [PATCH 0379/1387] ananicy-rules-cachyos: unstable-2023-10-11 -> unstable-2024-04-10 commit: de55e2f55e6adf559bf4990aa433f5c202dc073d adding myself as maintainer --- pkgs/misc/ananicy-rules-cachyos/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/ananicy-rules-cachyos/default.nix b/pkgs/misc/ananicy-rules-cachyos/default.nix index 096528fa3538..c73f9e3b3fb9 100644 --- a/pkgs/misc/ananicy-rules-cachyos/default.nix +++ b/pkgs/misc/ananicy-rules-cachyos/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "ananicy"; - version = "unstable-2023-10-11"; + version = "unstable-2024-04-10"; src = fetchFromGitHub { owner = "CachyOS"; repo = "ananicy-rules"; - rev = "3dafc3eb667b6ed7024359de78bf961c7248954d"; - sha256 = "sha256-bMwM/2R6jdgrQ6C0JnHyMp9L4OWI6KVGcninrr7wLQ8="; + rev = "de55e2f55e6adf559bf4990aa433f5c202dc073d"; + sha256 = "sha256-TWaOMVEeTLI67eG5BPyb+OSnz31QvTueQD2yfEEbTEo="; }; dontConfigure = true; @@ -27,6 +27,6 @@ stdenv.mkDerivation rec { description = "ananicy-cpp-rules for CachyOS "; license = licenses.gpl3Only; platforms = platforms.linux; - maintainers = with maintainers; [ artturin ]; + maintainers = with maintainers; [ artturin johnrtitor ]; }; } From 15d162adaee36b32ffbbd8f6d50c4bb0cb0252a8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 04:59:51 +0000 Subject: [PATCH 0380/1387] cnquery: 10.11.0 -> 10.11.1 --- pkgs/tools/security/cnquery/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/cnquery/default.nix b/pkgs/tools/security/cnquery/default.nix index a731d5e4e661..a2f9cd1c4dc4 100644 --- a/pkgs/tools/security/cnquery/default.nix +++ b/pkgs/tools/security/cnquery/default.nix @@ -6,18 +6,18 @@ buildGoModule rec { pname = "cnquery"; - version = "10.11.0"; + version = "10.11.1"; src = fetchFromGitHub { owner = "mondoohq"; repo = "cnquery"; rev = "refs/tags/v${version}"; - hash = "sha256-Dm001NDTi+KO3+OoF9f/X/m83KtqfnWmj0hZU6Zf71k="; + hash = "sha256-0poDqU4R6sr1Fkpq0snFZ5gEUU2Es8V9NRcZpxQb/xU="; }; subPackages = [ "apps/cnquery" ]; - vendorHash = "sha256-prtiCzIJizh0/viXwYylJc+GS2dVpNlBd3YvIDfltvs="; + vendorHash = "sha256-5jbxZVSmqZ7VFDsBcgf1HIlVRUvewENT0k+YWgbnnrQ="; ldflags = [ "-w" From 39447b3f0701bed3f66b03533d9f1057b50cb759 Mon Sep 17 00:00:00 2001 From: Vinny Meller Date: Thu, 11 Apr 2024 00:59:50 -0400 Subject: [PATCH 0381/1387] _0xpropo: init at 1.000 --- pkgs/by-name/_0/_0xpropo/package.nix | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/_0/_0xpropo/package.nix diff --git a/pkgs/by-name/_0/_0xpropo/package.nix b/pkgs/by-name/_0/_0xpropo/package.nix new file mode 100644 index 000000000000..74bf73cf935f --- /dev/null +++ b/pkgs/by-name/_0/_0xpropo/package.nix @@ -0,0 +1,33 @@ +{ + lib, + stdenvNoCC, + fetchzip, +}: +stdenvNoCC.mkDerivation rec { + pname = "0xpropo"; + version = "1.000"; + + src = let + underscoreVersion = builtins.replaceStrings ["."] ["_"] version; + in + fetchzip { + url = "https://github.com/0xType/0xPropo/releases/download/${version}/0xPropo_${underscoreVersion}.zip"; + hash = "sha256-yIhabwHjBipkcmsSRaokBXCbawQkUNOU8v+fbn2iiY4="; + }; + + installPhase = '' + runHook preInstall + install -Dm644 -t $out/share/fonts/opentype/ *.otf + install -Dm644 -t $out/share/fonts/truetype/ *.ttf + runHook postInstall + ''; + + meta = with lib; { + description = "Proportional version of the 0xProto font"; + homepage = "https://github.com/0xType/0xPropo"; + changelog = "https://github.com/0xType/0xPropo/releases/tag/${version}"; + license = licenses.ofl; + maintainers = with maintainers; [vinnymeller]; + platforms = platforms.all; + }; +} From ad0527eef5d9443498a5c7068aa1d588bfa8c2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Thu, 11 Apr 2024 07:13:18 +0200 Subject: [PATCH 0382/1387] eza: 0.18.9 -> 0.18.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christina Sørensen --- pkgs/by-name/ez/eza/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ez/eza/package.nix b/pkgs/by-name/ez/eza/package.nix index 73818c14c2a5..3e258bfca5b5 100644 --- a/pkgs/by-name/ez/eza/package.nix +++ b/pkgs/by-name/ez/eza/package.nix @@ -17,16 +17,16 @@ rustPlatform.buildRustPackage rec { pname = "eza"; - version = "0.18.9"; + version = "0.18.10"; src = fetchFromGitHub { owner = "eza-community"; repo = "eza"; rev = "v${version}"; - hash = "sha256-SXGJTxTHCizgVBLp5fO5Appfe1B3+DFrobxc/aIlJRo="; + hash = "sha256-qXyuibsgEF/wv2736r3EMpoXjyDFI3QFjVRsg9cI0u0="; }; - cargoHash = "sha256-COq1WSX7DUoXb7ojISyzmDV/a3zqXI0oKCSsPPi4/CA="; + cargoHash = "sha256-9xtJJDP3f4aRPTgnpor0nSp5ehbX7Qt9U3LN9kkDWrI="; nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; buildInputs = [ zlib ] From 05f88d633296efd33455c5d8a8fb0e8ec592c213 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 05:14:48 +0000 Subject: [PATCH 0383/1387] ex_doc: 0.31.2 -> 0.32.0 --- pkgs/development/beam-modules/ex_doc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/beam-modules/ex_doc/default.nix b/pkgs/development/beam-modules/ex_doc/default.nix index 2eb92f1ac4c0..0bbb71dcd6f5 100644 --- a/pkgs/development/beam-modules/ex_doc/default.nix +++ b/pkgs/development/beam-modules/ex_doc/default.nix @@ -3,12 +3,12 @@ let pname = "ex_doc"; - version = "0.31.2"; + version = "0.32.0"; src = fetchFromGitHub { owner = "elixir-lang"; repo = "${pname}"; rev = "v${version}"; - hash = "sha256-qUiXZ1KHD9sS1xG7QNYyrZVzPqerwCRdkN8URrlQ45g="; + hash = "sha256-JLtMoPuXFKcjXaeVv1PdMzb6rZItTkXDAs4hXqTY/vw="; }; in mixRelease { From 0770ab6a87f419e32a9d9785eb0ea6438dd255cd Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 4 Apr 2024 07:20:18 +0200 Subject: [PATCH 0384/1387] ocamlPackages.zed: remove at 3.1.0 for OCaml < 4.08 --- .../development/ocaml-modules/zed/default.nix | 26 +++---------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/pkgs/development/ocaml-modules/zed/default.nix b/pkgs/development/ocaml-modules/zed/default.nix index 882dfb23996e..4b05b21c69d1 100644 --- a/pkgs/development/ocaml-modules/zed/default.nix +++ b/pkgs/development/ocaml-modules/zed/default.nix @@ -1,34 +1,16 @@ -{ lib, buildDunePackage, fetchFromGitHub, ocaml, react, charInfo_width, result, uchar, uutf, uucp, uuseg }: - -let - switch = - if lib.versionAtLeast ocaml.version "4.08" - then - { - version = "3.2.3"; - sha256 = "sha256-lbhqjZxeUqHdd+yahRO+B6L2mc+h+4T2+qKVgWC2HY8="; - propagatedBuildInputs = [ react result uchar uutf uucp uuseg ]; - } - else - { - version = "3.1.0"; - sha256 = "04vr1a94imsghm98iigc35rhifsz0rh3qz2qm0wam2wvp6vmrx0p"; - propagatedBuildInputs = [ charInfo_width react ]; - }; -in +{ lib, buildDunePackage, fetchFromGitHub, react, result, uchar, uutf, uucp, uuseg }: buildDunePackage rec { pname = "zed"; + version = "3.2.3"; - inherit (switch) version propagatedBuildInputs; - - duneVersion = "3"; + propagatedBuildInputs = [ react result uchar uutf uucp uuseg ]; src = fetchFromGitHub { owner = "ocaml-community"; repo = pname; rev = version; - sha256 = switch.sha256; + sha256 = "sha256-lbhqjZxeUqHdd+yahRO+B6L2mc+h+4T2+qKVgWC2HY8="; }; meta = { From ff51a64adbb7c75ea05a680aa6a8bda7e3eda4e5 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 4 Apr 2024 08:40:26 +0200 Subject: [PATCH 0385/1387] ocamlPackages.charInfo_width: remove at 1.1.0 --- .../ocaml-modules/charInfo_width/default.nix | 22 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 24 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/charInfo_width/default.nix diff --git a/pkgs/development/ocaml-modules/charInfo_width/default.nix b/pkgs/development/ocaml-modules/charInfo_width/default.nix deleted file mode 100644 index ab4e53a42b35..000000000000 --- a/pkgs/development/ocaml-modules/charInfo_width/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, fetchzip, buildDunePackage, camomile, result }: - -buildDunePackage rec { - pname = "charInfo_width"; - version = "1.1.0"; - src = fetchzip { - url = "https://bitbucket.org/zandoye/charinfo_width/get/${version}.tar.bz2"; - sha256 = "19mnq9a1yr16srqs8n6hddahr4f9d2gbpmld62pvlw1ps7nfrp9w"; - }; - - propagatedBuildInputs = [ - (camomile.override { version = "1.0.2"; }) - result - ]; - - meta = { - homepage = "https://bitbucket.org/zandoye/charinfo_width/"; - description = "Determine column width for a character"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.vbgl ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index c600ff12c8ae..50fcac2c0767 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -186,8 +186,6 @@ let chacha = callPackage ../development/ocaml-modules/chacha { }; - charInfo_width = callPackage ../development/ocaml-modules/charInfo_width { }; - checkseum = callPackage ../development/ocaml-modules/checkseum { }; chrome-trace = callPackage ../development/ocaml-modules/chrome-trace { }; From 3ef25cb316a3ed9c165f1855a6bc58e72e217ef2 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 10 Apr 2024 19:23:07 +0200 Subject: [PATCH 0386/1387] trafficserver: 9.2.3 -> 9.2.4 Fixes CVE-2024-31309. https://lists.apache.org/thread/f9qh3g3jvy153wh82pz4onrfj1wh13kc Changes: https://raw.githubusercontent.com/apache/trafficserver/9.2.x/CHANGELOG-9.2.4 --- pkgs/servers/http/trafficserver/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/trafficserver/default.nix b/pkgs/servers/http/trafficserver/default.nix index a49acfe9fce8..3a12a34c93f5 100644 --- a/pkgs/servers/http/trafficserver/default.nix +++ b/pkgs/servers/http/trafficserver/default.nix @@ -49,11 +49,11 @@ stdenv.mkDerivation rec { pname = "trafficserver"; - version = "9.2.3"; + version = "9.2.4"; src = fetchzip { url = "mirror://apache/trafficserver/trafficserver-${version}.tar.bz2"; - hash = "sha256-WqRqf10QKYepCoaNzG26O2jv54Do3qFawDupSkrAPKk="; + hash = "sha256-oB3Wv4F6d0+lT1zIDUemgOJzwj+9Nz3uTklkXiWTBKg="; }; # NOTE: The upstream README indicates that flex is needed for some features, From cf6c4e59fb5715a44735f53da8c8ab806538b6c8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 08:07:18 +0200 Subject: [PATCH 0387/1387] python312Packages.pubnub: format with nixfmt --- .../python-modules/pubnub/default.nix | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix index 27528167c30d..58b6bd159d50 100644 --- a/pkgs/development/python-modules/pubnub/default.nix +++ b/pkgs/development/python-modules/pubnub/default.nix @@ -1,16 +1,17 @@ -{ lib -, aiohttp -, buildPythonPackage -, busypie -, cbor2 -, fetchFromGitHub -, pycryptodomex -, pytestCheckHook -, pytest-vcr -, pytest-asyncio -, requests -, pythonOlder -, setuptools +{ + lib, + aiohttp, + buildPythonPackage, + busypie, + cbor2, + fetchFromGitHub, + pycryptodomex, + pytestCheckHook, + pytest-vcr, + pytest-asyncio, + requests, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -21,15 +22,13 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = pname; + owner = "pubnub"; repo = "python"; rev = "refs/tags/v${version}"; hash = "sha256-4Paodw3t2RvAKrDMcWHIGLs5JNtH/9sP+BTyAm/hj4E="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ aiohttp @@ -57,9 +56,7 @@ buildPythonPackage rec { "test_handshaking" ]; - pythonImportsCheck = [ - "pubnub" - ]; + pythonImportsCheck = [ "pubnub" ]; meta = with lib; { description = "Python-based APIs for PubNub"; From d3fb90b7efcec9a2a3d7c9334373e833fbef273b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 06:10:00 +0000 Subject: [PATCH 0388/1387] weaviate: 1.24.7 -> 1.24.8 --- pkgs/servers/search/weaviate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/search/weaviate/default.nix b/pkgs/servers/search/weaviate/default.nix index 3072c846f79c..9f814dd68e2a 100644 --- a/pkgs/servers/search/weaviate/default.nix +++ b/pkgs/servers/search/weaviate/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "weaviate"; - version = "1.24.7"; + version = "1.24.8"; src = fetchFromGitHub { owner = "weaviate"; repo = "weaviate"; rev = "v${version}"; - hash = "sha256-KLKzHB+MzaLifMNdMCziFNawFBMUWJ75Xozu53yvJFU="; + hash = "sha256-OydGohfsS2/Wb9uuFP+6IogmfiWMFLBIEdooFJwS3TU="; }; vendorHash = "sha256-DMzwIxtF267C2OLyVdZ6CrCz44sy6ZeKL2qh8AkhS2I="; From bb40bf4a04eecea814b1b92dfd0c4987e645002e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 08:18:02 +0200 Subject: [PATCH 0389/1387] checkov: 3.2.55 -> 3.2.60 Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.55...3.2.60 Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.60 --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index bbc7eac5e93c..de8618c34d99 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "checkov"; - version = "3.2.55"; + version = "3.2.60"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; rev = "refs/tags/${version}"; - hash = "sha256-uhR+DnedQ2xn90/cCrZknBeV15WLzPWnoNRszz2vC3w="; + hash = "sha256-uHHNbfapnMDhIsOHRAsxNuRCvf6N3Wui/lU5lQpr+7Y="; }; patches = [ ./flake8-compat-5.x.patch ]; From 9532793d59f929073f8ed4cf61d1580f5b75fe02 Mon Sep 17 00:00:00 2001 From: Casey Link Date: Fri, 5 Apr 2024 09:38:19 +0200 Subject: [PATCH 0390/1387] nixos/paperless: refactor to use systemd LoadCredential This replaces the paperless-copy-password service with the use of systemd's LoadCredential mechanism. It is not a breaking change since it is gated behind `cfg.passwordFile`. --- nixos/modules/services/misc/paperless.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index 9301d1f68725..1a2b5f45b2f7 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -238,6 +238,7 @@ in User = cfg.user; ExecStart = "${pkg}/bin/celery --app paperless beat --loglevel INFO"; Restart = "on-failure"; + LoadCredential = lib.optionalString (cfg.passwordFile != null) "PAPERLESS_ADMIN_PASSWORD:${cfg.passwordFile}"; }; environment = env; @@ -270,7 +271,7 @@ in '' + optionalString (cfg.passwordFile != null) '' export PAPERLESS_ADMIN_USER="''${PAPERLESS_ADMIN_USER:-admin}" - export PAPERLESS_ADMIN_PASSWORD=$(cat "${cfg.dataDir}/superuser-password") + export PAPERLESS_ADMIN_PASSWORD=$(cat $CREDENTIALS_DIRECTORY/PAPERLESS_ADMIN_PASSWORD) superuserState="$PAPERLESS_ADMIN_USER:$PAPERLESS_ADMIN_PASSWORD" superuserStateFile="${cfg.dataDir}/superuser-state" @@ -298,19 +299,6 @@ in environment = env; }; - # Reading the user-provided password file requires root access - systemd.services.paperless-copy-password = mkIf (cfg.passwordFile != null) { - requiredBy = [ "paperless-scheduler.service" ]; - before = [ "paperless-scheduler.service" ]; - serviceConfig = { - ExecStart = '' - ${pkgs.coreutils}/bin/install --mode 600 --owner '${cfg.user}' --compare \ - '${cfg.passwordFile}' '${cfg.dataDir}/superuser-password' - ''; - Type = "oneshot"; - }; - }; - systemd.services.paperless-consumer = { description = "Paperless document consumer"; # Bind to `paperless-scheduler` so that the consumer never runs From 789684ad02f78823a485b9ff3d49db0219520ba4 Mon Sep 17 00:00:00 2001 From: Casey Link Date: Wed, 10 Apr 2024 17:30:55 +0200 Subject: [PATCH 0391/1387] nixos/paperless: Switch to `systemd.tmpfiles.settings` This option resolves #301746 by allowing the admin to bypass the creation of the paperless directories by systemd-tmpfiles. This is necessary when, for example, those directories lie inside an NFS mount that the root user does not have rw access to. Fixes #301746 --- nixos/modules/services/misc/paperless.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index 1a2b5f45b2f7..9a81fdde62af 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -220,15 +220,16 @@ in config = mkIf cfg.enable { services.redis.servers.paperless.enable = mkIf enableRedis true; - systemd.tmpfiles.rules = [ - "d '${cfg.dataDir}' - ${cfg.user} ${config.users.users.${cfg.user}.group} - -" - "d '${cfg.mediaDir}' - ${cfg.user} ${config.users.users.${cfg.user}.group} - -" - (if cfg.consumptionDirIsPublic then - "d '${cfg.consumptionDir}' 777 - - - -" - else - "d '${cfg.consumptionDir}' - ${cfg.user} ${config.users.users.${cfg.user}.group} - -" - ) - ]; + systemd.tmpfiles.settings."10-paperless" = let + defaultRule = { + inherit (cfg) user; + inherit (config.users.users.${cfg.user}) group; + }; + in { + "${cfg.dataDir}".d = defaultRule; + "${cfg.mediaDir}".d = defaultRule; + "${cfg.consumptionDir}".d = if cfg.consumptionDirIsPublic then { mode = "777"; } else defaultRule; + }; systemd.services.paperless-scheduler = { description = "Paperless Celery Beat"; From 7ba38acb5171819f163cea6916f3df0e35b44861 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 08:19:47 +0200 Subject: [PATCH 0392/1387] checkov: split inputs --- pkgs/development/tools/analysis/checkov/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index de8618c34d99..5adeefc36d32 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -40,10 +40,13 @@ python3.pkgs.buildPythonApplication rec { ]; build-system = with python3.pkgs; [ - pythonRelaxDepsHook setuptools-scm ]; + nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook + ]; + dependencies = with python3.pkgs; [ aiodns aiohttp From 13ceab7595325852f91ae22deae0009a80f77df7 Mon Sep 17 00:00:00 2001 From: Corinna Raab Date: Thu, 11 Apr 2024 08:45:32 +0200 Subject: [PATCH 0393/1387] python312Packages.clifford: add meta.changelog --- pkgs/development/python-modules/clifford/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/clifford/default.nix b/pkgs/development/python-modules/clifford/default.nix index 84859729c5b1..29086e65b281 100644 --- a/pkgs/development/python-modules/clifford/default.nix +++ b/pkgs/development/python-modules/clifford/default.nix @@ -62,6 +62,7 @@ buildPythonPackage rec { meta = with lib; { description = "Numerical Geometric Algebra Module"; homepage = "https://clifford.readthedocs.io"; + changelog = "https://github.com/pygae/clifford/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; }; From 54ad90b9cd55a0543c66c5349956f15993e2c620 Mon Sep 17 00:00:00 2001 From: Corinna Raab Date: Thu, 11 Apr 2024 08:47:10 +0200 Subject: [PATCH 0394/1387] python312Packages.clifford: migrate to build-system --- pkgs/development/python-modules/clifford/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/clifford/default.nix b/pkgs/development/python-modules/clifford/default.nix index 29086e65b281..bf44cbf3c453 100644 --- a/pkgs/development/python-modules/clifford/default.nix +++ b/pkgs/development/python-modules/clifford/default.nix @@ -7,6 +7,7 @@ , numba , numpy , pytestCheckHook +, setuptools , scipy , sparse }: @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "clifford"; version = "1.4.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.5"; @@ -23,7 +24,11 @@ buildPythonPackage rec { hash = "sha256-eVE8FrD0YHoRreY9CrNb8v4v4KrG83ZU0oFz+V+p+Q0="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ h5py numba numpy From e78bd02879db01086453de0877974bcb2ef0c027 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 06:49:14 +0000 Subject: [PATCH 0395/1387] libserdes: 7.6.0 -> 7.6.1 --- pkgs/development/libraries/libserdes/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libserdes/default.nix b/pkgs/development/libraries/libserdes/default.nix index ac776c4e4231..cc66f4cc1308 100644 --- a/pkgs/development/libraries/libserdes/default.nix +++ b/pkgs/development/libraries/libserdes/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { pname = "libserdes"; - version = "7.6.0"; + version = "7.6.1"; src = fetchFromGitHub { owner = "confluentinc"; From ea97563cf1ed50ce951a339e244c5b9c3b5e82bf Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 11 Apr 2024 08:02:56 +0100 Subject: [PATCH 0396/1387] scrutiny: 0.8.0 -> 0.8.1 Also driveby to add the changelog attribute to meta --- pkgs/by-name/sc/scrutiny/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sc/scrutiny/package.nix b/pkgs/by-name/sc/scrutiny/package.nix index 34712b96e431..179365c49dfe 100644 --- a/pkgs/by-name/sc/scrutiny/package.nix +++ b/pkgs/by-name/sc/scrutiny/package.nix @@ -7,13 +7,13 @@ }: let pname = "scrutiny"; - version = "0.8.0"; + version = "0.8.1"; src = fetchFromGitHub { owner = "AnalogJ"; repo = "scrutiny"; rev = "refs/tags/v${version}"; - hash = "sha256-ysjE2nn1WwhEiFIvJ5cRCJQf9mECTgiGUyenwf3mKTA="; + hash = "sha256-WoU5rdsIEhZQ+kPoXcestrGXC76rFPvhxa0msXjFsNg="; }; frontend = buildNpmPackage { @@ -64,6 +64,7 @@ buildGoModule rec { meta = { description = "Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds."; homepage = "https://github.com/AnalogJ/scrutiny"; + changelog = "https://github.com/AnalogJ/scrutiny/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jnsgruk ]; mainProgram = "scrutiny"; From 4ec09aff58edc116a66ba94909a2423b2425b6dc Mon Sep 17 00:00:00 2001 From: Corinna Raab Date: Thu, 11 Apr 2024 09:05:09 +0200 Subject: [PATCH 0397/1387] python312Packages.clifford: mark as broken Doesn't work with latest numba https://github.com/pygae/clifford/issues/430 https://github.com/numba/numba/pull/9353 --- pkgs/development/python-modules/clifford/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/clifford/default.nix b/pkgs/development/python-modules/clifford/default.nix index bf44cbf3c453..6a590af483a7 100644 --- a/pkgs/development/python-modules/clifford/default.nix +++ b/pkgs/development/python-modules/clifford/default.nix @@ -70,5 +70,8 @@ buildPythonPackage rec { changelog = "https://github.com/pygae/clifford/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ ]; + # Broken with numba >= 0.54 + # see https://github.com/pygae/clifford/issues/430 + broken = versionAtLeast numba.version "0.58"; }; } From 303fb35953de8f496bc2037b27e739c442c1f0ed Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 11 Apr 2024 08:10:41 +0100 Subject: [PATCH 0398/1387] lxd-ui: 0.7 -> 0.8 --- pkgs/by-name/lx/lxd-ui/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/lx/lxd-ui/package.nix b/pkgs/by-name/lx/lxd-ui/package.nix index 817636666275..99b601003703 100644 --- a/pkgs/by-name/lx/lxd-ui/package.nix +++ b/pkgs/by-name/lx/lxd-ui/package.nix @@ -11,18 +11,18 @@ stdenv.mkDerivation rec { pname = "lxd-ui"; - version = "0.7"; + version = "0.8"; src = fetchFromGitHub { owner = "canonical"; repo = "lxd-ui"; rev = "refs/tags/${version}"; - hash = "sha256-DJLkXZpParmEYHbTpl6KFC9l9y5DqzUTrC0pb2dJXI4="; + hash = "sha256-oD/GPm84oFXHcZ8vTUzNgQinrHwNuvpeVjsrp8ibIZY="; }; offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; - hash = "sha256-ckTWE/czzvxbGOF8fsJ3W1sal7+NaHquoSjZSPjkGj4="; + hash = "sha256-hRZ0vbksxnUv4XMrbhP2PI94UYYzwrydJHSx+uf+MbI="; }; nativeBuildInputs = [ From 35085ab73009898b5e9d74f1792883773eb2c4b5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 10 Apr 2024 18:45:38 +0300 Subject: [PATCH 0399/1387] ubootTuringRK1: init --- pkgs/misc/uboot/default.nix | 8 ++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 9 insertions(+) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index ef17ac96f857..837070e65614 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -607,6 +607,14 @@ in { filesToInstall = ["u-boot-sunxi-with-spl.bin"]; }; + ubootTuringRK1 = buildUBoot { + defconfig = "turing-rk1-rk3588_defconfig"; + extraMeta.platforms = [ "aarch64-linux" ]; + BL31 = "${armTrustedFirmwareRK3588}/bl31.elf"; + ROCKCHIP_TPL = rkbin.TPL_RK3588; + filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" ]; + }; + ubootUtilite = buildUBoot { defconfig = "cm_fx6_defconfig"; extraMeta.platforms = ["armv7l-linux"]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24c64d4e9287..e583111e1a99 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28352,6 +28352,7 @@ with pkgs; ubootROCPCRK3399 ubootSheevaplug ubootSopine + ubootTuringRK1 ubootUtilite ubootWandboard ; From 42041589e4f414deffa4faff0c045c6b8fb61653 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 11 Apr 2024 08:11:00 +0100 Subject: [PATCH 0400/1387] lxd-ui: add nix-update-script and meta.changelog --- pkgs/by-name/lx/lxd-ui/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/lx/lxd-ui/package.nix b/pkgs/by-name/lx/lxd-ui/package.nix index 99b601003703..e5bc293e873b 100644 --- a/pkgs/by-name/lx/lxd-ui/package.nix +++ b/pkgs/by-name/lx/lxd-ui/package.nix @@ -7,6 +7,7 @@ prefetch-yarn-deps, yarn, nixosTests, + nix-update-script, }: stdenv.mkDerivation rec { @@ -60,10 +61,12 @@ stdenv.mkDerivation rec { ''; passthru.tests.default = nixosTests.lxd.ui; + passthru.updateScript = nix-update-script { }; meta = { description = "Web user interface for LXD"; homepage = "https://github.com/canonical/lxd-ui"; + changelog = "https://github.com/canonical/lxd-ui/releases/tag/${version}"; license = lib.licenses.gpl3; maintainers = lib.teams.lxc.members; platforms = lib.platforms.linux; From 38d5073d56dbc3538c80246bb9c2a6e4cce2b9c0 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 11 Apr 2024 09:24:05 +0200 Subject: [PATCH 0401/1387] vscode-extensions.mgt19937.typst-preview: 0.11.1 -> 0.11.4 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 21e7c8a32fba..53201241f6a2 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2803,8 +2803,8 @@ let mktplcRef = { name = "typst-preview"; publisher = "mgt19937"; - version = "0.11.1"; - hash = "sha256-OsCgkq0OSBu7RZYHlxgy7W7zDNDUgJFSeSET20CX8zA="; + version = "0.11.4"; + hash = "sha256-GwlzFphZmP87pLys01+PWTv13imcdGjunCMH6atz9xs="; }; buildInputs = [ From 7d1bcb47dbcfff3c2246a80fac863f2eccbbbbd6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 09:25:26 +0200 Subject: [PATCH 0402/1387] python312Packages.homeassistant-bring-api: rename to bring-api --- .../{homeassistant-bring-api => bring-api}/default.nix | 0 pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) rename pkgs/development/python-modules/{homeassistant-bring-api => bring-api}/default.nix (100%) diff --git a/pkgs/development/python-modules/homeassistant-bring-api/default.nix b/pkgs/development/python-modules/bring-api/default.nix similarity index 100% rename from pkgs/development/python-modules/homeassistant-bring-api/default.nix rename to pkgs/development/python-modules/bring-api/default.nix diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index d6f6e358a7b9..00573f5cc226 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -208,6 +208,7 @@ mapAliases ({ hcs_utils = hcs-utils; # added 2024-01-06 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 hglib = python-hglib; # added 2023-10-13 + homeassistant-bring-api = bring-api; # added 2024-04-11 homeassistant-pyozw = throw "homeassistant-pyozw has been removed, as it was packaged for home-assistant which has removed it as a dependency."; # added 2024-01-05 HTSeq = htseq; # added 2023-02-19 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d9a6001945e9..2226189c0815 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1730,6 +1730,8 @@ self: super: with self; { brian2 = callPackage ../development/python-modules/brian2 { }; + bring-api = callPackage ../development/python-modules/bring-api { }; + broadbean = callPackage ../development/python-modules/broadbean { }; broadlink = callPackage ../development/python-modules/broadlink { }; @@ -5379,8 +5381,6 @@ self: super: with self; { home-assistant-bluetooth = callPackage ../development/python-modules/home-assistant-bluetooth { }; - homeassistant-bring-api = callPackage ../development/python-modules/homeassistant-bring-api { }; - home-assistant-chip-clusters = callPackage ../development/python-modules/home-assistant-chip-clusters { }; home-assistant-chip-core = callPackage ../development/python-modules/home-assistant-chip-core { }; From c29d1a5cba6ce7dd19965bdb0b713c7acd080a50 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 09:27:47 +0200 Subject: [PATCH 0403/1387] python312Packages.bring-api: rename, update URLs, etc. --- .../development/python-modules/bring-api/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/bring-api/default.nix b/pkgs/development/python-modules/bring-api/default.nix index 2912e26f5c80..466ab568728b 100644 --- a/pkgs/development/python-modules/bring-api/default.nix +++ b/pkgs/development/python-modules/bring-api/default.nix @@ -7,7 +7,7 @@ }: buildPythonPackage rec { - pname = "homeassistant-bring-api"; + pname = "bring-api"; version = "0.5.6"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "miaucl"; - repo = "homeassistant-bring-api"; + repo = "bring-api"; rev = "refs/tags/${version}"; hash = "sha256-vfc4xKLeGF2FuBFwqU99qbkUDBK5Uz66S4F2ODRDPa8="; }; @@ -32,13 +32,13 @@ buildPythonPackage rec { doCheck = false; pythonImportsCheck = [ - "homeassistant_bring_api" + "bring_api" ]; meta = with lib; { - description = "Module to access the Bring! shopping lists API with Home Assistant"; - homepage = "https://github.com/miaucl/homeassistant-bring-api"; - changelog = "https://github.com/miaucl/homeassistant-bring-api/blob/${version}/CHANGELOG.md"; + description = "Module to access the Bring! shopping lists API"; + homepage = "https://github.com/miaucl/bring-api"; + changelog = "https://github.com/miaucl/bring-api/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From b14303fcceb714c5d9dc8cb9732caeda51fa93f1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 09:29:21 +0200 Subject: [PATCH 0404/1387] python312Packages.bring-api: 0.5.6 -> 0.7.0 Diff: https://github.com/miaucl/bring-api/compare/refs/tags/0.5.6...0.7.0 Changelog: https://github.com/miaucl/bring-api/blob/0.7.0/CHANGELOG.md --- pkgs/development/python-modules/bring-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bring-api/default.nix b/pkgs/development/python-modules/bring-api/default.nix index 466ab568728b..fcf3eddfb9e0 100644 --- a/pkgs/development/python-modules/bring-api/default.nix +++ b/pkgs/development/python-modules/bring-api/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "bring-api"; - version = "0.5.6"; + version = "0.7.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "miaucl"; repo = "bring-api"; rev = "refs/tags/${version}"; - hash = "sha256-vfc4xKLeGF2FuBFwqU99qbkUDBK5Uz66S4F2ODRDPa8="; + hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco="; }; nativeBuildInputs = [ From 54f7f1fe10c99d50ec360cfea0be746ef30b7021 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 09:32:43 +0200 Subject: [PATCH 0405/1387] python312Packages.bring-api: refactor - enable tests --- .../python-modules/bring-api/default.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/bring-api/default.nix b/pkgs/development/python-modules/bring-api/default.nix index fcf3eddfb9e0..49cf42c8ab39 100644 --- a/pkgs/development/python-modules/bring-api/default.nix +++ b/pkgs/development/python-modules/bring-api/default.nix @@ -1,9 +1,13 @@ { lib , aiohttp +, aioresponses , buildPythonPackage , fetchFromGitHub -, setuptools +, pytest-asyncio +, pytestCheckHook +, python-dotenv , pythonOlder +, setuptools }: buildPythonPackage rec { @@ -20,16 +24,20 @@ buildPythonPackage rec { hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp ]; - # Module has no tests - doCheck = false; + nativeCheckInputs = [ + aioresponses + pytest-asyncio + pytestCheckHook + python-dotenv + ]; pythonImportsCheck = [ "bring_api" From 156e0d08127569e8ba4b8cebdc3aa749fe00336d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 09:33:35 +0200 Subject: [PATCH 0406/1387] python312Packages.bring-api: format with nixfmt --- .../python-modules/bring-api/default.nix | 33 ++++++++----------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/bring-api/default.nix b/pkgs/development/python-modules/bring-api/default.nix index 49cf42c8ab39..720d06e55560 100644 --- a/pkgs/development/python-modules/bring-api/default.nix +++ b/pkgs/development/python-modules/bring-api/default.nix @@ -1,13 +1,14 @@ -{ lib -, aiohttp -, aioresponses -, buildPythonPackage -, fetchFromGitHub -, pytest-asyncio -, pytestCheckHook -, python-dotenv -, pythonOlder -, setuptools +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + pytest-asyncio, + pytestCheckHook, + python-dotenv, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -24,13 +25,9 @@ buildPythonPackage rec { hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - aiohttp - ]; + dependencies = [ aiohttp ]; nativeCheckInputs = [ aioresponses @@ -39,9 +36,7 @@ buildPythonPackage rec { python-dotenv ]; - pythonImportsCheck = [ - "bring_api" - ]; + pythonImportsCheck = [ "bring_api" ]; meta = with lib; { description = "Module to access the Bring! shopping lists API"; From 542ec09bfd20d162a4ee85cb7694b8509897be2c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 09:35:08 +0200 Subject: [PATCH 0407/1387] home-assistant: update component-packages --- pkgs/servers/home-assistant/component-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 4db1bebad17c..7b066a0130f4 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -570,7 +570,8 @@ "brel_home" = ps: with ps; [ ]; "bring" = ps: with ps; [ - ]; # missing inputs: bring-api + bring-api + ]; "broadlink" = ps: with ps; [ broadlink ]; @@ -6004,6 +6005,7 @@ "bond" "bosch_shc" "braviatv" + "bring" "broadlink" "brother" "brottsplatskartan" From 5380bb424c629f92cc60f103a255cb788476681f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 10 Apr 2024 06:39:38 +0200 Subject: [PATCH 0408/1387] ocamlPackages.result: use Dune 3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ocamlPackages.base_quickcheck: 0.12.0 → 0.12.1 ocamlPackages.janeStreet_0_12: use Dune 3 --- .../ocaml-modules/janestreet/0.12.nix | 65 ++----------------- .../janestreet/janePackage_0_12.nix | 2 +- .../ocaml-migrate-parsetree/1.8.x.nix | 2 - .../ocaml-modules/ocaml-result/default.nix | 8 +-- .../ocaml-modules/ppxlib/default.nix | 4 -- 5 files changed, 8 insertions(+), 73 deletions(-) diff --git a/pkgs/development/ocaml-modules/janestreet/0.12.nix b/pkgs/development/ocaml-modules/janestreet/0.12.nix index 2ea593e10b44..a3b2ac581555 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.12.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.12.nix @@ -24,7 +24,7 @@ with self; hash = "0gl89zpgsf3n30nb6v5cns27g2bfg4rf3s2427gqvwbkr5gcf7ri"; meta.description = "Full standard library replacement for OCaml"; propagatedBuildInputs = [ sexplib0 ]; - buildInputs = [ dune_1 ]; + buildInputs = [ dune-configurator ]; }; stdio = janePackage { @@ -106,7 +106,6 @@ with self; }; ppx_expect = janePackage { - duneVersion = "3"; pname = "ppx_expect"; hash = "1wawsbjfkri4sw52n8xqrzihxc3xfpdicv3ahz83a1rsn4lb8j5q"; meta.description = "Cram like framework for OCaml"; @@ -170,8 +169,9 @@ with self; }; base_quickcheck = janePackage { + version = "0.12.1"; pname = "base_quickcheck"; - hash = "1la6qgq1zwmfyq1hqy6i337w435ym5yqgx2ygk86qip6nws0s6r3"; + hash = "sha256-ABfUtOzdtGrYR6EgtVYkmxRvsH48jJwSVVOwf4Od12Y="; meta.description = "Randomized testing framework, designed for compatibility with Base"; propagatedBuildInputs = [ ppx_base ppx_fields_conv ppx_let splittable_random ]; }; @@ -209,7 +209,7 @@ with self; pname = "jst-config"; hash = "0yxcz13vda1mdh9ah7qqxwfxpcqang5sgdssd8721rszbwqqaw93"; meta.description = "Compile-time configuration for Jane Street libraries"; - buildInputs = [ dune_1 ppx_assert ]; + buildInputs = [ dune-configurator ppx_assert ]; }; ppx_optcomp = janePackage { @@ -276,7 +276,6 @@ with self; }; ppx_jane = janePackage { - duneVersion = "3"; pname = "ppx_jane"; hash = "1a2602isqzsh640q20qbmarx0sc316mlsqc3i25ysv2kdyhh0kyw"; meta.description = "Standard Jane Street ppx rewriters"; @@ -284,7 +283,6 @@ with self; }; base_bigstring = janePackage { - duneVersion = "3"; pname = "base_bigstring"; hash = "0rbgyg511847fbnxad40prz2dyp4da6sffzyzl88j18cxqxbh1by"; meta.description = "String type based on [Bigarray], for use in I/O and C-bindings"; @@ -306,7 +304,6 @@ with self; }; core_kernel = janePackage { - duneVersion = "3"; pname = "core_kernel"; version = "0.12.3"; hash = "sha256-bDgxuOILAs4FYB8o92ysPHDdEzflZMsU/jk5hB9xfuc="; @@ -316,7 +313,6 @@ with self; }; spawn = janePackage { - duneVersion = "3"; pname = "spawn"; version = "0.13.0"; hash = "1w003k1kw1lmyiqlk58gkxx8rac7dchiqlz6ah7aj7bh49b36ppf"; @@ -325,7 +321,6 @@ with self; }; core = janePackage { - duneVersion = "3"; pname = "core"; version = "0.12.3"; hash = "1vmjqiafkg45hqfvahx6jnlaww1q4a4215k8znbgprf0qn3zymnj"; @@ -335,7 +330,6 @@ with self; }; async_kernel = janePackage { - duneVersion = "3"; pname = "async_kernel"; hash = "1d9illx7vvpblj1i2r9y0f2yff2fbhy3rp4hhvamq1n9n3lvxmh2"; meta.description = "Monadic concurrency library"; @@ -343,7 +337,6 @@ with self; }; protocol_version_header = janePackage { - duneVersion = "3"; pname = "protocol_version_header"; hash = "14vqhx3r84rlfhcjq52gxdqksckiaswlck9s47g7y2z1lsc17v7r"; meta.description = "Protocol versioning"; @@ -351,7 +344,6 @@ with self; }; async_rpc_kernel = janePackage { - duneVersion = "3"; pname = "async_rpc_kernel"; hash = "1znhqbzx4fp58i7dbcgyv5rx7difbhb5d8cbqzv96yqvbn67lsjk"; meta.description = "Platform-independent core of Async RPC library"; @@ -359,7 +351,6 @@ with self; }; async_unix = janePackage { - duneVersion = "3"; pname = "async_unix"; hash = "09h10rdyykbm88n6r9nb5a22mlb6vcxa04q6hvrcr0kys6qhhqmb"; meta.description = "Monadic concurrency library"; @@ -367,7 +358,6 @@ with self; }; async_extra = janePackage { - duneVersion = "3"; pname = "async_extra"; hash = "10j4mwlyqvf67yrp5dwd857llqjinpnnykmlzw2gpmks9azxk6mh"; meta.description = "Monadic concurrency library"; @@ -375,7 +365,6 @@ with self; }; textutils = janePackage { - duneVersion = "3"; pname = "textutils"; hash = "0302awqihf3abib9mvzvn4g8m364hm6jxry1r3kc01hzybhy9acq"; meta.description = "Text output utilities"; @@ -383,7 +372,6 @@ with self; }; async = janePackage { - duneVersion = "3"; pname = "async"; hash = "0pk7z3h2gi21nfchvmjz2wx516bynf9vgwf84zf5qhvlvqqsmyrx"; meta.description = "Monadic concurrency library"; @@ -391,7 +379,6 @@ with self; }; async_find = janePackage { - duneVersion = "3"; pname = "async_find"; hash = "0qsz9f15s5rlk6za10s810v6nlkdxg2g9p1827lcpa7nhjcpi673"; meta.description = "Directory traversal with Async"; @@ -399,7 +386,6 @@ with self; }; re2 = janePackage { - duneVersion = "3"; pname = "re2"; version = "0.12.1"; hash = "sha256-NPQKKUSwckZx4GN4wX2sc0Mn7bes6p79oZrN6xouc6o="; @@ -412,7 +398,6 @@ with self; }; shell = janePackage { - duneVersion = "3"; pname = "shell"; hash = "158857rdr6qgglc5iksg0l54jgf51b5lmsw7nlazpxwdwc9fcn5n"; meta.description = "Yet another implementation of fork&exec and related functionality"; @@ -421,7 +406,6 @@ with self; }; async_shell = janePackage { - duneVersion = "3"; pname = "async_shell"; hash = "0cxln9hkc3cy522la9yi9p23qjwl69kqmadsq4lnjh5bxdad06sv"; meta.description = "Shell helpers for Async"; @@ -429,7 +413,6 @@ with self; }; core_bench = janePackage { - duneVersion = "3"; pname = "core_bench"; hash = "00hyzbbj19dkcw0vhfnc8w0ca3zkjriwwvl00ssa0a2g9mygijdm"; meta.description = "Benchmarking library"; @@ -437,7 +420,6 @@ with self; }; core_extended = janePackage { - duneVersion = "3"; pname = "core_extended"; hash = "1gwx66235irpf5krb1r25a3c7w52qhmass8hp7rdv89il9jn49w4"; meta.description = "Extra components that are not as closely vetted or as stable as Core"; @@ -445,7 +427,6 @@ with self; }; sexp_pretty = janePackage { - duneVersion = "3"; pname = "sexp_pretty"; hash = "06hdsaszc5cd7fphiblbn4r1sh36xgjwf2igzr2rvlzqs7jiv2v4"; meta.description = "S-expression pretty-printer"; @@ -453,7 +434,6 @@ with self; }; expect_test_helpers_kernel = janePackage { - duneVersion = "3"; pname = "expect_test_helpers_kernel"; hash = "18ya187y2i2hfxr771sd9vy5jdsa30vhs56yjdhwk06v01b2fzbq"; meta.description = "Helpers for writing expectation tests"; @@ -462,7 +442,6 @@ with self; }; expect_test_helpers = janePackage { - duneVersion = "3"; pname = "expect_test_helpers"; hash = "0ixqck2lnsmz107yw0q2sr8va80skjpldx7lz4ymjiq2vsghk0rb"; meta.description = "Async helpers for writing expectation tests"; @@ -470,7 +449,6 @@ with self; }; patience_diff = janePackage { - duneVersion = "3"; pname = "patience_diff"; hash = "055kd3piadjnplip8c8q99ssh79d4irmhg2wng7aida5pbqp2p9f"; meta.description = "Diff library using Bram Cohen's patience diff algorithm"; @@ -478,45 +456,10 @@ with self; }; ecaml = janePackage { - duneVersion = "3"; pname = "ecaml"; hash = "0n9xi6agc3lgyj2nsi10cbif0xwn57xyaranad9r285rmbxrgjh7"; meta.description = "Library for writing Emacs plugin in OCaml"; propagatedBuildInputs = [ async expect_test_helpers_kernel ]; }; - ### Packages at version 0.11, with dependencies at version 0.12 - - configurator = janePackage { - pname = "configurator"; - version = "0.11.0"; - hash = "0h686630cscav7pil8c3w0gbh6rj4b41dvbnwmicmlkc746q5bfk"; - propagatedBuildInputs = [ stdio ]; - meta.description = "Helper library for gathering system configuration"; - }; - - ppx_core = janePackage { - pname = "ppx_core"; - version = "0.11.0"; - hash = "11hgm9mxig4cm3c827f6dns9mjv3pf8g6skf10x0gw9xnp1dmzmx"; - propagatedBuildInputs = [ ppxlib ]; - meta.description = "Deprecated (see ppxlib)"; - }; - - ppx_driver = janePackage { - pname = "ppx_driver"; - version = "0.11.0"; - hash = "00kfx6js2kxk57k4v7hiqvwk7h35whgjihnxf75m82rnaf4yzvfi"; - propagatedBuildInputs = [ ppxlib ]; - meta.description = "Deprecated (see ppxlib)"; - }; - - ppx_type_conv = janePackage { - pname = "ppx_type_conv"; - version = "0.11.0"; - hash = "04dbrglqqhkas25cpjz8xhjcbpk141c35qggzw66bn69izczfmaf"; - propagatedBuildInputs = [ ppxlib ]; - meta.description = "Deprecated (see ppxlib)"; - }; - } diff --git a/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix b/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix index e5a79ba598f4..bbfd492cb64f 100644 --- a/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix +++ b/pkgs/development/ocaml-modules/janestreet/janePackage_0_12.nix @@ -1,6 +1,6 @@ { lib, fetchFromGitHub, buildDunePackage, defaultVersion ? "0.12.0" }: -{ pname, version ? defaultVersion, duneVersion ? "1", hash, ...}@args: +{ pname, version ? defaultVersion, duneVersion ? "3", hash, ...}@args: buildDunePackage (args // { inherit version duneVersion; diff --git a/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix b/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix index daed1a7fbffb..9802d07d4a4f 100644 --- a/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix +++ b/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix @@ -8,8 +8,6 @@ buildDunePackage rec { pname = "ocaml-migrate-parsetree"; version = "1.8.0"; - duneVersion = if lib.versionAtLeast ocaml.version "4.08" then "3" else "1"; - src = fetchFromGitHub { owner = "ocaml-ppx"; repo = pname; diff --git a/pkgs/development/ocaml-modules/ocaml-result/default.nix b/pkgs/development/ocaml-modules/ocaml-result/default.nix index 15e8f96a4846..2814c6c52806 100644 --- a/pkgs/development/ocaml-modules/ocaml-result/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-result/default.nix @@ -1,6 +1,6 @@ -{ lib, buildDunePackage, fetchurl, ocaml }: +{ lib, buildDunePackage, fetchurl }: -buildDunePackage (rec { +buildDunePackage rec { pname = "result"; version = "1.5"; @@ -19,6 +19,4 @@ buildDunePackage (rec { ''; license = lib.licenses.bsd3; }; -} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { - duneVersion = "1"; -}) +} diff --git a/pkgs/development/ocaml-modules/ppxlib/default.nix b/pkgs/development/ocaml-modules/ppxlib/default.nix index 0998b5d6a134..ab0e6bd30c38 100644 --- a/pkgs/development/ocaml-modules/ppxlib/default.nix +++ b/pkgs/development/ocaml-modules/ppxlib/default.nix @@ -12,14 +12,12 @@ let param = { "0.8.1" = { sha256 = "sha256-pct57oO7qAMEtlvEfymFOCvviWaLG0b5/7NzTC8vdSE="; max_version = "4.10"; - useDune2 = false; OMP = [ ocaml-migrate-parsetree ]; }; "0.13.0" = { sha256 = "sha256-geHz0whQDg5/YQjVsN2iuHlkClwh7z3Eqb2QOBzuOdk="; min_version = "4.07"; max_version = "4.11"; - useDune2 = false; OMP = [ ocaml-migrate-parsetree ]; }; "0.15.0" = { @@ -80,8 +78,6 @@ buildDunePackage rec { pname = "ppxlib"; inherit version; - duneVersion = if param.useDune2 or true then "3" else "1"; - src = fetchurl { url = "https://github.com/ocaml-ppx/ppxlib/releases/download/${version}/ppxlib-${version}.tbz"; inherit (param) sha256; From 46f5689c73b2b00a91ac26aed92a4ec9057ff3d2 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Tue, 9 Apr 2024 14:29:58 -0700 Subject: [PATCH 0409/1387] cling: add a smoke test --- .../interpreters/cling/default.nix | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index a5a3de81bd5a..2f3327b0554a 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -155,11 +155,41 @@ let in -runCommand "cling-${unwrapped.version}" { +stdenv.mkDerivation { + pname = "cling"; + version = unwrapped.version; + nativeBuildInputs = [ makeWrapper ]; inherit unwrapped flags; inherit (unwrapped) meta; -} '' - makeWrapper $unwrapped/bin/cling $out/bin/cling \ - --add-flags "$flags" -'' + + dontUnpack = true; + dontConfigure = true; + + buildPhase = '' + runHook preBuild + + makeWrapper $unwrapped/bin/cling $out/bin/cling \ + --add-flags "$flags" + + runHook postBuild + ''; + + doCheck = true; + checkPhase = '' + runHook preCheck + + output=$($out/bin/cling < + std::cout << "hello world" << std::endl + EOF + ) + + echo "$output" | grep -q "Type C++ code and press enter to run it" + echo "$output" | grep -q "hello world" + + runHook postCheck + ''; + + dontInstall = true; +} From 41493b10d795e600c7679f3e42139f220ce32026 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 11 Apr 2024 09:47:36 +0200 Subject: [PATCH 0410/1387] ocamlPackages.octavius: use Dune 3 --- pkgs/development/ocaml-modules/octavius/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/octavius/default.nix b/pkgs/development/ocaml-modules/octavius/default.nix index 5c108ac6b80e..1a973da5e84d 100644 --- a/pkgs/development/ocaml-modules/octavius/default.nix +++ b/pkgs/development/ocaml-modules/octavius/default.nix @@ -1,6 +1,6 @@ -{ lib, fetchFromGitHub, buildDunePackage, ocaml }: +{ lib, fetchFromGitHub, buildDunePackage }: -buildDunePackage (rec { +buildDunePackage rec { pname = "octavius"; version = "1.2.2"; @@ -21,6 +21,4 @@ buildDunePackage (rec { license = licenses.isc; maintainers = with maintainers; [ vbgl ]; }; -} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { - duneVersion = "1"; -}) +} From 991b1cdaffc0e2c4428fdded7d4e6caba54e1809 Mon Sep 17 00:00:00 2001 From: ners Date: Thu, 11 Apr 2024 09:49:34 +0200 Subject: [PATCH 0411/1387] jetbrains.{clion,rider}: 2023.3.4 -> 2024.1.1 jetbrains.clion: 2023.3.4 -> 2024.1 jetbrains.datagrip: 2024.1 -> 2024.1.1 jetbrains.rider: 2023.3.4 -> 2024.1 --- .../editors/jetbrains/bin/versions.json | 96 +++++++++---------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/bin/versions.json b/pkgs/applications/editors/jetbrains/bin/versions.json index c0893d1cac12..af8d8453ad7c 100644 --- a/pkgs/applications/editors/jetbrains/bin/versions.json +++ b/pkgs/applications/editors/jetbrains/bin/versions.json @@ -3,18 +3,18 @@ "clion": { "update-channel": "CLion RELEASE", "url-template": "https://download.jetbrains.com/cpp/CLion-{version}.tar.gz", - "version": "2023.3.4", - "sha256": "eae2e1646387ee36a2f24c10d924647fd3d00bb31dd42e9c17438ae7aecf79a8", - "url": "https://download.jetbrains.com/cpp/CLion-2023.3.4.tar.gz", - "build_number": "233.14475.31" + "version": "2024.1", + "sha256": "a753369d74832d15fcf082587291921e8a90be04529c05b8e9d64a3afb24120c", + "url": "https://download.jetbrains.com/cpp/CLion-2024.1.tar.gz", + "build_number": "241.14494.288" }, "datagrip": { "update-channel": "DataGrip RELEASE", "url-template": "https://download.jetbrains.com/datagrip/datagrip-{version}.tar.gz", - "version": "2024.1", - "sha256": "cc77892adcbf28b1a2205908466cca9c80217162cdac020d25d258a84cbb88d3", - "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1.tar.gz", - "build_number": "241.14494.251" + "version": "2024.1.1", + "sha256": "05c1f910126b8499d26ab52d333307d3b6df6a3fa06b5e0b1a79ff15caf40e0a", + "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1.1.tar.gz", + "build_number": "241.14494.283" }, "dataspell": { "update-channel": "DataSpell RELEASE", @@ -92,10 +92,10 @@ "rider": { "update-channel": "Rider RELEASE", "url-template": "https://download.jetbrains.com/rider/JetBrains.Rider-{version}.tar.gz", - "version": "2023.3.4", - "sha256": "fb137ea346d957f151cb0d7755661293ae5e33e36f306b6dc90fb42895443309", - "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2023.3.4.tar.gz", - "build_number": "233.14475.66" + "version": "2024.1", + "sha256": "194096b0b550e1e320fc72aaf0510faeebf8737d05f6e02eecd72efe6f7cd757", + "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2024.1.tar.gz", + "build_number": "241.14494.307" }, "ruby-mine": { "update-channel": "RubyMine RELEASE", @@ -126,18 +126,18 @@ "clion": { "update-channel": "CLion RELEASE", "url-template": "https://download.jetbrains.com/cpp/CLion-{version}-aarch64.tar.gz", - "version": "2023.3.4", - "sha256": "fa427be85ead8e2769aeadf19ce816cb7f02c3b08ec3b4cc7e0cddea44386dc8", - "url": "https://download.jetbrains.com/cpp/CLion-2023.3.4-aarch64.tar.gz", - "build_number": "233.14475.31" + "version": "2024.1", + "sha256": "f937b263bd697595427e3e1d04513f9b6a786d56214ce34fe7a038efa2e949cf", + "url": "https://download.jetbrains.com/cpp/CLion-2024.1-aarch64.tar.gz", + "build_number": "241.14494.288" }, "datagrip": { "update-channel": "DataGrip RELEASE", "url-template": "https://download.jetbrains.com/datagrip/datagrip-{version}-aarch64.tar.gz", - "version": "2024.1", - "sha256": "b293ed99d29510422090736c4e30a0ccd3974fc01ecce7a9f5f497c34b8ea077", - "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1-aarch64.tar.gz", - "build_number": "241.14494.251" + "version": "2024.1.1", + "sha256": "d269bfe10fb97572e785dce6e387d09f429396db002e12ecb9a44cced915c032", + "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1.1-aarch64.tar.gz", + "build_number": "241.14494.283" }, "dataspell": { "update-channel": "DataSpell RELEASE", @@ -215,10 +215,10 @@ "rider": { "update-channel": "Rider RELEASE", "url-template": "https://download.jetbrains.com/rider/JetBrains.Rider-{version}-aarch64.tar.gz", - "version": "2023.3.4", - "sha256": "99c80997bd0d2b8b918ef81fbbe7b422e165665c8fa3d108b1387ca0188c9558", - "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2023.3.4-aarch64.tar.gz", - "build_number": "233.14475.66" + "version": "2024.1", + "sha256": "e196c8e70d7eb6f56a08df809f5de430bf5e61509abb13de8b301c036c4f446e", + "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2024.1-aarch64.tar.gz", + "build_number": "241.14494.307" }, "ruby-mine": { "update-channel": "RubyMine RELEASE", @@ -249,18 +249,18 @@ "clion": { "update-channel": "CLion RELEASE", "url-template": "https://download.jetbrains.com/cpp/CLion-{version}.dmg", - "version": "2023.3.4", - "sha256": "2eb149d2bbf1c778f3386bc9cf7b11741b4372e69c680def31260b9aa213159e", - "url": "https://download.jetbrains.com/cpp/CLion-2023.3.4.dmg", - "build_number": "233.14475.31" + "version": "2024.1", + "sha256": "373c78ff045a17fdcae44cc9b76b41862d4bee9c8476813e518c7cc1de88b6a1", + "url": "https://download.jetbrains.com/cpp/CLion-2024.1.dmg", + "build_number": "241.14494.288" }, "datagrip": { "update-channel": "DataGrip RELEASE", "url-template": "https://download.jetbrains.com/datagrip/datagrip-{version}.dmg", - "version": "2024.1", - "sha256": "8a76d76466b62da1a68d08a066a56319b81e3cab09b57ab11822bf4373def6ce", - "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1.dmg", - "build_number": "241.14494.251" + "version": "2024.1.1", + "sha256": "232582204a6f810bcbd2387ba2cef824f0f81c3a7e022f7f2bebf643d32f866d", + "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1.1.dmg", + "build_number": "241.14494.283" }, "dataspell": { "update-channel": "DataSpell RELEASE", @@ -338,10 +338,10 @@ "rider": { "update-channel": "Rider RELEASE", "url-template": "https://download.jetbrains.com/rider/JetBrains.Rider-{version}.dmg", - "version": "2023.3.4", - "sha256": "00435dc8d9dd43bbd73a55be7d5b304be8ee124032a7485750aef86cddc53ba2", - "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2023.3.4.dmg", - "build_number": "233.14475.66" + "version": "2024.1", + "sha256": "12155c779c7f11dd71b3573af266c0221960eaea8a442fda4faaec8ca6eefa95", + "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2024.1.dmg", + "build_number": "241.14494.307" }, "ruby-mine": { "update-channel": "RubyMine RELEASE", @@ -372,18 +372,18 @@ "clion": { "update-channel": "CLion RELEASE", "url-template": "https://download.jetbrains.com/cpp/CLion-{version}-aarch64.dmg", - "version": "2023.3.4", - "sha256": "340d239008c38743a10e51ae609ec3bf3dd732cf2042ef997532c6b8ed272b1a", - "url": "https://download.jetbrains.com/cpp/CLion-2023.3.4-aarch64.dmg", - "build_number": "233.14475.31" + "version": "2024.1", + "sha256": "b1044fdbf9e3f93aaf8ca8ad2b7bc2eae165f86bc5cae6910f2ad0ee92c198a5", + "url": "https://download.jetbrains.com/cpp/CLion-2024.1-aarch64.dmg", + "build_number": "241.14494.288" }, "datagrip": { "update-channel": "DataGrip RELEASE", "url-template": "https://download.jetbrains.com/datagrip/datagrip-{version}-aarch64.dmg", - "version": "2024.1", - "sha256": "a5e92addc3f098670814c4d5660f275f997eaa958e9eb24007f862cfb74b8118", - "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1-aarch64.dmg", - "build_number": "241.14494.251" + "version": "2024.1.1", + "sha256": "c2545df9784fa1f8f9234dd93d1c513ed691c797f26471cb545188ce7f495864", + "url": "https://download.jetbrains.com/datagrip/datagrip-2024.1.1-aarch64.dmg", + "build_number": "241.14494.283" }, "dataspell": { "update-channel": "DataSpell RELEASE", @@ -461,10 +461,10 @@ "rider": { "update-channel": "Rider RELEASE", "url-template": "https://download.jetbrains.com/rider/JetBrains.Rider-{version}-aarch64.dmg", - "version": "2023.3.4", - "sha256": "8ffd13dcc2207d4a781dc92e89643767e0dd6ef53024c92669f4daaf9cf929c0", - "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2023.3.4-aarch64.dmg", - "build_number": "233.14475.66" + "version": "2024.1", + "sha256": "c2e0dadc6c7f924e849e87d1c04aeaa02d6a14d5868294dd36481a70cbd508cb", + "url": "https://download.jetbrains.com/rider/JetBrains.Rider-2024.1-aarch64.dmg", + "build_number": "241.14494.307" }, "ruby-mine": { "update-channel": "RubyMine RELEASE", From f3410e6f4e47d5887c849084614c9339aa7baede Mon Sep 17 00:00:00 2001 From: ners Date: Thu, 11 Apr 2024 09:49:52 +0200 Subject: [PATCH 0412/1387] jetbrains.plugins: update --- .../editors/jetbrains/plugins/plugins.json | 146 ++++++++++-------- 1 file changed, 82 insertions(+), 64 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/plugins/plugins.json b/pkgs/applications/editors/jetbrains/plugins/plugins.json index 115abc847059..02b902bfbcce 100644 --- a/pkgs/applications/editors/jetbrains/plugins/plugins.json +++ b/pkgs/applications/editors/jetbrains/plugins/plugins.json @@ -18,8 +18,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", "233.15026.24": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", "241.14494.234": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", "241.14494.235": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", @@ -27,7 +25,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", "241.14494.240": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", "241.14494.241": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip" }, "name": "ideavim" }, @@ -42,13 +42,32 @@ }, "6954": { "compatible": [ + "clion", + "datagrip", + "goland", "idea-community", "idea-ultimate", - "mps" + "mps", + "phpstorm", + "pycharm-community", + "pycharm-professional", + "rider", + "ruby-mine", + "rust-rover", + "webstorm" ], "builds": { "233.13135.979": null, - "241.14494.240": null + "233.15026.24": null, + "241.14494.234": null, + "241.14494.235": null, + "241.14494.237": null, + "241.14494.238": null, + "241.14494.240": null, + "241.14494.241": null, + "241.14494.283": null, + "241.14494.288": null, + "241.14494.307": null }, "name": "kotlin" }, @@ -70,8 +89,6 @@ ], "builds": { "233.13135.979": null, - "233.14475.31": null, - "233.14475.66": null, "233.15026.24": "https://plugins.jetbrains.com/files/6981/509027/ini-233.15026.15.zip", "241.14494.234": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", "241.14494.235": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", @@ -79,7 +96,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", "241.14494.240": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", "241.14494.241": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip" }, "name": "ini" }, @@ -89,8 +108,8 @@ "phpstorm" ], "builds": { - "241.14494.237": "https://plugins.jetbrains.com/files/7219/514919/Symfony_Plugin-2023.1.267.zip", - "241.14494.240": "https://plugins.jetbrains.com/files/7219/514919/Symfony_Plugin-2023.1.267.zip" + "241.14494.237": "https://plugins.jetbrains.com/files/7219/518876/Symfony_Plugin-2023.1.268.zip", + "241.14494.240": "https://plugins.jetbrains.com/files/7219/518876/Symfony_Plugin-2023.1.268.zip" }, "name": "symfony-support" }, @@ -114,11 +133,11 @@ "rust-rover" ], "builds": { - "233.14475.66": "https://plugins.jetbrains.com/files/7322/484110/python-ce-233.14475.9.zip", "233.15026.24": "https://plugins.jetbrains.com/files/7322/502153/python-ce-233.14808.12.zip", "241.14494.238": "https://plugins.jetbrains.com/files/7322/513587/python-ce-241.14494.240.zip", "241.14494.240": "https://plugins.jetbrains.com/files/7322/513587/python-ce-241.14494.240.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/7322/513587/python-ce-241.14494.240.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/7322/513587/python-ce-241.14494.240.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/7322/513587/python-ce-241.14494.240.zip" }, "name": "python-community-edition" }, @@ -139,15 +158,15 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/8182/466854/intellij-rust-233.15445.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/8182/466854/intellij-rust-233.15445.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/8182/466854/intellij-rust-233.15445.zip", "241.14494.234": null, "241.14494.235": null, "241.14494.237": null, "241.14494.238": null, "241.14494.240": null, "241.14494.241": null, - "241.14494.251": null + "241.14494.283": null, + "241.14494.288": null, + "241.14494.307": null }, "name": "-deprecated-rust" }, @@ -168,15 +187,15 @@ ], "builds": { "233.13135.979": null, - "233.14475.31": null, - "233.14475.66": null, "241.14494.234": null, "241.14494.235": null, "241.14494.237": null, "241.14494.238": null, "241.14494.240": null, "241.14494.241": null, - "241.14494.251": null + "241.14494.283": null, + "241.14494.288": null, + "241.14494.307": null }, "name": "-deprecated-rust-beta" }, @@ -214,17 +233,17 @@ "webstorm" ], "builds": { - "233.13135.979": "https://plugins.jetbrains.com/files/8607/422943/NixIDEA-0.4.0.11.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/8607/422943/NixIDEA-0.4.0.11.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/8607/422943/NixIDEA-0.4.0.11.zip", - "233.15026.24": "https://plugins.jetbrains.com/files/8607/422943/NixIDEA-0.4.0.11.zip", - "241.14494.234": null, - "241.14494.235": null, - "241.14494.237": null, - "241.14494.238": null, - "241.14494.240": null, - "241.14494.241": null, - "241.14494.251": null + "233.13135.979": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "233.15026.24": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.234": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.235": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.237": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.238": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.240": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.241": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.283": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip" }, "name": "nixidea" }, @@ -257,8 +276,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/10037/493012/CSVEditor-3.3.0-233.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/10037/493012/CSVEditor-3.3.0-233.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/10037/493012/CSVEditor-3.3.0-233.zip", "233.15026.24": "https://plugins.jetbrains.com/files/10037/493012/CSVEditor-3.3.0-233.zip", "241.14494.234": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", "241.14494.235": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", @@ -266,7 +283,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", "241.14494.240": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", "241.14494.241": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/10037/493010/CSVEditor-3.3.0-241.zip" }, "name": "csv-editor" }, @@ -288,8 +307,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/12062/445740/keymap-vscode-233.11799.188.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/12062/445740/keymap-vscode-233.11799.188.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/12062/445740/keymap-vscode-233.11799.188.zip", "233.15026.24": "https://plugins.jetbrains.com/files/12062/445740/keymap-vscode-233.11799.188.zip", "241.14494.234": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", "241.14494.235": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", @@ -297,7 +314,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", "241.14494.240": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", "241.14494.241": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/12062/508223/keymap-vscode-241.14494.150.zip" }, "name": "vscode-keymap" }, @@ -319,8 +338,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/12559/445772/keymap-eclipse-233.11799.165.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/12559/445772/keymap-eclipse-233.11799.165.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/12559/445772/keymap-eclipse-233.11799.165.zip", "233.15026.24": "https://plugins.jetbrains.com/files/12559/445772/keymap-eclipse-233.11799.165.zip", "241.14494.234": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", "241.14494.235": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", @@ -328,7 +345,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", "241.14494.240": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", "241.14494.241": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/12559/508216/keymap-eclipse-241.14494.150.zip" }, "name": "eclipse-keymap" }, @@ -350,8 +369,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/13017/445774/keymap-visualStudio-233.11799.165.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/13017/445774/keymap-visualStudio-233.11799.165.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/13017/445774/keymap-visualStudio-233.11799.165.zip", "233.15026.24": "https://plugins.jetbrains.com/files/13017/445774/keymap-visualStudio-233.11799.165.zip", "241.14494.234": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", "241.14494.235": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", @@ -359,7 +376,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", "241.14494.240": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", "241.14494.241": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip" }, "name": "visual-studio-keymap" }, @@ -381,8 +400,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", - "233.14475.31": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", - "233.14475.66": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", "233.15026.24": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", "241.14494.234": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", "241.14494.235": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", @@ -390,7 +407,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", "241.14494.240": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", "241.14494.241": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", - "241.14494.251": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar" + "241.14494.283": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", + "241.14494.288": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", + "241.14494.307": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar" }, "name": "darcula-pitch-black" }, @@ -411,17 +430,17 @@ "webstorm" ], "builds": { - "233.13135.979": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "233.15026.24": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.234": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.235": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.237": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.238": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.240": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.241": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip" + "233.13135.979": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "233.15026.24": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.234": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.235": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.237": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.238": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.240": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.241": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.283": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip" }, "name": "github-copilot" }, @@ -443,8 +462,6 @@ ], "builds": { "233.13135.979": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", - "233.14475.31": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", - "233.14475.66": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", "233.15026.24": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", "241.14494.234": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", "241.14494.235": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", @@ -452,7 +469,9 @@ "241.14494.238": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", "241.14494.240": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", "241.14494.241": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", - "241.14494.251": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip" + "241.14494.283": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", + "241.14494.307": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip" }, "name": "netbeans-6-5-keymap" }, @@ -463,9 +482,9 @@ "rust-rover" ], "builds": { - "233.14475.31": "https://plugins.jetbrains.com/files/22407/515371/intellij-rust-233.25026.24.zip", "233.15026.24": "https://plugins.jetbrains.com/files/22407/515371/intellij-rust-233.25026.24.zip", - "241.14494.240": "https://plugins.jetbrains.com/files/22407/515370/intellij-rust-241.25026.24.zip" + "241.14494.240": "https://plugins.jetbrains.com/files/22407/515370/intellij-rust-241.25026.24.zip", + "241.14494.288": "https://plugins.jetbrains.com/files/22407/515370/intellij-rust-241.25026.24.zip" }, "name": "rust" } @@ -481,21 +500,20 @@ "https://plugins.jetbrains.com/files/13017/508253/keymap-visualStudio-241.14494.150.zip": "sha256-tNgt0vIkdCB/LcaSj58mT6cNlw4lytRo0cZSt7sIERU=", "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar": "sha256-eXInfAqY3yEZRXCAuv3KGldM1pNKEioNwPB0rIGgJFw=", "https://plugins.jetbrains.com/files/164/515255/IdeaVim-2.10.2-signed.zip": "sha256-FP6th8J3ymfTrwvJ3Ms7fsNPh3f9ab5ZVg5yPpKV/rY=", - "https://plugins.jetbrains.com/files/17718/512366/github-copilot-intellij-1.5.1.5285.zip": "sha256-lep8ZUOjbV0tsfO/yEWJiHWtwm639zxpc/7L9rCKSsU=", + "https://plugins.jetbrains.com/files/17718/517133/github-copilot-intellij-1.5.2.5345.zip": "sha256-BaBYXN8eulaJtJSKrz9bZ2Yn8029goSAUvjYU+BaiIU=", "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip": "sha256-KrzZTKZMQqoEMw+vDUv2jjs0EX0leaPBkU8H/ecq/oI=", "https://plugins.jetbrains.com/files/22407/515370/intellij-rust-241.25026.24.zip": "sha256-tBPoO2EkPaWFZ/Gu3UAkZPy4opssWJQEVlz9GZUkNtQ=", "https://plugins.jetbrains.com/files/22407/515371/intellij-rust-233.25026.24.zip": "sha256-j4b4To8jY4orP87GpphHPtLKeAPDNXcLNSUlIXDDy2Q=", "https://plugins.jetbrains.com/files/631/513581/python-241.14494.240.zip": "sha256-pQP1LF/6uImQpBOpxUGE8KmmFh26kiC4YaYLAHnEc3o=", "https://plugins.jetbrains.com/files/6981/509027/ini-233.15026.15.zip": "sha256-6sTD+OFO/yA7m5o0XqoJKLcQ4zAFro7Iy7WNPfA49xM=", "https://plugins.jetbrains.com/files/6981/513562/ini-241.14494.240.zip": "sha256-QC42nC7mEE3X1cmKj8jkwzpDJzX7ZoOPEd9y6i8IuvM=", - "https://plugins.jetbrains.com/files/7219/514919/Symfony_Plugin-2023.1.267.zip": "sha256-zhnoxJgJJDgSnLdaNRrqS767YuvAzm8sXzhz9e2G0+8=", + "https://plugins.jetbrains.com/files/7219/518876/Symfony_Plugin-2023.1.268.zip": "sha256-mYEuFdSaxw9Lc8yNgPB0ty6mfxjKaAa/jY6v4E2Qo0Q=", "https://plugins.jetbrains.com/files/7320/507957/PHP_Annotations-10.0.0.zip": "sha256-JIZ6Iq3sOcAm8fBXnjRrG9dqCZuD/WajyVmn1JjYMBA=", - "https://plugins.jetbrains.com/files/7322/484110/python-ce-233.14475.9.zip": "sha256-YMB/ewCKE1F/JXI8iau9pKkv9D5D9a8OiTVukkzTocA=", "https://plugins.jetbrains.com/files/7322/502153/python-ce-233.14808.12.zip": "sha256-PUBR9krJ26QrL2jTus0b+uhzkEkT+lGnBKy1f4i/U+w=", "https://plugins.jetbrains.com/files/7322/513587/python-ce-241.14494.240.zip": "sha256-6YC/aoiTRLAh87C2v3k24BLBH/tsdTWuDK/CBv8y1QI=", "https://plugins.jetbrains.com/files/8182/466854/intellij-rust-233.15445.zip": "sha256-+Lc/avYBLpyIV63DlbhAJtieHDv4HdggqdGFDw9iqN0=", "https://plugins.jetbrains.com/files/8554/508289/featuresTrainer-241.14494.150.zip": "sha256-D2gF9bLAEFd1+6vZskiM2Eyl5e8hmyh/VHrmW2NociE=", - "https://plugins.jetbrains.com/files/8607/422943/NixIDEA-0.4.0.11.zip": "sha256-Dwitpu5yLPWx+IUilpN5iqnN8FkKgaxUNjroBEx5lkM=", + "https://plugins.jetbrains.com/files/8607/519418/NixIDEA-0.4.0.12.zip": "sha256-D2HFG2tQy719+baHjUyizoq67tv6lDZrX3s6HDlBRA0=", "https://plugins.jetbrains.com/files/9568/513582/go-plugin-241.14494.240.zip": "sha256-66Gx4XFn5DEZ/wCkN7IFQKtp+P0R9PoEAXmwOB97Q3A=" } } From 8d5f73b5433682bc6259ba7b57fb6e4bb2e06b08 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 11 Apr 2024 09:56:05 +0200 Subject: [PATCH 0413/1387] ocamlPackages.ppx_derivers: use Dune 3 --- pkgs/development/ocaml-modules/ppx_derivers/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_derivers/default.nix b/pkgs/development/ocaml-modules/ppx_derivers/default.nix index 49217781b8ac..ebf19c70ff30 100644 --- a/pkgs/development/ocaml-modules/ppx_derivers/default.nix +++ b/pkgs/development/ocaml-modules/ppx_derivers/default.nix @@ -1,6 +1,6 @@ -{ lib, fetchFromGitHub, buildDunePackage, ocaml }: +{ lib, fetchFromGitHub, buildDunePackage }: -buildDunePackage (rec { +buildDunePackage rec { pname = "ppx_derivers"; version = "1.2.1"; @@ -19,6 +19,4 @@ buildDunePackage (rec { maintainers = [ lib.maintainers.vbgl ]; inherit (src.meta) homepage; }; -} // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { - duneVersion = "1"; -}) +} From 9f3c93eb7a1f83fd768439e4db9b46516443c18c Mon Sep 17 00:00:00 2001 From: nokazn <41154684+nokazn@users.noreply.github.com> Date: Thu, 11 Apr 2024 17:14:10 +0900 Subject: [PATCH 0414/1387] proto: 0.32.2 -> 0.34.3 --- pkgs/by-name/pr/proto/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pr/proto/package.nix b/pkgs/by-name/pr/proto/package.nix index 62ca8f2b025d..20b5fa4b7e0a 100644 --- a/pkgs/by-name/pr/proto/package.nix +++ b/pkgs/by-name/pr/proto/package.nix @@ -10,16 +10,16 @@ rustPlatform.buildRustPackage rec { pname = "proto"; - version = "0.32.2"; + version = "0.34.3"; src = fetchFromGitHub { owner = "moonrepo"; repo = pname; rev = "v${version}"; - hash = "sha256-QxaVXggVfr3O26RwSuUx4qpabhWE9+ZFLKRin/ya2e4="; + hash = "sha256-4stIazXr7+P6gF98NTWQoVW52ov9tQ1DQjPPuN7ssLU="; }; - cargoHash = "sha256-j5wXmlauhrUnUVTj/KyqDrf1y9bq3ZInREZXIUQImVE="; + cargoHash = "sha256-lijDw55F7QBPqA17CPoee5unW/++LXo3Gbn24C7FLi8="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration From 5150491fd4318c9c2b79c25cd7b92bc2baaec793 Mon Sep 17 00:00:00 2001 From: xrelkd <46590321+xrelkd@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:10:06 +0800 Subject: [PATCH 0415/1387] solana-cli: migrate to by-name --- .../blockchains/solana => by-name/so/solana-cli}/Cargo.lock | 0 .../solana/default.nix => by-name/so/solana-cli/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 2 deletions(-) rename pkgs/{applications/blockchains/solana => by-name/so/solana-cli}/Cargo.lock (100%) rename pkgs/{applications/blockchains/solana/default.nix => by-name/so/solana-cli/package.nix} (100%) diff --git a/pkgs/applications/blockchains/solana/Cargo.lock b/pkgs/by-name/so/solana-cli/Cargo.lock similarity index 100% rename from pkgs/applications/blockchains/solana/Cargo.lock rename to pkgs/by-name/so/solana-cli/Cargo.lock diff --git a/pkgs/applications/blockchains/solana/default.nix b/pkgs/by-name/so/solana-cli/package.nix similarity index 100% rename from pkgs/applications/blockchains/solana/default.nix rename to pkgs/by-name/so/solana-cli/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f7c78d560d04..151530685e71 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -36454,8 +36454,6 @@ with pkgs; sumokoin = callPackage ../applications/blockchains/sumokoin { }; - solana-cli = callPackage ../applications/blockchains/solana { }; - solana-validator = callPackage ../applications/blockchains/solana-validator { }; snarkos = callPackage ../applications/blockchains/snarkos { From dc11297a61b07bd4442adb3c8eec176b546938de Mon Sep 17 00:00:00 2001 From: xrelkd <46590321+xrelkd@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:08:00 +0800 Subject: [PATCH 0416/1387] solana-cli: install shell completions --- pkgs/by-name/so/solana-cli/package.nix | 37 +++++++++++++++----------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/so/solana-cli/package.nix b/pkgs/by-name/so/solana-cli/package.nix index 41585b3e06f9..a68171056507 100644 --- a/pkgs/by-name/so/solana-cli/package.nix +++ b/pkgs/by-name/so/solana-cli/package.nix @@ -7,10 +7,11 @@ , protobuf , libcxx , rocksdb +, installShellFiles , pkg-config , openssl , nix-update-script -# Taken from https://github.com/solana-labs/solana/blob/master/scripts/cargo-install-all.sh#L84 + # Taken from https://github.com/solana-labs/solana/blob/master/scripts/cargo-install-all.sh#L84 , solanaPkgs ? [ "solana" "solana-bench-tps" @@ -23,7 +24,7 @@ "solana-net-shaper" "solana-validator" "solana-test-validator" -] ++ [ + ] ++ [ # XXX: Ensure `solana-genesis` is built LAST! # See https://github.com/solana-labs/solana/issues/5826 "solana-genesis" @@ -66,36 +67,42 @@ rustPlatform.buildRustPackage rec { # I'm not in the mood ((ΦωΦ)) doCheck = false; - nativeBuildInputs = [ protobuf pkg-config ]; + nativeBuildInputs = [ installShellFiles protobuf pkg-config ]; buildInputs = [ openssl rustPlatform.bindgenHook ] - ++ lib.optionals stdenv.isLinux [ udev ] - ++ lib.optionals stdenv.isDarwin [ - libcxx - IOKit - Security - AppKit - System - Libsystem ]; + ++ lib.optionals stdenv.isLinux [ udev ] + ++ lib.optionals stdenv.isDarwin [ + libcxx + IOKit + Security + AppKit + System + Libsystem + ]; postInstall = '' + installShellCompletion --cmd solana \ + --bash <($out/bin/solana completion --shell bash) \ + --fish <($out/bin/solana completion --shell fish) \ + --zsh <($out/bin/solana completion --shell zsh) + mkdir -p $out/bin/sdk/bpf cp -a ./sdk/bpf/* $out/bin/sdk/bpf/ ''; # Used by build.rs in the rocksdb-sys crate. If we don't set these, it would # try to build RocksDB from source. - ROCKSDB_LIB_DIR="${rocksdb}/lib"; + ROCKSDB_LIB_DIR = "${rocksdb}/lib"; # Require this on darwin otherwise the compiler starts rambling about missing # cmath functions - CPPFLAGS=lib.optionals stdenv.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1"; - LDFLAGS=lib.optionals stdenv.isDarwin "-L${lib.getLib libcxx}/lib"; + CPPFLAGS = lib.optionals stdenv.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1"; + LDFLAGS = lib.optionals stdenv.isDarwin "-L${lib.getLib libcxx}/lib"; # If set, always finds OpenSSL in the system, even if the vendored feature is enabled. OPENSSL_NO_VENDOR = 1; meta = with lib; { - description = "Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces. "; + description = "Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces"; homepage = "https://solana.com"; license = licenses.asl20; maintainers = with maintainers; [ netfox happysalada aikooo7 ]; From 97d1ddccdf6ff1ac03001001b3a445ff74641eb2 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 11 Apr 2024 11:26:11 +0300 Subject: [PATCH 0417/1387] crate2nix: 0.12.0 -> 0.14.0 According to https://github.com/nix-community/crate2nix/releases, 0.13.0 contained mostly internal version updates and flake-specific workflows irrelevant to this package build. 0.14.0 however contains https://github.com/nix-community/crate2nix/ issues/340, which contains a fix for Cargo.lock file changes from Rust 1.77. --- pkgs/development/tools/rust/crate2nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/crate2nix/default.nix b/pkgs/development/tools/rust/crate2nix/default.nix index a19c47271c57..175e79e639c3 100644 --- a/pkgs/development/tools/rust/crate2nix/default.nix +++ b/pkgs/development/tools/rust/crate2nix/default.nix @@ -10,18 +10,18 @@ rustPlatform.buildRustPackage rec { pname = "crate2nix"; - version = "0.12.0"; + version = "0.14.0"; src = fetchFromGitHub { owner = "nix-community"; repo = pname; rev = version; - sha256 = "sha256-A9AowkHIjsy1a4LuiPiVP88FMxyCWK41flZEZOUuwQM="; + hash = "sha256-rGT3CW64cJS9nlnWPFWSc1iEa3dNZecVVuPVGzcsHe8="; }; sourceRoot = "${src.name}/crate2nix"; - cargoHash = "sha256-85OIOhRdVDu5hZuBzanyqkH1gOuF5IQGubVrLAqt1ak="; + cargoHash = "sha256-YoE6wrQNQcRo/yaiVpASU2VOmHCPM4pDgTejn0ovOVY="; nativeBuildInputs = [ makeWrapper ]; From a499115d5cf87386a0bfe79206ae7249b21ae9c7 Mon Sep 17 00:00:00 2001 From: Marko Mindek Date: Thu, 11 Apr 2024 10:44:51 +0200 Subject: [PATCH 0418/1387] rebar3: 3.22.1 -> 3.23.0 --- pkgs/development/tools/build-managers/rebar3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/rebar3/default.nix b/pkgs/development/tools/build-managers/rebar3/default.nix index 0dd651a9d3f0..ca64753cedbf 100644 --- a/pkgs/development/tools/build-managers/rebar3/default.nix +++ b/pkgs/development/tools/build-managers/rebar3/default.nix @@ -3,7 +3,7 @@ writeScript, common-updater-scripts, coreutils, git, gnused, nix, rebar3-nix }: let - version = "3.22.1"; + version = "3.23.0"; owner = "erlang"; deps = import ./rebar-deps.nix { inherit fetchFromGitHub fetchgit fetchHex; }; rebar3 = stdenv.mkDerivation rec { @@ -16,7 +16,7 @@ let inherit owner; repo = pname; rev = version; - sha256 = "bSsDNuwG3LLvBS7P/Ft0rpM/atwy36JonwP0fPRsEis="; + sha256 = "dLJ1ca7Tlx6Cfk/AyJ0HmAgH9+qRrto/m0GWWUeXNko="; }; buildInputs = [ erlang ]; From d2c45fd78d7d5a1cf73c9a567aaf23bfa799853a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 10:45:38 +0200 Subject: [PATCH 0419/1387] python312Packages.mypy-boto3-cleanrooms: 1.34.78 -> 1.34.82 --- pkgs/development/python-modules/mypy-boto3/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mypy-boto3/default.nix b/pkgs/development/python-modules/mypy-boto3/default.nix index 802e3602f37f..499c3fd593f5 100644 --- a/pkgs/development/python-modules/mypy-boto3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3/default.nix @@ -133,7 +133,7 @@ rec { mypy-boto3-chime-sdk-voice = buildMypyBoto3Package "chime-sdk-voice" "1.34.0" "sha256-9fQQgWFKeabSblJIhP6mN0CEnSixkz1r3mf/k6IL/BE="; - mypy-boto3-cleanrooms = buildMypyBoto3Package "cleanrooms" "1.34.78" "sha256-76zy6rTsSqmKdwrZwBsf7m6qPZXSdi6GpQEXMvN82Tw="; + mypy-boto3-cleanrooms = buildMypyBoto3Package "cleanrooms" "1.34.82" "sha256-KaCs/P3NM3IeZ9V9khIwysyBXBG/8RuGFBAlrbMYn4Y="; mypy-boto3-cloud9 = buildMypyBoto3Package "cloud9" "1.34.24" "sha256-fryD7UfO5cdFS7vMxmZaT9LW4nNSGTQCd3NyD60f9wA="; From d3e3934dc8e28a1b9e81bdc34294528d23ad029c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 10:45:53 +0200 Subject: [PATCH 0420/1387] python312Packages.mypy-boto3-connect: 1.34.67 -> 1.34.82 --- pkgs/development/python-modules/mypy-boto3/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mypy-boto3/default.nix b/pkgs/development/python-modules/mypy-boto3/default.nix index 499c3fd593f5..dcb8dd1f05f5 100644 --- a/pkgs/development/python-modules/mypy-boto3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3/default.nix @@ -197,7 +197,7 @@ rec { mypy-boto3-config = buildMypyBoto3Package "config" "1.34.45" "sha256-LN1CcIOj9cgzSNCvnUVwLRNPXlitHAlt+5jj6wu6i8E="; - mypy-boto3-connect = buildMypyBoto3Package "connect" "1.34.67" "sha256-kWjC/FacCsC0xevx2dOs67UxaKG1WM3xMahcO3CqZL8="; + mypy-boto3-connect = buildMypyBoto3Package "connect" "1.34.82" "sha256-QyZteRrk1d+Qwqj87uUb4f2ZK5SjPdMJV4NGv6kwrl4="; mypy-boto3-connect-contact-lens = buildMypyBoto3Package "connect-contact-lens" "1.34.0" "sha256-Wx9vcjlgXdWZ2qP3Y/hTY2LAeTd+hyyV5JSIuKQ5I5k="; From b3642388fe18aefb168d9d6cb7365ce17ca3a6da Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Fri, 5 Apr 2024 12:40:34 +0200 Subject: [PATCH 0421/1387] keydb: init at 6.3.4 --- maintainers/team-list.nix | 1 + nixos/modules/services/databases/redis.nix | 5 +- nixos/tests/redis.nix | 115 ++++++++++++++------- pkgs/by-name/ke/keydb/package.nix | 106 +++++++++++++++++++ pkgs/servers/nosql/redis/default.nix | 1 + 5 files changed, 190 insertions(+), 38 deletions(-) create mode 100644 pkgs/by-name/ke/keydb/package.nix diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index 9380e1e2aa21..e61289f0fb8e 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -441,6 +441,7 @@ with lib.maintainers; { # Verify additions to this team with at least one already existing member of the team. members = [ das_j + conni2461 ]; scope = "Group registration for packages maintained by Helsinki Systems"; shortName = "Helsinki Systems employees"; diff --git a/nixos/modules/services/databases/redis.nix b/nixos/modules/services/databases/redis.nix index 2e644895a260..fe2d75fc53a9 100644 --- a/nixos/modules/services/databases/redis.nix +++ b/nixos/modules/services/databases/redis.nix @@ -338,7 +338,7 @@ in { after = [ "network.target" ]; serviceConfig = { - ExecStart = "${cfg.package}/bin/redis-server /var/lib/${redisName name}/redis.conf ${escapeShellArgs conf.extraParams}"; + ExecStart = "${cfg.package}/bin/${cfg.package.serverBin or "redis-server"} /var/lib/${redisName name}/redis.conf ${escapeShellArgs conf.extraParams}"; ExecStartPre = "+"+pkgs.writeShellScript "${redisName name}-prep-conf" (let redisConfVar = "/var/lib/${redisName name}/redis.conf"; redisConfRun = "/run/${redisName name}/nixos.conf"; @@ -391,7 +391,8 @@ in { RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ]; RestrictNamespaces = true; LockPersonality = true; - MemoryDenyWriteExecute = true; + # we need to disable MemoryDenyWriteExecute for keydb + MemoryDenyWriteExecute = cfg.package.pname != "keydb"; RestrictRealtime = true; RestrictSUIDSGID = true; PrivateMounts = true; diff --git a/nixos/tests/redis.nix b/nixos/tests/redis.nix index 94b50d07be6d..6c84701c9c0a 100644 --- a/nixos/tests/redis.nix +++ b/nixos/tests/redis.nix @@ -1,44 +1,87 @@ -import ./make-test-python.nix ({ pkgs, lib, ... }: { - name = "redis"; - meta.maintainers = with lib.maintainers; [ flokli ]; + system ? builtins.currentSystem, + config ? { }, + pkgs ? import ../../.. { inherit system config; }, - nodes = { - machine = - { pkgs, lib, ... }: - - { - services.redis.servers."".enable = true; - services.redis.servers."test".enable = true; - - users.users = lib.listToAttrs (map (suffix: lib.nameValuePair "member${suffix}" { - createHome = false; - description = "A member of the redis${suffix} group"; - isNormalUser = true; - extraGroups = [ "redis${suffix}" ]; - }) ["" "-test"]); - }; + lib ? pkgs.lib, +}: +let + makeTest = import ./make-test-python.nix; + mkTestName = + pkg: "${pkg.pname}_${builtins.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor pkg.version)}"; + redisPackages = { + inherit (pkgs) redis keydb; }; + makeRedisTest = + { + package, + name ? mkTestName package, + }: + makeTest { + inherit name; + meta.maintainers = [ + lib.maintainers.flokli + lib.teams.helsinki-systems.members + ]; - testScript = { nodes, ... }: let - inherit (nodes.machine.config.services) redis; - in '' - start_all() - machine.wait_for_unit("redis") - machine.wait_for_unit("redis-test") + nodes = { + machine = + { lib, ... }: - # The unnamed Redis server still opens a port for backward-compatibility - machine.wait_for_open_port(6379) + { + services = { + redis = { + inherit package; + servers."".enable = true; + servers."test".enable = true; + }; + }; - machine.wait_for_file("${redis.servers."".unixSocket}") - machine.wait_for_file("${redis.servers."test".unixSocket}") + users.users = lib.listToAttrs ( + map + ( + suffix: + lib.nameValuePair "member${suffix}" { + createHome = false; + description = "A member of the redis${suffix} group"; + isNormalUser = true; + extraGroups = [ "redis${suffix}" ]; + } + ) + [ + "" + "-test" + ] + ); + }; + }; - # The unix socket is accessible to the redis group - machine.succeed('su member -c "redis-cli ping | grep PONG"') - machine.succeed('su member-test -c "redis-cli ping | grep PONG"') + testScript = + { nodes, ... }: + let + inherit (nodes.machine.services) redis; + in + '' + start_all() + machine.wait_for_unit("redis") + machine.wait_for_unit("redis-test") - machine.succeed("redis-cli ping | grep PONG") - machine.succeed("redis-cli -s ${redis.servers."".unixSocket} ping | grep PONG") - machine.succeed("redis-cli -s ${redis.servers."test".unixSocket} ping | grep PONG") - ''; -}) + # The unnamed Redis server still opens a port for backward-compatibility + machine.wait_for_open_port(6379) + + machine.wait_for_file("${redis.servers."".unixSocket}") + machine.wait_for_file("${redis.servers."test".unixSocket}") + + # The unix socket is accessible to the redis group + machine.succeed('su member -c "${pkgs.redis}/bin/redis-cli ping | grep PONG"') + machine.succeed('su member-test -c "${pkgs.redis}/bin/redis-cli ping | grep PONG"') + + machine.succeed("${pkgs.redis}/bin/redis-cli ping | grep PONG") + machine.succeed("${pkgs.redis}/bin/redis-cli -s ${redis.servers."".unixSocket} ping | grep PONG") + machine.succeed("${pkgs.redis}/bin/redis-cli -s ${ + redis.servers."test".unixSocket + } ping | grep PONG") + ''; + }; +in +lib.mapAttrs (_: package: makeRedisTest { inherit package; }) redisPackages diff --git a/pkgs/by-name/ke/keydb/package.nix b/pkgs/by-name/ke/keydb/package.nix new file mode 100644 index 000000000000..3fc085b40ad9 --- /dev/null +++ b/pkgs/by-name/ke/keydb/package.nix @@ -0,0 +1,106 @@ +{ + stdenv, + lib, + fetchFromGitHub, + libuuid, + curl, + pkg-config, + withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, + systemd, + tlsSupport ? !stdenv.hostPlatform.isStatic, + openssl, + jemalloc, + which, + tcl, + tcltls, + ps, + getconf, + nixosTests, +}: + +stdenv.mkDerivation rec { + pname = "keydb"; + version = "6.3.4"; + + src = fetchFromGitHub { + owner = "snapchat"; + repo = "keydb"; + rev = "v${version}"; + hash = "sha256-j6qgK6P3Fv+b6k9jwKQ5zW7XLkKbXXcmHKBCQYvwEIU="; + }; + + postPatch = '' + substituteInPlace deps/lua/src/Makefile \ + --replace-fail "ar rcu" "${stdenv.cc.targetPrefix}ar rcu" + substituteInPlace src/Makefile \ + --replace-fail "as --64 -g" "${stdenv.cc.targetPrefix}as --64 -g" + ''; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + jemalloc + curl + libuuid + ] ++ lib.optionals tlsSupport [ openssl ] ++ lib.optionals withSystemd [ systemd ]; + + makeFlags = + [ + "PREFIX=${placeholder "out"}" + "AR=${stdenv.cc.targetPrefix}ar" + "RANLIB=${stdenv.cc.targetPrefix}ranlib" + "USEASM=${if stdenv.isx86_64 then "true" else "false"}" + ] + ++ lib.optionals (!tlsSupport) [ "BUILD_TLS=no" ] + ++ lib.optionals withSystemd [ "USE_SYSTEMD=yes" ] + ++ lib.optionals (!stdenv.isx86_64) [ "MALLOC=libc" ]; + + enableParallelBuilding = true; + + hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ]; + + # darwin currently lacks a pure `pgrep` which is extensively used here + doCheck = !stdenv.isDarwin; + nativeCheckInputs = [ + which + tcl + ps + ] ++ lib.optionals stdenv.hostPlatform.isStatic [ getconf ] ++ lib.optionals tlsSupport [ tcltls ]; + checkPhase = '' + runHook preCheck + + # disable test "Connect multiple replicas at the same time": even + # upstream find this test too timing-sensitive + substituteInPlace tests/integration/replication.tcl \ + --replace-fail 'foreach mdl {no yes}' 'foreach mdl {}' + + substituteInPlace tests/support/server.tcl \ + --replace-fail 'exec /usr/bin/env' 'exec env' + + sed -i '/^proc wait_load_handlers_disconnected/{n ; s/wait_for_condition 50 100/wait_for_condition 50 500/; }' \ + tests/support/util.tcl + + patchShebangs ./utils/gen-test-certs.sh + ${if tlsSupport then "./utils/gen-test-certs.sh" else ""} + + ./runtest \ + --no-latency \ + --timeout 2000 \ + --clients $NIX_BUILD_CORES \ + --tags -leaks ${if tlsSupport then "--tls" else ""} + + runHook postCheck + ''; + + passthru.tests.redis = nixosTests.redis; + passthru.serverBin = "keydb-server"; + + meta = with lib; { + homepage = "https://keydb.dev"; + description = "A Multithreaded Fork of Redis"; + license = licenses.bsd3; + platforms = platforms.all; + changelog = "https://github.com/Snapchat/KeyDB/raw/v${version}/00-RELEASENOTES"; + maintainers = teams.helsinki-systems.members; + mainProgram = "keydb-cli"; + }; +} diff --git a/pkgs/servers/nosql/redis/default.nix b/pkgs/servers/nosql/redis/default.nix index 923de9126b5f..750b943eff0b 100644 --- a/pkgs/servers/nosql/redis/default.nix +++ b/pkgs/servers/nosql/redis/default.nix @@ -85,6 +85,7 @@ stdenv.mkDerivation (finalAttrs: { ''; passthru.tests.redis = nixosTests.redis; + passthru.serverBin = "redis-server"; meta = with lib; { homepage = "https://redis.io"; From a5bc2b616c955e20467ef6dde9bb523b47201584 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 10:47:22 +0200 Subject: [PATCH 0422/1387] python312Packages.mypy-boto3-rekognition: 1.34.20 -> 1.34.82 --- pkgs/development/python-modules/mypy-boto3/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mypy-boto3/default.nix b/pkgs/development/python-modules/mypy-boto3/default.nix index dcb8dd1f05f5..3cbee2e10dfa 100644 --- a/pkgs/development/python-modules/mypy-boto3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3/default.nix @@ -591,7 +591,7 @@ rec { mypy-boto3-redshift-serverless = buildMypyBoto3Package "redshift-serverless" "1.34.16" "sha256-ag5tKb1+4cHiG99OszDNGdnX9RPRPraaqM8p3IqgLBg="; - mypy-boto3-rekognition = buildMypyBoto3Package "rekognition" "1.34.20" "sha256-zKJX/AlDoDKUbrI1LZq2kk5fr+SNqES6gniM0FQGeaM="; + mypy-boto3-rekognition = buildMypyBoto3Package "rekognition" "1.34.82" "sha256-qy7yacSuG6cARR2L/YjBGWYM1BU5/qtMr/H08x3XFIM="; mypy-boto3-resiliencehub = buildMypyBoto3Package "resiliencehub" "1.34.0" "sha256-F/ZRCp/M/6kBI4Apb3mISzqe1Zi4Y7gq/vu0dvyyTvM="; From ffb3c91dd16812053319085566b7ee72bd6ccab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Thu, 11 Apr 2024 12:02:06 +0200 Subject: [PATCH 0423/1387] cert-viewer: 0.9.0 -> 0.9.1 --- pkgs/by-name/ce/cert-viewer/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ce/cert-viewer/package.nix b/pkgs/by-name/ce/cert-viewer/package.nix index ca7dde06c0b0..df9032dfbec7 100644 --- a/pkgs/by-name/ce/cert-viewer/package.nix +++ b/pkgs/by-name/ce/cert-viewer/package.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "cert-viewer"; - version = "0.9.0"; + version = "0.9.1"; src = fetchFromGitHub { owner = "mgit-at"; repo = "cert-viewer"; rev = "refs/tags/v${version}"; - hash = "sha256-q4FLKH0ZA/79zLo7dt+CSOjfKyygTiQKSuungQTtue0="; + hash = "sha256-6IPr2BG3y/7cmc2WkeeFDpQ59GNU1eOhhm49HE2w0cA="; }; - vendorHash = "sha256-55zDUAe5s+03/OnDcK1DqmMUpFO2sBaVjEk6vbrHgzY="; + vendorHash = "sha256-jNT04bYH5L/Zcfvel673zr2UJLayCO443tvBGZjrBZk="; meta = { description = "Admin tool to view and inspect multiple x509 Certificates"; From 8c4c220091b6f06f3daafe1f055c9810e24b9d0d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 10:02:48 +0000 Subject: [PATCH 0424/1387] blueman: 2.4 -> 2.4.1 --- pkgs/tools/bluetooth/blueman/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/bluetooth/blueman/default.nix b/pkgs/tools/bluetooth/blueman/default.nix index 879a1689d01a..fb300a45fb54 100644 --- a/pkgs/tools/bluetooth/blueman/default.nix +++ b/pkgs/tools/bluetooth/blueman/default.nix @@ -8,11 +8,11 @@ let in stdenv.mkDerivation rec { pname = "blueman"; - version = "2.4"; + version = "2.4.1"; src = fetchurl { url = "https://github.com/blueman-project/blueman/releases/download/${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-Gfp3bpWQuy0w6pBcHJaCIyo0fX66qwqdSz1guv5J+uE="; + sha256 = "sha256-B9jePkpBLFkOoPqTlQ32suSHsDF6QI7Cnh1qwiutYNs="; }; nativeBuildInputs = [ From 0114be05840b4e278bcc5e5dd7e4604578d5a839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Tue, 9 Apr 2024 21:34:01 +0200 Subject: [PATCH 0425/1387] local-ai: 2.11.0 -> 2.12.3 - acitvate with_stablediffusion and with_tts per default - move tests to separate file - add llama test --- pkgs/by-name/lo/local-ai/package.nix | 178 ++++++++------------------- pkgs/by-name/lo/local-ai/tests.nix | 160 ++++++++++++++++++++++++ 2 files changed, 209 insertions(+), 129 deletions(-) create mode 100644 pkgs/by-name/lo/local-ai/tests.nix diff --git a/pkgs/by-name/lo/local-ai/package.nix b/pkgs/by-name/lo/local-ai/package.nix index aadca32a3198..7142a529b486 100644 --- a/pkgs/by-name/lo/local-ai/package.nix +++ b/pkgs/by-name/lo/local-ai/package.nix @@ -1,4 +1,5 @@ { config +, callPackages , stdenv , lib , addDriverRunpath @@ -14,8 +15,6 @@ , pkg-config , buildGoModule , makeWrapper -, runCommand -, testers # apply feature parameter names according to # https://github.com/NixOS/rfcs/pull/169 @@ -27,9 +26,6 @@ , enable_f16c ? true , enable_fma ? true -, with_tinydream ? false -, ncnn - , with_openblas ? false , openblas @@ -41,24 +37,19 @@ , ocl-icd , opencl-headers -, with_stablediffusion ? false +, with_tinydream ? false # do not compile with cublas +, ncnn + +, with_stablediffusion ? true , opencv -, with_tts ? false +, with_tts ? true , onnxruntime , sonic , spdlog , fmt , espeak-ng , piper-tts - - # tests -, fetchzip -, fetchurl -, writeText -, symlinkJoin -, linkFarmFromDrvs -, jq }: let BUILD_TYPE = @@ -68,21 +59,7 @@ let else if with_clblas then "clblas" else ""; - inherit (cudaPackages) libcublas cuda_nvcc cuda_cccl cuda_cudart; - - typedBuiltInputs = - lib.optionals with_cublas - [ - cuda_nvcc # should be part of nativeBuildInputs - cuda_cudart - cuda_cccl - (lib.getDev libcublas) - (lib.getLib libcublas) - ] - ++ lib.optionals with_clblas - [ clblast ocl-icd opencl-headers ] - ++ lib.optionals with_openblas - [ openblas.dev ]; + inherit (cudaPackages) libcublas cuda_nvcc cuda_cccl cuda_cudart cudatoolkit; go-llama-ggml = effectiveStdenv.mkDerivation { name = "go-llama-ggml"; @@ -97,9 +74,18 @@ let "libbinding.a" "BUILD_TYPE=${BUILD_TYPE}" ]; - buildInputs = typedBuiltInputs; + + buildInputs = [ ] + ++ lib.optionals with_clblas [ clblast ocl-icd opencl-headers ] + ++ lib.optionals with_openblas [ openblas.dev ]; + + nativeBuildInputs = [ cmake ] + # backward compatiblity with nixos-23.11 + # use cuda_nvcc after release of nixos-24.05 + ++ lib.optionals with_cublas [ cudatoolkit ]; + dontUseCmakeConfigure = true; - nativeBuildInputs = [ cmake ]; + installPhase = '' mkdir $out tar cf - --exclude=build --exclude=CMakeFiles --exclude="*.o" . \ @@ -112,8 +98,8 @@ let src = fetchFromGitHub { owner = "ggerganov"; repo = "llama.cpp"; - rev = "b06c16ef9f81d84da520232c125d4d8a1d273736"; - hash = "sha256-t1AIx/Ir5RhasjblH4BSpGOXVvO84SJPSqa7rXWj6b4="; + rev = "1b67731e184e27a465b8c5476061294a4af668ea"; + hash = "sha256-0WWbsklpW6HhFRkvWpYh8Lhi8VIansS/zmyIKNQRkIs="; fetchSubmodules = true; }; postPatch = prev.postPatch + '' @@ -266,13 +252,20 @@ let src = fetchFromGitHub { owner = "ggerganov"; repo = "whisper.cpp"; - rev = "1558ec5a16cb2b2a0bf54815df1d41f83dc3815b"; - hash = "sha256-UAqWU3kvkHM+fV+T6gFVsAKuOG6N4FoFgTKGUptwjmE="; + rev = "8f253ef3af1c62c04316ba4afa7145fc4d701a8c"; + hash = "sha256-yHHjhpQIn99A/hqFwAb7TfTf4Q9KnKat93zyXS70bT8="; }; - nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = typedBuiltInputs; + + nativeBuildInputs = [ cmake pkg-config ] + ++ lib.optionals with_cublas [ cuda_nvcc ]; + + buildInputs = [ ] + ++ lib.optionals with_cublas [ cuda_cccl cuda_cudart libcublas ] + ++ lib.optionals with_clblas [ clblast ocl-icd opencl-headers ] + ++ lib.optionals with_openblas [ openblas.dev ]; + cmakeFlags = [ - (lib.cmakeBool "WHISPER_CUBLAS" with_cublas) + (lib.cmakeBool "WHISPER_CUDA" with_cublas) (lib.cmakeBool "WHISPER_CLBLAST" with_clblas) (lib.cmakeBool "WHISPER_OPENBLAS" with_openblas) (lib.cmakeBool "WHISPER_NO_AVX" (!enable_avx)) @@ -342,19 +335,19 @@ let ]; }); - go-tiny-dream = stdenv.mkDerivation { + go-tiny-dream = effectiveStdenv.mkDerivation { name = "go-tiny-dream"; src = fetchFromGitHub { owner = "M0Rf30"; repo = "go-tiny-dream"; - rev = "772a9c0d9aaf768290e63cca3c904fe69faf677a"; - hash = "sha256-r+wzFIjaI6cxAm/eXN3q8LRZZz+lE5EA4lCTk5+ZnIY="; + rev = "22a12a4bc0ac5455856f28f3b771331a551a4293"; + hash = "sha256-DAVHD6E0OKHf4C2ldoI0Mm7813DIrmWFONUhSCQPCfc="; fetchSubmodules = true; }; postUnpack = '' rm -rf source/ncnn - mkdir -p source/ncnn/build - cp -r --no-preserve=mode ${go-tiny-dream-ncnn} source/ncnn/build/install + mkdir -p source/ncnn/build/src + cp -r --no-preserve=mode ${go-tiny-dream-ncnn}/lib/. ${go-tiny-dream-ncnn}/include/. source/ncnn/build/src ''; buildFlags = [ "libtinydream.a" ]; installPhase = '' @@ -378,18 +371,18 @@ let stdenv; pname = "local-ai"; - version = "2.11.0"; + version = "2.12.3"; src = fetchFromGitHub { owner = "go-skynet"; repo = "LocalAI"; rev = "v${version}"; - hash = "sha256-Sqo4NOggUNb1ZemT9TRknBmz8dThe/X43R+4JFfQJ4M="; + hash = "sha256-/Q0t5OozpgqmjUOYHvVAj1k7VnIixfOS8gNAguuu6p0="; }; self = buildGoModule.override { stdenv = effectiveStdenv; } { inherit pname version src; - vendorHash = "sha256-3bOr8DnAjTzOpVDB5wmlPxECNteWw3tI0yc1f2Wt4y0="; + vendorHash = "sha256-8Hu1y/PK21twnB7D22ltslFFzRrsB8d1R2hkgIFB/XY="; env.NIX_CFLAGS_COMPILE = lib.optionalString with_stablediffusion " -isystem ${opencv}/include/opencv4"; @@ -415,11 +408,15 @@ let '' ; - buildInputs = typedBuiltInputs - ++ lib.optional with_stablediffusion go-stable-diffusion.buildInputs - ++ lib.optional with_tts go-piper.buildInputs; + buildInputs = [ ] + ++ lib.optionals with_cublas [ libcublas ] + ++ lib.optionals with_clblas [ clblast ocl-icd opencl-headers ] + ++ lib.optionals with_openblas [ openblas.dev ] + ++ lib.optionals with_stablediffusion go-stable-diffusion.buildInputs + ++ lib.optionals with_tts go-piper.buildInputs; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper ] + ++ lib.optionals with_cublas [ cuda_nvcc ]; enableParallelBuilding = false; @@ -500,84 +497,7 @@ let with_tinydream with_clblas; }; - passthru.tests = { - version = testers.testVersion { - package = self; - version = "v" + version; - }; - health = - let - port = "8080"; - in - testers.runNixOSTest { - name = pname + "-health"; - nodes.machine = { - systemd.services.local-ai = { - wantedBy = [ "multi-user.target" ]; - serviceConfig.ExecStart = "${self}/bin/local-ai --debug --localai-config-dir . --address :${port}"; - }; - }; - testScript = '' - machine.wait_for_open_port(${port}) - machine.succeed("curl -f http://localhost:${port}/readyz") - ''; - }; - } - // lib.optionalAttrs with_tts { - # https://localai.io/features/text-to-audio/#piper - tts = - let - port = "8080"; - voice-en-us = fetchzip { - url = "https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-danny-low.tar.gz"; - hash = "sha256-5wf+6H5HeQY0qgdqnAG1vSqtjIFM9lXH53OgouuPm0M="; - stripRoot = false; - }; - ggml-tiny-en = fetchurl { - url = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin"; - hash = "sha256-x3xXZvHO8JtrfUfyG1Rsvd1BV4hrO11tT3CekeZsfCs="; - }; - whisper-en = { - name = "whisper-en"; - backend = "whisper"; - parameters.model = ggml-tiny-en.name; - }; - models = symlinkJoin { - name = "models"; - paths = [ - voice-en-us - (linkFarmFromDrvs "whisper-en" [ - (writeText "whisper-en.yaml" (builtins.toJSON whisper-en)) - ggml-tiny-en - ]) - ]; - }; - in - testers.runNixOSTest { - name = pname + "-tts"; - nodes.machine = { - systemd.services.local-ai = { - wantedBy = [ "multi-user.target" ]; - serviceConfig.ExecStart = "${self}/bin/local-ai --debug --models-path ${models} --localai-config-dir . --address :${port}"; - }; - }; - testScript = - let - request = { - model = "en-us-danny-low.onnx"; - backend = "piper"; - input = "Hello, how are you?"; - }; - in - '' - machine.wait_for_open_port(${port}) - machine.succeed("curl -f http://localhost:${port}/readyz") - machine.succeed("curl -f http://localhost:${port}/tts --json @${writeText "request.json" (builtins.toJSON request)} --output out.wav") - machine.succeed("curl -f http://localhost:${port}/v1/audio/transcriptions --header 'Content-Type: multipart/form-data' --form file=@out.wav --form model=${whisper-en.name} --output transcription.json") - machine.succeed("${jq}/bin/jq --exit-status 'debug | .segments | first.text == \"${request.input}\"' transcription.json") - ''; - }; - }; + passthru.tests = callPackages ./tests.nix { inherit self; }; meta = with lib; { description = "OpenAI alternative to run local LLMs, image and audio generation"; diff --git a/pkgs/by-name/lo/local-ai/tests.nix b/pkgs/by-name/lo/local-ai/tests.nix new file mode 100644 index 000000000000..82d1b775dab8 --- /dev/null +++ b/pkgs/by-name/lo/local-ai/tests.nix @@ -0,0 +1,160 @@ +{ self +, lib +, testers +, fetchzip +, fetchurl +, writers +, symlinkJoin +, linkFarmFromDrvs +, jq +}: +{ + version = testers.testVersion { + package = self; + version = "v" + self.version; + }; + + health = + let + port = "8080"; + in + testers.runNixOSTest { + name = self.name + "-health"; + nodes.machine = { + systemd.services.local-ai = { + wantedBy = [ "multi-user.target" ]; + serviceConfig.ExecStart = "${self}/bin/local-ai --debug --localai-config-dir . --address :${port}"; + }; + }; + testScript = '' + machine.wait_for_open_port(${port}) + machine.succeed("curl -f http://localhost:${port}/readyz") + ''; + }; + + # https://localai.io/docs/getting-started/manual/ + llama = + let + port = "8080"; + gguf = fetchurl { + url = "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGUF/resolve/main/luna-ai-llama2-uncensored.Q4_K_M.gguf"; + sha256 = "6a9dc401c84f0d48996eaa405174999c3a33bf12c2bfd8ea4a1e98f376de1f15"; + }; + models = linkFarmFromDrvs "models" [ + gguf + ]; + in + testers.runNixOSTest { + name = self.name + "-llama"; + nodes.machine = + let + cores = 4; + in + { + virtualisation = { + inherit cores; + memorySize = 8192; + }; + systemd.services.local-ai = { + wantedBy = [ "multi-user.target" ]; + serviceConfig.ExecStart = "${self}/bin/local-ai --debug --threads ${toString cores} --models-path ${models} --localai-config-dir . --address :${port}"; + }; + }; + testScript = + let + # https://localai.io/features/text-generation/#chat-completions + request-chat-completions = { + model = gguf.name; + messages = [{ role = "user"; content = "Say this is a test!"; }]; + temperature = 0.7; + }; + # https://localai.io/features/text-generation/#edit-completions + request-edit-completions = { + model = gguf.name; + instruction = "rephrase"; + input = "Black cat jumped out of the window"; + temperature = 0.7; + }; + # https://localai.io/features/text-generation/#completions + request-completions = { + model = gguf.name; + prompt = "A long time ago in a galaxy far, far away"; + temperature = 0.7; + }; + in + '' + machine.wait_for_open_port(${port}) + machine.succeed("curl -f http://localhost:${port}/readyz") + machine.succeed("curl -f http://localhost:${port}/v1/models --output models.json") + machine.succeed("${jq}/bin/jq --exit-status 'debug | .data[].id == \"${gguf.name}\"' models.json") + machine.succeed("curl -f http://localhost:${port}/v1/chat/completions --json @${writers.writeJSON "request-chat-completions.json" request-chat-completions} --output chat-completions.json") + machine.succeed("${jq}/bin/jq --exit-status 'debug | .object == \"chat.completion\"' chat-completions.json") + machine.succeed("curl -f http://localhost:${port}/v1/edits --json @${writers.writeJSON "request-edit-completions.json" request-edit-completions} --output edit-completions.json") + machine.succeed("${jq}/bin/jq --exit-status 'debug | .object == \"edit\"' edit-completions.json") + machine.succeed("curl -f http://localhost:${port}/v1/completions --json @${writers.writeJSON "request-completions.json" request-completions} --output completions.json") + machine.succeed("${jq}/bin/jq --exit-status 'debug | .object ==\"text_completion\"' completions.json") + ''; + }; + +} // lib.optionalAttrs self.features.with_tts { + # https://localai.io/features/text-to-audio/#piper + tts = + let + port = "8080"; + voice-en-us = fetchzip { + url = "https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-danny-low.tar.gz"; + hash = "sha256-5wf+6H5HeQY0qgdqnAG1vSqtjIFM9lXH53OgouuPm0M="; + stripRoot = false; + }; + ggml-tiny-en = fetchurl { + url = "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en-q5_1.bin"; + hash = "sha256-x3xXZvHO8JtrfUfyG1Rsvd1BV4hrO11tT3CekeZsfCs="; + }; + whisper-en = { + name = "whisper-en"; + backend = "whisper"; + parameters.model = ggml-tiny-en.name; + }; + models = symlinkJoin { + name = "models"; + paths = [ + voice-en-us + (linkFarmFromDrvs "whisper-en" [ + (writers.writeYAML "whisper-en.yaml" whisper-en) + ggml-tiny-en + ]) + ]; + }; + in + testers.runNixOSTest { + name = self.name + "-tts"; + nodes.machine = + let + cores = 2; + in + { + virtualisation = { + inherit cores; + }; + systemd.services.local-ai = { + wantedBy = [ "multi-user.target" ]; + serviceConfig.ExecStart = "${self}/bin/local-ai --debug --threads ${toString cores} --models-path ${models} --localai-config-dir . --address :${port}"; + }; + }; + testScript = + let + request = { + model = "en-us-danny-low.onnx"; + backend = "piper"; + input = "Hello, how are you?"; + }; + in + '' + machine.wait_for_open_port(${port}) + machine.succeed("curl -f http://localhost:${port}/readyz") + machine.succeed("curl -f http://localhost:${port}/tts --json @${writers.writeJSON "request.json" request} --output out.wav") + machine.succeed("curl -f http://localhost:${port}/v1/audio/transcriptions --header 'Content-Type: multipart/form-data' --form file=@out.wav --form model=${whisper-en.name} --output transcription.json") + machine.succeed("${jq}/bin/jq --exit-status 'debug | .segments | first.text == \"${request.input}\"' transcription.json") + ''; + }; +} From 403c17e488fd6570964d627fa055ba4186a89f80 Mon Sep 17 00:00:00 2001 From: someplaceguy Date: Wed, 10 Apr 2024 13:16:28 +0000 Subject: [PATCH 0426/1387] flint: remove mpir dependency MPIR is no longer being maintained and its website no longer exists. Furthermore, flint can use GMP instead of MPIR. --- pkgs/development/libraries/flint/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/development/libraries/flint/default.nix b/pkgs/development/libraries/flint/default.nix index eeb2cf1127e4..eeb928be8710 100644 --- a/pkgs/development/libraries/flint/default.nix +++ b/pkgs/development/libraries/flint/default.nix @@ -2,7 +2,6 @@ , stdenv , fetchurl , gmp -, mpir , mpfr , ntl , openblas ? null, blas, lapack @@ -22,7 +21,6 @@ stdenv.mkDerivation rec { buildInputs = [ gmp - mpir mpfr ntl ] ++ lib.optionals withBlas [ @@ -35,7 +33,6 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-gmp=${gmp}" - "--with-mpir=${mpir}" "--with-mpfr=${mpfr}" "--with-ntl=${ntl}" ] ++ lib.optionals withBlas [ From 8847bb9115f050d88a0616f6ee890b2e46815e8e Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 11 Apr 2024 03:51:52 -0700 Subject: [PATCH 0427/1387] texpresso: 0-unstable-2024-03-26 -> 0-unstable-2024-04-08 (#301517) --- pkgs/tools/typesetting/tex/texpresso/default.nix | 6 +++--- pkgs/tools/typesetting/tex/texpresso/tectonic.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texpresso/default.nix b/pkgs/tools/typesetting/tex/texpresso/default.nix index 6b79d518a8d7..ccbc43a1c615 100644 --- a/pkgs/tools/typesetting/tex/texpresso/default.nix +++ b/pkgs/tools/typesetting/tex/texpresso/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { pname = "texpresso"; - version = "0-unstable-2024-03-26"; + version = "0-unstable-2024-04-08"; nativeBuildInputs = [ makeWrapper @@ -35,8 +35,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "let-def"; repo = "texpresso"; - rev = "34d06efc5719a6289bbe2d05e5295566d0fbcfad"; - hash = "sha256-rfrESh2Yz5FfwWW57wBZSJKPri2Pl1uhTGTM02dyOqM="; + rev = "9db77502f238c75ef03ce94f34cc5170d0b2a833"; + hash = "sha256-YK4+GqjBjKui4J7YkNyeF1GyquMQMLMhp9o5u4Z8Bmc="; }; buildFlags = [ "texpresso" ]; diff --git a/pkgs/tools/typesetting/tex/texpresso/tectonic.nix b/pkgs/tools/typesetting/tex/texpresso/tectonic.nix index 76c4cb71b6ee..070594349ad7 100644 --- a/pkgs/tools/typesetting/tex/texpresso/tectonic.nix +++ b/pkgs/tools/typesetting/tex/texpresso/tectonic.nix @@ -6,11 +6,11 @@ tectonic-unwrapped.override (old: { src = fetchFromGitHub { owner = "let-def"; repo = "tectonic"; - rev = "a6d47e45cd610b271a1428898c76722e26653667"; - hash = "sha256-CDky1NdSQoXpTVDQ7sJWjcx3fdsBclO9Eun/70iClcI="; + rev = "7729f1360a7e1e8b8a9f8a6a23f96b5f7cc023d0"; + hash = "sha256-OyVkA2EuejxpQvA6pOuFaZh8ghZZ3HaV9q5DZ/2sIrY="; fetchSubmodules = true; }; - cargoHash = "sha256-M4XYjBK2MN4bOrk2zTSyuixmAjZ0t6IYI/MlYWrmkIk="; + cargoHash = "sha256-62sxvPIiY3len1wsl7QelK3u4ekftIjcTqoIGZMYb5A="; # binary has a different name, bundled tests won't work doCheck = false; meta.mainProgram = "texpresso-tonic"; From ee187195cc5d674fa8fd7f05e38c5a9232d8cdd8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 11:23:12 +0000 Subject: [PATCH 0428/1387] tor: 0.4.8.10 -> 0.4.8.11 --- pkgs/tools/security/tor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/tor/default.nix b/pkgs/tools/security/tor/default.nix index 050894307503..2f33862fcffe 100644 --- a/pkgs/tools/security/tor/default.nix +++ b/pkgs/tools/security/tor/default.nix @@ -30,11 +30,11 @@ let in stdenv.mkDerivation rec { pname = "tor"; - version = "0.4.8.10"; + version = "0.4.8.11"; src = fetchurl { url = "https://dist.torproject.org/${pname}-${version}.tar.gz"; - sha256 = "sha256-5ii0+rcO20cncVsjzykxN1qfdoWsCPLFnqSYoXhGOoY="; + sha256 = "sha256-jyvfkOYzgHgSNap9YE4VlXDyg+zuZ0Zwhz2LtwUsjgc="; }; outputs = [ "out" "geoip" ]; From 0e6aff21fedf5ec2f59774565218f3c1b70a33f1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 11:23:35 +0000 Subject: [PATCH 0429/1387] terragrunt: 0.56.2 -> 0.56.5 --- pkgs/applications/networking/cluster/terragrunt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix index be3d984cfc4c..a2f8fd2fbaa1 100644 --- a/pkgs/applications/networking/cluster/terragrunt/default.nix +++ b/pkgs/applications/networking/cluster/terragrunt/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "terragrunt"; - version = "0.56.2"; + version = "0.56.5"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-FbuXdng2pGd1Wi4GdFzQjk4quP5yz3APNXm6dcfGO7U="; + hash = "sha256-aKgcXLxFZBoomrKJFmUr/XfxHmNrkvK2IlfTR2dJNY0="; }; - vendorHash = "sha256-ijAg0Y/dfNxDS/Jov7QYjlTZ4N4/jDMH/zCV0jdVXRc="; + vendorHash = "sha256-joEmkFtoVxqlVrgl2mtJN9Cyr3YdnT6tBjaSXj9z2WU="; doCheck = false; From 66ea8cd9d9d2a99cb93098151f063d5e47c56ed5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 11:24:15 +0000 Subject: [PATCH 0430/1387] jackett: 0.21.2134 -> 0.21.2342 --- pkgs/servers/jackett/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/jackett/default.nix b/pkgs/servers/jackett/default.nix index 110e9c854535..ada510938cf8 100644 --- a/pkgs/servers/jackett/default.nix +++ b/pkgs/servers/jackett/default.nix @@ -9,13 +9,13 @@ buildDotnetModule rec { pname = "jackett"; - version = "0.21.2134"; + version = "0.21.2342"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha512-kaqHa7uvlD0twqU6/ZEp1u2OZh4v4gPi2n4lh2SXewEDHo2ffX8K91UYzphKu0aQAfIq0abDu8TlSR8JwE89lQ=="; + hash = "sha512-F1fmDe3ucnjlluyhoUhqrzO15FCvLkYJOAErgUsuIJd9Lw5v5cSANLa9ebuVzSTRscEAVwt7fRRXiJaWJInI/Q=="; }; projectFile = "src/Jackett.Server/Jackett.Server.csproj"; From 3669ad7a7bce7ca56bfdcaff9d39e11684d66f9e Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 11 Apr 2024 13:24:55 +0200 Subject: [PATCH 0431/1387] Revert "nixdoc: 3.0.2 -> 3.0.3" --- pkgs/tools/nix/nixdoc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/nix/nixdoc/default.nix b/pkgs/tools/nix/nixdoc/default.nix index 4ebba2c1b135..54d0c1be4ce6 100644 --- a/pkgs/tools/nix/nixdoc/default.nix +++ b/pkgs/tools/nix/nixdoc/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "nixdoc"; - version = "3.0.3"; + version = "3.0.2"; src = fetchFromGitHub { owner = "nix-community"; repo = "nixdoc"; rev = "v${version}"; - sha256 = "sha256-K4esnYD/fc4i2To9lccoZ5GUgRI75vjzNLMrFSdZzik="; + sha256 = "sha256-V3MAvbdYk3DL064UYcJE9HmwfQBwpMxVXWiAKX6honA="; }; - cargoHash = "sha256-Ag6n0inWpBJ9U49fJ1JmwpnZdokJ0WS5fnlVBMN7VXM="; + cargoHash = "sha256-RFxTjLiJCEc42Mb8rcayOFHkYk2GfpgsO3+hAaRwHgs="; buildInputs = lib.optionals stdenv.isDarwin [ darwin.Security ]; From 3b26d563c53acd716d5c15a0c7b0ff126a2a1625 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 11 Apr 2024 13:26:46 +0200 Subject: [PATCH 0432/1387] Build Nixpkgs manual when nixdoc changes Because this wasn't done previously, a PR was merged that broke the build: https://github.com/NixOS/nixpkgs/pull/302990#issuecomment-2049471406 --- .github/workflows/manual-nixpkgs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/manual-nixpkgs.yml b/.github/workflows/manual-nixpkgs.yml index fafdfc1c6bf0..b56d89eccd61 100644 --- a/.github/workflows/manual-nixpkgs.yml +++ b/.github/workflows/manual-nixpkgs.yml @@ -9,6 +9,7 @@ on: paths: - 'doc/**' - 'lib/**' + - 'pkgs/tools/nix/nixdoc/**' jobs: nixpkgs: From 3853200ec36267b97eb2f6d98bf46d7d791bd2ff Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 11 Apr 2024 00:20:11 +0900 Subject: [PATCH 0433/1387] python311Packages.pytorch-pfn-extras: fix build --- .../pytorch-pfn-extras/default.nix | 60 +++++++++++-------- 1 file changed, 34 insertions(+), 26 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-pfn-extras/default.nix b/pkgs/development/python-modules/pytorch-pfn-extras/default.nix index 2e3455b677e4..21da795609d9 100644 --- a/pkgs/development/python-modules/pytorch-pfn-extras/default.nix +++ b/pkgs/development/python-modules/pytorch-pfn-extras/default.nix @@ -1,15 +1,17 @@ { buildPythonPackage , fetchFromGitHub +, fetchpatch , lib -, setuptools , numpy , onnx , packaging , pytestCheckHook +, pythonAtLeast +, setuptools +, stdenv , torch , torchvision , typing-extensions -, pythonAtLeast }: buildPythonPackage rec { @@ -24,18 +26,27 @@ buildPythonPackage rec { hash = "sha256-vSon/0GxQfaRtSPsQbYAvE3s/F0HEN59VpzE3w1PnVE="; }; - nativeBuildInputs = [ + patches = [ + (fetchpatch { + name = "relax-setuptools.patch"; + url = "https://github.com/pfnet/pytorch-pfn-extras/commit/96abe38c4baa6a144d604bdd4744c55627e55440.patch"; + hash = "sha256-85UDGcgJyQS5gINbgpNM58b3XJGvf+ArtGhwJ5EXdhk="; + }) + ]; + + build-system = [ setuptools ]; - propagatedBuildInputs = [ numpy packaging torch typing-extensions ]; + dependencies = [ numpy packaging torch typing-extensions ]; nativeCheckInputs = [ onnx pytestCheckHook torchvision ]; - # ignore all pytest warnings - preCheck = '' - rm pytest.ini - ''; + pytestFlagsArray = [ + # Requires CUDA access which is not possible in the nix environment. + "-m 'not gpu and not mpi'" + "-Wignore::DeprecationWarning" + ]; pythonImportsCheck = [ "pytorch_pfn_extras" ]; @@ -45,31 +56,28 @@ buildPythonPackage rec { # requires onnxruntime which was removed because of poor maintainability # See https://github.com/NixOS/nixpkgs/pull/105951 https://github.com/NixOS/nixpkgs/pull/155058 + "tests/pytorch_pfn_extras_tests/onnx_tests/test_annotate.py" + "tests/pytorch_pfn_extras_tests/onnx_tests/test_as_output.py" "tests/pytorch_pfn_extras_tests/onnx_tests/test_export.py" + "tests/pytorch_pfn_extras_tests/onnx_tests/test_export_testcase.py" + "tests/pytorch_pfn_extras_tests/onnx_tests/test_lax.py" + "tests/pytorch_pfn_extras_tests/onnx_tests/test_load_model.py" "tests/pytorch_pfn_extras_tests/onnx_tests/test_torchvision.py" "tests/pytorch_pfn_extras_tests/onnx_tests/utils.py" - "tests/pytorch_pfn_extras_tests/onnx_tests/test_lax.py" # RuntimeError: No Op registered for Gradient with domain_version of 9 "tests/pytorch_pfn_extras_tests/onnx_tests/test_grad.py" - - # Requires CUDA access which is not possible in the nix environment. - "tests/pytorch_pfn_extras_tests/cuda_tests/test_allocator.py" - "tests/pytorch_pfn_extras_tests/nn_tests/modules_tests/test_lazy_batchnorm.py" - "tests/pytorch_pfn_extras_tests/nn_tests/modules_tests/test_lazy_conv.py" - "tests/pytorch_pfn_extras_tests/nn_tests/modules_tests/test_lazy_linear.py" - "tests/pytorch_pfn_extras_tests/nn_tests/modules_tests/test_lazy.py" - "tests/pytorch_pfn_extras_tests/profiler_tests/test_record.py" - "tests/pytorch_pfn_extras_tests/runtime_tests/test_to.py" - "tests/pytorch_pfn_extras_tests/handler_tests/test_handler.py" - "tests/pytorch_pfn_extras_tests/test_reporter.py" - "tests/pytorch_pfn_extras_tests/training_tests/test_trainer.py" - "tests/pytorch_pfn_extras_tests/utils_tests/test_checkpoint.py" - "tests/pytorch_pfn_extras_tests/utils_tests/test_comparer.py" - "tests/pytorch_pfn_extras_tests/utils_tests/test_new_comparer.py" - ] ++ lib.optionals (pythonAtLeast "3.11") [ - # Remove this when https://github.com/NixOS/nixpkgs/pull/259068 is merged + ] ++ lib.optionals (pythonAtLeast "3.12") [ + # RuntimeError: Dynamo is not supported on Python 3.12+ "tests/pytorch_pfn_extras_tests/dynamo_tests/test_compile.py" + "tests/pytorch_pfn_extras_tests/test_ops/test_register.py" + ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ + # torch.distributed is not available on darwin + "tests/pytorch_pfn_extras_tests/training_tests/extensions_tests/test_sharded_snapshot.py" + ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ + # RuntimeError: internal error + # convolution (e.g. F.conv3d) causes runtime error + "tests/pytorch_pfn_extras_tests/nn_tests/modules_tests/test_lazy_conv.py" ]; meta = with lib; { From c99a64cf89daca540b646e72fe347cd63c7e96c6 Mon Sep 17 00:00:00 2001 From: zzzsyyy Date: Thu, 11 Apr 2024 19:29:47 +0800 Subject: [PATCH 0434/1387] linux_xanmod: 6.6.25 -> 6.6.26 --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 82eb0d4a7b6e..d10975f223d1 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -6,8 +6,8 @@ let # NOTE: When updating these, please also take a look at the changes done to # kernel config in the xanmod version commit ltsVariant = { - version = "6.6.25"; - hash = "sha256-f375jX0BTlccJoeEFDQ2ZaVWQhcnWqcSNYHzGjS2DQo="; + version = "6.6.26"; + hash = "sha256-XC0HRp0t4qeGReU2oY231P5kdzvkl71uILlF9tdwgX4="; variant = "lts"; }; From d7487b65a16a562e76b26728133f0f311c13760d Mon Sep 17 00:00:00 2001 From: kashw2 Date: Thu, 11 Apr 2024 21:35:35 +1000 Subject: [PATCH 0435/1387] d2: 0.6.3 -> 0.6.4 --- pkgs/tools/text/d2/default.nix | 8 ++++---- pkgs/top-level/all-packages.nix | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/text/d2/default.nix b/pkgs/tools/text/d2/default.nix index 77c5de696f12..e82ef305a522 100644 --- a/pkgs/tools/text/d2/default.nix +++ b/pkgs/tools/text/d2/default.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "d2"; - version = "0.6.3"; + version = "0.6.4"; src = fetchFromGitHub { owner = "terrastruct"; repo = pname; - rev = "v${version}"; - hash = "sha256-GImv4OJHanj6dKtAJpTaGLrR4AaVTboiYHwRdh/gXaU="; + rev = "refs/tags/v${version}"; + hash = "sha256-lOZ2JFQG4x4xv/fdTlpOEp9lpdjR0ACyAIUWEZUm6L8="; }; - vendorHash = "sha256-T7eki06fQuGvYIJKvBJsIkFS1fQ9Jbv+ieUSr2vupqg="; + vendorHash = "sha256-aoc8KSznkWJpn0Ye7FUOH5sNQ4fslIGJhIaQdGrwcqQ="; excludedPackages = [ "./e2etests" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 151530685e71..c5e77069ef48 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7825,10 +7825,7 @@ with pkgs; choose = callPackage ../tools/text/choose { }; - d2 = callPackage ../tools/text/d2 { - # Failed tests - buildGoModule = buildGo121Module; - }; + d2 = callPackage ../tools/text/d2 { }; ddev = callPackage ../applications/virtualization/ddev { }; From 201a8e5003a713a68ad132ef3c471d8c4996cf59 Mon Sep 17 00:00:00 2001 From: Yaya Date: Thu, 11 Apr 2024 13:58:45 +0200 Subject: [PATCH 0436/1387] gitlab: 16.10.1 -> 16.10.2 https://gitlab.com/gitlab-org/gitlab/-/blob/v16.10.2-ee/CHANGELOG.md Fixes CVE-2023-6489 Fixes CVE-2023-6678 Fixes CVE-2024-2279 Fixes CVE-2024-3092 --- .../applications/version-management/gitlab/data.json | 12 ++++++------ .../version-management/gitlab/gitaly/default.nix | 4 ++-- .../gitlab/gitlab-pages/default.nix | 4 ++-- .../gitlab/gitlab-workhorse/default.nix | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json index c0d38801216b..1e72e6d49802 100644 --- a/pkgs/applications/version-management/gitlab/data.json +++ b/pkgs/applications/version-management/gitlab/data.json @@ -1,15 +1,15 @@ { - "version": "16.10.1", - "repo_hash": "sha256-Bd2BvdWUJJm+hJZHFaW2PyMdaNTZWArpaQ3nY06BBBY=", + "version": "16.10.2", + "repo_hash": "sha256-hKd++fjBaCidBB9DbitWTJjvmiXU0iN1HY4S2gtscW8=", "yarn_hash": "0yzywfg4lqxjwm5cqsm4bn97zcrfvpnrs8rjrv9wv3xqvi9h9skd", "owner": "gitlab-org", "repo": "gitlab", - "rev": "v16.10.1-ee", + "rev": "v16.10.2-ee", "passthru": { - "GITALY_SERVER_VERSION": "16.10.1", - "GITLAB_PAGES_VERSION": "16.10.1", + "GITALY_SERVER_VERSION": "16.10.2", + "GITLAB_PAGES_VERSION": "16.10.2", "GITLAB_SHELL_VERSION": "14.34.0", "GITLAB_ELASTICSEARCH_INDEXER_VERSION": "4.8.0", - "GITLAB_WORKHORSE_VERSION": "16.10.1" + "GITLAB_WORKHORSE_VERSION": "16.10.2" } } diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix index 7cdcebb5ba4d..994cdafc4109 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/default.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix @@ -6,7 +6,7 @@ }: let - version = "16.10.1"; + version = "16.10.2"; package_version = "v${lib.versions.major version}"; gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; @@ -18,7 +18,7 @@ let owner = "gitlab-org"; repo = "gitaly"; rev = "v${version}"; - hash = "sha256-YMvxSQcvFj/ugTGjTThmwi1V9M+rc3fldrmChWzXKR8="; + hash = "sha256-oV6MV9W5kC43orMn78A3UpuR71crN7tcN3xy56S/Ar0="; }; vendorHash = "sha256-zaldiRg7fk/HncpfR7k+dDprsOp1ziQHgX8B4l7bwe0="; diff --git a/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix b/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix index 92ca11e7884b..c203d4a6db6f 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "gitlab-pages"; - version = "16.10.1"; + version = "16.10.2"; # nixpkgs-update: no auto update src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-pages"; rev = "v${version}"; - hash = "sha256-jUTUYbkUad2WrI8lkktd2pr3+GPraEUXT+efOb7JcKw="; + hash = "sha256-lJYQBNJFAVq9SKS1gc2rhdE3qFO7x7xcCXT4hlDwtB8="; }; vendorHash = "sha256-WrR4eZRAuYkhr7ZqP7OXqJ6uwvxzn+t+3OdBNcNaq0M="; diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix index 213989465b52..2fbd41cff8d1 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix @@ -5,7 +5,7 @@ in buildGoModule rec { pname = "gitlab-workhorse"; - version = "16.10.1"; + version = "16.10.2"; # nixpkgs-update: no auto update src = fetchFromGitLab { From e77ea8ece56446d0cc33b50f78811e943009e70a Mon Sep 17 00:00:00 2001 From: zzzsyyy Date: Thu, 11 Apr 2024 20:04:25 +0800 Subject: [PATCH 0437/1387] linux_xanmod_latest: 6.7.12 -> 6.8.5 --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index d10975f223d1..b6bef613c731 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -12,8 +12,8 @@ let }; mainVariant = { - version = "6.7.12"; - hash = "sha256-6CY38ofjv+4BkAViTONUjD8YfK/P8YfxZ5OfQA9rllg="; + version = "6.8.5"; + hash = "sha256-CPq6CxyQY/y7f0FV4JSWucyo4rfIsfmVY/f15Lv0/TI="; variant = "main"; }; From 084ce1ee888100b00f6a884dc88c8e960154673e Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 11 Apr 2024 15:05:26 +0300 Subject: [PATCH 0438/1387] Revert "nixos/getty: add option to autologin once per boot" --- .../manual/release-notes/rl-2405.section.md | 3 -- nixos/modules/services/ttys/getty.nix | 32 +++---------------- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 243c7dc81f59..a8cefa0da604 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -498,9 +498,6 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m existing process, but will need to start that process from gdb (so it is a child). Or you can set `boot.kernel.sysctl."kernel.yama.ptrace_scope"` to 0. -- The new option `services.getty.autologinOnce` was added to limit the automatic login to once per boot and on the first tty only. - When using full disk encryption, this option allows to unlock the system without retyping the passphrase while keeping the other ttys protected. - - The netbird module now allows running multiple tunnels in parallel through [`services.netbird.tunnels`](#opt-services.netbird.tunnels). - [Nginx virtual hosts](#opt-services.nginx.virtualHosts) using `forceSSL` or diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix index 3578f4ba8773..22ae9c27e5bc 100644 --- a/nixos/modules/services/ttys/getty.nix +++ b/nixos/modules/services/ttys/getty.nix @@ -7,26 +7,14 @@ let baseArgs = [ "--login-program" "${cfg.loginProgram}" - ] ++ optionals (cfg.autologinUser != null && !cfg.autologinOnce) [ + ] ++ optionals (cfg.autologinUser != null) [ "--autologin" cfg.autologinUser ] ++ optionals (cfg.loginOptions != null) [ "--login-options" cfg.loginOptions ] ++ cfg.extraArgs; gettyCmd = args: - "${pkgs.util-linux}/sbin/agetty ${escapeShellArgs baseArgs} ${args}"; - - autologinScript = '' - otherArgs="--noclear --keep-baud $TTY 115200,38400,9600 $TERM"; - ${lib.optionalString cfg.autologinOnce '' - autologged="/run/agetty.autologged" - if test "$TTY" = tty1 && ! test -f "$autologged"; then - touch "$autologged" - exec ${gettyCmd "$otherArgs --autologin ${cfg.autologinUser}"} - fi - ''} - exec ${gettyCmd "$otherArgs"} - ''; + "@${pkgs.util-linux}/sbin/agetty agetty ${escapeShellArgs baseArgs} ${args}"; in @@ -52,16 +40,6 @@ in ''; }; - autologinOnce = mkOption { - type = types.bool; - default = false; - description = '' - If enabled the automatic login will only happen in the first tty - once per boot. This can be useful to avoid retyping the account - password on systems with full disk encrypted. - ''; - }; - loginProgram = mkOption { type = types.path; default = "${pkgs.shadow}/bin/login"; @@ -128,11 +106,9 @@ in systemd.services."getty@" = { serviceConfig.ExecStart = [ - # override upstream default with an empty ExecStart - "" - (pkgs.writers.writeDash "getty" autologinScript) + "" # override upstream default with an empty ExecStart + (gettyCmd "--noclear --keep-baud %I 115200,38400,9600 $TERM") ]; - environment.TTY = "%I"; restartIfChanged = false; }; From 6abe5d3831bd314a4b4d464f963ef4c637b2f619 Mon Sep 17 00:00:00 2001 From: Yaya Date: Thu, 11 Apr 2024 13:59:17 +0200 Subject: [PATCH 0439/1387] gitlab-container-registry: 3.91.0 -> 3.92.0 https://gitlab.com/gitlab-org/container-registry/-/blob/v3.92.0-gitlab/CHANGELOG.md --- .../gitlab/gitlab-container-registry/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix b/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix index fbea45b432bd..c7f241aa0f42 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "gitlab-container-registry"; - version = "3.91.0"; + version = "3.92.0"; rev = "v${version}-gitlab"; # nixpkgs-update: no auto update @@ -10,7 +10,7 @@ buildGoModule rec { owner = "gitlab-org"; repo = "container-registry"; inherit rev; - hash = "sha256-C6tCwVfVZ9CMP0X5NiOdPAuSz5yeu9LAnvOPrq2QLJo="; + hash = "sha256-NHpqfqv3RCbWZilhXLGnQTN+ytzifAix6mcLk5Bw124="; }; vendorHash = "sha256-KZWdM8Q8ipsgm7OoLyOuHo+4Vg2Nve+yZtTSUDgjOW4="; From 3914f2a05c6ca922db1d445521c31d1753dc480d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 12:31:52 +0000 Subject: [PATCH 0440/1387] cardinal: 23.10 -> 24.04 --- pkgs/applications/audio/cardinal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/cardinal/default.nix b/pkgs/applications/audio/cardinal/default.nix index 70d199d43b11..33ad843db529 100644 --- a/pkgs/applications/audio/cardinal/default.nix +++ b/pkgs/applications/audio/cardinal/default.nix @@ -27,11 +27,11 @@ stdenv.mkDerivation rec { pname = "cardinal"; - version = "23.10"; + version = "24.04"; src = fetchurl { url = "https://github.com/DISTRHO/Cardinal/releases/download/${version}/cardinal+deps-${version}.tar.xz"; - hash = "sha256-6Wt2sC7vdrz2Fkl08bNLfnGu+pAV7b5lZUmsx1wtJRE="; + hash = "sha256-vowDdHAXVZ+HSMoQsvJdzghsJzH+OrSpx6MxPRAgtJA="; }; prePatch = '' From ba169b48936ebc26f02cde04a00619edc829dba0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 12:43:51 +0000 Subject: [PATCH 0441/1387] python311Packages.sphinxcontrib-confluencebuilder: 2.5.0 -> 2.5.1 --- .../sphinxcontrib-confluencebuilder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix b/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix index 849bc559c0ef..240e51c72418 100644 --- a/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "sphinxcontrib-confluencebuilder"; - version = "2.5.0"; + version = "2.5.1"; format = "pyproject"; src = fetchPypi { pname = "sphinxcontrib_confluencebuilder"; inherit version; - hash = "sha256-rE9tWUie9ZaeWnKR+ojwS9A6BHEtsgVpwzXAuWoxknQ="; + hash = "sha256-PQpkwQ95UVJwDGTAq1xdcSvd07FZpZfA/4jq3ywlMas="; }; nativeBuildInputs = [ From 03a1d58cbf567f4481f6c32091797a5236e6bc51 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 12:53:37 +0000 Subject: [PATCH 0442/1387] faas-cli: 0.16.23 -> 0.16.25 --- pkgs/development/tools/faas-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/faas-cli/default.nix b/pkgs/development/tools/faas-cli/default.nix index 35db119791cc..bd6b56e932be 100644 --- a/pkgs/development/tools/faas-cli/default.nix +++ b/pkgs/development/tools/faas-cli/default.nix @@ -18,13 +18,13 @@ let in buildGoModule rec { pname = "faas-cli"; - version = "0.16.23"; + version = "0.16.25"; src = fetchFromGitHub { owner = "openfaas"; repo = "faas-cli"; rev = version; - sha256 = "sha256-QbMwokFHaISvsNuHy/Do90bvXtwaJmie/hDLybuy2qk="; + sha256 = "sha256-6HX+n3OXSA2gJ0LW5zlH3FboM5RNaOI72EmnEI9wbFE="; }; vendorHash = null; From 9bcfb99d6b86f5373d313d7b726a3c782d198e70 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 12:58:22 +0000 Subject: [PATCH 0443/1387] git-mit: 5.12.191 -> 5.12.194 --- pkgs/applications/version-management/git-mit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/git-mit/default.nix b/pkgs/applications/version-management/git-mit/default.nix index bc59aa6ffda1..f3dbcc6273d6 100644 --- a/pkgs/applications/version-management/git-mit/default.nix +++ b/pkgs/applications/version-management/git-mit/default.nix @@ -10,7 +10,7 @@ }: let - version = "5.12.191"; + version = "5.12.194"; in rustPlatform.buildRustPackage { pname = "git-mit"; @@ -20,10 +20,10 @@ rustPlatform.buildRustPackage { owner = "PurpleBooth"; repo = "git-mit"; rev = "v${version}"; - hash = "sha256-aSEoAs0s7zyALf3s77eVlrjkCrn7ihW/4OW5hN8YL8k="; + hash = "sha256-9ITy2VPLIunSLSNx4EXbvxZ7V/Kr+DwmjzDVj/QVGHs="; }; - cargoHash = "sha256-pm+XreLGxZJKRcrmU1ooMjN7MTRJqgKOy2J1OqdodxE="; + cargoHash = "sha256-6R+T0BSgT6IivugkXXsX5xJ2c3/J3FnLY3ZvcfYW53E="; nativeBuildInputs = [ pkg-config ]; From d40167f9a52192e4e698bd9ee04d6c5bd335e2df Mon Sep 17 00:00:00 2001 From: Lorenzo Manacorda Date: Thu, 11 Apr 2024 15:00:00 +0200 Subject: [PATCH 0444/1387] team-list: join jitsi team --- maintainers/team-list.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index 5e87d28992dc..5a627d45c4ab 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -484,6 +484,7 @@ with lib.maintainers; { ryantm lassulus yayayayaka + asymmetric ]; scope = "Maintain Jitsi."; shortName = "Jitsi"; From 909b6dbc0b79149c3eccac580d583598731c32ad Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Apr 2024 13:06:25 +0000 Subject: [PATCH 0445/1387] gridcoin-research: 5.4.7.0 -> 5.4.8.0 --- pkgs/applications/blockchains/gridcoin-research/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/gridcoin-research/default.nix b/pkgs/applications/blockchains/gridcoin-research/default.nix index 4a5bd601ced7..5774c082e2a3 100644 --- a/pkgs/applications/blockchains/gridcoin-research/default.nix +++ b/pkgs/applications/blockchains/gridcoin-research/default.nix @@ -20,13 +20,13 @@ stdenv.mkDerivation rec { pname = "gridcoin-research"; - version = "5.4.7.0"; + version = "5.4.8.0"; src = fetchFromGitHub { owner = "gridcoin-community"; repo = "Gridcoin-Research"; rev = "${version}"; - sha256 = "sha256-wdXah7QnWohGAtC98exPSkhg5F3BaBOiFs6bklFxD7E="; + sha256 = "sha256-HZirzXkqM2aep+wq8k2UCFWHPtN0sBZXjamgt7RYPBo="; }; nativeBuildInputs = [ From 1fb10f5017cfe9ee0c97e5087310c893cfa98103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 10 Apr 2024 22:27:33 +0200 Subject: [PATCH 0446/1387] nixos/fzf: bring back keybindings and completion option removed in #298692 Also drop with lib --- .../manual/release-notes/rl-2305.section.md | 2 +- .../manual/release-notes/rl-2405.section.md | 2 - nixos/modules/programs/fzf.nix | 62 ++++++++----------- pkgs/tools/misc/fzf/default.nix | 9 +++ 4 files changed, 37 insertions(+), 38 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index 031442940b9e..ce874a6e0b2d 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -79,7 +79,7 @@ In addition to numerous new and updated packages, this release has the following - [frigate](https://frigate.video), an open source NVR built around real-time AI object detection. Available as [services.frigate](#opt-services.frigate.enable). -- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.enable). +- [fzf](https://github.com/junegunn/fzf), a command line fuzzyfinder. Available as [programs.fzf](#opt-programs.fzf.fuzzyCompletion). - [gemstash](https://github.com/rubygems/gemstash), a RubyGems.org cache and private gem server. Available as [services.gemstash](#opt-services.gemstash.enable). diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index a5e8ab4addfa..e80f9e7a8634 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -322,8 +322,6 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m - `xxd` has been moved from `vim` default output to its own output to reduce closure size. The canonical way to reference it across all platforms is `unixtools.xxd`. -- `programs.fzf.keybindings` and `programs.fzf.fuzzyCompletion` got replaced by `programs.fzf.enable` as shell-completion is included in the fzf-binary now there is no easy option to load completion and keybindings separately. Please consult fzf-documentation on how to configure/disable certain keybindings. - - The `stalwart-mail` package has been updated to v0.5.3, which includes [breaking changes](https://github.com/stalwartlabs/mail-server/blob/v0.5.3/UPGRADING.md). - `services.zope2` has been removed as `zope2` is unmaintained and was relying on Python2. diff --git a/nixos/modules/programs/fzf.nix b/nixos/modules/programs/fzf.nix index 05e39c43c11b..acc23d75df7b 100644 --- a/nixos/modules/programs/fzf.nix +++ b/nixos/modules/programs/fzf.nix @@ -1,46 +1,38 @@ { pkgs, config, lib, ... }: -with lib; - let cfg = config.programs.fzf; - in { - imports = [ - (lib.mkRemovedOptionModule [ "programs" "fzf" "keybindings" ] '' - Use "programs.fzf.enable" instead, due to fzf upstream-change it's not possible to load shell-completion and keybindings separately. - If you want to change/disable certain keybindings please check the fzf-documentation. - '') - (lib.mkRemovedOptionModule [ "programs" "fzf" "fuzzyCompletion" ] '' - Use "programs.fzf.enable" instead, due to fzf upstream-change it's not possible to load shell-completion and keybindings separately. - If you want to change/disable certain keybindings please check the fzf-documentation. - '') - ]; - options = { - programs.fzf.enable = mkEnableOption (mdDoc "fuzzy completion with fzf and keybindings"); - }; - - config = mkIf cfg.enable { - environment.systemPackages = [ pkgs.fzf ]; - - programs.bash.interactiveShellInit = '' - eval "$(${getExe pkgs.fzf} --bash)" - ''; - - programs.fish.interactiveShellInit = '' - ${getExe pkgs.fzf} --fish | source - ''; - - programs.zsh = { - interactiveShellInit = optionalString (!config.programs.zsh.ohMyZsh.enable) '' - eval "$(${getExe pkgs.fzf} --zsh)" - ''; - - ohMyZsh.plugins = mkIf (config.programs.zsh.ohMyZsh.enable) [ "fzf" ]; + programs.fzf = { + fuzzyCompletion = lib.mkEnableOption (lib.mdDoc "fuzzy completion with fzf"); + keybindings = lib.mkEnableOption (lib.mdDoc "fzf keybindings"); }; }; - meta.maintainers = with maintainers; [ laalsaas ]; + config = lib.mkIf (cfg.keybindings || cfg.fuzzyCompletion) { + environment.systemPackages = lib.mkIf (cfg.keybindings || cfg.fuzzyCompletion) [ pkgs.fzf ]; + + programs = { + bash.interactiveShellInit = lib.optionalString cfg.fuzzyCompletion '' + source ${pkgs.fzf}/share/fzf/completion.bash + '' + lib.optionalString cfg.keybindings '' + source ${pkgs.fzf}/share/fzf/key-bindings.bash + ''; + + zsh = { + interactiveShellInit = lib.optionalString (!config.programs.zsh.ohMyZsh.enable) + (lib.optionalString cfg.fuzzyCompletion '' + source ${pkgs.fzf}/share/fzf/completion.zsh + '' + lib.optionalString cfg.keybindings '' + source ${pkgs.fzf}/share/fzf/key-bindings.zsh + ''); + + ohMyZsh.plugins = lib.mkIf config.programs.zsh.ohMyZsh.enable [ "fzf" ]; + }; + }; + }; + + meta.maintainers = with lib.maintainers; [ laalsaas ]; } diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index 94ec13ead9e4..9f6d94a83920 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -55,6 +55,15 @@ buildGoModule rec { install -D plugin/* -t $out/share/vim-plugins/${pname}/plugin mkdir -p $out/share/nvim ln -s $out/share/vim-plugins/${pname} $out/share/nvim/site + + # Install shell integrations + install -D shell/* -t $out/share/fzf/ + install -D shell/key-bindings.fish $out/share/fish/vendor_functions.d/fzf_key_bindings.fish + mkdir -p $out/share/fish/vendor_conf.d + cat << EOF > $out/share/fish/vendor_conf.d/load-fzf-key-bindings.fish + status is-interactive; or exit 0 + fzf_key_bindings + EOF ''; passthru.tests.version = testers.testVersion { From 104f24e0b99b6d340c313e8f7c963cb8e9f8ae3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 11 Apr 2024 13:52:07 +0200 Subject: [PATCH 0447/1387] Revert "doc: replace fzf-share mention with sk-share from Skim package" This reverts commit de5b2ef096cc03796398f7ca627ad5f4306aa065. --- doc/packages/shell-helpers.section.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/packages/shell-helpers.section.md b/doc/packages/shell-helpers.section.md index 1c73303f8284..e7c2b0abebfc 100644 --- a/doc/packages/shell-helpers.section.md +++ b/doc/packages/shell-helpers.section.md @@ -2,11 +2,11 @@ Some packages provide the shell integration to be more useful. But unlike other systems, nix doesn't have a standard `share` directory location. This is why a bunch `PACKAGE-share` scripts are shipped that print the location of the corresponding shared folder. Current list of such packages is as following: -- `sk` : `sk-share` +- `fzf` : `fzf-share` -E.g. `sk` can then be used in the `.bashrc` like this: +E.g. `fzf` can then be used in the `.bashrc` like this: ```bash -source "$(sk-share)/completion.bash" -source "$(sk-share)/key-bindings.bash" +source "$(fzf-share)/completion.bash" +source "$(fzf-share)/key-bindings.bash" ``` From 15ed0d212574c950e94e56f7ad7ec3c33ee8f772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 11 Apr 2024 13:52:44 +0200 Subject: [PATCH 0448/1387] Revert "fzf: remove fzf-share helper" This reverts commit 1035a9efdfe4456f224a92ed133cf0605b9eb821. --- pkgs/tools/misc/fzf/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index 9f6d94a83920..e2ae52985a50 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -1,6 +1,7 @@ { lib , buildGoModule , fetchFromGitHub +, runtimeShell , installShellFiles , bc , ncurses @@ -64,6 +65,14 @@ buildGoModule rec { status is-interactive; or exit 0 fzf_key_bindings EOF + + cat <