lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
263a89fa 2188896a

+933 -215
+6
maintainers/maintainer-list.nix
··· 19078 19078 fingerprint = "640B EDDE 9734 310A BFA3 B257 52ED AE6A 3995 AFAB"; 19079 19079 }]; 19080 19080 }; 19081 + whiteley = { 19082 + email = "mattwhiteley@gmail.com"; 19083 + github = "whiteley"; 19084 + githubId = 2215; 19085 + name = "Matt Whiteley"; 19086 + }; 19081 19087 WhittlesJr = { 19082 19088 email = "alex.joseph.whitt@gmail.com"; 19083 19089 github = "WhittlesJr";
+1 -1
nixos/tests/castopod.nix
··· 82 82 castopod.succeed("curl -s http://localhost/cp-install | grep 'Create your Super Admin account' > /dev/null") 83 83 84 84 with subtest("Create superadmin and log in"): 85 - castopod.succeed("PYTHONUNBUFFERED=1 test-runner | systemd-cat -t test-runner") 85 + castopod.succeed("PYTHONUNBUFFERED=1 systemd-cat -t test-runner test-runner") 86 86 ''; 87 87 })
+12 -12
nixos/tests/hadoop/hadoop.nix
··· 176 176 nn2.succeed("systemctl stop hdfs-zkfc") 177 177 178 178 # Initialize zookeeper for failover controller 179 - nn1.succeed("sudo -u hdfs hdfs zkfc -formatZK 2>&1 | systemd-cat") 179 + nn1.succeed("sudo -u hdfs systemd-cat hdfs zkfc -formatZK") 180 180 181 181 # Format NN1 and start it 182 - nn1.succeed("sudo -u hdfs hadoop namenode -format 2>&1 | systemd-cat") 182 + nn1.succeed("sudo -u hdfs systemd-cat hadoop namenode -format") 183 183 nn1.succeed("systemctl start hdfs-namenode") 184 184 nn1.wait_for_open_port(9870) 185 185 nn1.wait_for_open_port(8022) 186 186 nn1.wait_for_open_port(8020) 187 187 188 188 # Bootstrap NN2 from NN1 and start it 189 - nn2.succeed("sudo -u hdfs hdfs namenode -bootstrapStandby 2>&1 | systemd-cat") 189 + nn2.succeed("sudo -u hdfs systemd-cat hdfs namenode -bootstrapStandby") 190 190 nn2.succeed("systemctl start hdfs-namenode") 191 191 nn2.wait_for_open_port(9870) 192 192 nn2.wait_for_open_port(8022) 193 193 nn2.wait_for_open_port(8020) 194 - nn1.succeed("netstat -tulpne | systemd-cat") 194 + nn1.succeed("systemd-cat netstat -tulpne") 195 195 196 196 # Start failover controllers 197 197 nn1.succeed("systemctl start hdfs-zkfc") ··· 200 200 # DN should have started by now, but confirm anyway 201 201 dn1.wait_for_unit("hdfs-datanode") 202 202 # Print states of namenodes 203 - client.succeed("sudo -u hdfs hdfs haadmin -getAllServiceState | systemd-cat") 203 + client.succeed("sudo -u hdfs systemd-cat hdfs haadmin -getAllServiceState") 204 204 # Wait for cluster to exit safemode 205 205 client.succeed("sudo -u hdfs hdfs dfsadmin -safemode wait") 206 - client.succeed("sudo -u hdfs hdfs haadmin -getAllServiceState | systemd-cat") 206 + client.succeed("sudo -u hdfs systemd-cat hdfs haadmin -getAllServiceState") 207 207 # test R/W 208 208 client.succeed("echo testfilecontents | sudo -u hdfs hdfs dfs -put - /testfile") 209 209 assert "testfilecontents" in client.succeed("sudo -u hdfs hdfs dfs -cat /testfile") ··· 211 211 # Test NN failover 212 212 nn1.succeed("systemctl stop hdfs-namenode") 213 213 assert "active" in client.succeed("sudo -u hdfs hdfs haadmin -getAllServiceState") 214 - client.succeed("sudo -u hdfs hdfs haadmin -getAllServiceState | systemd-cat") 214 + client.succeed("sudo -u hdfs systemd-cat hdfs haadmin -getAllServiceState") 215 215 assert "testfilecontents" in client.succeed("sudo -u hdfs hdfs dfs -cat /testfile") 216 216 217 217 nn1.succeed("systemctl start hdfs-namenode") ··· 219 219 nn1.wait_for_open_port(8022) 220 220 nn1.wait_for_open_port(8020) 221 221 assert "standby" in client.succeed("sudo -u hdfs hdfs haadmin -getAllServiceState") 222 - client.succeed("sudo -u hdfs hdfs haadmin -getAllServiceState | systemd-cat") 222 + client.succeed("sudo -u hdfs systemd-cat hdfs haadmin -getAllServiceState") 223 223 224 224 #### YARN tests #### 225 225 ··· 236 236 nm1.wait_for_open_port(8042) 237 237 nm1.wait_for_open_port(8040) 238 238 client.wait_until_succeeds("yarn node -list | grep Nodes:1") 239 - client.succeed("sudo -u yarn yarn rmadmin -getAllServiceState | systemd-cat") 240 - client.succeed("sudo -u yarn yarn node -list | systemd-cat") 239 + client.succeed("sudo -u yarn systemd-cat yarn rmadmin -getAllServiceState") 240 + client.succeed("sudo -u yarn systemd-cat yarn node -list") 241 241 242 242 # Test RM failover 243 243 rm1.succeed("systemctl stop yarn-resourcemanager") 244 244 assert "standby" not in client.succeed("sudo -u yarn yarn rmadmin -getAllServiceState") 245 - client.succeed("sudo -u yarn yarn rmadmin -getAllServiceState | systemd-cat") 245 + client.succeed("sudo -u yarn systemd-cat yarn rmadmin -getAllServiceState") 246 246 rm1.succeed("systemctl start yarn-resourcemanager") 247 247 rm1.wait_for_unit("yarn-resourcemanager") 248 248 rm1.wait_for_open_port(8088) 249 249 assert "standby" in client.succeed("sudo -u yarn yarn rmadmin -getAllServiceState") 250 - client.succeed("sudo -u yarn yarn rmadmin -getAllServiceState | systemd-cat") 250 + client.succeed("sudo -u yarn systemd-cat yarn rmadmin -getAllServiceState") 251 251 252 252 assert "Estimated value of Pi is" in client.succeed("HADOOP_USER_NAME=hdfs yarn jar $(readlink $(which yarn) | sed -r 's~bin/yarn~share/hadoop/mapreduce/hadoop-mapreduce-examples-*.jar~g') pi 2 10") 253 253 assert "SUCCEEDED" in client.succeed("yarn application -list -appStates FINISHED")
+2 -2
nixos/tests/hadoop/hdfs.nix
··· 50 50 namenode.wait_for_unit("hdfs-namenode") 51 51 namenode.wait_for_unit("network.target") 52 52 namenode.wait_for_open_port(8020) 53 - namenode.succeed("ss -tulpne | systemd-cat") 54 - namenode.succeed("cat /etc/hadoop*/hdfs-site.xml | systemd-cat") 53 + namenode.succeed("systemd-cat ss -tulpne") 54 + namenode.succeed("systemd-cat cat /etc/hadoop*/hdfs-site.xml") 55 55 namenode.wait_for_open_port(9870) 56 56 57 57 datanode.wait_for_unit("hdfs-datanode")
+2 -2
nixos/tests/iscsi-multipath-root.nix
··· 202 202 initiatorAuto.succeed("umount /mnt") 203 203 204 204 initiatorAuto.succeed("systemctl restart multipathd") 205 - initiatorAuto.succeed("multipath -ll | systemd-cat") 205 + initiatorAuto.succeed("systemd-cat multipath -ll") 206 206 207 207 # Install our RootDisk machine to 123456, the alias to the device that multipath is now managing 208 208 initiatorAuto.succeed("mount /dev/mapper/123456 /mnt") ··· 223 223 initiatorRootDisk.fail("iscsiadm -m discovery -o update -t sendtargets -p 192.168.1.3 --login") 224 224 initiatorRootDisk.fail("iscsiadm -m discovery -o update -t sendtargets -p 192.168.2.3 --login") 225 225 initiatorRootDisk.succeed("systemctl restart multipathd") 226 - initiatorRootDisk.succeed("multipath -ll | systemd-cat") 226 + initiatorRootDisk.succeed("systemd-cat multipath -ll") 227 227 228 228 # Verify we can write and sync the root disk 229 229 initiatorRootDisk.succeed("mkdir /scratch")
+1 -1
nixos/tests/vaultwarden.nix
··· 173 173 ) 174 174 175 175 with subtest("use the web interface to sign up, log in, and save a password"): 176 - server.succeed("PYTHONUNBUFFERED=1 test-runner | systemd-cat -t test-runner") 176 + server.succeed("PYTHONUNBUFFERED=1 systemd-cat -t test-runner test-runner") 177 177 178 178 with subtest("log in with the cli"): 179 179 key = client.succeed(
+2 -2
pkgs/applications/audio/zam-plugins/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zam-plugins"; 5 - version = "4.1"; 5 + version = "4.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "zamaudio"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-NKa6lOP3fpAFMYwzZAMFgW0tBSM/F89oB/nDbEUeflw="; 11 + sha256 = "sha256-6TPZMDhGHqXjY8UYEqlr4hweF+W19IpIfSa9Bo9Ta1A="; 12 12 fetchSubmodules = true; 13 13 }; 14 14
+4 -3
pkgs/applications/misc/solaar/default.nix
··· 14 14 # instead of adding this to `services.udev.packages` on NixOS, 15 15 python3Packages.buildPythonApplication rec { 16 16 pname = "solaar"; 17 - version = "1.1.9"; 17 + version = "1.1.10"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "pwr-Solaar"; 21 21 repo = "Solaar"; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-MdPZ9uLQYwgZ6xXWinzFg5A2gJ3ihTS9CbEmXnaNEkI="; 23 + hash = "sha256-cs1kj/spZtMUL9aUtBHINAH7uyjMSn9jRDF/hRPzIbo="; 24 24 }; 25 25 26 26 outputs = [ "out" "udev" ]; ··· 38 38 39 39 propagatedBuildInputs = with python3Packages; [ 40 40 evdev 41 + dbus-python 41 42 gtk3 43 + hid-parser 42 44 psutil 43 45 pygobject3 44 46 pyudev 45 47 pyyaml 46 48 xlib 47 - hid-parser 48 49 ]; 49 50 50 51 # the -cli symlink is just to maintain compabilility with older versions where
+3 -3
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 772 772 "vendorHash": "sha256-cufN4QYXE+bqDKLUV+Rdslr5CgbI0DvoFVWVQiBVomw=" 773 773 }, 774 774 "mongodbatlas": { 775 - "hash": "sha256-aS5TU9xnevgjK9TH0J4nzSr6ct2Cqw2Wa+d+jIjA9Qg=", 775 + "hash": "sha256-SMIc78haJiH0XdTr9OBGWOcvXfYQW9thcNkCOxmNxDw=", 776 776 "homepage": "https://registry.terraform.io/providers/mongodb/mongodbatlas", 777 777 "owner": "mongodb", 778 778 "repo": "terraform-provider-mongodbatlas", 779 - "rev": "v1.12.2", 779 + "rev": "v1.12.3", 780 780 "spdx": "MPL-2.0", 781 - "vendorHash": "sha256-on7kyb/AGdQK++5AOCEmkrRlbuW09u2653mda9gmvKE=" 781 + "vendorHash": "sha256-B1trhV2/H5gP7EnUU7G45gIh95S2wYbANHsRM76CDWE=" 782 782 }, 783 783 "namecheap": { 784 784 "hash": "sha256-cms8YUL+SjTeYyIOQibksi8ZHEBYq2JlgTEpOO1uMZE=",
+20 -2
pkgs/applications/office/gnucash/default.nix
··· 1 1 { lib 2 2 , stdenv 3 + , fetchFromGitHub 3 4 , fetchurl 4 5 , fetchpatch 5 6 , aqbanking ··· 32 33 # raw source code doesn't work out of box; fetchFromGitHub not usable 33 34 src = fetchurl { 34 35 # Upstream uploaded a -1 tarball on the same release, remove on next release 35 - url = "https://github.com/Gnucash/gnucash/releases/download/${version}/${pname}-${version}-1.tar.bz2"; 36 + url = "https://github.com/Gnucash/gnucash/releases/download/${version}/gnucash-${version}-1.tar.bz2"; 36 37 hash = "sha256-d0EWXW1lLqe0oehJjPQ5pWuBpcyLZTKRpZBU8jYqv8w="; 37 38 }; 38 39 ··· 97 98 enableParallelChecking = true; 98 99 checkTarget = "check"; 99 100 101 + passthru.docs = stdenv.mkDerivation { 102 + pname = "gnucash-docs"; 103 + inherit version; 104 + 105 + src = fetchFromGitHub { 106 + owner = "Gnucash"; 107 + repo = "gnucash-docs"; 108 + rev = version; 109 + hash = "sha256-aPxQEcpo8SPv8lPQbxMl1wg8ijH9Rz0oo4K5lp3C/bw="; 110 + }; 111 + 112 + nativeBuildInputs = [ cmake ]; 113 + buildInputs = [ libxml2 libxslt ]; 114 + }; 115 + 100 116 preFixup = '' 101 117 gappsWrapperArgs+=( 118 + # documentation 119 + --prefix XDG_DATA_DIRS : ${passthru.docs}/share 102 120 # db drivers location 103 121 --set GNC_DBD_DIR ${libdbiDrivers}/lib/dbd 104 122 # gsettings schema location on Nix 105 - --set GSETTINGS_SCHEMA_DIR ${glib.makeSchemaPath "$out" "${pname}-${version}"} 123 + --set GSETTINGS_SCHEMA_DIR ${glib.makeSchemaPath "$out" "gnucash-${version}"} 106 124 ) 107 125 ''; 108 126
+3 -1
pkgs/applications/science/astronomy/stellarium/default.nix
··· 70 70 qtwayland 71 71 ]; 72 72 73 - preConfigure = lib.optionalString stdenv.isDarwin '' 73 + preConfigure = '' 74 + export SOURCE_DATE_EPOCH=$(date -d 20${lib.versions.major version}0101 +%s) 75 + '' + lib.optionalString stdenv.isDarwin '' 74 76 export LC_ALL=en_US.UTF-8 75 77 ''; 76 78
+2 -8
pkgs/applications/video/vlc/default.nix
··· 102 102 in 103 103 stdenv.mkDerivation (finalAttrs: { 104 104 pname = "${optionalString onlyLibVLC "lib"}vlc"; 105 - version = "3.0.18"; 105 + version = "3.0.20"; 106 106 107 107 src = fetchurl { 108 108 url = "http://get.videolan.org/vlc/${finalAttrs.version}/vlc-${finalAttrs.version}.tar.xz"; 109 - hash = "sha256-VwlEOcNl2KqLm0H6MIDMDu8r7+YCW7XO9yKszGJa7ew="; 109 + hash = "sha256-rccoW00nIc3fQOtScMraKqoQozTLVG/VWgY1NEe6KbU="; 110 110 }; 111 111 112 112 nativeBuildInputs = [ ··· 219 219 (fetchpatch { 220 220 url = "https://code.videolan.org/videolan/vlc/uploads/eb1c313d2d499b8a777314f789794f9d/0001-Add-lssl-and-lcrypto-to-liblive555_plugin_la_LIBADD.patch"; 221 221 sha256 = "0kyi8q2zn2ww148ngbia9c7qjgdrijf4jlvxyxgrj29cb5iy1kda"; 222 - }) 223 - # patch to build with recent libplacebo 224 - # https://code.videolan.org/videolan/vlc/-/merge_requests/3027 225 - (fetchpatch { 226 - url = "https://code.videolan.org/videolan/vlc/-/commit/65ea8d19d91ac1599a29e8411485a72fe89c45e2.patch"; 227 - hash = "sha256-Zz+g75V6X9OZI3sn614K9Uenxl3WtRHKSdLkWP3b17w="; 228 222 }) 229 223 ]; 230 224
+25
pkgs/by-name/ge/gerrit-queue/package.nix
··· 1 + { buildGoModule 2 + , lib 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "gerrit-queue"; 8 + version = "0.0.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "flokli"; 12 + repo = "gerrit-queue"; 13 + rev = "v${version}"; 14 + hash = "sha256-JkAYqqet6y89RTBU9FuxkMwJiGM6opL0reXbojSal3Y="; 15 + }; 16 + vendorHash = "sha256-+Ig4D46NphzpWKXO23Haea9EqVtpda8v9zLPJkbe3bQ="; 17 + 18 + meta = with lib; { 19 + description = "Merge bot for Gerrit"; 20 + homepage = "https://github.com/flokli/gerrit-queue"; 21 + license = licenses.asl20; 22 + maintainers = with maintainers; [ flokli ]; 23 + mainProgram = "gerrit-queue"; 24 + }; 25 + }
+7
pkgs/by-name/nu/numbat/package.nix
··· 24 24 darwin.apple_sdk.frameworks.Security 25 25 ]; 26 26 27 + env.NUMBAT_SYSTEM_MODULE_PATH = "${placeholder "out"}/share/${pname}/modules"; 28 + 29 + postInstall = '' 30 + mkdir -p $out/share/${pname} 31 + cp -r $src/${pname}/modules $out/share/${pname}/ 32 + ''; 33 + 27 34 passthru.tests.version = testers.testVersion { 28 35 package = numbat; 29 36 };
+30
pkgs/by-name/si/simde/package.nix
··· 1 + { stdenv, lib, fetchFromGitHub, meson, ninja }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "simde"; 5 + version = "0.7.6"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "simd-everywhere"; 9 + repo = "simde"; 10 + rev = "v${version}"; 11 + hash = "sha256-pj+zaD5o9XYkTavezcQFzM6ao0IdQP1zjP9L4vcCyEY="; 12 + }; 13 + 14 + nativeBuildInputs = [ meson ninja ]; 15 + 16 + meta = with lib; { 17 + homepage = "https://simd-everywhere.github.io"; 18 + description = "Implementations of SIMD instruction sets for systems which don't natively support them"; 19 + license = with licenses; [mit]; 20 + maintainers = with maintainers; [ whiteley ]; 21 + platforms = flatten (with platforms; [ 22 + arm 23 + armv7 24 + aarch64 25 + x86 26 + power 27 + mips 28 + ]); 29 + }; 30 + }
+3 -3
pkgs/by-name/su/supersonic/package.nix
··· 20 20 21 21 buildGoModule rec { 22 22 pname = "supersonic" + lib.optionalString waylandSupport "-wayland"; 23 - version = "0.6.0"; 23 + version = "0.7.0"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "dweymouth"; 27 27 repo = "supersonic"; 28 28 rev = "v${version}"; 29 - hash = "sha256-elDVkhRW1mTez56OKQJJ0m0VxP8/Bq+HcXf5iokeY5I="; 29 + hash = "sha256-DVduZ1qPbcDlH+B5hibC2HUjwEUV+CpDDpMI8GdPwro"; 30 30 }; 31 31 32 - vendorHash = "sha256-z1sDlyc7HW+tYfG0Z4EjUCEM3Su4JjmWIKxU2MV6GOA="; 32 + vendorHash = "sha256-Dj6I+gt0gB5HWTWdFXCV5UpLuvg+HhuygRJAdvV/Yp8"; 33 33 34 34 nativeBuildInputs = [ 35 35 copyDesktopItems
-3
pkgs/development/compilers/gcc/all.nix
··· 34 34 else /* "4.8" */ isl_0_14; 35 35 } // lib.optionalAttrs (majorMinorVersion == "4.8") { 36 36 texinfo = texinfo5; # doesn't validate since 6.1 -> 6.3 bump 37 - } // lib.optionalAttrs (majorMinorVersion == "4.9") { 38 - # Build fails on Darwin with clang 39 - stdenv = if stdenv.isDarwin then gccStdenv else stdenv; 40 37 } // lib.optionalAttrs (!(atLeast "6")) { 41 38 cloog = if stdenv.isDarwin 42 39 then null
+7 -1
pkgs/development/compilers/gcc/default.nix
··· 33 33 , nukeReferences 34 34 , callPackage 35 35 , majorMinorVersion 36 + , darwin 36 37 37 38 # only for gcc<=6.x 38 39 , langJava ? false ··· 408 409 maintainers 409 410 ; 410 411 } // lib.optionalAttrs (!atLeast11) { 411 - badPlatforms = if !is49 then [ "aarch64-darwin" ] else lib.platforms.darwin; 412 + badPlatforms = if !(is48 || is49) then [ "aarch64-darwin" ] else lib.platforms.darwin; 412 413 }; 413 414 } // optionalAttrs is7 { 414 415 env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument"; 416 + } // lib.optionalAttrs (!atLeast10 && stdenv.hostPlatform.isDarwin) { 417 + # GCC <10 requires default cctools `strip` instead of `llvm-strip` used by Darwin bintools. 418 + preBuild = '' 419 + makeFlagsArray+=('STRIP=${lib.getBin darwin.cctools-port}/bin/${stdenv.cc.targetPrefix}strip') 420 + ''; 415 421 } // optionalAttrs (!atLeast7) { 416 422 env.langJava = langJava; 417 423 } // optionalAttrs atLeast6 {
+21
pkgs/development/compilers/gcc/patches/11/libgcc-aarch64-darwin-detection.patch
··· 1 + diff -u a/libgcc/config.host b/libgcc/config.host 2 + --- a/libgcc/config.host 2023-11-05 11:01:55.778638446 -0500 3 + +++ b/libgcc/config.host 2023-11-05 11:07:29.405103979 -0500 4 + @@ -227,7 +227,7 @@ 5 + tmake_file="$tmake_file t-slibgcc-darwin" 6 + # newer toolsets produce warnings when building for unsupported versions. 7 + case ${host} in 8 + - *-*-darwin1[89]* | *-*-darwin2* ) 9 + + *-*-darwin1[89]* | *-*-darwin2* | aarch64*-*-darwin*) 10 + tmake_file="t-darwin-min-8 $tmake_file" 11 + ;; 12 + *-*-darwin9* | *-*-darwin1[0-7]*) 13 + diff -ur a/libgcc/config/t-darwin-rpath b/libgcc/config/t-darwin-rpath 14 + --- a/libgcc/config/t-darwin-rpath 2023-11-05 11:34:18.691150009 -0500 15 + +++ b/libgcc/config/t-darwin-rpath 2023-11-05 11:50:36.968920904 -0500 16 + @@ -2,4 +2,4 @@ 17 + SHLIB_RPATH = @rpath 18 + 19 + # Which does not work for Darwin < 9 20 + -HOST_LIBGCC2_CFLAGS += -mmacosx-version-min=10.5 21 + +SHLIB_LOADER_PATH = -Wl,-rpath,@loader_path
+16
pkgs/development/compilers/gcc/patches/4.9/darwin-clang-as.patch
··· 1 + diff -ur a/libgcc/config/t-darwin b/libgcc/config/t-darwin 2 + --- a/libgcc/config/t-darwin 2012-07-14 09:50:59.000000000 -0400 3 + +++ b/libgcc/config/t-darwin 2023-11-05 21:26:11.696825584 -0500 4 + @@ -7,12 +7,6 @@ 5 + crttme.o: $(srcdir)/config/darwin-crt-tm.c 6 + $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $< 7 + 8 + -# -pipe because there's an assembler bug, 4077127, which causes 9 + -# it to not properly process the first # directive, causing temporary 10 + -# file names to appear in stabs, causing the bootstrap to fail. Using -pipe 11 + -# works around this by not having any temporary file names. 12 + -HOST_LIBGCC2_CFLAGS += -pipe 13 + - 14 + # Use unwind-dw2-fde-darwin 15 + LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \ 16 + $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
+96
pkgs/development/compilers/gcc/patches/8/gcc8-darwin-as-gstabs.patch
··· 1 + Backported from https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b2cee5e1e89c8f939bc36fe9756befcb93d96982 2 + 3 + diff -ur a/gcc/config/darwin.h b/gcc/config/darwin.h 4 + --- a/gcc/config/darwin.h 2021-05-14 04:42:08.000000000 -0400 5 + +++ b/gcc/config/darwin.h 2023-11-06 08:53:27.629155053 -0500 6 + @@ -233,12 +233,18 @@ 7 + 8 + #define DSYMUTIL "\ndsymutil" 9 + 10 + +/* Spec that controls whether the debug linker is run automatically for 11 + + a link step. This needs to be done if there is a source file on the 12 + + command line which will result in a temporary object (and debug is 13 + + enabled). */ 14 + + 15 + #define DSYMUTIL_SPEC \ 16 + "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ 17 + %{v} \ 18 + - %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\ 19 + - %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \ 20 + - %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}" 21 + + %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\ 22 + + %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\ 23 + + .f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ 24 + + %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}" 25 + 26 + #define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC 27 + 28 + @@ -469,18 +475,31 @@ 29 + /* Default ASM_DEBUG_SPEC. Darwin's as cannot currently produce dwarf 30 + debugging data. */ 31 + 32 + +#ifdef HAS_AS_STABS_DIRECTIVE 33 + +/* We only pass a debug option to the assembler if that supports stabs, since 34 + + dwarf is not uniformly supported in the assemblers. */ 35 + #define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}" 36 + +#else 37 + +#define ASM_DEBUG_SPEC "" 38 + +#endif 39 + + 40 + +#undef ASM_DEBUG_OPTION_SPEC 41 + +#define ASM_DEBUG_OPTION_SPEC "" 42 + + 43 + #define ASM_FINAL_SPEC \ 44 + "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform } %<gsplit-dwarf" 45 + 46 + -/* We still allow output of STABS if the assembler supports it. */ 47 + +/* We now require C++11 to bootstrap and newer tools than those based on 48 + + stabs, so require DWARF-2, even if stabs is supported by the assembler. */ 49 + + 50 + +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG 51 + +#define DARWIN_PREFER_DWARF 52 + +#define DWARF2_DEBUGGING_INFO 1 53 + + 54 + #ifdef HAVE_AS_STABS_DIRECTIVE 55 + #define DBX_DEBUGGING_INFO 1 56 + -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG 57 + #endif 58 + 59 + -#define DWARF2_DEBUGGING_INFO 1 60 + - 61 + #define DEBUG_FRAME_SECTION "__DWARF,__debug_frame,regular,debug" 62 + #define DEBUG_INFO_SECTION "__DWARF,__debug_info,regular,debug" 63 + #define DEBUG_ABBREV_SECTION "__DWARF,__debug_abbrev,regular,debug" 64 + diff -ur a/gcc/config/darwin9.h b/gcc/config/darwin9.h 65 + --- a/gcc/config/darwin9.h 2021-05-14 04:42:08.000000000 -0400 66 + +++ b/gcc/config/darwin9.h 2023-11-06 08:54:02.663945206 -0500 67 + @@ -18,29 +18,6 @@ 68 + along with GCC; see the file COPYING3. If not see 69 + <http://www.gnu.org/licenses/>. */ 70 + 71 + -/* Prefer DWARF2. */ 72 + -#undef PREFERRED_DEBUGGING_TYPE 73 + -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG 74 + -#define DARWIN_PREFER_DWARF 75 + - 76 + -/* Since DWARF2 is default, conditions for running dsymutil are different. */ 77 + -#undef DSYMUTIL_SPEC 78 + -#define DSYMUTIL_SPEC \ 79 + - "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ 80 + - %{v} \ 81 + - %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\ 82 + - %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|.f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ 83 + - %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}" 84 + - 85 + -/* Tell collect2 to run dsymutil for us as necessary. */ 86 + -#define COLLECT_RUN_DSYMUTIL 1 87 + - 88 + -/* Only ask as for debug data if the debug style is stabs (since as doesn't 89 + - yet generate dwarf.) */ 90 + - 91 + -#undef ASM_DEBUG_SPEC 92 + -#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{gstabs:--gstabs}}}" 93 + - 94 + #undef ASM_OUTPUT_ALIGNED_COMMON 95 + #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ 96 + do { \
+99
pkgs/development/compilers/gcc/patches/9/gcc9-darwin-as-gstabs.patch
··· 1 + Backported from https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b2cee5e1e89c8f939bc36fe9756befcb93d96982 2 + 3 + diff -ur a/gcc/config/darwin.h b/gcc/config/darwin.h 4 + --- a/gcc/config/darwin.h 2022-05-27 03:21:10.947379000 -0400 5 + +++ b/gcc/config/darwin.h 2023-11-06 12:18:27.209236423 -0500 6 + @@ -230,12 +230,18 @@ 7 + 8 + #define DSYMUTIL "\ndsymutil" 9 + 10 + +/* Spec that controls whether the debug linker is run automatically for 11 + + a link step. This needs to be done if there is a source file on the 12 + + command line which will result in a temporary object (and debug is 13 + + enabled). */ 14 + + 15 + #define DSYMUTIL_SPEC \ 16 + "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ 17 + %{v} \ 18 + - %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\ 19 + - %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \ 20 + - %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}" 21 + + %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\ 22 + + %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\ 23 + + .f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ 24 + + %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}" 25 + 26 + #define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC 27 + 28 + @@ -463,21 +469,31 @@ 29 + %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \ 30 + %{static}" ASM_MMACOSX_VERSION_MIN_SPEC 31 + 32 + -/* Default ASM_DEBUG_SPEC. Darwin's as cannot currently produce dwarf 33 + - debugging data. */ 34 + - 35 + +#ifdef HAS_AS_STABS_DIRECTIVE 36 + +/* We only pass a debug option to the assembler if that supports stabs, since 37 + + dwarf is not uniformly supported in the assemblers. */ 38 + #define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}" 39 + +#else 40 + +#define ASM_DEBUG_SPEC "" 41 + +#endif 42 + + 43 + +#undef ASM_DEBUG_OPTION_SPEC 44 + +#define ASM_DEBUG_OPTION_SPEC "" 45 + + 46 + #define ASM_FINAL_SPEC \ 47 + "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform} %<gsplit-dwarf" 48 + 49 + -/* We still allow output of STABS if the assembler supports it. */ 50 + +/* We now require C++11 to bootstrap and newer tools than those based on 51 + + stabs, so require DWARF-2, even if stabs is supported by the assembler. */ 52 + + 53 + +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG 54 + +#define DARWIN_PREFER_DWARF 55 + +#define DWARF2_DEBUGGING_INFO 1 56 + + 57 + #ifdef HAVE_AS_STABS_DIRECTIVE 58 + #define DBX_DEBUGGING_INFO 1 59 + -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG 60 + #endif 61 + 62 + -#define DWARF2_DEBUGGING_INFO 1 63 + - 64 + #define DEBUG_FRAME_SECTION "__DWARF,__debug_frame,regular,debug" 65 + #define DEBUG_INFO_SECTION "__DWARF,__debug_info,regular,debug" 66 + #define DEBUG_ABBREV_SECTION "__DWARF,__debug_abbrev,regular,debug" 67 + diff -ur a/gcc/config/darwin9.h b/gcc/config/darwin9.h 68 + --- a/gcc/config/darwin9.h 2022-05-27 03:21:10.947379000 -0400 69 + +++ b/gcc/config/darwin9.h 2023-11-06 12:18:48.325260590 -0500 70 + @@ -18,29 +18,6 @@ 71 + along with GCC; see the file COPYING3. If not see 72 + <http://www.gnu.org/licenses/>. */ 73 + 74 + -/* Prefer DWARF2. */ 75 + -#undef PREFERRED_DEBUGGING_TYPE 76 + -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG 77 + -#define DARWIN_PREFER_DWARF 78 + - 79 + -/* Since DWARF2 is default, conditions for running dsymutil are different. */ 80 + -#undef DSYMUTIL_SPEC 81 + -#define DSYMUTIL_SPEC \ 82 + - "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ 83 + - %{v} \ 84 + - %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\ 85 + - %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|.f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \ 86 + - %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}" 87 + - 88 + -/* Tell collect2 to run dsymutil for us as necessary. */ 89 + -#define COLLECT_RUN_DSYMUTIL 1 90 + - 91 + -/* Only ask as for debug data if the debug style is stabs (since as doesn't 92 + - yet generate dwarf.) */ 93 + - 94 + -#undef ASM_DEBUG_SPEC 95 + -#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{gstabs:--gstabs}}}" 96 + - 97 + #undef ASM_OUTPUT_ALIGNED_COMMON 98 + #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ 99 + do { \
+34
pkgs/development/compilers/gcc/patches/clang-genconditions.patch
··· 1 + From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061#c5 2 + 3 + --- a/gcc/genconditions.c 2019-01-01 12:37:19.064943662 +0100 4 + +++ b/gcc/genconditions.c 2019-10-11 10:57:11.464595789 +0200 5 + @@ -57,8 +57,9 @@ write_header (void) 6 + \n\ 7 + /* It is necessary, but not entirely safe, to include the headers below\n\ 8 + in a generator program. As a defensive measure, don't do so when the\n\ 9 + - table isn't going to have anything in it. */\n\ 10 + -#if GCC_VERSION >= 3001\n\ 11 + + table isn't going to have anything in it.\n\ 12 + + Clang 9 is buggy and doesn't handle __builtin_constant_p correctly. */\n\ 13 + +#if GCC_VERSION >= 3001 && __clang_major__ < 9\n\ 14 + \n\ 15 + /* Do not allow checking to confuse the issue. */\n\ 16 + #undef CHECKING_P\n\ 17 + @@ -170,7 +171,7 @@ struct c_test\n\ 18 + vary at run time. It works in 3.0.1 and later; 3.0 only when not\n\ 19 + optimizing. */\n\ 20 + \n\ 21 + -#if GCC_VERSION >= 3001\n\ 22 + +#if GCC_VERSION >= 3001 && __clang_major__ < 9\n\ 23 + static const struct c_test insn_conditions[] = {\n"); 24 + 25 + traverse_c_tests (write_one_condition, 0); 26 + @@ -191,7 +192,7 @@ write_writer (void) 27 + " unsigned int i;\n" 28 + " const char *p;\n" 29 + " puts (\"(define_conditions [\");\n" 30 + - "#if GCC_VERSION >= 3001\n" 31 + + "#if GCC_VERSION >= 3001 && __clang_major__ < 9\n" 32 + " for (i = 0; i < ARRAY_SIZE (insn_conditions); i++)\n" 33 + " {\n" 34 + " printf (\" (%d \\\"\", insn_conditions[i].value);\n"
+20
pkgs/development/compilers/gcc/patches/default.nix
··· 178 178 # https://github.com/osx-cross/homebrew-avr/issues/280#issuecomment-1272381808 179 179 ++ optional (is11 && stdenv.isDarwin && targetPlatform.isAvr) ./avr-gcc-11.3-darwin.patch 180 180 181 + # libgcc’s `configure` script misdetects aarch64-darwin, resulting in an invalid deployment target. 182 + ++ optional (is11 && stdenv.isDarwin && stdenv.isAarch64) ./11/libgcc-aarch64-darwin-detection.patch 183 + 181 184 # openjdk build fails without this on -march=opteron; is upstream in gcc12 182 185 ++ optionals (is11) [ ./11/gcc-issue-103910.patch ] 183 186 ··· 191 194 sha256 = "sha256-XtykrPd5h/tsnjY1wGjzSOJ+AyyNLsfnjuOZ5Ryq9vA="; 192 195 }) 193 196 197 + # Fix undefined symbol errors when building older versions with clang 198 + ++ optional (!atLeast11 && stdenv.cc.isClang && stdenv.hostPlatform.isDarwin) ./clang-genconditions.patch 199 + 194 200 195 201 ## gcc 9.0 and older ############################################################################## 196 202 197 203 ++ optional (majorVersion == "9") ./9/fix-struct-redefinition-on-glibc-2.36.patch 198 204 ++ optional (atLeast7 && !atLeast10 && targetPlatform.isNetBSD) ./libstdc++-netbsd-ctypes.patch 205 + 206 + # Make Darwin bootstrap respect whether the assembler supports `--gstabs`, 207 + # which is not supported by the clang integrated assembler used by default on Darwin. 208 + ++ optional (is9 && hostPlatform.isDarwin) ./9/gcc9-darwin-as-gstabs.patch 199 209 200 210 201 211 ## gcc 8.0 and older ############################################################################## ··· 204 214 ++ optional (atLeast49 && !is49 && !atLeast9) ./libsanitizer-no-cyclades-9.patch 205 215 ++ optional (is7 || is8) ./9/fix-struct-redefinition-on-glibc-2.36.patch 206 216 217 + # Make Darwin bootstrap respect whether the assembler supports `--gstabs`, 218 + # which is not supported by the clang integrated assembler used by default on Darwin. 219 + ++ optional (is8 && hostPlatform.isDarwin) ./8/gcc8-darwin-as-gstabs.patch 220 + 207 221 208 222 ## gcc 7.0 and older ############################################################################## 209 223 ··· 239 253 ./gnat-cflags.patch 240 254 ./6/gnat-glibc234.patch 241 255 ] 256 + 257 + # The clang-based assembler used in darwin.cctools-llvm (LLVM >11) does not support piping input. 258 + # Fortunately, it does not exhibit the problem GCC has with the cctools assembler. 259 + # This patch can be dropped should darwin.cctools-llvm ever implement support. 260 + ++ optional (!atLeast7 && hostPlatform.isDarwin && lib.versionAtLeast (lib.getVersion stdenv.cc) "12") ./4.9/darwin-clang-as.patch 261 + 242 262 243 263 ## gcc 4.9 and older ############################################################################## 244 264
+33
pkgs/development/php-packages/memprof/default.nix
··· 1 + { buildPecl 2 + , lib 3 + , fetchFromGitHub 4 + , judy 5 + }: 6 + 7 + let 8 + version = "3.0.2"; 9 + in buildPecl { 10 + inherit version; 11 + pname = "memprof"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "arnaud-lb"; 15 + repo = "php-memory-profiler"; 16 + rev = version; 17 + hash = "sha256-K8YcvCobErBkaWFTkVGLXXguQPOLIgQuRGWJF+HAIRA="; 18 + }; 19 + 20 + configureFlags = [ 21 + "--with-judy-dir=${judy}" 22 + ]; 23 + 24 + doCheck = true; 25 + 26 + meta = { 27 + changelog = "https://github.com/arnaud-lb/php-memory-profiler/releases/tag/${version}"; 28 + description = "Memory profiler for PHP. Helps finding memory leaks in PHP scripts"; 29 + homepage = "https://github.com/arnaud-lb/php-memory-profiler"; 30 + license = lib.licenses.mit; 31 + maintainers = with lib.maintainers; [ gaelreyrol ]; 32 + }; 33 + }
+7 -6
pkgs/development/python-modules/awkward/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , pythonOlder 4 - , fetchPypi 4 + , fetchFromGitHub 5 5 , hatch-fancy-pypi-readme 6 6 , hatchling 7 7 , awkward-cpp ··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "awkward"; 26 - version = "2.4.6"; 26 + version = "2.4.9"; 27 27 pyproject = true; 28 28 29 29 disabled = pythonOlder "3.8"; 30 30 31 - src = fetchPypi { 32 - inherit pname version; 33 - hash = "sha256-MRnrPChX3a26JELh4oH5nefwoQurpvpprZXeNnz1Cwo="; 31 + src = fetchFromGitHub { 32 + owner = "scikit-hep"; 33 + repo = "awkward"; 34 + rev = "refs/tags/v${version}"; 35 + hash = "sha256-8MllMKf/xp5SdtF9P1Sa6Ytml4nQ5OX7vs7ITU8mCRU="; 34 36 }; 35 37 36 38 nativeBuildInputs = [ ··· 69 71 # The following tests have been disabled because they need to be run on a GPU platform. 70 72 disabledTestPaths = [ 71 73 "tests-cuda" 72 - "tests-cuda-kernels" 73 74 ]; 74 75 75 76 meta = with lib; {
+2
pkgs/development/python-modules/dalle-mini/default.nix
··· 49 49 homepage = "https://github.com/borisdayma/dalle-mini"; 50 50 license = licenses.asl20; 51 51 maintainers = with maintainers; [ r-burns ]; 52 + # incompatible with recent versions of JAX 53 + broken = true; 52 54 }; 53 55 }
+79 -31
pkgs/development/python-modules/dash/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , celery 4 - , dash-core-components 3 + , pythonOlder 4 + , fetchFromGitHub 5 + 6 + , nodejs 7 + , yarn 8 + , fixup_yarn_lock 9 + , fetchYarnDeps 10 + 11 + , setuptools 12 + , flask 13 + , werkzeug 14 + , plotly 5 15 , dash-html-components 16 + , dash-core-components 6 17 , dash-table 18 + , importlib-metadata 19 + , typing-extensions 20 + , requests 21 + , retrying 22 + , ansi2html 23 + , nest-asyncio 24 + 25 + , celery 26 + , redis 7 27 , diskcache 8 - , fetchFromGitHub 9 - , flask 10 - , flask-compress 11 - , mock 12 28 , multiprocess 13 - , plotly 14 29 , psutil 30 + , flask-compress 31 + 32 + , pytestCheckHook 15 33 , pytest-mock 16 - , pytestCheckHook 17 - , pythonOlder 34 + , mock 18 35 , pyyaml 19 - , redis 20 36 }: 21 37 22 38 buildPythonPackage rec { 23 39 pname = "dash"; 24 - version = "2.13.0"; 40 + version = "2.14.1"; 25 41 format = "setuptools"; 26 42 27 43 disabled = pythonOlder "3.6"; ··· 30 46 owner = "plotly"; 31 47 repo = pname; 32 48 rev = "refs/tags/v${version}"; 33 - hash = "sha256-+pTxEPuXtcu+ZekphqXD/k2tQ5werH/1ueGJOxA8pZw="; 49 + hash = "sha256-vQOfX9RCIbr5lfUyT2knwrO374/vm7jH+/1+BeqmRjI="; 50 + }; 51 + 52 + nativeBuildInputs = [ 53 + nodejs 54 + yarn 55 + fixup_yarn_lock 56 + ]; 57 + 58 + yarnDeps = fetchYarnDeps { 59 + yarnLock = src + "/@plotly/dash-jupyterlab/yarn.lock"; 60 + hash = "sha256-mkiyrA0jGiP0zbabSjgHFLEUX3f+LZdJ8eARI5QA8CU="; 34 61 }; 35 62 63 + preBuild = '' 64 + pushd @plotly/dash-jupyterlab 65 + 66 + export HOME=$(mktemp -d) 67 + 68 + yarn config --offline set yarn-offline-mirror ${yarnDeps} 69 + fixup_yarn_lock yarn.lock 70 + 71 + substituteInPlace package.json --replace jlpm yarn 72 + yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts 73 + patchShebangs . 74 + 75 + # Generates the jupyterlab extension files 76 + yarn run build:pack 77 + 78 + popd 79 + ''; 80 + 36 81 propagatedBuildInputs = [ 37 - dash-core-components 82 + setuptools # for importing pkg_resources 83 + flask 84 + werkzeug 85 + plotly 38 86 dash-html-components 87 + dash-core-components 39 88 dash-table 40 - flask 41 - flask-compress 42 - plotly 89 + importlib-metadata 90 + typing-extensions 91 + requests 92 + retrying 93 + ansi2html 94 + nest-asyncio 43 95 ]; 44 96 45 97 passthru.optional-dependencies = { ··· 52 104 multiprocess 53 105 psutil 54 106 ]; 107 + compress = [ 108 + flask-compress 109 + ]; 55 110 }; 56 111 57 112 nativeCheckInputs = [ 58 - mock 113 + pytestCheckHook 59 114 pytest-mock 60 - pytestCheckHook 115 + mock 61 116 pyyaml 62 117 ]; 63 118 64 119 disabledTestPaths = [ 65 120 "tests/unit/test_browser.py" 66 - "tests/unit/test_app_runners.py" # Use selenium 121 + "tests/unit/test_app_runners.py" # Uses selenium 67 122 "tests/integration" 68 123 ]; 69 124 70 - disabledTests = [ 71 - # Failed: DID NOT RAISE <class 'ImportError'> 72 - "test_missing_flask_compress_raises" 73 - ]; 125 + pythonImportsCheck = [ "dash" ]; 74 126 75 - pythonImportsCheck = [ 76 - "dash" 77 - ]; 78 - 79 - meta = with lib; { 127 + meta = { 80 128 description = "Python framework for building analytical web applications"; 81 129 homepage = "https://dash.plot.ly/"; 82 - changelog = "https://github.com/plotly/dash/blob/v${version}/CHANGELOG.md"; 83 - license = licenses.mit; 84 - maintainers = with maintainers; [ antoinerg ]; 130 + changelog = "https://github.com/plotly/dash/blob/${src.rev}/CHANGELOG.md"; 131 + license = lib.licenses.mit; 132 + maintainers = with lib.maintainers; [ antoinerg tomasajt ]; 85 133 }; 86 134 }
+2 -2
pkgs/development/python-modules/dask-awkward/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "dask-awkward"; 16 - version = "2023.10.1"; 16 + version = "2023.11.0"; 17 17 pyproject = true; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "dask-contrib"; 23 23 repo = "dask-awkward"; 24 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-ov5vE9O+dq0ByfSMluQl7NN0vZAcvvBX27iwoYSruSs="; 25 + hash = "sha256-oOIXqKwKjF6wCgRNRJ2EZn4F7sMqUKDSNQuGUpvL7sA="; 26 26 }; 27 27 28 28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+3 -3
pkgs/development/python-modules/dask/default.nix
··· 38 38 39 39 buildPythonPackage rec { 40 40 pname = "dask"; 41 - version = "2023.10.0"; 41 + version = "2023.10.1"; 42 42 pyproject = true; 43 43 44 44 disabled = pythonOlder "3.9"; ··· 47 47 owner = "dask"; 48 48 repo = "dask"; 49 49 rev = "refs/tags/${version}"; 50 - hash = "sha256-u7KuZT0uH833zqLNBfqRLU7EcMrUmXgszevYA3Z7G1Y="; 50 + hash = "sha256-asD5oLd7XcZ8ZFSrsSCAKgZ3Gsqs6T77nb1qesamgUI="; 51 51 }; 52 52 53 53 nativeBuildInputs = [ ··· 114 114 --replace "cmdclass=versioneer.get_cmdclass()," "" 115 115 116 116 substituteInPlace pyproject.toml \ 117 - --replace ', "versioneer[toml]==0.28"' "" \ 117 + --replace ', "versioneer[toml]==0.29"' "" \ 118 118 --replace " --durations=10" "" \ 119 119 --replace " --cov-config=pyproject.toml" "" \ 120 120 --replace "\"-v" "\" "
+2 -2
pkgs/development/python-modules/dbus-fast/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "dbus-fast"; 16 - version = "2.12.0"; 16 + version = "2.13.1"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 22 22 owner = "Bluetooth-Devices"; 23 23 repo = pname; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-ZeDQn+/b6WBCodZ7Ow5IlC9XlWieAifCMJtM1yse5P8="; 25 + hash = "sha256-ay/NaJ/u/XG9XQ7C2dzmJKs/j1s/vDHUnaE/qDhho9Q="; 26 26 }; 27 27 28 28 # The project can build both an optimized cython version and an unoptimized
+14 -3
pkgs/development/python-modules/dinghy/default.nix
··· 5 5 , pythonOlder 6 6 , aiofiles 7 7 , aiohttp 8 + , backports-datetime-fromisoformat 9 + , click 8 10 , click-log 9 11 , emoji 10 12 , glom 11 13 , jinja2 12 14 , pyyaml 15 + , freezegun 16 + , setuptools 13 17 }: 14 18 15 19 buildPythonPackage rec { 16 20 pname = "dinghy"; 17 - version = "1.3.0"; 18 - format = "setuptools"; 21 + version = "1.3.2"; 22 + pyproject = true; 19 23 20 24 disabled = pythonOlder "3.8"; 21 25 ··· 23 27 owner = "nedbat"; 24 28 repo = pname; 25 29 rev = "refs/tags/${version}"; 26 - hash = "sha256-a1CHbPSoiR3JbuAXYPJc1EsSq13DbrOttk9zLFF9+cM="; 30 + hash = "sha256-0U08QHQuNm7qaxhU8sNxeN0fZ4S8N0RYRsWjFUqhZSU="; 27 31 }; 28 32 33 + nativeBuildInputs = [ 34 + setuptools 35 + ]; 36 + 29 37 propagatedBuildInputs = [ 30 38 aiofiles 31 39 aiohttp 40 + backports-datetime-fromisoformat 41 + click 32 42 click-log 33 43 emoji 34 44 glom ··· 37 47 ]; 38 48 39 49 nativeCheckInputs = [ 50 + freezegun 40 51 pytestCheckHook 41 52 ]; 42 53
+3 -3
pkgs/development/python-modules/ducc0/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "ducc0"; 5 - version = "0.31.0"; 5 + version = "0.32.0"; 6 6 7 - disabled = pythonOlder "3.7"; 7 + disabled = pythonOlder "3.8"; 8 8 9 9 src = fetchFromGitLab { 10 10 domain = "gitlab.mpcdf.mpg.de"; 11 11 owner = "mtr"; 12 12 repo = "ducc"; 13 13 rev = "ducc0_${lib.replaceStrings ["."] ["_"] version}"; 14 - hash = "sha256-4aNIq5RNo1Qqiqr2wjYB/FXKyvbARsRF1yW1ZzZlAOo="; 14 + hash = "sha256-D+Gt5RrzljZQHBijaPuCuNsK08VxxJoWhqxSDu4bjH0="; 15 15 }; 16 16 17 17 buildInputs = [ pybind11 ];
+290
pkgs/development/python-modules/farm-haystack/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonRelaxDepsHook 5 + , hatchling 6 + , boilerpy3 7 + , events 8 + , httpx 9 + , jsonschema 10 + , lazy-imports 11 + , more-itertools 12 + , networkx 13 + , pandas 14 + , pillow 15 + , platformdirs 16 + , posthog 17 + , prompthub-py 18 + , pydantic 19 + , quantulum3 20 + , rank-bm25 21 + , requests 22 + , requests-cache 23 + , scikit-learn 24 + , sseclient-py 25 + , tenacity 26 + , tiktoken 27 + , tqdm 28 + , transformers 29 + , openai-whisper 30 + , boto3 31 + , botocore 32 + # , beir 33 + , selenium 34 + , coverage 35 + , dulwich 36 + # , jupytercontrib 37 + , mkdocs 38 + , mypy 39 + , pre-commit 40 + , psutil 41 + # , pydoc-markdown 42 + , pylint 43 + , pytest 44 + , pytest-asyncio 45 + , pytest-cov 46 + # , pytest-custom-exit-code 47 + , python-multipart 48 + , reno 49 + , responses 50 + , toml 51 + , tox 52 + , watchdog 53 + , elastic-transport 54 + , elasticsearch 55 + # , azure-ai-formrecognizer 56 + , beautifulsoup4 57 + , markdown 58 + , python-docx 59 + , python-frontmatter 60 + , python-magic 61 + , tika 62 + , black 63 + , huggingface-hub 64 + , sentence-transformers 65 + , mlflow 66 + , rapidfuzz 67 + , scipy 68 + , seqeval 69 + , pdf2image 70 + , pytesseract 71 + , faiss 72 + # , faiss-gpu 73 + , pinecone-client 74 + , onnxruntime 75 + , onnxruntime-tools 76 + # , onnxruntime-gpu 77 + , opensearch-py 78 + , pymupdf 79 + , langdetect 80 + , nltk 81 + , canals 82 + , jinja2 83 + , openai 84 + , aiorwlock 85 + , ray 86 + , psycopg2 87 + , sqlalchemy 88 + , sqlalchemy-utils 89 + , weaviate-client 90 + }: 91 + 92 + buildPythonPackage rec { 93 + pname = "farm-haystack"; 94 + version = "1.21.2"; 95 + pyproject = true; 96 + 97 + src = fetchFromGitHub { 98 + owner = "deepset-ai"; 99 + repo = "haystack"; 100 + rev = "v${version}"; 101 + hash = "sha256-h+8F1e6fFoxT4Cu0DxtXTyDd+OFXpX1+uk21/k9qcxw="; 102 + }; 103 + 104 + nativeBuildInputs = [ 105 + hatchling 106 + pythonRelaxDepsHook 107 + ]; 108 + 109 + pythonRemoveDeps = [ 110 + # We call it faiss, not faiss-cpu. 111 + "faiss-cpu" 112 + ]; 113 + 114 + propagatedBuildInputs = [ 115 + boilerpy3 116 + events 117 + httpx 118 + jsonschema 119 + lazy-imports 120 + more-itertools 121 + networkx 122 + pandas 123 + pillow 124 + platformdirs 125 + posthog 126 + prompthub-py 127 + pydantic 128 + quantulum3 129 + rank-bm25 130 + requests 131 + requests-cache 132 + scikit-learn 133 + sseclient-py 134 + tenacity 135 + tiktoken 136 + tqdm 137 + transformers 138 + ]; 139 + 140 + env.HOME = "$(mktemp -d)"; 141 + 142 + passthru.optional-dependencies = { 143 + # all = [ 144 + # farm-haystack 145 + # ]; 146 + # all-gpu = [ 147 + # farm-haystack 148 + # ]; 149 + audio = [ 150 + openai-whisper 151 + ]; 152 + aws = [ 153 + boto3 154 + botocore 155 + ]; 156 + # beir = [ 157 + # beir 158 + # ]; 159 + colab = [ 160 + pillow 161 + ]; 162 + crawler = [ 163 + selenium 164 + ]; 165 + dev = [ 166 + coverage 167 + dulwich 168 + # jupytercontrib 169 + mkdocs 170 + mypy 171 + pre-commit 172 + psutil 173 + # pydoc-markdown 174 + pylint 175 + pytest 176 + pytest-asyncio 177 + pytest-cov 178 + # pytest-custom-exit-code 179 + python-multipart 180 + reno 181 + responses 182 + toml 183 + tox 184 + watchdog 185 + ]; 186 + elasticsearch7 = [ 187 + elastic-transport 188 + elasticsearch 189 + ]; 190 + elasticsearch8 = [ 191 + elastic-transport 192 + elasticsearch 193 + ]; 194 + file-conversion = [ 195 + # azure-ai-formrecognizer 196 + beautifulsoup4 197 + markdown 198 + python-docx 199 + python-frontmatter 200 + python-magic 201 + # python-magic-bin 202 + tika 203 + ]; 204 + formatting = [ 205 + black 206 + ]; 207 + inference = [ 208 + huggingface-hub 209 + sentence-transformers 210 + transformers 211 + ]; 212 + metrics = [ 213 + mlflow 214 + rapidfuzz 215 + scipy 216 + seqeval 217 + ]; 218 + ocr = [ 219 + pdf2image 220 + pytesseract 221 + ]; 222 + only-faiss = [ 223 + faiss 224 + ]; 225 + # only-faiss-gpu = [ 226 + # faiss-gpu 227 + # ]; 228 + only-pinecone = [ 229 + pinecone-client 230 + ]; 231 + onnx = [ 232 + onnxruntime 233 + onnxruntime-tools 234 + ]; 235 + # onnx-gpu = [ 236 + # onnxruntime-gpu 237 + # onnxruntime-tools 238 + # ]; 239 + opensearch = [ 240 + opensearch-py 241 + ]; 242 + pdf = [ 243 + pymupdf 244 + ]; 245 + preprocessing = [ 246 + langdetect 247 + nltk 248 + ]; 249 + preview = [ 250 + canals 251 + jinja2 252 + lazy-imports 253 + openai 254 + pandas 255 + rank-bm25 256 + requests 257 + tenacity 258 + tqdm 259 + ]; 260 + ray = [ 261 + aiorwlock 262 + ray 263 + ]; 264 + sql = [ 265 + psycopg2 266 + sqlalchemy 267 + sqlalchemy-utils 268 + ]; 269 + weaviate = [ 270 + weaviate-client 271 + ]; 272 + }; 273 + 274 + # the setup for test is intensive, hopefully can be done at some point 275 + doCheck = false; 276 + 277 + 278 + pythonImportsCheck = [ "haystack" ]; 279 + 280 + meta = with lib; { 281 + description = "LLM orchestration framework to build customizable, production-ready LLM applications"; 282 + longDescription = '' 283 + LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots 284 + ''; 285 + changelog = "https://github.com/deepset-ai/haystack/releases/tag/${src.rev}"; 286 + homepage = "https://github.com/deepset-ai/haystack"; 287 + license = licenses.asl20; 288 + maintainers = with maintainers; [ happysalada ]; 289 + }; 290 + }
+18 -11
pkgs/development/python-modules/flax/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 4 , jaxlib 5 + , pythonRelaxDepsHook 6 + , setuptools-scm 7 + , cloudpickle 4 8 , jax 5 - , keras 6 - , lib 7 9 , matplotlib 8 10 , msgpack 9 11 , numpy 10 12 , optax 13 + , rich 14 + , tensorstore 15 + , keras 11 16 , pytest-xdist 12 17 , pytestCheckHook 13 - , pythonRelaxDepsHook 14 18 , tensorflow 15 - , tensorstore 16 - , fetchpatch 17 - , rich 18 19 }: 19 20 20 21 buildPythonPackage rec { 21 22 pname = "flax"; 22 - version = "0.7.4"; 23 + version = "0.7.5"; 24 + pyproject = true; 23 25 24 26 src = fetchFromGitHub { 25 27 owner = "google"; 26 - repo = pname; 28 + repo = "flax"; 27 29 rev = "refs/tags/v${version}"; 28 - hash = "sha256-i48omag/1Si3mCCGfsUD9qeejyeCLWzvvwKJqH8vm8k="; 30 + hash = "sha256-NDah0ayQbiO1/sTU1DDf/crPq5oLTnSuosV7cFHlTM8="; 29 31 }; 30 32 31 - nativeBuildInputs = [ jaxlib pythonRelaxDepsHook ]; 33 + nativeBuildInputs = [ 34 + jaxlib 35 + pythonRelaxDepsHook 36 + setuptools-scm 37 + ]; 32 38 33 39 propagatedBuildInputs = [ 40 + cloudpickle 34 41 jax 35 42 matplotlib 36 43 msgpack
-3
pkgs/development/python-modules/insightface/default.nix
··· 69 69 doCheck = false; # Upstream has no tests 70 70 71 71 meta = with lib; { 72 - # Both protobuf3 and protobuf4 in the build closure. 73 - # related: https://github.com/onnx/onnx/issues/5563 74 - broken = true; 75 72 description = "State-of-the-art 2D and 3D Face Analysis Project"; 76 73 homepage = "https://github.com/deepinsight/insightface"; 77 74 license = licenses.mit;
+2 -2
pkgs/development/python-modules/mypy-boto3-builder/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "mypy-boto3-builder"; 21 - version = "7.19.0"; 21 + version = "7.19.1"; 22 22 format = "pyproject"; 23 23 24 24 disabled = pythonOlder "3.10"; ··· 27 27 owner = "youtype"; 28 28 repo = "mypy_boto3_builder"; 29 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-Wczk1DNoOpvd7efnZFUf4FSjYqHdkMKMNwNVeQOPeEg="; 30 + hash = "sha256-Gz6OJ2ER60R14aTmhPfodX22FlbicUClBtlqNglTjC4="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/nvidia-ml-py/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "nvidia-ml-py"; 8 - version = "12.535.108"; 8 + version = "12.535.133"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 13 extension = "tar.gz"; 14 - hash = "sha256-FB/oGHcaFl+5P3Xb5/Afdnw7r6fBP2h29TWDURsHjuE="; 14 + hash = "sha256-sVWa8NV90glVv1jQWv/3sWbd1ElH6zBRyZBWOHmesdw="; 15 15 }; 16 16 17 17 patches = [
+2 -2
pkgs/development/python-modules/optimum/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "optimum"; 25 - version = "1.13.3"; 25 + version = "1.14.0"; 26 26 format = "setuptools"; 27 27 28 28 disabled = pythonOlder "3.7"; ··· 31 31 owner = "huggingface"; 32 32 repo = "optimum"; 33 33 rev = "refs/tags/v${version}"; 34 - hash = "sha256-4bKQcltUr7q8wHfiRXQcK5dw0TrnMr9/bTNXeOyg7oA="; 34 + hash = "sha256-fCLMDbWfEAG7pTFKWv67fpr6lNTxRTCBkppgDZR51eY="; 35 35 }; 36 36 37 37 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/paddle2onnx/default.nix
··· 9 9 }: 10 10 let 11 11 pname = "paddle2onnx"; 12 - version = "1.0.9"; 12 + version = "1.1.0"; 13 13 format = "wheel"; 14 14 pyShortVersion = "cp${builtins.replaceStrings ["."] [""] python.pythonVersion}"; 15 15 src = fetchPypi { ··· 18 18 python = pyShortVersion; 19 19 abi = pyShortVersion; 20 20 platform = "manylinux_2_12_x86_64.manylinux2010_x86_64"; 21 - hash = "sha256-QnXfcbfzRt1sSagnDLP3ZRLH3KNqK76L+KvifTU6MJQ="; 21 + hash = "sha256-HI/lIj9ezdCry5fYDi5Pia6hvOjN6/Slm9BMfLeq8AU="; 22 22 }; 23 23 in 24 24 buildPythonPackage {
+1 -1
pkgs/development/python-modules/rank_bm25/default.nix pkgs/development/python-modules/rank-bm25/default.nix
··· 5 5 , numpy 6 6 }: 7 7 let 8 - pname = "rank_bm25"; 8 + pname = "rank-bm25"; 9 9 version = "0.2.2"; 10 10 in 11 11 buildPythonPackage {
+13 -5
pkgs/development/python-modules/scikit-survival/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "scikit-survival"; 20 - version = "0.21.0"; 21 - format = "setuptools"; 20 + version = "0.22.1"; 21 + pyproject = true; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - hash = "sha256-rcdEtlmD3O2BQuwxRlOJ/HOEBdWJBRJR5UR6rZoeArw="; 25 + hash = "sha256-Ft0Hg5iF9Sb9VSOsFMgfAvc4Nsam216kzt5Xv2iykv8="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ ··· 45 45 46 46 nativeCheckInputs = [ pytestCheckHook ]; 47 47 48 + # treat numpy versions as lower bounds, same as setuptools build 49 + postPatch = '' 50 + sed -i 's/numpy==/numpy>=/' pyproject.toml 51 + ''; 52 + 48 53 # Hack needed to make pytest + cython work 49 54 # https://github.com/NixOS/nixpkgs/pull/82410#issuecomment-827186298 50 55 preCheck = '' ··· 63 68 "test_pandas_inputs" 64 69 "test_survival_svm" 65 70 "test_tree" 66 - ]; 71 + ] ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) 72 + # floating point mismatch on aarch64 73 + # 27079905.88052468 to far from 27079905.880496684 74 + "test_coxnet" 75 + ; 67 76 68 77 meta = with lib; { 69 - broken = (stdenv.isLinux && stdenv.isAarch64); 70 78 description = "Survival analysis built on top of scikit-learn"; 71 79 homepage = "https://github.com/sebp/scikit-survival"; 72 80 license = licenses.gpl3Only;
+11
pkgs/development/python-modules/simpful/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 5 , matplotlib ··· 24 25 hash = "sha256-1CU/Iz83CKRx7dsOTGfdJm98TUfc2kxCHKIEUXP36HQ="; 25 26 }; 26 27 28 + # patch dated use of private matplotlib interface 29 + # https://github.com/aresio/simpful/issues/22 30 + postPatch = '' 31 + substituteInPlace simpful/simpful.py \ 32 + --replace \ 33 + "next(ax._get_lines.prop_cycler)['color']" \ 34 + "ax._get_lines.get_next_color()" 35 + ''; 36 + 27 37 propagatedBuildInputs = [ 28 38 numpy 29 39 scipy ··· 46 56 ]; 47 57 48 58 meta = with lib; { 59 + broken = stdenv.isDarwin; 49 60 description = "Library for fuzzy logic"; 50 61 homepage = "https://github.com/aresio/simpful"; 51 62 changelog = "https://github.com/aresio/simpful/releases/tag/${version}";
+3 -3
pkgs/development/python-modules/spyder/default.nix
··· 41 41 42 42 buildPythonPackage rec { 43 43 pname = "spyder"; 44 - version = "5.4.5"; 44 + version = "5.5.0"; 45 45 format = "setuptools"; 46 46 47 - disabled = pythonOlder "3.7"; 47 + disabled = pythonOlder "3.8"; 48 48 49 49 src = fetchPypi { 50 50 inherit pname version; 51 - hash = "sha256-/9p/8avjy1c3Dwos9Byx03kfVrRofVQus+Ae5beFnmo="; 51 + hash = "sha256-zjQmUmkqwtXNnZKssNpl24p4FQscZKGiiJj5iwYl2UM="; 52 52 }; 53 53 54 54 patches = [
+3 -3
pkgs/development/tools/turso-cli/default.nix
··· 8 8 }: 9 9 buildGo121Module rec { 10 10 pname = "turso-cli"; 11 - version = "0.86.3"; 11 + version = "0.87.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "tursodatabase"; 15 15 repo = "turso-cli"; 16 16 rev = "v${version}"; 17 - hash = "sha256-hTqjNQSScQzCUBs4pYgxRnRvUSoQXXeZIceSZAR1Oa0="; 17 + hash = "sha256-wPL4fYFkk1rtHIYIVOGk5GG6S/pmOpg6WcbnpleDkUA="; 18 18 }; 19 19 20 - vendorHash = "sha256-EqND/W+NNatoBUMXWrsjNPfxAtX0oUASUxN6Rmhp7SQ="; 20 + vendorHash = "sha256-Jf2ZLzODPnvNrED8ST0u7rHGWivPwcyptkJbu8mdnoA="; 21 21 22 22 nativeBuildInputs = [ installShellFiles ]; 23 23
-36
pkgs/games/prismlauncher/0001-launcher-translations-explicitly-convert-QVector-ite.patch
··· 1 - From c39637720109dd5d97750907c51e9c0fb8f43f0b Mon Sep 17 00:00:00 2001 2 - From: Nick Cao <nickcao@nichi.co> 3 - Date: Wed, 11 Oct 2023 22:51:23 -0400 4 - Subject: [PATCH] launcher/translations: explicitly convert QVector iterators 5 - to pointers 6 - 7 - --- 8 - launcher/translations/TranslationsModel.cpp | 5 ++--- 9 - 1 file changed, 2 insertions(+), 3 deletions(-) 10 - 11 - diff --git a/launcher/translations/TranslationsModel.cpp b/launcher/translations/TranslationsModel.cpp 12 - index 2763cca2..64c21dbd 100644 13 - --- a/launcher/translations/TranslationsModel.cpp 14 - +++ b/launcher/translations/TranslationsModel.cpp 15 - @@ -524,7 +524,7 @@ Language * TranslationsModel::findLanguage(const QString& key) 16 - } 17 - else 18 - { 19 - - return found; 20 - + return &(*found); 21 - } 22 - } 23 - 24 - @@ -655,8 +655,7 @@ QModelIndex TranslationsModel::selectedIndex() 25 - auto found = findLanguage(d->m_selectedLanguage); 26 - if(found) 27 - { 28 - - // QVector iterator freely converts to pointer to contained type 29 - - return index(found - d->m_languages.begin(), 0, QModelIndex()); 30 - + return index(found - &(*d->m_languages.begin()), 0, QModelIndex()); 31 - } 32 - return QModelIndex(); 33 - } 34 - -- 35 - 2.42.0 36 -
+7 -37
pkgs/games/prismlauncher/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , canonicalize-jars-hook 6 5 , cmake 7 6 , cmark ··· 23 22 libnbtplusplus = fetchFromGitHub { 24 23 owner = "PrismLauncher"; 25 24 repo = "libnbtplusplus"; 26 - rev = "2203af7eeb48c45398139b583615134efd8d407f"; 27 - sha256 = "sha256-TvVOjkUobYJD9itQYueELJX3wmecvEdCbJ0FinW2mL4="; 25 + rev = "a5e8fd52b8bf4ab5d5bcc042b2a247867589985f"; 26 + hash = "sha256-A5kTgICnx+Qdq3Fir/bKTfdTt/T1NQP2SC+nhN1ENug="; 28 27 }; 29 28 in 30 29 31 30 assert lib.assertMsg (stdenv.isLinux || !gamemodeSupport) "gamemodeSupport is only available on Linux"; 32 31 33 - stdenv.mkDerivation 34 - rec { 32 + stdenv.mkDerivation (finalAttrs: { 35 33 pname = "prismlauncher-unwrapped"; 36 - version = "7.2"; 34 + version = "8.0"; 37 35 38 36 src = fetchFromGitHub { 39 37 owner = "PrismLauncher"; 40 38 repo = "PrismLauncher"; 41 - rev = version; 42 - sha256 = "sha256-RArg60S91YKp1Mt97a5JNfBEOf2cmuX4pK3VAx2WfqM="; 39 + rev = finalAttrs.version; 40 + hash = "sha256-WBajtfj3qAMq8zd2S53CQyHiyqtvffLOHOjmOpdALAA="; 43 41 }; 44 42 45 - patches = [ 46 - ./0001-launcher-translations-explicitly-convert-QVector-ite.patch 47 - ] ++ lib.optionals stdenv.isDarwin [ 48 - # https://github.com/PrismLauncher/PrismLauncher/pull/1452 49 - # These patches allow us to disable the Sparkle updater and cmake bundling 50 - # TODO: remove these when updating to 8.0 51 - (fetchpatch { 52 - name = "disable-sparkle-when-url-is-empty.patch"; 53 - url = "https://github.com/PrismLauncher/PrismLauncher/commit/48e50401968a72846350c6fbd76cc957b64a6b5a.patch"; 54 - hash = "sha256-IFxp6Sj87ogQcMooV4Ql5/4B+C7oTzEk+4tlMud2OLo="; 55 - }) 56 - (fetchpatch { 57 - name = "make-install_bundle-cached.patch"; 58 - url = "https://github.com/PrismLauncher/PrismLauncher/commit/a8498b0dab94d0ab6c9e5cf395e5003db541b749.patch"; 59 - hash = "sha256-ji5GGUnzVut9xFXkynqf9aVR9FO/zsqIbt3P9dexJ2I="; 60 - }) 61 - (fetchpatch { 62 - name = "dont-include-sparkle-when-not-enabled.patch"; 63 - url = "https://github.com/PrismLauncher/PrismLauncher/commit/51bfda937d47837ed426150ed6f43a60b4ca0ce1.patch"; 64 - hash = "sha256-7hMgANOg4zRIf3F2AfLXGR3dAEBqVmKm/J5SH0G5oCk="; 65 - }) 66 - (fetchpatch { 67 - name = "introduce-internal-updater-variable.patch"; 68 - url = "https://github.com/PrismLauncher/PrismLauncher/commit/b1aa9e584624a0732dd55fc6c459524a8abfe6ba.patch"; 69 - hash = "sha256-mm++EfnBxz7NVtKLMb889mMq8F/OdQmzob8OmlvNlRA="; 70 - }) 71 - ]; 72 - 73 43 nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja canonicalize-jars-hook ]; 74 44 buildInputs = 75 45 [ ··· 113 83 license = licenses.gpl3Only; 114 84 maintainers = with maintainers; [ minion3665 Scrumplex getchoo ]; 115 85 }; 116 - } 86 + })
+1 -1
pkgs/games/shattered-pixel-dungeon/disable-git-version.patch
··· 21 21 appName = 'Summoning Pixel Dungeon' 22 22 appPackageName = 'com.trashboxbobylev.summoningpixeldungeon' 23 23 24 - appVersionCode = 430 24 + appVersionCode = 432 25 25 - appVersionName = '@version@-' + details.gitHash.substring(0, 7) 26 26 + appVersionName = '@version@' 27 27
+3 -3
pkgs/games/shattered-pixel-dungeon/summoning-pixel-dungeon.nix
··· 6 6 7 7 callPackage ./generic.nix rec { 8 8 pname = "summoning-pixel-dungeon"; 9 - version = "1.2.5"; 9 + version = "1.2.5a"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "TrashboxBobylev"; 13 13 repo = "Summoning-Pixel-Dungeon"; 14 14 # The GH release is named "$version-$hash", but it's actually a mutable "_latest" tag 15 - rev = "fc63a89a0f9bdf9cb86a750dfec65bc56d9fddcb"; 16 - hash = "sha256-n1YR7jYJ8TQFe654aERgmOHRgaPZ82eXxu0K12/5MGw="; 15 + rev = "89ff59e7f42abcc88b7a1f24391f95ddc30f9d29"; 16 + hash = "sha256-VQcWkbGe/0qyt3M5WWgTxczwC5mE3lRHbYidOwRoukI="; 17 17 }; 18 18 19 19 patches = [(substitute {
+3 -3
pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix
··· 4 4 mkPulumiPackage rec { 5 5 owner = "pulumi"; 6 6 repo = "pulumi-azure-native"; 7 - version = "2.11.0"; 7 + version = "2.13.0"; 8 8 rev = "v${version}"; 9 - hash = "sha256-qz/dCQR4BV+noJj7WPGuzDNMaR7I/D01F7FfvxU8z28="; 10 - vendorHash = "sha256-SICms1JJk8Q10XWC69bw/RXsIPL43l1s+Aqy+cLOwRI="; 9 + hash = "sha256-YyJxACeXyY7hZkTbLXT/ASNWa1uv9h3cvPoItR183fU="; 10 + vendorHash = "sha256-20wHbNE/fenxP9wgTSzAnx6b1UYlw4i1fi6SesTs0sc="; 11 11 cmdGen = "pulumi-gen-azure-native"; 12 12 cmdRes = "pulumi-resource-azure-native"; 13 13 extraLdflags = [
+4 -4
pkgs/tools/backup/sigtop/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 name = "sigtop"; 5 - version = "0.3.1"; 5 + version = "0.7.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tbvdm"; 9 9 repo = "sigtop"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-U+S+VXRkedq2LkO9Fw/AfNS97GvFEfjD8dq/VMlBOv4="; 11 + sha256 = "sha256-goGvgn1QyWqipcrBvO27BjzFbp7cIPFWzWJaOpp2/1Q="; 12 12 }; 13 13 14 - vendorHash = "sha256-xrJ/KLM/f/HVPL4MJzRc1xDlO4e+Iu2lcPG4GnjFRBo="; 14 + vendorHash = "sha256-K33VZeyOFoLLo64FuYt9bxJvaESSlHEy/2O8kLxxL5U="; 15 15 16 16 makeFlags = [ 17 17 "PREFIX=\${out}" ··· 20 20 meta = with lib; { 21 21 description = "Utility to export messages, attachments and other data from Signal Desktop"; 22 22 license = licenses.isc; 23 - platforms = platforms.darwin; 23 + platforms = platforms.all; 24 24 maintainers = with maintainers; [ fricklerhandwerk ]; 25 25 }; 26 26 }
+2 -2
pkgs/tools/misc/fastfetch/default.nix
··· 43 43 44 44 stdenv.mkDerivation (finalAttrs: { 45 45 pname = "fastfetch"; 46 - version = "2.2.1"; 46 + version = "2.2.2"; 47 47 48 48 src = fetchFromGitHub { 49 49 owner = "fastfetch-cli"; 50 50 repo = "fastfetch"; 51 51 rev = finalAttrs.version; 52 - hash = "sha256-7g2p33j97hu26xwBLrakc7/bIpYHNTC5jqCj/Fs4fKo="; 52 + hash = "sha256-ejyAXwVsxI16J295WHfMLMtF/kGW89l3N0qV0mH4DX0="; 53 53 }; 54 54 55 55 nativeBuildInputs = [
+2
pkgs/top-level/php-packages.nix
··· 270 270 271 271 meminfo = callPackage ../development/php-packages/meminfo { }; 272 272 273 + memprof = callPackage ../development/php-packages/memprof { }; 274 + 273 275 mongodb = callPackage ../development/php-packages/mongodb { 274 276 inherit (pkgs) darwin; 275 277 };
+3 -1
pkgs/top-level/python-packages.nix
··· 3787 3787 3788 3788 farama-notifications = callPackage ../development/python-modules/farama-notifications { }; 3789 3789 3790 + farm-haystack = callPackage ../development/python-modules/farm-haystack { }; 3791 + 3790 3792 fastai = callPackage ../development/python-modules/fastai { }; 3791 3793 3792 3794 fastapi = callPackage ../development/python-modules/fastapi { }; ··· 12009 12011 12010 12012 rangehttpserver = callPackage ../development/python-modules/rangehttpserver { }; 12011 12013 12012 - rank_bm25 = callPackage ../development/python-modules/rank_bm25 { }; 12014 + rank-bm25 = callPackage ../development/python-modules/rank-bm25 { }; 12013 12015 12014 12016 rapidfuzz = callPackage ../development/python-modules/rapidfuzz { }; 12015 12017