Merge master into staging-next

authored by nixpkgs-ci[bot] and committed by GitHub cd5b30e5 2ff912d9

+445 -208
+2 -2
pkgs/applications/audio/spotify-qt/default.nix
··· 12 12 13 13 stdenv.mkDerivation (finalAttrs: { 14 14 pname = "spotify-qt"; 15 - version = "3.12"; 15 + version = "4.0.0"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "kraxarn"; 19 19 repo = "spotify-qt"; 20 20 rev = "v${finalAttrs.version}"; 21 - hash = "sha256-j9g2fq12gsue0pc/fLoCAtDlwwlbCVJ65kxPiTJTqvk="; 21 + hash = "sha256-4Qcmb8SYh4wQIosMU9bk22Y7FF3gfYgM3zODMBsD8Iw="; 22 22 }; 23 23 24 24 postPatch = ''
+2 -2
pkgs/applications/gis/qgis/unwrapped-ltr.nix
··· 82 82 ]; 83 83 in 84 84 mkDerivation rec { 85 - version = "3.40.5"; 85 + version = "3.40.6"; 86 86 pname = "qgis-ltr-unwrapped"; 87 87 88 88 src = fetchFromGitHub { 89 89 owner = "qgis"; 90 90 repo = "QGIS"; 91 91 rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}"; 92 - hash = "sha256-YVHNB4vdLw8RZir4UydTijztzx58aXBLJk+lA0K9y+4="; 92 + hash = "sha256-pw5XxaGDsyQfeJL582Iic2sg5j8AUPvM+I53YLB4aG4="; 93 93 }; 94 94 95 95 passthru = {
+2 -2
pkgs/applications/gis/qgis/unwrapped.nix
··· 82 82 ]; 83 83 in 84 84 mkDerivation rec { 85 - version = "3.42.1"; 85 + version = "3.42.2"; 86 86 pname = "qgis-unwrapped"; 87 87 88 88 src = fetchFromGitHub { 89 89 owner = "qgis"; 90 90 repo = "QGIS"; 91 91 rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}"; 92 - hash = "sha256-0VW/5X8C35uwIZu018Vtp7qosS0v1b+1SFUE8NSTQYE="; 92 + hash = "sha256-kWy+FBiqPMt8GLGWSJBQp0uD5l1IE/2KmDGdxKapg78="; 93 93 }; 94 94 95 95 passthru = {
+3 -3
pkgs/by-name/ac/act/package.nix
··· 8 8 }: 9 9 10 10 let 11 - version = "0.2.76"; 11 + version = "0.2.77"; 12 12 in 13 13 buildGoModule { 14 14 pname = "act"; ··· 18 18 owner = "nektos"; 19 19 repo = "act"; 20 20 tag = "v${version}"; 21 - hash = "sha256-9Pn4Yzc0ZjOJy0ktJl/C1OXHkJ4vZrA0d4FJTooLvWU="; 21 + hash = "sha256-bcqHj40lySE2xXGuUbXbH5cjQ5NoJCvjE/uX8HaKVho="; 22 22 }; 23 23 24 - vendorHash = "sha256-ak7JFh739SoHeiEWLjthqAn1KHamGujYJNa3ZIdhLLQ="; 24 + vendorHash = "sha256-YH5SIZ73VYqg7+sSJpvqkIlBUy1rs3uNEWiEBDRdkQw="; 25 25 26 26 doCheck = false; 27 27
+23 -11
pkgs/by-name/ba/bamf/package.nix
··· 19 19 dbus, 20 20 python3, 21 21 wrapGAppsHook3, 22 + withDocs ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, 22 23 }: 23 24 24 25 stdenv.mkDerivation rec { 25 26 pname = "bamf"; 26 27 version = "0.5.6"; 27 28 28 - outputs = [ 29 - "out" 30 - "dev" 31 - "devdoc" 32 - ]; 29 + outputs = 30 + [ 31 + "out" 32 + "dev" 33 + ] 34 + ++ lib.optionals withDocs [ 35 + "devdoc" 36 + ]; 33 37 34 38 src = fetchgit { 35 39 url = "https://git.launchpad.net/~unity-team/bamf"; ··· 37 41 sha256 = "7U+2GcuDjPU8quZjkd8bLADGlG++tl6wSo0mUQkjAXQ="; 38 42 }; 39 43 44 + depsBuildBuild = [ 45 + pkg-config 46 + ]; 47 + 40 48 nativeBuildInputs = [ 41 - (python3.withPackages (ps: with ps; [ lxml ])) # Tests 49 + (python3.pythonOnBuildForHost.withPackages (ps: with ps; [ lxml ])) # Tests 42 50 autoreconfHook 43 51 dbus 44 52 docbook_xsl 45 53 gnome-common 46 54 gobject-introspection 47 - gtk-doc 55 + gtk-doc # required for autoreconfHook, even when `withDocs = false` 48 56 pkg-config 49 57 vala 50 58 which ··· 66 74 --replace '/usr/lib/systemd/user' '@prefix@/lib/systemd/user' 67 75 ''; 68 76 69 - configureFlags = [ 70 - "--enable-gtk-doc" 71 - "--enable-headless-tests" 72 - ]; 77 + configureFlags = 78 + [ 79 + "--enable-headless-tests" 80 + ] 81 + ++ lib.optionals withDocs [ 82 + "--enable-gtk-doc" 83 + ]; 73 84 74 85 # Fix paths 75 86 makeFlags = [ ··· 79 90 80 91 # TODO: Requires /etc/machine-id 81 92 doCheck = false; 93 + strictDeps = true; 82 94 83 95 # Ignore deprecation errors 84 96 env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
+2 -2
pkgs/by-name/be/beeper/package.nix
··· 9 9 }: 10 10 let 11 11 pname = "beeper"; 12 - version = "4.0.640"; 12 + version = "4.0.661"; 13 13 src = fetchurl { 14 14 url = "https://beeper-desktop.download.beeper.com/builds/Beeper-${version}.AppImage"; 15 - hash = "sha256-hYbTYvfrTpRPRwXXgNCqKeEtiRpuLj6sYIYnfJ3aMv4="; 15 + hash = "sha256-cKeHttoaV+UN5LXUArUxEcMjj3a4kjcj0EuiDriTtyE="; 16 16 }; 17 17 appimageContents = appimageTools.extract { 18 18 inherit pname version src;
+2 -1
pkgs/by-name/ci/cider-2/package.nix
··· 33 33 install -m 444 -D ${contents}/Cider.desktop $out/share/applications/${pname}.desktop 34 34 substituteInPlace $out/share/applications/${pname}.desktop \ 35 35 --replace-warn 'Exec=Cider' 'Exec=${pname}' 36 - cp -r ${contents}/usr/share/icons $out/share 36 + install -Dm444 ${contents}/usr/share/icons/hicolor/256x256/cider.png \ 37 + $out/share/icons/hicolor/256x256/apps/cider.png 37 38 ''; 38 39 39 40 meta = {
+2 -2
pkgs/by-name/co/cobang/package.nix
··· 18 18 19 19 python3Packages.buildPythonApplication rec { 20 20 pname = "cobang"; 21 - version = "1.6.1"; 21 + version = "1.6.2"; 22 22 pyproject = false; # Built with meson 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "hongquan"; 26 26 repo = "CoBang"; 27 27 tag = "v${version}"; 28 - hash = "sha256-/0EfE4ZVfDFEbPel/g69sFqsBPMJ4pE9Fqz4t3o7jtY="; 28 + hash = "sha256-M32bGVPOkbx93gDPQcin+Dv9P8zfx1Ory+DTJY+bypI="; 29 29 }; 30 30 31 31 # https://github.com/hongquan/CoBang/issues/117
+6 -1
pkgs/by-name/dv/dvd-vr/package.nix
··· 11 11 url = "https://www.pixelbeat.org/programs/dvd-vr/dvd-vr-${finalAttrs.version}.tar.gz"; 12 12 sha256 = "13wkdia3c0ryda40b2nzpb9vddimasgc4w95hvl0k555k9k8bl0r"; 13 13 }; 14 - makeFlags = [ "PREFIX=$(out)" ]; 14 + 15 + makeFlags = [ 16 + "PREFIX=$(out)" 17 + # Fix build with GCC 14 18 + "CFLAGS=-Wno-error=incompatible-pointer-types" 19 + ]; 15 20 16 21 meta = with lib; { 17 22 homepage = "https://www.pixelbeat.org/programs/dvd-vr/";
+2
pkgs/by-name/em/emulationstation-de/package.nix
··· 17 17 poppler, 18 18 pugixml, 19 19 SDL2, 20 + libGL, 20 21 }: 21 22 22 23 stdenv.mkDerivation (finalAttrs: { ··· 57 58 poppler 58 59 pugixml 59 60 SDL2 61 + libGL 60 62 ]; 61 63 62 64 cmakeFlags = [ (lib.cmakeBool "APPLICATION_UPDATER" false) ];
+104 -69
pkgs/by-name/fa/fastfetch/package.nix
··· 13 13 imagemagick, 14 14 libXrandr, 15 15 libdrm, 16 + libelf, 16 17 libglvnd, 17 18 libpulseaudio, 18 19 libselinux, ··· 24 25 nix-update-script, 25 26 ocl-icd, 26 27 opencl-headers, 27 - pcre, 28 28 pcre2, 29 29 pkg-config, 30 30 python3, ··· 40 40 zlib, 41 41 # Feature flags 42 42 audioSupport ? true, 43 + brightnessSupport ? true, 44 + dbusSupport ? true, 43 45 flashfetchSupport ? false, 46 + terminalSupport ? true, 44 47 gnomeSupport ? true, 45 48 imageSupport ? true, 46 49 openclSupport ? true, 50 + openglSupport ? true, 47 51 rpmSupport ? false, 48 52 sqliteSupport ? true, 49 53 vulkanSupport ? true, 50 54 waylandSupport ? true, 51 55 x11Support ? true, 56 + xfceSupport ? true, 52 57 }: 53 58 stdenv.mkDerivation (finalAttrs: { 54 59 pname = "fastfetch"; ··· 76 81 buildInputs = 77 82 let 78 83 commonDeps = [ 79 - pcre 80 - pcre2 81 84 yyjson 82 85 ]; 83 86 84 87 # Cross-platform optional dependencies 85 88 imageDeps = lib.optionals imageSupport [ 89 + # Image output as ascii art. 86 90 chafa 91 + # Images in terminal using sixel or kitty graphics protocol 87 92 imagemagick 88 93 ]; 89 94 90 95 sqliteDeps = lib.optionals sqliteSupport [ 96 + # linux - Needed for pkg & rpm package count. 97 + # darwin - Used for fast wallpaper detection before macOS Sonoma 91 98 sqlite 92 99 ]; 93 100 94 - linuxCoreDeps = lib.optionals stdenv.hostPlatform.isLinux [ 95 - hwdata 96 - libselinux 97 - libsepol 98 - util-linux 99 - zlib 100 - ]; 101 + linuxCoreDeps = lib.optionals stdenv.hostPlatform.isLinux ( 102 + [ 103 + hwdata 104 + ] 105 + # Fallback if both `wayland` and `x11` are not available. AMD GPU properties detection 106 + ++ lib.optional (!x11Support && !waylandSupport) libdrm 107 + ); 101 108 102 109 linuxFeatureDeps = lib.optionals stdenv.hostPlatform.isLinux ( 103 - lib.optionals gnomeSupport [ 110 + lib.optionals audioSupport [ 111 + # Sound device detection 112 + libpulseaudio 113 + ] 114 + ++ lib.optionals brightnessSupport [ 115 + # Brightness detection of external displays 116 + ddcutil 117 + ] 118 + ++ lib.optionals dbusSupport [ 119 + # Bluetooth, wifi, player & media detection 104 120 dbus 121 + ] 122 + ++ lib.optionals gnomeSupport [ 123 + # Needed for values that are only stored in DConf + Fallback for GSettings. 105 124 dconf 106 125 glib 126 + # Required by glib messages 107 127 libsysprof-capture 128 + pcre2 129 + # Required by gio messages 130 + libselinux 131 + util-linux 132 + # Required by selinux 133 + libsepol 108 134 ] 109 - ++ lib.optionals audioSupport [ 110 - libpulseaudio 135 + ++ lib.optionals imageSupport [ 136 + # Faster image output when using kitty graphics protocol. 137 + zlib 111 138 ] 112 139 ++ lib.optionals openclSupport [ 140 + # OpenCL module 113 141 ocl-icd 114 142 opencl-headers 115 143 ] 116 - ++ lib.optionals vulkanSupport [ 117 - libdrm 118 - ddcutil 144 + ++ lib.optionals openglSupport [ 145 + # OpenGL module 146 + libglvnd 119 147 ] 120 148 ++ lib.optionals rpmSupport [ 149 + # Slower fallback for rpm package count. Needed on openSUSE. 121 150 rpm 151 + ] 152 + ++ lib.optionals terminalSupport [ 153 + # Needed for st terminal font detection. 154 + libelf 155 + ] 156 + ++ lib.optionals vulkanSupport [ 157 + # Vulkan module & fallback for GPU output 158 + vulkan-loader 159 + ] 160 + ++ lib.optionals waylandSupport [ 161 + # Better display performance and output in wayland sessions. Supports different refresh rates per monitor. 162 + wayland 163 + ] 164 + ++ lib.optionals x11Support [ 165 + # At least one of them sould be present in X11 sessions for better display detection and faster WM detection. 166 + # The *randr ones provide multi monitor support The libxcb* ones usually have better performance. 167 + libXrandr 168 + libxcb 169 + # Required by libxcb messages 170 + xorg.libXau 171 + xorg.libXdmcp 172 + xorg.libXext 173 + ] 174 + ++ lib.optionals xfceSupport [ 175 + # Needed for XFWM theme and XFCE Terminal font. 176 + xfce.xfconf 122 177 ] 123 178 ); 124 179 125 - waylandDeps = lib.optionals waylandSupport [ 126 - wayland 127 - ]; 128 - 129 - vulkanDeps = lib.optionals vulkanSupport [ 130 - vulkan-loader 131 - ]; 132 - 133 - x11Deps = lib.optionals x11Support [ 134 - libXrandr 135 - libglvnd 136 - libxcb 137 - xorg.libXau 138 - xorg.libXdmcp 139 - xorg.libXext 140 - ]; 141 - 142 - x11XfceDeps = lib.optionals (x11Support && (!stdenv.hostPlatform.isDarwin)) [ 143 - xfce.xfconf 144 - ]; 145 - 146 180 macosDeps = lib.optionals stdenv.hostPlatform.isDarwin [ 147 181 apple-sdk_15 148 182 moltenvk 149 183 ]; 150 184 in 151 - commonDeps 152 - ++ imageDeps 153 - ++ sqliteDeps 154 - ++ linuxCoreDeps 155 - ++ linuxFeatureDeps 156 - ++ waylandDeps 157 - ++ vulkanDeps 158 - ++ x11Deps 159 - ++ x11XfceDeps 160 - ++ macosDeps; 185 + commonDeps ++ imageDeps ++ sqliteDeps ++ linuxCoreDeps ++ linuxFeatureDeps ++ macosDeps; 161 186 162 187 cmakeFlags = 163 188 [ 164 189 (lib.cmakeOptionType "filepath" "CMAKE_INSTALL_SYSCONFDIR" "${placeholder "out"}/etc") 165 190 (lib.cmakeBool "ENABLE_DIRECTX_HEADERS" false) 166 - (lib.cmakeBool "ENABLE_OSMESA" false) 167 191 (lib.cmakeBool "ENABLE_SYSTEM_YYJSON" true) 168 192 169 193 # Feature flags 194 + (lib.cmakeBool "BUILD_FLASHFETCH" flashfetchSupport) 195 + 170 196 (lib.cmakeBool "ENABLE_IMAGEMAGICK6" false) 171 197 (lib.cmakeBool "ENABLE_IMAGEMAGICK7" imageSupport) 172 198 (lib.cmakeBool "ENABLE_CHAFA" imageSupport) 173 - (lib.cmakeBool "ENABLE_ZLIB" imageSupport) 174 199 175 200 (lib.cmakeBool "ENABLE_SQLITE3" sqliteSupport) 176 - 201 + ] 202 + ++ lib.optionals stdenv.hostPlatform.isLinux [ 177 203 (lib.cmakeBool "ENABLE_PULSE" audioSupport) 178 204 205 + (lib.cmakeBool "ENABLE_DDCUTIL" brightnessSupport) 206 + 207 + (lib.cmakeBool "ENABLE_DBUS" dbusSupport) 208 + 209 + (lib.cmakeBool "ENABLE_ELF" terminalSupport) 210 + 179 211 (lib.cmakeBool "ENABLE_GIO" gnomeSupport) 180 212 (lib.cmakeBool "ENABLE_DCONF" gnomeSupport) 181 - (lib.cmakeBool "ENABLE_DBUS" gnomeSupport) 213 + 214 + (lib.cmakeBool "ENABLE_ZLIB" imageSupport) 182 215 183 216 (lib.cmakeBool "ENABLE_OPENCL" openclSupport) 184 217 185 - (lib.cmakeBool "ENABLE_DRM" vulkanSupport) 186 - (lib.cmakeBool "ENABLE_DRM_AMDGPU" vulkanSupport) 218 + (lib.cmakeBool "ENABLE_EGL" openglSupport) 219 + (lib.cmakeBool "ENABLE_GLX" openglSupport) 220 + 221 + (lib.cmakeBool "ENABLE_RPM" rpmSupport) 222 + 223 + (lib.cmakeBool "ENABLE_DRM" (!x11Support && !waylandSupport)) 224 + (lib.cmakeBool "ENABLE_DRM_AMDGPU" (!x11Support && !waylandSupport)) 225 + 187 226 (lib.cmakeBool "ENABLE_VULKAN" vulkanSupport) 188 - (lib.cmakeBool "ENABLE_DDCUTIL" vulkanSupport) 189 - (lib.cmakeBool "ENABLE_EGL" vulkanSupport) 190 227 191 228 (lib.cmakeBool "ENABLE_WAYLAND" waylandSupport) 192 229 193 - (lib.cmakeBool "ENABLE_GLX" x11Support) 194 - (lib.cmakeBool "ENABLE_X11" x11Support) 195 - (lib.cmakeBool "ENABLE_XCB" x11Support) 196 230 (lib.cmakeBool "ENABLE_XCB_RANDR" x11Support) 197 - (lib.cmakeBool "ENABLE_XFCONF" (x11Support && (!stdenv.hostPlatform.isDarwin))) 198 231 (lib.cmakeBool "ENABLE_XRANDR" x11Support) 199 232 200 - (lib.cmakeBool "ENABLE_RPM" rpmSupport) 233 + (lib.cmakeBool "ENABLE_XFCONF" xfceSupport) 201 234 202 - (lib.cmakeBool "BUILD_FLASHFETCH" flashfetchSupport) 203 - ] 204 - ++ lib.optionals stdenv.hostPlatform.isLinux [ 205 235 (lib.cmakeOptionType "filepath" "CUSTOM_PCI_IDS_PATH" "${hwdata}/share/hwdata/pci.ids") 206 236 (lib.cmakeOptionType "filepath" "CUSTOM_AMDGPU_IDS_PATH" "${libdrm}/share/libdrm/amdgpu.ids") 207 237 ]; ··· 241 271 Fast and highly customizable system info script. 242 272 243 273 Feature flags (all default to 'true' except rpmSupport and flashfetchSupport): 274 + * audioSupport: PulseAudio functionality 275 + * brightnessSupport: External display brightness detection via DDCUtil 276 + * dbusSupport: DBus functionality for Bluetooth, WiFi, player & media detection 277 + * flashfetchSupport: Build the flashfetch utility (default: false) 278 + * gnomeSupport: GNOME integration (dconf, dbus, gio) 279 + * imageSupport: Image rendering (chafa and imagemagick) 280 + * openclSupport: OpenCL features 281 + * openglSupport: OpenGL features 244 282 * rpmSupport: RPM package detection (default: false) 283 + * sqliteSupport: Package counting via SQLite 284 + * terminalSupport: Terminal font detection 245 285 * vulkanSupport: Vulkan GPU information and DRM features 246 286 * waylandSupport: Wayland display detection 247 287 * x11Support: X11 display information 248 - * flashfetchSupport: Build the flashfetch utility (default: false) 249 - * imageSupport: Image rendering (chafa and imagemagick) 250 - * sqliteSupport: Package counting via SQLite 251 - * audioSupport: PulseAudio functionality 252 - * gnomeSupport: GNOME integration (dconf, dbus, gio) 253 - * openclSupport: OpenCL features 288 + * xfceSupport: XFCE integration for theme and terminal font detection 254 289 ''; 255 290 }; 256 291 })
+5
pkgs/by-name/fa/fastfetchMinimal/package.nix
··· 1 1 { fastfetch }: 2 2 fastfetch.override { 3 3 audioSupport = false; 4 + brightnessSupport = false; 5 + dbusSupport = false; 4 6 flashfetchSupport = false; 5 7 gnomeSupport = false; 6 8 imageSupport = false; 7 9 openclSupport = false; 10 + openglSupport = false; 8 11 rpmSupport = false; 9 12 sqliteSupport = false; 13 + terminalSupport = false; 10 14 vulkanSupport = false; 11 15 waylandSupport = false; 12 16 x11Support = false; 17 + xfceSupport = false; 13 18 }
+2 -2
pkgs/by-name/ge/gersemi/package.nix
··· 6 6 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "gersemi"; 9 - version = "0.19.2"; 9 + version = "0.19.3"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "BlankSpruce"; 13 13 repo = "gersemi"; 14 14 tag = version; 15 - hash = "sha256-lQafcZLTF/6SHC/NL1UnuilascjwqH4sX+kmCYHFDrw="; 15 + hash = "sha256-CVb6ibO5+Tp0o+nB+bo9G9OKyB4L05wN1QiB9J4bOqY="; 16 16 }; 17 17 18 18 propagatedBuildInputs = with python3Packages; [
-70
pkgs/by-name/kr/krun/package.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchFromGitHub, 5 - fetchpatch, 6 - rustPlatform, 7 - libkrun, 8 - makeWrapper, 9 - passt, 10 - sommelier, 11 - mesa, 12 - withSommelier ? false, 13 - }: 14 - 15 - rustPlatform.buildRustPackage { 16 - pname = "krun"; 17 - version = "0-unstable-2024-06-18"; 18 - 19 - src = fetchFromGitHub { 20 - owner = "slp"; 21 - repo = "krun"; 22 - rev = "912afa5c6525b7c8f83dffd65ec4b1425b3f7521"; 23 - hash = "sha256-rDuxv3UakAemDnj4Nsbpqsykts2IcseuQmDwO24L+u8="; 24 - }; 25 - 26 - patches = [ 27 - (fetchpatch { 28 - url = "https://github.com/slp/krun/pull/39.diff"; 29 - hash = "sha256-CV69L+VDDLRcWgpgDCAYKLlTU9ytFcHhzNgOibWD8KY="; 30 - }) 31 - (fetchpatch { 32 - url = "https://github.com/slp/krun/pull/38.diff"; 33 - hash = "sha256-cK3iDhh+33H16V65lWUXahjmpSxI1HhiLUmkjfkRB7A="; 34 - }) 35 - ]; 36 - 37 - useFetchCargoVendor = true; 38 - cargoHash = "sha256-5zrwxyzt9ZEdUNUMnCaFUVpaO53RAabVdtib9LG6Q1s="; 39 - 40 - nativeBuildInputs = [ 41 - rustPlatform.bindgenHook 42 - makeWrapper 43 - ]; 44 - 45 - buildInputs = [ 46 - (libkrun.override { 47 - withGpu = true; 48 - withNet = true; 49 - }) 50 - ]; 51 - 52 - # Allow for sommelier to be disabled as it can cause problems. 53 - wrapArgs = [ 54 - "--prefix PATH : ${lib.makeBinPath (lib.optional withSommelier [ sommelier ] ++ [ passt ])}" 55 - ]; 56 - 57 - postFixup = '' 58 - wrapProgram $out/bin/krun $wrapArgs \ 59 - --set-default OPENGL_DRIVER ${mesa.driverLink} 60 - ''; 61 - 62 - meta = { 63 - description = "Run programs from your system in a microVM"; 64 - homepage = "https://github.com/slp/krun"; 65 - license = lib.licenses.mit; 66 - maintainers = with lib.maintainers; [ RossComputerGuy ]; 67 - platforms = libkrun.meta.platforms; 68 - mainProgram = "krun"; 69 - }; 70 - }
+5
pkgs/by-name/kr/kryptor/package.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 buildDotnetModule, 4 5 fetchFromGitHub, 5 6 dotnetCorePackages, ··· 42 43 gepbird 43 44 ]; 44 45 platforms = lib.platforms.all; 46 + # https://hydra.nixos.org/build/286325419 47 + # a libsodium.dylib file should be kept as per https://github.com/samuel-lucas6/Kryptor/releases/tag/v4.1.1 48 + # upstream issue: https://github.com/dotnet/sdk/issues/45903 49 + broken = stdenv.hostPlatform.isDarwin; 45 50 }; 46 51 }
+18 -5
pkgs/by-name/li/libkrun/package.nix
··· 13 13 virglrenderer, 14 14 libkrunfw, 15 15 rustc, 16 + withBlk ? false, 16 17 withGpu ? false, 17 18 withSound ? false, 18 19 withNet ? false, ··· 21 22 22 23 stdenv.mkDerivation (finalAttrs: { 23 24 pname = "libkrun"; 24 - version = "1.9.8"; 25 + version = "1.11.2"; 25 26 26 27 src = fetchFromGitHub { 27 28 owner = "containers"; 28 29 repo = "libkrun"; 29 30 tag = "v${finalAttrs.version}"; 30 - hash = "sha256-a5ot5ad8boANK3achn6PJ52k/xmxawbTM0/hEEC/fss="; 31 + hash = "sha256-B11f7uG/oODwkME2rauCFbVysxUtUrUmd6RKeuBdnUU="; 31 32 }; 32 33 33 34 outputs = [ ··· 37 38 38 39 cargoDeps = rustPlatform.fetchCargoVendor { 39 40 inherit (finalAttrs) src; 40 - hash = "sha256-X1NPZQaXFBw9IKD2DbBCPug0WDjv8XnpefbA2RNJgFU="; 41 + hash = "sha256-bcHy8AfO9nzSZKoFlEpPKvwupt3eMb+A2rHDaUzO3/U="; 41 42 }; 42 43 44 + # Make sure libkrunfw can be found by dlopen() 45 + # FIXME: This wasn't needed previously. What changed? 46 + env.RUSTFLAGS = toString ( 47 + map (flag: "-C link-arg=" + flag) [ 48 + "-Wl,--push-state,--no-as-needed" 49 + "-lkrunfw" 50 + "-Wl,--pop-state" 51 + ] 52 + ); 53 + 43 54 nativeBuildInputs = [ 44 55 rustPlatform.cargoSetupHook 45 56 rustPlatform.bindgenHook ··· 65 76 [ 66 77 "PREFIX=${placeholder "out"}" 67 78 ] 79 + ++ lib.optional withBlk "BLK=1" 68 80 ++ lib.optional withGpu "GPU=1" 69 81 ++ lib.optional withSound "SND=1" 70 82 ++ lib.optional withNet "NET=1" ··· 72 84 73 85 postInstall = '' 74 86 mkdir -p $dev/lib/pkgconfig 75 - mv $out/lib64/pkgconfig $dev/lib/pkgconfig 76 - mv $out/include $dev/include 87 + mv $out/lib64/pkgconfig $dev/lib/ 88 + mv $out/include $dev/ 77 89 ''; 78 90 79 91 meta = with lib; { ··· 83 95 maintainers = with maintainers; [ 84 96 nickcao 85 97 RossComputerGuy 98 + nrabulinski 86 99 ]; 87 100 platforms = libkrunfw.meta.platforms; 88 101 };
+5 -4
pkgs/by-name/li/libkrunfw/package.nix
··· 15 15 16 16 stdenv.mkDerivation (finalAttrs: { 17 17 pname = "libkrunfw"; 18 - version = "4.5.1"; 18 + version = "4.9.0"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "containers"; 22 22 repo = "libkrunfw"; 23 23 tag = "v${finalAttrs.version}"; 24 - hash = "sha256-GFfBiGMOyBwMKjpD1kj3vRpvjR0ydji3QNDyoOQoQsw="; 24 + hash = "sha256-wmvjex68Mh7qehA33WNBYHhV9Q/XWLixokuGWnqJ3n0="; 25 25 }; 26 26 27 27 kernelSrc = fetchurl { 28 - url = "mirror://kernel/linux/kernel/v6.x/linux-6.6.59.tar.xz"; 29 - hash = "sha256-I2FoCNjAjxKBX/iY9O20wROXorKEPQKe5iRS0hgzp20="; 28 + url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.20.tar.xz"; 29 + hash = "sha256-Iw6JsHsKuC508H7MG+4xBdyoHQ70qX+QCSnEBySbasc="; 30 30 }; 31 31 32 32 postPatch = '' ··· 71 71 maintainers = with maintainers; [ 72 72 nickcao 73 73 RossComputerGuy 74 + nrabulinski 74 75 ]; 75 76 platforms = [ "x86_64-linux" ] ++ lib.optionals (!sevVariant) [ "aarch64-linux" ]; 76 77 };
+3 -3
pkgs/by-name/lx/lx-music-desktop/package.nix
··· 18 18 in 19 19 buildNpmPackage rec { 20 20 pname = "lx-music-desktop"; 21 - version = "2.10.0"; 21 + version = "2.11.0"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "lyswhut"; 25 25 repo = "lx-music-desktop"; 26 26 tag = "v${version}"; 27 - hash = "sha256-8IzQEGdaeoBbCsZSPhVowipeBr4YHGm/G28qGHtCY/s="; 27 + hash = "sha256-NMj8rb5PAejT1HCE5nxi2+SS9lFUVdLEqN0id23QjVc="; 28 28 }; 29 29 30 30 patches = [ ··· 39 39 makeWrapper 40 40 ]; 41 41 42 - npmDepsHash = "sha256-awD8gu1AnhUn5uT/dITXjMVWNAwABAmcEVZOKukbWrI="; 42 + npmDepsHash = "sha256-cA9NdHe3lEg8twMLWoeomWgobidZ34TKwdC5rDezZ5g="; 43 43 44 44 makeCacheWritable = true; 45 45
+110
pkgs/by-name/mu/muvm/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + rustPlatform, 6 + libkrun, 7 + passt, 8 + dhcpcd, 9 + systemd, 10 + udev, 11 + pkg-config, 12 + procps, 13 + fex, 14 + writeShellApplication, 15 + coreutils, 16 + makeBinaryWrapper, 17 + # TODO: Enable again when sommelier is not broken. 18 + # For now, don't give false impression of sommelier being supported. 19 + # sommelier, 20 + # withSommelier ? false, 21 + }: 22 + let 23 + # TODO: Setup setuid wrappers. 24 + # E.g. FEX needs fusermount for rootfs functionality 25 + initScript = writeShellApplication { 26 + name = "muvm-init"; 27 + runtimeInputs = [ 28 + coreutils 29 + ]; 30 + text = '' 31 + if [[ ! -f /etc/NIXOS ]]; then exit; fi 32 + 33 + ln -s /run/muvm-host/run/current-system /run/current-system 34 + # Only create the symlink if that path exists on the host and is a directory. 35 + if [[ -d /run/muvm-host/run/opengl-driver ]]; then ln -s /run/muvm-host/run/opengl-driver /run/opengl-driver; fi 36 + ''; 37 + }; 38 + binPath = [ 39 + dhcpcd 40 + passt 41 + (placeholder "out") 42 + ] ++ lib.optionals stdenv.isAarch64 [ fex ]; 43 + wrapArgs = lib.escapeShellArgs [ 44 + "--prefix" 45 + "PATH" 46 + ":" 47 + (lib.makeBinPath binPath) 48 + "--add-flags" 49 + "--execute-pre=${lib.getExe initScript}" 50 + ]; 51 + in 52 + rustPlatform.buildRustPackage rec { 53 + pname = "muvm"; 54 + version = "0.4.1"; 55 + 56 + src = fetchFromGitHub { 57 + owner = "AsahiLinux"; 58 + repo = pname; 59 + rev = "muvm-${version}"; 60 + hash = "sha256-1XPhVEj7iqTxdWyYwNk6cbb9VRGuhpvvowYDPJb1cWU="; 61 + }; 62 + 63 + useFetchCargoVendor = true; 64 + cargoHash = "sha256-fkvdS0c1Ib8Kto44ou06leXy731cpMHXevyFR5RROt4="; 65 + 66 + postPatch = 67 + '' 68 + substituteInPlace crates/muvm/src/guest/bin/muvm-guest.rs \ 69 + --replace-fail "/usr/lib/systemd/systemd-udevd" "${systemd}/lib/systemd/systemd-udevd" 70 + 71 + substituteInPlace crates/muvm/src/monitor.rs \ 72 + --replace-fail "/sbin/sysctl" "${lib.getExe' procps "sysctl"}" 73 + '' 74 + # Only patch FEX path if we're aarch64, otherwise we don't want the derivation to pull in FEX in any way 75 + + lib.optionalString stdenv.isAarch64 '' 76 + substituteInPlace crates/muvm/src/guest/mount.rs \ 77 + --replace-fail "/usr/share/fex-emu" "${fex}/share/fex-emu" 78 + ''; 79 + 80 + nativeBuildInputs = [ 81 + rustPlatform.bindgenHook 82 + makeBinaryWrapper 83 + pkg-config 84 + ]; 85 + 86 + buildInputs = [ 87 + (libkrun.override { 88 + withBlk = true; 89 + withGpu = true; 90 + withNet = true; 91 + }) 92 + udev 93 + ]; 94 + 95 + postFixup = '' 96 + wrapProgram $out/bin/muvm ${wrapArgs} 97 + ''; 98 + 99 + meta = { 100 + description = "Run programs from your system in a microVM"; 101 + homepage = "https://github.com/AsahiLinux/muvm"; 102 + license = lib.licenses.mit; 103 + maintainers = with lib.maintainers; [ 104 + RossComputerGuy 105 + nrabulinski 106 + ]; 107 + inherit (libkrun.meta) platforms; 108 + mainProgram = "muvm"; 109 + }; 110 + }
+22 -10
pkgs/by-name/po/popa3d/package.nix
··· 4 4 fetchurl, 5 5 openssl, 6 6 libxcrypt, 7 + versionCheckHook, 7 8 }: 8 9 9 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation (finalAttrs: { 10 11 pname = "popa3d"; 11 12 version = "1.0.3"; 12 13 13 14 src = fetchurl { 14 - url = "http://www.openwall.com/popa3d/${pname}-${version}.tar.gz"; 15 - sha256 = "1g48cd74sqhl496wmljhq44iyfpghaz363a1ip8nyhpjz7d57f03"; 15 + url = "http://www.openwall.com/popa3d/popa3d-${finalAttrs.version}.tar.gz"; 16 + hash = "sha256-A7hT2vnyQm/RjUENM76C7zofCcFQ0spNIhRiTU5jiLw="; 16 17 }; 17 18 18 - buildInputs = [ 19 - openssl 20 - libxcrypt 21 - ]; 22 - 23 19 patches = [ 24 20 ./fix-mail-spool-path.patch 25 21 ./use-openssl.patch ··· 27 23 ./enable-standalone-mode.patch 28 24 ]; 29 25 30 - configurePhase = ''makeFlags="PREFIX=$out MANDIR=$out/share/man"''; 26 + enableParallelBuilding = true; 27 + 28 + makeFlags = [ 29 + "PREFIX=$(out)" 30 + "MANDIR=$(out)/share/man" 31 + ]; 32 + 33 + buildInputs = [ 34 + openssl 35 + libxcrypt 36 + ]; 37 + 38 + nativeInstallCheckInputs = [ 39 + versionCheckHook 40 + ]; 41 + doInstallCheck = true; 42 + versionCheckProgramArg = "-V"; 31 43 32 44 meta = { 33 45 homepage = "http://www.openwall.com/popa3d/"; ··· 35 47 mainProgram = "popa3d"; 36 48 platforms = lib.platforms.linux; 37 49 }; 38 - } 50 + })
+13
pkgs/by-name/po/popa3d/use-glibc-crypt.patch
··· 10 10 # HP-UX trusted system 11 11 #LIBS += -lsec 12 12 # Solaris (POP_STANDALONE, POP_VIRTUAL) 13 + diff -ubr popa3d-1.0.2-orig/auth_shadow.c popa3d-1.0.2/auth_shadow.c 14 + --- a/auth_shadow.c 15 + +++ b/auth_shadow.c 16 + @@ -14,8 +14,9 @@ 17 + #define _XOPEN_SOURCE 4 18 + #define _XOPEN_SOURCE_EXTENDED 19 + #define _XOPEN_VERSION 4 20 + #define _XPG4_2 21 + +#define _DEFAULT_SOURCE 22 + #include <unistd.h> 23 + #include <string.h> 24 + #include <stdlib.h> 25 + #include <pwd.h>
+3 -3
pkgs/by-name/te/terragrunt/package.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "terragrunt"; 11 - version = "0.77.22"; 11 + version = "0.78.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "gruntwork-io"; 15 15 repo = pname; 16 16 tag = "v${version}"; 17 - hash = "sha256-Mj7lTyrEo3hOTzSUfKShK/Rzx/gOwdJYFofde+2uJHs="; 17 + hash = "sha256-ldGv4hD+WR4c3Ajozu+u4qy/DOCKQIk9tECOfPpNbjU="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ ··· 26 26 make generate-mocks 27 27 ''; 28 28 29 - vendorHash = "sha256-qAuC1qDUBrnf/Fq2fV4DfA5oKOMQ1AdC6XFUxXi3nuA="; 29 + vendorHash = "sha256-56/XSeNjqUF3uQsadHWpefeXK2zIjRWXkkmQeZbmHZg="; 30 30 31 31 doCheck = false; 32 32
+3 -3
pkgs/by-name/va/vault/package.nix
··· 12 12 13 13 buildGoModule rec { 14 14 pname = "vault"; 15 - version = "1.19.2"; 15 + version = "1.19.3"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "hashicorp"; 19 19 repo = "vault"; 20 20 rev = "v${version}"; 21 - hash = "sha256-8i00QdBcqpLy6qgInIWZ91Fqs4dWmamA8lmlqVR5TeI="; 21 + hash = "sha256-Mh9cRSLvx//ePSI1RMcSA7s56MAw+XuAJvbP7BFNZZw="; 22 22 }; 23 23 24 - vendorHash = "sha256-oZhYIsDGxTGQwJGkq1tFUSMBB6240XLG2pm8/2PMA3s="; 24 + vendorHash = "sha256-F86lDf9AYvVL/sNNstRINe5+O/kGA0SuRjkXM4C99TU="; 25 25 26 26 proxyVendor = true; 27 27
+1
pkgs/development/python-modules/langchain-core/update.sh
··· 11 11 langchain-core 12 12 langchain-groq 13 13 langchain-huggingface 14 + langchain-mistralai 14 15 langchain-mongodb 15 16 langchain-ollama 16 17 langchain-openai
+79
pkgs/development/python-modules/langchain-mistralai/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + 7 + # build-system 8 + pdm-backend, 9 + 10 + # dependencies 11 + langchain-core, 12 + tokenizers, 13 + httpx, 14 + httpx-sse, 15 + pydantic, 16 + 17 + # tests 18 + langchain-tests, 19 + pytest-asyncio, 20 + pytestCheckHook, 21 + }: 22 + 23 + buildPythonPackage rec { 24 + pname = "langchain-mistralai"; 25 + version = "0.2.10"; 26 + pyproject = true; 27 + 28 + src = fetchFromGitHub { 29 + owner = "langchain-ai"; 30 + repo = "langchain"; 31 + tag = "langchain-mistralai==${version}"; 32 + hash = "sha256-1oH9GRvjYv/YzedKXeWgw5nwNgMQ9mSNkmZ2xwPekXc="; 33 + }; 34 + 35 + sourceRoot = "${src.name}/libs/partners/mistralai"; 36 + 37 + build-system = [ pdm-backend ]; 38 + 39 + dependencies = [ 40 + langchain-core 41 + tokenizers 42 + httpx 43 + httpx-sse 44 + pydantic 45 + ]; 46 + 47 + pythonRelaxDeps = [ 48 + # Each component release requests the exact latest core. 49 + # That prevents us from updating individual components. 50 + "langchain-core" 51 + ]; 52 + 53 + nativeCheckInputs = [ 54 + langchain-tests 55 + pytest-asyncio 56 + pytestCheckHook 57 + ]; 58 + 59 + pytestFlagsArray = [ "tests/unit_tests" ]; 60 + 61 + pythonImportsCheck = [ "langchain_mistralai" ]; 62 + 63 + passthru.updateScript = nix-update-script { 64 + extraArgs = [ 65 + "--version-regex" 66 + "langchain-mistralai==([0-9.]+)" 67 + ]; 68 + }; 69 + 70 + meta = { 71 + changelog = "https://github.com/langchain-ai/langchain-mistralai/releases/tag/langchain-mistralai==${version}"; 72 + description = "Build LangChain applications with mistralai"; 73 + homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/mistralai"; 74 + license = lib.licenses.mit; 75 + maintainers = [ 76 + lib.maintainers.sarahec 77 + ]; 78 + }; 79 + }
+23 -13
pkgs/development/python-modules/py-stringmatching/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitHub, 5 + 6 + # build-system 7 + cython, 5 8 setuptools, 6 - pytestCheckHook, 7 - numpy, 8 - pythonOlder, 9 + 10 + # dependencies 11 + numpy_1, 9 12 six, 13 + 14 + # tests 15 + pytestCheckHook, 10 16 }: 11 17 12 18 buildPythonPackage rec { 13 19 pname = "py-stringmatching"; 14 20 version = "0.4.6"; 15 - pyproject = true; 16 21 17 - disabled = pythonOlder "3.7"; 18 - 19 - src = fetchPypi { 20 - inherit pname version; 21 - hash = "sha256-XdHLHwT/sgHM+uQ4lxw9c+AcAdJjL6OVgfwtJkYLoBs="; 22 + src = fetchFromGitHub { 23 + owner = "anhaidgroup"; 24 + repo = "py_stringmatching"; 25 + tag = "v${version}"; 26 + hash = "sha256-gQiIIN0PeeM81ZHsognPFierf9ZXasq/JqxsYZmLAnU="; 22 27 }; 23 28 24 - nativeBuildInputs = [ setuptools ]; 29 + pyproject = true; 25 30 26 - propagatedBuildInputs = [ 27 - numpy 31 + build-system = [ 32 + setuptools 33 + cython 34 + ]; 35 + 36 + dependencies = [ 37 + numpy_1 28 38 six 29 39 ]; 30 40
+1
pkgs/top-level/aliases.nix
··· 919 919 kramdown-rfc2629 = throw "'kramdown-rfc2629' has been renamed to/replaced by 'rubyPackages.kramdown-rfc2629'"; # Converted to throw 2024-10-17 920 920 krb5Full = krb5; 921 921 krita-beta = throw "'krita-beta' has been renamed to/replaced by 'krita'"; # Converted to throw 2024-10-17 922 + krun = throw "'krun' has been renamed to/replaced by 'muvm'"; # Added 2025-05-01 922 923 kubei = kubeclarity; # Added 2023-05-20 923 924 kubo-migrator-all-fs-repo-migrations = kubo-fs-repo-migrations; # Added 2024-09-24 924 925
+2
pkgs/top-level/python-packages.nix
··· 7526 7526 7527 7527 langchain-huggingface = callPackage ../development/python-modules/langchain-huggingface { }; 7528 7528 7529 + langchain-mistralai = callPackage ../development/python-modules/langchain-mistralai { }; 7530 + 7529 7531 langchain-mongodb = callPackage ../development/python-modules/langchain-mongodb { }; 7530 7532 7531 7533 langchain-ollama = callPackage ../development/python-modules/langchain-ollama { };