lol

Merge branch 'staging' into staging-next

Conflicts (tried to quickly resolve somehow, checked eval):
pkgs/development/python-modules/apsw/default.nix
pkgs/development/python-modules/mido/default.nix
pkgs/development/python-modules/pytest-bdd/default.nix
pkgs/development/python-modules/sparse/default.nix

+3837 -4261
+1 -75
doc/languages-frameworks/python.section.md
··· 497 497 with the `pipInstallHook`. 498 498 - `unittestCheckHook` will run tests with `python -m unittest discover`. See [example usage](#using-unittestcheckhook). 499 499 500 - ### Development mode {#development-mode} 501 - 502 - Development or editable mode is supported. To develop Python packages 503 - [`buildPythonPackage`](#buildpythonpackage-function) has additional logic inside `shellPhase` to run `pip 504 - install -e . --prefix $TMPDIR/`for the package. 505 - 506 - Warning: `shellPhase` is executed only if `setup.py` exists. 507 - 508 - Given a `default.nix`: 509 - 510 - ```nix 511 - with import <nixpkgs> {}; 512 - 513 - python3Packages.buildPythonPackage { 514 - name = "myproject"; 515 - buildInputs = with python3Packages; [ pyramid ]; 516 - 517 - src = ./.; 518 - } 519 - ``` 520 - 521 - Running `nix-shell` with no arguments should give you the environment in which 522 - the package would be built with `nix-build`. 523 - 524 - Shortcut to setup environments with C headers/libraries and Python packages: 525 - 526 - ```shell 527 - nix-shell -p python3Packages.pyramid zlib libjpeg git 528 - ``` 529 - 530 - ::: {.note} 531 - There is a boolean value `lib.inNixShell` set to `true` if nix-shell is invoked. 532 - ::: 533 - 534 500 ## User Guide {#user-guide} 535 501 536 502 ### Using Python {#using-python} ··· 867 833 creating working Python environments in nix. 868 834 869 835 Now that you know the basics to be up and running, it is time to take a step 870 - back and take a deeper look at how Python packages are packaged on Nix. Then, 871 - we will look at how you can use development mode with your code. 836 + back and take a deeper look at how Python packages are packaged on Nix. 872 837 873 838 #### Python library packages in Nixpkgs {#python-library-packages-in-nixpkgs} 874 839 ··· 1480 1445 1481 1446 The hook is also available to packages outside the python ecosystem by 1482 1447 referencing it using `sphinxHook` from top-level. 1483 - 1484 - ### Develop local package {#develop-local-package} 1485 - 1486 - As a Python developer you're likely aware of [development mode](http://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode) 1487 - (`python setup.py develop`); instead of installing the package this command 1488 - creates a special link to the project code. That way, you can run updated code 1489 - without having to reinstall after each and every change you make. Development 1490 - mode is also available. Let's see how you can use it. 1491 - 1492 - In the previous Nix expression the source was fetched from a url. We can also 1493 - refer to a local source instead using `src = ./path/to/source/tree;` 1494 - 1495 - If we create a `shell.nix` file which calls [`buildPythonPackage`](#buildpythonpackage-function), and if `src` 1496 - is a local source, and if the local source has a `setup.py`, then development 1497 - mode is activated. 1498 - 1499 - In the following example, we create a simple environment that has a Python 3.11 1500 - version of our package in it, as well as its dependencies and other packages we 1501 - like to have in the environment, all specified with `dependencies`. 1502 - 1503 - ```nix 1504 - with import <nixpkgs> {}; 1505 - with python311Packages; 1506 - 1507 - buildPythonPackage rec { 1508 - name = "mypackage"; 1509 - src = ./path/to/package/source; 1510 - dependencies = [ 1511 - pytest 1512 - numpy 1513 - ]; 1514 - propagatedBuildInputs = [ 1515 - pkgs.libsndfile 1516 - ]; 1517 - } 1518 - ``` 1519 - 1520 - It is important to note that due to how development mode is implemented on Nix 1521 - it is not possible to have multiple packages simultaneously in development mode. 1522 1448 1523 1449 ### Organising your packages {#organising-your-packages} 1524 1450
+1 -1
lib/fileset/default.nix
··· 1 1 /* 2 - <!-- This anchor is here for backwards compatibity --> 2 + <!-- This anchor is here for backwards compatibility --> 3 3 []{#sec-fileset} 4 4 5 5 The [`lib.fileset`](#sec-functions-library-fileset) library allows you to work with _file sets_.
+7
maintainers/maintainer-list.nix
··· 16836 16836 githubId = 12279531; 16837 16837 name = "Ricardo Guevara"; 16838 16838 }; 16839 + rhelmot = { 16840 + name = "Audrey Dutcher"; 16841 + github = "rhelmot"; 16842 + githubId = 2498805; 16843 + email = "audrey@rhelmot.io"; 16844 + matrix = "@rhelmot:matrix.org"; 16845 + }; 16839 16846 rhendric = { 16840 16847 name = "Ryan Hendrickson"; 16841 16848 github = "rhendric";
+2 -2
pkgs/applications/audio/fluidsynth/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "fluidsynth"; 8 - version = "2.3.4"; 8 + version = "2.3.5"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "FluidSynth"; 12 12 repo = "fluidsynth"; 13 13 rev = "v${version}"; 14 - hash = "sha256-3qLmo9Ibl44v6Jj5Ix17ixwqfPt3ITTXUqBETF5pzE4="; 14 + hash = "sha256-CzKfvQzhF4Mz2WZaJM/Nt6XjF6ThlX4jyQSaXfZukG8="; 15 15 }; 16 16 17 17 outputs = [ "out" "dev" "man" ];
+7 -1
pkgs/applications/audio/miniplayer/default.nix
··· 15 15 hash = "sha256-iUUsVIDLQAiaMomfA2LvvJZ2ePhgADtC6GCwIpRC1MA="; 16 16 }; 17 17 18 - propagatedBuildInputs = [ 18 + build-system = [ 19 + setuptools 20 + ]; 21 + 22 + dependencies = [ 19 23 colorthief 20 24 ffmpeg-python 21 25 mpd2 ··· 24 28 requests 25 29 ueberzug 26 30 ]; 31 + 32 + doCheck = false; # no tests 27 33 28 34 # pythonImportsCheck is disabled because this package doesn't expose any modules. 29 35
+17 -2
pkgs/applications/audio/mpg123/default.nix
··· 15 15 , jack 16 16 , withConplay ? !stdenv.hostPlatform.isWindows 17 17 , perl 18 + , writeScript 18 19 }: 19 20 20 21 assert withConplay -> !libOnly; 21 22 22 23 stdenv.mkDerivation rec { 23 24 pname = "${lib.optionalString libOnly "lib"}mpg123"; 24 - version = "1.32.5"; 25 + version = "1.32.6"; 25 26 26 27 src = fetchurl { 27 28 url = "mirror://sourceforge/mpg123/mpg123-${version}.tar.bz2"; 28 - hash = "sha256-r5CM32zbZUS5e8cGp5n3mJTmlGivWIG/RUoOu5Fx7WM="; 29 + hash = "sha256-zN0dCrwx1z2LQ1/GWMeQSdCpBbMGabakKgOtFp3GCeY="; 29 30 }; 30 31 31 32 outputs = [ "out" "dev" "man" ] ++ lib.optional withConplay "conplay"; ··· 68 69 wrapProgram $conplay/bin/conplay \ 69 70 --prefix PATH : $out/bin 70 71 ''; 72 + 73 + passthru = { 74 + updateScript = writeScript "update-mpg123" '' 75 + #!/usr/bin/env nix-shell 76 + #!nix-shell -i bash -p curl pcre common-updater-scripts 77 + 78 + set -eu -o pipefail 79 + 80 + # Expect the text in format of '<a href="download/mpg123-1.32.6.tar.bz2">' 81 + new_version="$(curl -s https://mpg123.org/download.shtml | 82 + pcregrep -o1 '<a href="download/mpg123-([0-9.]+).tar.bz2">')" 83 + update-source-version ${pname} "$new_version" 84 + ''; 85 + }; 71 86 72 87 meta = with lib; { 73 88 description = "Fast console MPEG Audio Player and decoder library";
+6 -2
pkgs/applications/editors/neovim/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack-c, libtermkey, libiconv 1 + { lib, stdenv, fetchFromGitHub, removeReferencesTo, cmake, gettext, msgpack-c, libtermkey, libiconv 2 2 , libuv, lua, ncurses, pkg-config 3 3 , unibilium, gperf 4 4 , libvterm-neovim ··· 121 121 cmake 122 122 gettext 123 123 pkg-config 124 + removeReferencesTo 124 125 ]; 125 126 126 127 # extra programs test via `make functionaltest` ··· 141 142 sed -i src/nvim/po/CMakeLists.txt \ 142 143 -e "s|\$<TARGET_FILE:nvim|\${stdenv.hostPlatform.emulator buildPackages} &|g" 143 144 ''; 145 + postInstall = '' 146 + find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' + 147 + ''; 144 148 # check that the above patching actually works 145 - disallowedReferences = [ stdenv.cc ] ++ lib.optional (lua != codegenLua) codegenLua; 149 + disallowedRequisites = [ stdenv.cc ] ++ lib.optional (lua != codegenLua) codegenLua; 146 150 147 151 cmakeFlags = [ 148 152 # Don't use downloaded dependencies. At the end of the configurePhase one
+2 -2
pkgs/applications/editors/vim/common.nix
··· 1 1 { lib, fetchFromGitHub }: 2 2 rec { 3 - version = "9.1.0148"; 3 + version = "9.1.0200"; 4 4 5 5 outputs = [ "out" "xxd" ]; 6 6 ··· 8 8 owner = "vim"; 9 9 repo = "vim"; 10 10 rev = "v${version}"; 11 - hash = "sha256-lBs9PwNE3GoxtMka9oftYx3gegjCv6D3sEyAWK6RZzM="; 11 + hash = "sha256-MAMd+k4GpFUwEZzQTWtzSpYY6AEez+FMiqexozYK3Y4="; 12 12 }; 13 13 14 14 enableParallelBuilding = true;
+1 -1
pkgs/applications/editors/vim/plugins/vim-gen-doc-hook.sh
··· 23 23 echo "$addonInfo" > $target/addon-info.json 24 24 fi 25 25 26 - echo "Finished executing vimPluginInstallPhase" 26 + echo "Finished executing vimPluginGenTags" 27 27 } 28 28 29 29 preFixupHooks+=(vimPluginGenTags)
+4 -1
pkgs/applications/misc/electron-cash/default.nix
··· 12 12 sha256 = "sha256-xOyj5XerOwgfvI0qj7+7oshDvd18h5IeZvcJTis8nWo="; 13 13 }; 14 14 15 + build-system = with python3Packages; [ 16 + cython 17 + ]; 18 + 15 19 propagatedBuildInputs = with python3Packages; [ 16 20 # requirements 17 21 pyaes ··· 36 40 cryptography 37 41 38 42 # requirements-hw 39 - cython 40 43 trezor 41 44 keepkey 42 45 btchip-python
+2 -1
pkgs/applications/misc/opencpn/default.nix
··· 108 108 wxGTK32 109 109 ] ++ lib.optionals stdenv.isLinux [ 110 110 alsa-utils 111 - elfutils 112 111 libselinux 113 112 libsepol 114 113 util-linux 115 114 xorg.libXdmcp 116 115 xorg.libXtst 116 + ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ 117 + elfutils 117 118 ] ++ lib.optionals stdenv.isDarwin [ 118 119 lame 119 120 ];
+1 -1
pkgs/applications/networking/instant-messengers/zoom-us/default.nix
··· 179 179 --prefix PATH : ${lib.makeBinPath [ coreutils glib.dev pciutils procps util-linux ]} \ 180 180 --prefix LD_LIBRARY_PATH ":" ${libs} 181 181 182 - # Backwards compatiblity: we used to call it zoom-us 182 + # Backwards compatibility: we used to call it zoom-us 183 183 ln -s $out/bin/{zoom,zoom-us} 184 184 ''; 185 185
+4
pkgs/applications/networking/sync/rsync/default.nix
··· 54 54 ] ++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [ 55 55 # fix `multiversioning needs 'ifunc' which is not supported on this target` error 56 56 "--disable-roll-simd" 57 + ] ++ lib.optionals (!enableZstd) [ 58 + "--disable-zstd" 59 + ] ++ lib.optionals (!enableXXHash) [ 60 + "--disable-xxhash" 57 61 ]; 58 62 59 63 enableParallelBuilding = true;
+1 -1
pkgs/applications/science/biology/macs2/default.nix
··· 21 21 ]; 22 22 23 23 nativeBuildInputs = with python3.pkgs; [ 24 - cython 24 + cython_0 25 25 numpy 26 26 setuptools 27 27 wheel
+1 -1
pkgs/applications/science/electronics/nvc/default.nix
··· 37 37 llvm 38 38 zlib 39 39 zstd 40 - ] ++ lib.optionals stdenv.isLinux [ 40 + ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ 41 41 elfutils 42 42 ]; 43 43
+2 -2
pkgs/applications/science/math/sage/python-modules/sage-setup.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , sage-src 4 - , cython_3 4 + , cython 5 5 , jinja2 6 6 , pkgconfig # the python module, not the pkg-config alias 7 7 }: ··· 11 11 pname = "sage-setup"; 12 12 src = sage-src; 13 13 14 - nativeBuildInputs = [ cython_3 ]; 14 + nativeBuildInputs = [ cython ]; 15 15 buildInputs = [ pkgconfig ]; 16 16 propagatedBuildInputs = [ jinja2 ]; 17 17
+2 -2
pkgs/applications/science/math/sage/sagelib.nix
··· 48 48 , cvxopt 49 49 , cypari2 50 50 , cysignals 51 - , cython_3 51 + , cython 52 52 , fpylll 53 53 , gmpy2 54 54 , importlib-metadata ··· 153 153 cvxopt 154 154 cypari2 155 155 cysignals 156 - cython_3 156 + cython 157 157 fpylll 158 158 gmpy2 159 159 importlib-metadata
+1 -1
pkgs/applications/version-management/commitizen/default.nix
··· 55 55 pytest-freezer 56 56 pytest-mock 57 57 pytest-regressions 58 - (pytestCheckHook.override { pytest = pytest_7; }) 58 + pytest7CheckHook 59 59 ]; 60 60 61 61 doCheck = true;
+1 -1
pkgs/applications/version-management/git-up/default.nix
··· 30 30 31 31 nativeCheckInputs = [ 32 32 git 33 - pythonPackages.pytestCheckHook 33 + pythonPackages.pytest7CheckHook 34 34 ]; 35 35 36 36 # 1. git fails to run as it cannot detect the email address, so we set it
+1 -1
pkgs/applications/virtualization/virt-manager/default.nix
··· 76 76 ''; 77 77 78 78 nativeCheckInputs = with python3.pkgs; [ 79 - pytestCheckHook 79 + pytest7CheckHook 80 80 cpio 81 81 cdrtools 82 82 xorriso
+2 -2
pkgs/by-name/cm/cmake/package.nix
··· 47 47 + lib.optionalString isMinimalBuild "-minimal" 48 48 + lib.optionalString cursesUI "-cursesUI" 49 49 + lib.optionalString qt5UI "-qt5UI"; 50 - version = "3.28.3"; 50 + version = "3.29.1"; 51 51 52 52 src = fetchurl { 53 53 url = "https://cmake.org/files/v${lib.versions.majorMinor finalAttrs.version}/cmake-${finalAttrs.version}.tar.gz"; 54 - hash = "sha256-crdXDlyFk95qxKtDO3PqsYxfsyiIBGDIbOMmCBQa1cE="; 54 + hash = "sha256-f7Auj1e2Kzmqa0z3HoIBSLoaI3JIiElHNQIeMqsO78w="; 55 55 }; 56 56 57 57 patches = [
+1 -1
pkgs/by-name/ez/eza/package.nix
··· 10 10 , darwin 11 11 , libiconv 12 12 , installShellFiles 13 - # once eza upstream gets support for setting up a compatibilty symlink for exa, we should change 13 + # once eza upstream gets support for setting up a compatibility symlink for exa, we should change 14 14 # the handling here from postInstall to passing the required argument to the builder. 15 15 , exaAlias ? true 16 16 }:
+2 -2
pkgs/by-name/ja/jasper/package.nix
··· 14 14 15 15 stdenv.mkDerivation (finalAttrs: { 16 16 pname = "jasper"; 17 - version = "4.2.2"; 17 + version = "4.2.3"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "jasper-software"; 21 21 repo = "jasper"; 22 22 rev = "version-${finalAttrs.version}"; 23 - hash = "sha256-dcE9Cc+L/nLp/JCvYuGLRnkxL1i3dLIB9cSILWaZWn4="; 23 + hash = "sha256-Hmmoe1lzUR1DBwgg30KGfsIDzSNe5shghaieEXX/am4="; 24 24 }; 25 25 26 26 outputs = [ "out" "dev" "doc" "lib" "man" ];
+92
pkgs/by-name/me/meson/0001-Revert-rust-recursively-pull-proc-macro-dependencies.patch
··· 1 + From 8304b645c655832c47ee9ca706d182c26d29eaff Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> 3 + Date: Tue, 9 Apr 2024 06:35:39 +0000 4 + Subject: [PATCH] Revert "rust: recursively pull proc-macro dependencies as 5 + well" 6 + MIME-Version: 1.0 7 + Content-Type: text/plain; charset=UTF-8 8 + Content-Transfer-Encoding: 8bit 9 + 10 + This reverts commit aee941559c4b88a062e88186819a820c69c200ae. 11 + 12 + Signed-off-by: Jörg Thalheim <joerg@thalheim.io> 13 + --- 14 + mesonbuild/build.py | 2 ++ 15 + test cases/rust/18 proc-macro/lib.rs | 8 -------- 16 + test cases/rust/18 proc-macro/meson.build | 11 ----------- 17 + test cases/rust/18 proc-macro/subdir/meson.build | 1 - 18 + .../rust/18 proc-macro/transitive-proc-macro.rs | 7 ------- 19 + 5 files changed, 2 insertions(+), 27 deletions(-) 20 + delete mode 100644 test cases/rust/18 proc-macro/lib.rs 21 + delete mode 100644 test cases/rust/18 proc-macro/subdir/meson.build 22 + delete mode 100644 test cases/rust/18 proc-macro/transitive-proc-macro.rs 23 + 24 + diff --git a/mesonbuild/build.py b/mesonbuild/build.py 25 + index 6f0d6a2dd..7be9b497b 100644 26 + --- a/mesonbuild/build.py 27 + +++ b/mesonbuild/build.py 28 + @@ -1295,6 +1295,8 @@ def get_dependencies_recurse(self, result: OrderedSet[BuildTargetTypes], include 29 + for t in self.link_targets: 30 + if t in result: 31 + continue 32 + + if t.rust_crate_type == 'proc-macro': 33 + + continue 34 + if include_internals or not t.is_internal(): 35 + result.add(t) 36 + if isinstance(t, StaticLibrary): 37 + diff --git a/test cases/rust/18 proc-macro/lib.rs b/test cases/rust/18 proc-macro/lib.rs 38 + deleted file mode 100644 39 + index 5242886cc..000000000 40 + --- a/test cases/rust/18 proc-macro/lib.rs 41 + +++ /dev/null 42 + @@ -1,8 +0,0 @@ 43 + -extern crate proc_macro_examples; 44 + -use proc_macro_examples::make_answer; 45 + - 46 + -make_answer!(); 47 + - 48 + -pub fn func() -> u32 { 49 + - answer() 50 + -} 51 + diff --git a/test cases/rust/18 proc-macro/meson.build b/test cases/rust/18 proc-macro/meson.build 52 + index e8b28eda1..c5f0dfc82 100644 53 + --- a/test cases/rust/18 proc-macro/meson.build 54 + +++ b/test cases/rust/18 proc-macro/meson.build 55 + @@ -31,14 +31,3 @@ main = executable( 56 + ) 57 + 58 + test('main_test2', main) 59 + - 60 + -subdir('subdir') 61 + - 62 + -staticlib = static_library('staticlib', 'lib.rs', 63 + - link_with: pm_in_subdir, 64 + - rust_dependency_map : {'proc_macro_examples3' : 'proc_macro_examples'} 65 + -) 66 + - 67 + -executable('transitive-proc-macro', 'transitive-proc-macro.rs', 68 + - link_with: staticlib, 69 + -) 70 + diff --git a/test cases/rust/18 proc-macro/subdir/meson.build b/test cases/rust/18 proc-macro/subdir/meson.build 71 + deleted file mode 100644 72 + index 04842c431..000000000 73 + --- a/test cases/rust/18 proc-macro/subdir/meson.build 74 + +++ /dev/null 75 + @@ -1 +0,0 @@ 76 + -pm_in_subdir = rust.proc_macro('proc_macro_examples3', '../proc.rs') 77 + diff --git a/test cases/rust/18 proc-macro/transitive-proc-macro.rs b/test cases/rust/18 proc-macro/transitive-proc-macro.rs 78 + deleted file mode 100644 79 + index 4c804b3b6..000000000 80 + --- a/test cases/rust/18 proc-macro/transitive-proc-macro.rs 81 + +++ /dev/null 82 + @@ -1,7 +0,0 @@ 83 + -extern crate staticlib; 84 + -use staticlib::func; 85 + - 86 + - 87 + -fn main() { 88 + - assert_eq!(42, func()); 89 + -} 90 + -- 91 + 2.44.0 92 +
+9 -3
pkgs/by-name/me/meson/package.nix
··· 14 14 }: 15 15 16 16 let 17 - inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation LDAP OpenGL; 17 + inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation LDAP OpenAL OpenGL; 18 18 in 19 19 python3.pkgs.buildPythonApplication rec { 20 20 pname = "meson"; 21 - version = "1.3.2"; 21 + version = "1.4.0"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "mesonbuild"; 25 25 repo = "meson"; 26 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-7M/El2snWsQi+gaZWPHnEr9gpJW3trqG1RbnT43M49s="; 27 + hash = "sha256-hRTmKO2E6SIdvAhO7OJtV8dcsGm39c51H+2ZGEkdcFY="; 28 28 }; 29 29 30 30 patches = [ ··· 65 65 66 66 # Nixpkgs cctools does not have bitcode support. 67 67 ./006-disable-bitcode.patch 68 + 69 + # Fix cross-compilation of proc-macro (and mesa) 70 + # https://github.com/mesonbuild/meson/issues/12973 71 + ./0001-Revert-rust-recursively-pull-proc-macro-dependencies.patch 68 72 ]; 69 73 70 74 buildInputs = lib.optionals (python3.pythonOlder "3.9") [ ··· 86 90 Cocoa 87 91 Foundation 88 92 LDAP 93 + OpenAL 89 94 OpenGL 90 95 openldap 91 96 ]; ··· 96 101 patchShebangs 'test cases' 97 102 substituteInPlace \ 98 103 'test cases/native/8 external program shebang parsing/script.int.in' \ 104 + 'test cases/common/273 customtarget exe for test/generate.py' \ 99 105 --replace /usr/bin/env ${coreutils}/bin/env 100 106 '' 101 107 ]
-1
pkgs/by-name/pr/pretix/package.nix
··· 97 97 build-system = with python.pkgs; [ 98 98 gettext 99 99 nodejs 100 - pythonRelaxDepsHook 101 100 setuptools 102 101 tomli 103 102 ];
+2
pkgs/by-name/xo/xonsh/unwrapped.nix
··· 90 90 export HOME=$TMPDIR 91 91 ''; 92 92 93 + dontWrapPythonPrograms = true; 94 + 93 95 passthru = { 94 96 shellPath = "/bin/xonsh"; 95 97 python = python3; # To the wrapper
+2 -2
pkgs/data/misc/iana-etc/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "iana-etc"; 5 - version = "20231227"; 5 + version = "20240318"; 6 6 7 7 src = fetchzip { 8 8 url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz"; 9 - sha256 = "sha256-8Pa6LtAml8axjrUS32UbFIqTtM8v124U2Tt0J4sC0Is="; 9 + sha256 = "sha256-t/VOTFDdAH+EdzofdMyUO9Yvl5qdMjdPl9ebYtBC388="; 10 10 }; 11 11 12 12 installPhase = ''
+2
pkgs/desktops/budgie/budgie-desktop-view/default.nix
··· 38 38 gtk3 39 39 ]; 40 40 41 + mesonFlags = [ (lib.mesonBool "werror" false) ]; 42 + 41 43 meta = { 42 44 description = "The official Budgie desktop icons application/implementation"; 43 45 homepage = "https://github.com/BuddiesOfBudgie/budgie-desktop-view";
+10 -1
pkgs/development/compilers/gcc/common/meta.nix
··· 1 1 { lib, version, }: 2 2 3 - with lib; { 3 + let 4 + inherit (lib) 5 + licenses 6 + maintainers 7 + platforms 8 + teams 9 + versionOlder 10 + ; 11 + in 12 + { 4 13 homepage = "https://gcc.gnu.org/"; 5 14 license = licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+ 6 15 description = "GNU Compiler Collection, version ${version}";
+85 -72
pkgs/development/compilers/gcc/default.nix
··· 1 - { lib, stdenv, targetPackages, fetchurl, fetchpatch, noSysDirs 1 + { lib, stdenv, targetPackages, fetchurl, fetchpatch, fetchFromGitHub, noSysDirs 2 2 , langC ? true, langCC ? true, langFortran ? false 3 3 , langAda ? false 4 4 , langObjC ? stdenv.targetPlatform.isDarwin ··· 48 48 }: 49 49 50 50 let 51 - versions = import ./versions.nix; 52 - version = versions.fromMajorMinor majorMinorVersion; 51 + inherit (lib) 52 + callPackageWith 53 + filter 54 + getBin 55 + maintainers 56 + makeLibraryPath 57 + makeSearchPathOutput 58 + mapAttrs 59 + optional 60 + optionalAttrs 61 + optionals 62 + optionalString 63 + pipe 64 + platforms 65 + versionAtLeast 66 + versions 67 + ; 53 68 54 - majorVersion = lib.versions.major version; 55 - atLeast13 = lib.versionAtLeast version "13"; 56 - atLeast12 = lib.versionAtLeast version "12"; 57 - atLeast11 = lib.versionAtLeast version "11"; 58 - atLeast10 = lib.versionAtLeast version "10"; 59 - atLeast9 = lib.versionAtLeast version "9"; 60 - atLeast8 = lib.versionAtLeast version "8"; 61 - atLeast7 = lib.versionAtLeast version "7"; 62 - atLeast6 = lib.versionAtLeast version "6"; 63 - atLeast49 = lib.versionAtLeast version "4.9"; 69 + gccVersions = import ./versions.nix; 70 + version = gccVersions.fromMajorMinor majorMinorVersion; 71 + 72 + majorVersion = versions.major version; 73 + atLeast13 = versionAtLeast version "13"; 74 + atLeast12 = versionAtLeast version "12"; 75 + atLeast11 = versionAtLeast version "11"; 76 + atLeast10 = versionAtLeast version "10"; 77 + atLeast9 = versionAtLeast version "9"; 78 + atLeast8 = versionAtLeast version "8"; 79 + atLeast7 = versionAtLeast version "7"; 80 + atLeast6 = versionAtLeast version "6"; 81 + atLeast49 = versionAtLeast version "4.9"; 64 82 is13 = majorVersion == "13"; 65 83 is12 = majorVersion == "12"; 66 84 is11 = majorVersion == "11"; ··· 69 87 is8 = majorVersion == "8"; 70 88 is7 = majorVersion == "7"; 71 89 is6 = majorVersion == "6"; 72 - is49 = majorVersion == "4" && lib.versions.minor version == "9"; 73 - is48 = majorVersion == "4" && lib.versions.minor version == "8"; 74 - in 75 - 76 - # We enable the isl cloog backend. 77 - assert !atLeast6 -> (cloog != null -> isl != null); 78 - 79 - assert langJava -> !atLeast7 && zip != null && unzip != null && zlib != null && boehmgc != null && perl != null; # for `--enable-java-home' 80 - 81 - # Make sure we get GNU sed. 82 - assert stdenv.buildPlatform.isDarwin -> gnused != null; 83 - 84 - # The go frontend is written in c++ 85 - assert langGo -> langCC; 86 - assert (atLeast6 && !is7 && !is8) -> (langAda -> gnat-bootstrap != null); 87 - 88 - # TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). 89 - # error: GDC is required to build d 90 - assert atLeast12 -> !langD; 91 - 92 - # threadsCross is just for MinGW 93 - assert threadsCross != {} -> stdenv.targetPlatform.isWindows; 90 + is49 = majorVersion == "4" && versions.minor version == "9"; 91 + is48 = majorVersion == "4" && versions.minor version == "8"; 94 92 95 - # profiledCompiler builds inject non-determinism in one of the compilation stages. 96 - # If turned on, we can't provide reproducible builds anymore 97 - assert reproducibleBuild -> profiledCompiler == false; 98 - 99 - with lib; 100 - with builtins; 101 - 102 - let inherit version; 103 93 disableBootstrap = atLeast11 && !stdenv.hostPlatform.isDarwin && (atLeast12 -> !profiledCompiler); 104 94 105 95 inherit (stdenv) buildPlatform hostPlatform targetPlatform; ··· 117 107 libX11 libXt libSM libICE libXtst libXrender libXrandr libXi 118 108 xorgproto 119 109 ]; 120 - callFile = lib.callPackageWith ({ 110 + callFile = callPackageWith ({ 121 111 # lets 122 112 inherit 123 113 majorVersion ··· 182 172 zip 183 173 zlib 184 174 ; 185 - } // lib.optionalAttrs (!atLeast7) { 175 + } // optionalAttrs (!atLeast7) { 186 176 inherit 187 177 boehmgc 188 178 flex ··· 225 215 226 216 in 227 217 218 + # We enable the isl cloog backend. 219 + assert !atLeast6 -> (cloog != null -> isl != null); 220 + 221 + assert langJava -> !atLeast7 && zip != null && unzip != null && zlib != null && boehmgc != null && perl != null; # for `--enable-java-home' 222 + 223 + # Make sure we get GNU sed. 224 + assert stdenv.buildPlatform.isDarwin -> gnused != null; 225 + 226 + # The go frontend is written in c++ 227 + assert langGo -> langCC; 228 + assert (atLeast6 && !is7 && !is8) -> (langAda -> gnat-bootstrap != null); 229 + 230 + # TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). 231 + # error: GDC is required to build d 232 + assert atLeast12 -> !langD; 233 + 234 + # threadsCross is just for MinGW 235 + assert threadsCross != {} -> stdenv.targetPlatform.isWindows; 236 + 237 + # profiledCompiler builds inject non-determinism in one of the compilation stages. 238 + # If turned on, we can't provide reproducible builds anymore 239 + assert reproducibleBuild -> profiledCompiler == false; 240 + 228 241 # We need all these X libraries when building AWT with GTK. 229 242 assert !atLeast7 -> (x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == []); 230 243 231 - lib.pipe ((callFile ./common/builder.nix {}) ({ 244 + pipe ((callFile ./common/builder.nix {}) ({ 232 245 pname = "${crossNameAddon}${name}"; 233 246 inherit version; 234 247 ··· 249 262 then "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.xz" 250 263 else "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2"; 251 264 ${if is10 || is11 || is13 then "hash" else "sha256"} = 252 - versions.srcHashForVersion version; 265 + gccVersions.srcHashForVersion version; 253 266 }; 254 267 255 268 inherit patches; 256 269 257 270 outputs = 258 271 if atLeast7 259 - then [ "out" "man" "info" ] ++ lib.optional (!langJit) "lib" 272 + then [ "out" "man" "info" ] ++ optional (!langJit) "lib" 260 273 else if atLeast49 && (langJava || langGo || (if atLeast6 then langJit else targetPlatform.isDarwin)) then ["out" "man" "info"] 261 274 else [ "out" "lib" "man" "info" ]; 262 275 ··· 265 278 libc_dev = stdenv.cc.libc_dev; 266 279 267 280 hardeningDisable = [ "format" "pie" ] 268 - ++ lib.optionals (is11 && langAda) [ "fortify3" ]; 281 + ++ optionals (is11 && langAda) [ "fortify3" ]; 269 282 270 - postPatch = lib.optionalString atLeast7 '' 283 + postPatch = optionalString atLeast7 '' 271 284 configureScripts=$(find . -name configure) 272 285 for configureScript in $configureScripts; do 273 286 patchShebangs $configureScript ··· 275 288 '' 276 289 # This should kill all the stdinc frameworks that gcc and friends like to 277 290 # insert into default search paths. 278 - + lib.optionalString (atLeast6 && hostPlatform.isDarwin) '' 279 - substituteInPlace gcc/config/darwin-c.c${lib.optionalString atLeast12 "c"} \ 291 + + optionalString (atLeast6 && hostPlatform.isDarwin) '' 292 + substituteInPlace gcc/config/darwin-c.c${optionalString atLeast12 "c"} \ 280 293 --replace 'if (stdinc)' 'if (0)' 281 294 282 295 substituteInPlace libgcc/config/t-slibgcc-darwin \ ··· 286 299 --replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname" 287 300 '' 288 301 + ( 289 - lib.optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null) 302 + optionalString (targetPlatform != hostPlatform || stdenv.cc.libc != null) 290 303 # On NixOS, use the right path to the dynamic linker instead of 291 304 # `/lib/ld*.so'. 292 305 (let ··· 296 309 '' echo "fixing the {GLIBC,UCLIBC,MUSL}_DYNAMIC_LINKER macros..." 297 310 for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h 298 311 do 299 - grep -q ${lib.optionalString (!atLeast6) "LIBC"}_DYNAMIC_LINKER "$header" || continue 312 + grep -q ${optionalString (!atLeast6) "LIBC"}_DYNAMIC_LINKER "$header" || continue 300 313 echo " fixing $header..." 301 314 sed -i "$header" \ 302 315 -e 's|define[[:blank:]]*\([UCG]\+\)LIBC_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define \1LIBC_DYNAMIC_LINKER\2 "${libc.out}\3"|g' \ 303 316 -e 's|define[[:blank:]]*MUSL_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define MUSL_DYNAMIC_LINKER\1 "${libc.out}\2"|g' 304 317 done 305 - '' + lib.optionalString (atLeast6 && targetPlatform.libc == "musl") '' 318 + '' + optionalString (atLeast6 && targetPlatform.libc == "musl") '' 306 319 sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR' 307 320 '' 308 321 ) 309 322 )) 310 - + lib.optionalString (atLeast7 && targetPlatform.isAvr) ('' 323 + + optionalString (atLeast7 && targetPlatform.isAvr) ('' 311 324 makeFlagsArray+=( 312 325 '-s' # workaround for hitting hydra log limit 313 326 'LIMITS_H_TEST=false' ··· 319 332 320 333 inherit (callFile ./common/dependencies.nix { }) depsBuildBuild nativeBuildInputs depsBuildTarget buildInputs depsTargetTarget; 321 334 322 - preConfigure = (callFile ./common/pre-configure.nix { }) + lib.optionalString atLeast10 '' 335 + preConfigure = (callFile ./common/pre-configure.nix { }) + optionalString atLeast10 '' 323 336 ln -sf ${libxcrypt}/include/crypt.h libsanitizer/sanitizer_common/crypt.h 324 337 ''; 325 338 ··· 338 351 assert atLeast12 -> (profiledCompiler -> !disableBootstrap); 339 352 if atLeast11 340 353 then let target = 341 - lib.optionalString (profiledCompiler) "profiled" + 342 - lib.optionalString (targetPlatform == hostPlatform && hostPlatform == buildPlatform && !disableBootstrap) "bootstrap"; 343 - in lib.optional (target != "") target 354 + optionalString (profiledCompiler) "profiled" + 355 + optionalString (targetPlatform == hostPlatform && hostPlatform == buildPlatform && !disableBootstrap) "bootstrap"; 356 + in optional (target != "") target 344 357 else 345 358 optional 346 359 (targetPlatform == hostPlatform && hostPlatform == buildPlatform) ··· 394 407 EXTRA_LDFLAGS_FOR_TARGET 395 408 ; 396 409 } // optionalAttrs is7 { 397 - NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument" 410 + NIX_CFLAGS_COMPILE = optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument" 398 411 # Downgrade register storage class specifier errors to warnings when building a cross compiler from a clang stdenv. 399 - + lib.optionalString (stdenv.cc.isClang && targetPlatform != hostPlatform) " -Wno-register"; 412 + + optionalString (stdenv.cc.isClang && targetPlatform != hostPlatform) " -Wno-register"; 400 413 } // optionalAttrs (!is7 && !atLeast12 && stdenv.cc.isClang && targetPlatform != hostPlatform) { 401 414 NIX_CFLAGS_COMPILE = "-Wno-register"; 402 415 } // optionalAttrs (!atLeast7) { 403 416 inherit langJava; 404 417 } // optionalAttrs atLeast6 { 405 - NIX_LDFLAGS = lib.optionalString hostPlatform.isSunOS "-lm"; 418 + NIX_LDFLAGS = optionalString hostPlatform.isSunOS "-lm"; 406 419 }); 407 420 408 421 passthru = { 409 422 inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD langJava version; 410 423 isGNU = true; 411 - hardeningUnsupportedFlags = lib.optional is48 "stackprotector" 412 - ++ lib.optional (!atLeast11) "zerocallusedregs" 413 - ++ lib.optionals (!atLeast12) [ "fortify3" "trivialautovarinit" ] 414 - ++ lib.optionals (langFortran) [ "fortify" "format" ]; 424 + hardeningUnsupportedFlags = optional is48 "stackprotector" 425 + ++ optional (!atLeast11) "zerocallusedregs" 426 + ++ optionals (!atLeast12) [ "fortify3" "trivialautovarinit" ] 427 + ++ optionals (langFortran) [ "fortify" "format" ]; 415 428 }; 416 429 417 430 enableParallelBuilding = true; ··· 426 439 platforms 427 440 maintainers 428 441 ; 429 - } // lib.optionalAttrs (!atLeast11) { 442 + } // optionalAttrs (!atLeast11) { 430 443 badPlatforms = 431 444 # avr-gcc8 is maintained for the `qmk` package 432 445 if (is8 && targetPlatform.isAvr) then [] 433 446 else if !(is48 || is49) then [ "aarch64-darwin" ] 434 - else lib.platforms.darwin; 435 - } // lib.optionalAttrs is11 { 447 + else platforms.darwin; 448 + } // optionalAttrs is11 { 436 449 badPlatforms = if targetPlatform != hostPlatform then [ "aarch64-darwin" ] else [ ]; 437 450 }; 438 - } // lib.optionalAttrs (!atLeast10 && stdenv.targetPlatform.isDarwin) { 451 + } // optionalAttrs (!atLeast10 && stdenv.targetPlatform.isDarwin) { 439 452 # GCC <10 requires default cctools `strip` instead of `llvm-strip` used by Darwin bintools. 440 453 preBuild = '' 441 - makeFlagsArray+=('STRIP=${lib.getBin darwin.cctools-port}/bin/${stdenv.cc.targetPrefix}strip') 454 + makeFlagsArray+=('STRIP=${getBin darwin.cctools-port}/bin/${stdenv.cc.targetPrefix}strip') 442 455 ''; 443 456 } // optionalAttrs (!atLeast8) { 444 457 doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
+2 -1
pkgs/development/compilers/gnat-bootstrap/default.nix
··· 67 67 zlib 68 68 ] ++ lib.optionals stdenv.buildPlatform.isLinux [ 69 69 autoPatchelfHook 70 + glibc 71 + ] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [ 70 72 elfutils 71 - glibc 72 73 ]; 73 74 74 75 postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
+2 -2
pkgs/development/compilers/go/1.22.nix
··· 47 47 in 48 48 stdenv.mkDerivation (finalAttrs: { 49 49 pname = "go"; 50 - version = "1.22.1"; 50 + version = "1.22.2"; 51 51 52 52 src = fetchurl { 53 53 url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; 54 - hash = "sha256-ecm5HX8QlRWiX8Ps2q0SXWfmvbVPbU2YWA9GeZyuoyE="; 54 + hash = "sha256-N06oKyiexzjpaCZ8rFnH1f8YD5SSJQJUeEsgROkN9ak="; 55 55 }; 56 56 57 57 strictDeps = true;
+1 -1
pkgs/development/compilers/llvm/17/llvm/default.nix
··· 8 8 , python3 9 9 , python3Packages 10 10 , libffi 11 - , enableGoldPlugin ? true 11 + , enableGoldPlugin ? libbfd.hasPluginAPI 12 12 , libbfd 13 13 , libpfm 14 14 , libxml2
+1 -1
pkgs/development/compilers/llvm/18/llvm/default.nix
··· 8 8 , python3 9 9 , python3Packages 10 10 , libffi 11 - , enableGoldPlugin ? true 11 + , enableGoldPlugin ? libbfd.hasPluginAPI 12 12 , libbfd 13 13 , libpfm 14 14 , libxml2
+1 -1
pkgs/development/compilers/llvm/git/llvm/default.nix
··· 8 8 , python3 9 9 , python3Packages 10 10 , libffi 11 - , enableGoldPlugin ? true 11 + , enableGoldPlugin ? libbfd.hasPluginAPI 12 12 , libbfd 13 13 , libpfm 14 14 , libxml2
+18 -3
pkgs/development/compilers/nasm/default.nix
··· 1 - { lib, stdenv, fetchurl, perl }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , perl 5 + , gitUpdater 6 + }: 2 7 3 8 stdenv.mkDerivation rec { 4 9 pname = "nasm"; 5 - version = "2.16.01"; 10 + version = "2.16.02"; 6 11 7 12 src = fetchurl { 8 13 url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${pname}-${version}.tar.xz"; 9 - sha256 = "sha256-x3dF9IAjde/u4uxcCta38DfqnIfJKxSaljf/CZ8WJVg="; 14 + sha256 = "sha256-HhuULqiPIu2uiWWeFb4m+gJ+rgdH9RQTVA9S1OrEeQ0="; 10 15 }; 11 16 12 17 nativeBuildInputs = [ perl ]; ··· 16 21 doCheck = true; 17 22 18 23 checkPhase = '' 24 + runHook preCheck 25 + 19 26 make golden 20 27 make test 28 + 29 + runHook postCheck 21 30 ''; 31 + 32 + passthru.updateScript = gitUpdater { 33 + url = "https://github.com/netwide-assembler/nasm.git"; 34 + rev-prefix = "nasm-"; 35 + ignoredVersions = "rc.*"; 36 + }; 22 37 23 38 meta = with lib; { 24 39 homepage = "https://www.nasm.us/";
+2 -2
pkgs/development/compilers/orc/default.nix
··· 18 18 inherit (lib) optional optionals; 19 19 in stdenv.mkDerivation rec { 20 20 pname = "orc"; 21 - version = "0.4.36"; 21 + version = "0.4.38"; 22 22 23 23 src = fetchurl { 24 24 url = "https://gstreamer.freedesktop.org/src/orc/${pname}-${version}.tar.xz"; 25 - sha256 = "sha256-g7B0y2cxfVi+8ejQzIYveuinekW7/wVqH5h8ZIiy9f0="; 25 + sha256 = "sha256-pVqY1HclZ6o/rtj7hNVAw9t36roW0+LhCwRPvJIoZo0="; 26 26 }; 27 27 28 28 postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
-59
pkgs/development/compilers/rust/1_76.nix
··· 1 - # New rust versions should first go to staging. 2 - # Things to check after updating: 3 - # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 - # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 - # This testing can be also done by other volunteers as part of the pull 6 - # request review, in case platforms cannot be covered. 7 - # 2. The LLVM version used for building should match with rust upstream. 8 - # Check the version number in the src/llvm-project git submodule in: 9 - # https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules 10 - # 3. Firefox and Thunderbird should still build on x86_64-linux. 11 - 12 - { stdenv, lib 13 - , newScope, callPackage 14 - , CoreFoundation, Security, SystemConfiguration 15 - , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost, pkgsTargetTarget 16 - , makeRustPlatform 17 - , wrapRustcWith 18 - , llvmPackages_17, llvm_17 19 - } @ args: 20 - 21 - import ./default.nix { 22 - rustcVersion = "1.76.0"; 23 - rustcSha256 = "sha256-nlz/Azp/DSJmgYmCrZDk0+Tvj47hcVd2xuJQc6E2wCE="; 24 - 25 - llvmSharedForBuild = pkgsBuildBuild.llvmPackages_17.libllvm.override { enableSharedLibraries = true; }; 26 - llvmSharedForHost = pkgsBuildHost.llvmPackages_17.libllvm.override { enableSharedLibraries = true; }; 27 - llvmSharedForTarget = pkgsBuildTarget.llvmPackages_17.libllvm.override { enableSharedLibraries = true; }; 28 - 29 - # For use at runtime 30 - llvmShared = llvm_17.override { enableSharedLibraries = true; }; 31 - 32 - # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox 33 - llvmPackages = llvmPackages_17; 34 - 35 - # Note: the version MUST be one version prior to the version we're 36 - # building 37 - bootstrapVersion = "1.75.0"; 38 - 39 - # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 40 - bootstrapHashes = { 41 - i686-unknown-linux-gnu = "107b8d8825deab338f338b15f047829da6225bb34644790847e96f0957c6678f"; 42 - x86_64-unknown-linux-gnu = "473978b6f8ff216389f9e89315211c6b683cf95a966196e7914b46e8cf0d74f6"; 43 - x86_64-unknown-linux-musl = "cc6ef41aa811ab34f946fe2b4338d1107daf08642125fd566386bf45563597de"; 44 - arm-unknown-linux-gnueabihf = "985454b6c385cb461cc8a39d2d7d55dcf6c50495033fe5d28edcc717729d8ae9"; 45 - armv7-unknown-linux-gnueabihf = "bd876a75f72040d96be2fb882770b16b482ac0ab15d7e3ad24e6d25b7c74bcf7"; 46 - aarch64-unknown-linux-gnu = "30828cd904fcfb47f1ac43627c7033c903889ea4aca538f53dcafbb3744a9a73"; 47 - aarch64-unknown-linux-musl = "26b5989525b7cf623f3868a37549736e0efe1142a08f191a97e29758cc640ac4"; 48 - x86_64-apple-darwin = "ad066e4dec7ae5948c4e7afe68e250c336a5ab3d655570bb119b3eba9cf22851"; 49 - aarch64-apple-darwin = "878ecf81e059507dd2ab256f59629a4fb00171035d2a2f5638cb582d999373b1"; 50 - powerpc64le-unknown-linux-gnu = "2599cdfea5860b4efbceb7bca69845a96ac1c96aa50cf8261151e82280b397a0"; 51 - riscv64gc-unknown-linux-gnu = "7f7b73d8924d7dd24dcb2ef0da257eb48d9aed658b00fe68e8f1ade0b1ce4511"; 52 - }; 53 - 54 - selectRustPackage = pkgs: pkgs.rust_1_76; 55 - 56 - rustcPatches = [ ]; 57 - } 58 - 59 - (builtins.removeAttrs args [ "llvmPackages_17" "llvm_17"])
+59
pkgs/development/compilers/rust/1_77.nix
··· 1 + # New rust versions should first go to staging. 2 + # Things to check after updating: 3 + # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 + # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 + # This testing can be also done by other volunteers as part of the pull 6 + # request review, in case platforms cannot be covered. 7 + # 2. The LLVM version used for building should match with rust upstream. 8 + # Check the version number in the src/llvm-project git submodule in: 9 + # https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules 10 + # 3. Firefox and Thunderbird should still build on x86_64-linux. 11 + 12 + { stdenv, lib 13 + , newScope, callPackage 14 + , CoreFoundation, Security, SystemConfiguration 15 + , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost, pkgsTargetTarget 16 + , makeRustPlatform 17 + , wrapRustcWith 18 + , llvmPackages_17, llvm_17 19 + } @ args: 20 + 21 + import ./default.nix { 22 + rustcVersion = "1.77.1"; 23 + rustcSha256 = "7hBuTFafUtujtbKCsQWCD4a9j2s9CcBrjc6C+xuzpKE="; 24 + 25 + llvmSharedForBuild = pkgsBuildBuild.llvmPackages_17.libllvm.override { enableSharedLibraries = true; }; 26 + llvmSharedForHost = pkgsBuildHost.llvmPackages_17.libllvm.override { enableSharedLibraries = true; }; 27 + llvmSharedForTarget = pkgsBuildTarget.llvmPackages_17.libllvm.override { enableSharedLibraries = true; }; 28 + 29 + # For use at runtime 30 + llvmShared = llvm_17.override { enableSharedLibraries = true; }; 31 + 32 + # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox 33 + llvmPackages = llvmPackages_17; 34 + 35 + # Note: the version MUST be one version prior to the version we're 36 + # building 37 + bootstrapVersion = "1.76.0"; 38 + 39 + # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 40 + bootstrapHashes = { 41 + i686-unknown-linux-gnu = "4c3eefc9341b8809235e6c4fbcbc19ab52a5cbe771292c400df068c12984fa3e"; 42 + x86_64-unknown-linux-gnu = "9d589d2036b503cc45ecc94992d616fb3deec074deb36cacc2f5c212408f7399"; 43 + x86_64-unknown-linux-musl = "aa8568f4d262468aaf4f622bd421c5435b24454d8fbcdae48da1162962205384"; 44 + arm-unknown-linux-gnueabihf = "7d1da067362fc64bcad198d90a61e024d5712aed76e17b28e1cd7e8ba263cc6f"; 45 + armv7-unknown-linux-gnueabihf = "c03346d56d4a860cd3a8d2d2a7ea75c510b68204e3ad97b3770076595261c913"; 46 + aarch64-unknown-linux-gnu = "2e8313421e8fb673efdf356cdfdd4bc16516f2610d4f6faa01327983104c05a0"; 47 + aarch64-unknown-linux-musl = "a1d1c8ccb8ea00cfa2b79d80411b8eb22b2bef5214f86536825361e98d7c617a"; 48 + x86_64-apple-darwin = "7bdbe085695df8e46389115e99eda7beed37a9494f6b961b45554c658e53b8e7"; 49 + aarch64-apple-darwin = "17496f15c3cb6ff73d5c36f5b54cc110f1ac31fa09521a7991c0d7ddd890dceb"; 50 + powerpc64le-unknown-linux-gnu = "44b3494675284d26b04747a824dc974e32fd8fd46fc0aa06a7c8ebe851332d2c"; 51 + riscv64gc-unknown-linux-gnu = "4a9db321874fc441235b71eb8aa295fc50251305e461540b25b4eef89fb56255"; 52 + }; 53 + 54 + selectRustPackage = pkgs: pkgs.rust_1_77; 55 + 56 + rustcPatches = [ ]; 57 + } 58 + 59 + (builtins.removeAttrs args [ "llvmPackages_17" "llvm_17"])
+9 -1
pkgs/development/compilers/rust/cargo-auditable.nix
··· 1 - { lib, buildPackages, fetchFromGitHub, makeRustPlatform, installShellFiles, stdenv }: 1 + { lib, buildPackages, fetchFromGitHub, fetchpatch, makeRustPlatform, installShellFiles, stdenv }: 2 2 3 3 let 4 4 args = rec { ··· 11 11 rev = "v${version}"; 12 12 sha256 = "sha256-ERIzx9Fveanq7/aWcB2sviTxIahvSu0sTwgpGf/aYE8="; 13 13 }; 14 + 15 + patches = [ 16 + (fetchpatch { 17 + name = "rust-1.77-tests.patch"; 18 + url = "https://github.com/rust-secure-code/cargo-auditable/commit/5317a27244fc428335c4e7a1d066ae0f65f0d496.patch"; 19 + hash = "sha256-UblGseiSC/2eE4rcnTgYzxAMrutHFSdxKTHqKj1mX5o="; 20 + }) 21 + ]; 14 22 15 23 cargoHash = "sha256-4o3ctun/8VcBRuj+j0Yaawdkyn6Z6LPp+FTyhPxQWU8="; 16 24
+1 -1
pkgs/development/compilers/rust/rustc.nix
··· 93 93 # attempts to download the missing source tarball 94 94 "--set=build.rustfmt=${rustfmt}/bin/rustfmt" 95 95 ] ++ [ 96 - "--tools=rustc,rust-analyzer-proc-macro-srv" 96 + "--tools=rustc,rustdoc,rust-analyzer-proc-macro-srv" 97 97 "--enable-rpath" 98 98 "--enable-vendor" 99 99 "--build=${stdenv.buildPlatform.rust.rustcTargetSpec}"
+7 -3
pkgs/development/interpreters/lua-5/build-luarocks-package.nix
··· 94 94 ]; 95 95 96 96 inherit doCheck extraConfig rockspecFilename knownRockspec externalDeps nativeCheckInputs; 97 + inherit dontWrapLuaPrograms; 97 98 98 99 buildInputs = let 99 100 # example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ] ··· 177 178 runHook postBuild 178 179 ''; 179 180 180 - postFixup = lib.optionalString (!dontWrapLuaPrograms) '' 181 - wrapLuaPrograms 182 - '' + attrs.postFixup or ""; 181 + fixupPhase = '' 182 + runHook preFixup 183 + ${lib.optionalString (!self.dontWrapLuaPrograms) "wrapLuaPrograms"} 184 + runHook postFixup 185 + ''; 183 186 184 187 installPhase = '' 185 188 runHook preInstall ··· 196 199 # maybe we could reestablish dependency checking via passing --rock-trees 197 200 198 201 nix_debug "ROCKSPEC $rockspecFilename" 202 + # deps-mode=all tells luarocks to use every configured rocks_trees 199 203 luarocks $LUAROCKS_EXTRA_ARGS make --deps-mode=all --tree=$out ''${rockspecFilename} 200 204 201 205 runHook postInstall
+2 -1
pkgs/development/interpreters/lua-5/hooks/setup-hook.sh
··· 25 25 # export only if the folder contains lua files 26 26 shopt -s globstar 27 27 28 - for _file in ${absPattern/\?/\*\*}; do 28 + local adjustedPattern="${absPattern/\?/\*\*\/\*}" 29 + for _file in $adjustedPattern; do 29 30 export "${varName}=${!varName:+${!varName};}${absPattern}" 30 31 shopt -u globstar 31 32 return;
+15
pkgs/development/interpreters/lua-5/tests/default.nix
··· 66 66 touch $out 67 67 ''); 68 68 69 + # checks that lua's setup-hook adds dependencies to LUA_PATH 70 + # Prevents the following regressions 71 + # $ env NIX_PATH=nixpkgs=. nix-shell --pure -Q -p luajitPackages.lua luajitPackages.http 72 + # nix-shell$ luajit 73 + # > require('http.request') 74 + # stdin:1: module 'http.request' not found: 75 + checkSetupHook = pkgs.runCommandLocal "test-${lua.name}-setup-hook" ({ 76 + nativeBuildInputs = [lua]; 77 + buildInputs = [ lua.pkgs.http ]; 78 + meta.platforms = lua.meta.platforms; 79 + }) ('' 80 + ${lua}/bin/lua -e "require'http.request'" 81 + touch $out 82 + ''); 83 + 69 84 checkRelativeImports = pkgs.runCommandLocal "test-${lua.name}-relative-imports" ({ 70 85 }) ('' 71 86 source ${./assert.sh}
+2
pkgs/development/interpreters/python/cpython/2.7/default.nix
··· 318 318 inherit passthru; 319 319 320 320 postFixup = '' 321 + # Include a sitecustomize.py file. Note it causes an error when it's in postInstall with 2.7. 322 + cp ${../../sitecustomize.py} $out/${sitePackages}/sitecustomize.py 321 323 '' + lib.optionalString strip2to3 '' 322 324 rm -R $out/bin/2to3 $out/lib/python*/lib2to3 323 325 '' + lib.optionalString stripConfig ''
+2 -1
pkgs/development/interpreters/python/cpython/default.nix
··· 537 537 # Strip tests 538 538 rm -R $out/lib/python*/test $out/lib/python*/**/test{,s} 539 539 '' + optionalString includeSiteCustomize '' 540 - 540 + # Include a sitecustomize.py file 541 + cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py 541 542 '' + optionalString stripBytecode '' 542 543 # Determinism: deterministic bytecode 543 544 # First we delete all old bytecode.
+4 -4
pkgs/development/interpreters/python/default.nix
··· 20 20 sourceVersion = { 21 21 major = "3"; 22 22 minor = "11"; 23 - patch = "8"; 23 + patch = "9"; 24 24 suffix = ""; 25 25 }; 26 - hash = "sha256-ngYAjIkBkkOVvB2jA+rFZ6cprgErqhgqs5Jp9lA4O7M="; 26 + hash = "sha256-mx6JZSP8UQaREmyGRAbZNgo9Hphqy9pZzaV7Wr2kW4c="; 27 27 }; 28 28 }; 29 29 ··· 79 79 sourceVersion = { 80 80 major = "3"; 81 81 minor = "12"; 82 - patch = "2"; 82 + patch = "3"; 83 83 suffix = ""; 84 84 }; 85 - hash = "sha256-vigRLayBPSBTVFwUvxOhZAGiGHfxpp626l2ExKDz2HA="; 85 + hash = "sha256-Vr/vH9/BIhzmcg5DpmHj60F4XdkUzplpjYx4lq9L2qE="; 86 86 inherit (darwin) configd; 87 87 inherit passthruFun; 88 88 };
+4 -2
pkgs/development/interpreters/python/hooks/default.nix
··· 191 191 192 192 setuptoolsBuildHook = callPackage ({ makePythonHook, setuptools, wheel }: 193 193 makePythonHook { 194 - name = "setuptools-setup-hook"; 194 + name = "setuptools-build-hook"; 195 195 propagatedBuildInputs = [ setuptools wheel ]; 196 196 substitutions = { 197 - inherit pythonInterpreter pythonSitePackages setuppy; 197 + inherit pythonInterpreter setuppy; 198 + # python2.pkgs.setuptools does not support parallelism 199 + setuptools_has_parallel = setuptools != null && lib.versionAtLeast setuptools.version "69"; 198 200 }; 199 201 } ./setuptools-build-hook.sh) {}; 200 202
+4 -31
pkgs/development/interpreters/python/hooks/setuptools-build-hook.sh
··· 3 3 4 4 setuptoolsBuildPhase() { 5 5 echo "Executing setuptoolsBuildPhase" 6 - local args 6 + local args setuptools_has_parallel=@setuptools_has_parallel@ 7 7 runHook preBuild 8 8 9 9 cp -f @setuppy@ nix_run_setup ··· 12 12 args+="$setupPyGlobalFlags" 13 13 fi 14 14 if [ -n "$enableParallelBuilding" ]; then 15 - setupPyBuildFlags+=" --parallel $NIX_BUILD_CORES" 15 + if [ -n "$setuptools_has_parallel" ]; then 16 + setupPyBuildFlags+=" --parallel $NIX_BUILD_CORES" 17 + fi 16 18 fi 17 19 if [ -n "$setupPyBuildFlags" ]; then 18 20 args+=" build_ext $setupPyBuildFlags" ··· 23 25 echo "Finished executing setuptoolsBuildPhase" 24 26 } 25 27 26 - setuptoolsShellHook() { 27 - echo "Executing setuptoolsShellHook" 28 - runHook preShellHook 29 - 30 - if test -e setup.py; then 31 - tmp_path=$(mktemp -d) 32 - export PATH="$tmp_path/bin:$PATH" 33 - export PYTHONPATH="$tmp_path/@pythonSitePackages@:$PYTHONPATH" 34 - mkdir -p "$tmp_path/@pythonSitePackages@" 35 - eval "@pythonInterpreter@ -m pip install -e . --prefix $tmp_path \ 36 - --no-build-isolation >&2" 37 - 38 - # Process pth file installed in tmp path. This allows one to 39 - # actually import the editable installation. Note site.addsitedir 40 - # appends, not prepends, new paths. Hence, it is not possible to override 41 - # an existing installation of the package. 42 - # https://github.com/pypa/setuptools/issues/2612 43 - export NIX_PYTHONPATH="$tmp_path/@pythonSitePackages@:${NIX_PYTHONPATH-}" 44 - fi 45 - 46 - runHook postShellHook 47 - echo "Finished executing setuptoolsShellHook" 48 - } 49 - 50 28 if [ -z "${dontUseSetuptoolsBuild-}" ] && [ -z "${buildPhase-}" ]; then 51 29 echo "Using setuptoolsBuildPhase" 52 30 buildPhase=setuptoolsBuildPhase 53 31 fi 54 - 55 - if [ -z "${dontUseSetuptoolsShellHook-}" ] && [ -z "${shellHook-}" ]; then 56 - echo "Using setuptoolsShellHook" 57 - shellHook=setuptoolsShellHook 58 - fi
+3
pkgs/development/interpreters/python/pypy/default.nix
··· 126 126 ln -s $out/${executable}-c/include $out/include/${libPrefix} 127 127 ln -s $out/${executable}-c/lib-python/${if isPy3k then "3" else pythonVersion} $out/lib/${libPrefix} 128 128 129 + # Include a sitecustomize.py file 130 + cp ${../sitecustomize.py} $out/${if isPy38OrNewer then sitePackages else "lib/${libPrefix}/${sitePackages}"}/sitecustomize.py 131 + 129 132 runHook postInstall 130 133 ''; 131 134
+3
pkgs/development/interpreters/python/pypy/prebuilt.nix
··· 95 95 echo "Removing bytecode" 96 96 find . -name "__pycache__" -type d -depth -delete 97 97 98 + # Include a sitecustomize.py file 99 + cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py 100 + 98 101 runHook postInstall 99 102 ''; 100 103
+3
pkgs/development/interpreters/python/pypy/prebuilt_2_7.nix
··· 96 96 echo "Removing bytecode" 97 97 find . -name "__pycache__" -type d -depth -delete 98 98 99 + # Include a sitecustomize.py file 100 + cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py 101 + 99 102 runHook postInstall 100 103 ''; 101 104
+39
pkgs/development/interpreters/python/sitecustomize.py
··· 1 + """ 2 + This is a Nix-specific module for discovering modules built with Nix. 3 + 4 + The module recursively adds paths that are on `NIX_PYTHONPATH` to `sys.path`. In 5 + order to process possible `.pth` files `site.addsitedir` is used. 6 + 7 + The paths listed in `PYTHONPATH` are added to `sys.path` afterwards, but they 8 + will be added before the entries we add here and thus take precedence. 9 + 10 + Note the `NIX_PYTHONPATH` environment variable is unset in order to prevent leakage. 11 + 12 + Similarly, this module listens to the environment variable `NIX_PYTHONEXECUTABLE` 13 + and sets `sys.executable` to its value. 14 + """ 15 + import site 16 + import sys 17 + import os 18 + import functools 19 + 20 + paths = os.environ.pop('NIX_PYTHONPATH', None) 21 + if paths: 22 + functools.reduce(lambda k, p: site.addsitedir(p, k), paths.split(':'), site._init_pathinfo()) 23 + 24 + # Check whether we are in a venv or virtualenv. 25 + # For Python 3 we check whether our `base_prefix` is different from our current `prefix`. 26 + # For Python 2 we check whether the non-standard `real_prefix` is set. 27 + # https://stackoverflow.com/questions/1871549/determine-if-python-is-running-inside-virtualenv 28 + in_venv = (sys.version_info.major == 3 and sys.prefix != sys.base_prefix) or (sys.version_info.major == 2 and hasattr(sys, "real_prefix")) 29 + 30 + if not in_venv: 31 + executable = os.environ.pop('NIX_PYTHONEXECUTABLE', None) 32 + prefix = os.environ.pop('NIX_PYTHONPREFIX', None) 33 + 34 + if 'PYTHONEXECUTABLE' not in os.environ and executable is not None: 35 + sys.executable = executable 36 + if prefix is not None: 37 + # Sysconfig does not like it when sys.prefix is set to None 38 + sys.prefix = sys.exec_prefix = prefix 39 + site.PREFIXES.insert(0, prefix)
+21 -72
pkgs/development/interpreters/python/tests.nix
··· 38 38 is_nixenv = "False"; 39 39 is_virtualenv = "False"; 40 40 }; 41 - } // lib.optionalAttrs (!python.isPyPy) { 42 - # Use virtualenv with symlinks from a Nix env. 43 - nixenv-virtualenv-links = rec { 44 - env = runCommand "${python.name}-virtualenv-links" {} '' 45 - ${pythonVirtualEnv.interpreter} -m virtualenv --system-site-packages --symlinks --no-seed $out 46 - ''; 47 - interpreter = "${env}/bin/${python.executable}"; 48 - is_venv = "False"; 49 - is_nixenv = "True"; 50 - is_virtualenv = "True"; 51 - }; 52 - } // lib.optionalAttrs (!python.isPyPy) { 53 - # Use virtualenv with copies from a Nix env. 54 - nixenv-virtualenv-copies = rec { 55 - env = runCommand "${python.name}-virtualenv-copies" {} '' 56 - ${pythonVirtualEnv.interpreter} -m virtualenv --system-site-packages --copies --no-seed $out 41 + } // lib.optionalAttrs (!python.isPyPy && !stdenv.isDarwin) { 42 + # Use virtualenv from a Nix env. 43 + # Fails on darwin with 44 + # virtualenv: error: argument dest: the destination . is not write-able at /nix/store 45 + nixenv-virtualenv = rec { 46 + env = runCommand "${python.name}-virtualenv" {} '' 47 + ${pythonVirtualEnv.interpreter} -m virtualenv venv 48 + mv venv $out 57 49 ''; 58 50 interpreter = "${env}/bin/${python.executable}"; 59 51 is_venv = "False"; ··· 69 61 is_nixenv = "True"; 70 62 is_virtualenv = "False"; 71 63 }; 72 - } // lib.optionalAttrs (python.pythonAtLeast "3.8" && (!python.isPyPy)) { 73 - # Venv built using links to plain Python 64 + } // lib.optionalAttrs (python.isPy3k && (!python.isPyPy)) { 65 + # Venv built using plain Python 74 66 # Python 2 does not support venv 75 67 # TODO: PyPy executable name is incorrect, it should be pypy-c or pypy-3c instead of pypy and pypy3. 76 - plain-venv-links = rec { 77 - env = runCommand "${python.name}-venv-links" {} '' 78 - ${python.interpreter} -m venv --system-site-packages --symlinks --without-pip $out 68 + plain-venv = rec { 69 + env = runCommand "${python.name}-venv" {} '' 70 + ${python.interpreter} -m venv $out 79 71 ''; 80 72 interpreter = "${env}/bin/${python.executable}"; 81 73 is_venv = "True"; 82 74 is_nixenv = "False"; 83 75 is_virtualenv = "False"; 84 76 }; 85 - } // lib.optionalAttrs (python.pythonAtLeast "3.8" && (!python.isPyPy)) { 86 - # Venv built using copies from plain Python 87 - # Python 2 does not support venv 88 - # TODO: PyPy executable name is incorrect, it should be pypy-c or pypy-3c instead of pypy and pypy3. 89 - plain-venv-copies = rec { 90 - env = runCommand "${python.name}-venv-copies" {} '' 91 - ${python.interpreter} -m venv --system-site-packages --copies --without-pip $out 92 - ''; 93 - interpreter = "${env}/bin/${python.executable}"; 94 - is_venv = "True"; 95 - is_nixenv = "False"; 96 - is_virtualenv = "False"; 97 - }; 77 + 98 78 } // lib.optionalAttrs (python.pythonAtLeast "3.8") { 99 79 # Venv built using Python Nix environment (python.buildEnv) 100 - nixenv-venv-links = rec { 101 - env = runCommand "${python.name}-venv-links" {} '' 102 - ${pythonEnv.interpreter} -m venv --system-site-packages --symlinks --without-pip $out 103 - ''; 104 - interpreter = "${env}/bin/${pythonEnv.executable}"; 105 - is_venv = "True"; 106 - is_nixenv = "True"; 107 - is_virtualenv = "False"; 108 - }; 109 - } // lib.optionalAttrs (python.pythonAtLeast "3.8") { 110 - # Venv built using Python Nix environment (python.buildEnv) 111 - nixenv-venv-copies = rec { 112 - env = runCommand "${python.name}-venv-copies" {} '' 113 - ${pythonEnv.interpreter} -m venv --system-site-packages --copies --without-pip $out 80 + # TODO: Cannot create venv from a nix env 81 + # Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. 82 + nixenv-venv = rec { 83 + env = runCommand "${python.name}-venv" {} '' 84 + ${pythonEnv.interpreter} -m venv $out 114 85 ''; 115 86 interpreter = "${env}/bin/${pythonEnv.executable}"; 116 87 is_venv = "True"; ··· 122 93 testfun = name: attrs: runCommand "${python.name}-tests-${name}" ({ 123 94 inherit (python) pythonVersion; 124 95 } // attrs) '' 125 - mkdir $out 126 - 127 - # set up the test files 128 96 cp -r ${./tests/test_environments} tests 129 97 chmod -R +w tests 130 98 substituteAllInPlace tests/test_python.py 131 - 132 - # run the tests by invoking the interpreter via full path 133 - echo "absolute path: ${attrs.interpreter}" 134 - ${attrs.interpreter} -m unittest discover --verbose tests 2>&1 | tee "$out/full.txt" 135 - 136 - # run the tests by invoking the interpreter via $PATH 137 - export PATH="$(dirname ${attrs.interpreter}):$PATH" 138 - echo "PATH: $(basename ${attrs.interpreter})" 139 - "$(basename ${attrs.interpreter})" -m unittest discover --verbose tests 2>&1 | tee "$out/path.txt" 140 - 141 - # make sure we get the right path when invoking through a result link 142 - ln -s "${attrs.env}" result 143 - relative="result/bin/$(basename ${attrs.interpreter})" 144 - expected="$PWD/$relative" 145 - actual="$(./$relative -c "import sys; print(sys.executable)" | tee "$out/result.txt")" 146 - if [ "$actual" != "$expected" ]; then 147 - echo "expected $expected, got $actual" 148 - exit 1 149 - fi 150 - 151 - # if we got this far, the tests passed 99 + ${attrs.interpreter} -m unittest discover --verbose tests #/test_python.py 100 + mkdir $out 152 101 touch $out/success 153 102 ''; 154 103
+1 -1
pkgs/development/interpreters/python/tests/test_environments/test_python.py
··· 38 38 39 39 @unittest.skipIf(IS_PYPY or sys.version_info.major==2, "Python 2 does not have base_prefix") 40 40 def test_base_prefix(self): 41 - if IS_VENV or IS_VIRTUALENV: 41 + if IS_VENV or IS_NIXENV or IS_VIRTUALENV: 42 42 self.assertNotEqual(sys.prefix, sys.base_prefix) 43 43 else: 44 44 self.assertEqual(sys.prefix, sys.base_prefix)
+1 -9
pkgs/development/interpreters/python/wrapper.nix
··· 35 35 fi 36 36 mkdir -p "$out/bin" 37 37 38 - rm -f $out/bin/.*-wrapped 39 - 40 38 for path in ${lib.concatStringsSep " " paths}; do 41 39 if [ -d "$path/bin" ]; then 42 40 cd "$path/bin" ··· 44 42 if [ -f "$prg" ]; then 45 43 rm -f "$out/bin/$prg" 46 44 if [ -x "$prg" ]; then 47 - if [ -f ".$prg-wrapped" ]; then 48 - echo "#!${pythonExecutable}" > "$out/bin/$prg" 49 - sed -e '1d' -e '3d' ".$prg-wrapped" >> "$out/bin/$prg" 50 - chmod +x "$out/bin/$prg" 51 - else 52 - makeWrapper "$path/bin/$prg" "$out/bin/$prg" --inherit-argv0 --resolve-argv0 ${lib.optionalString (!permitUserSite) ''--set PYTHONNOUSERSITE "true"''} ${lib.concatStringsSep " " makeWrapperArgs} 53 - fi 45 + makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONPREFIX "$out" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${lib.optionalString (!permitUserSite) ''--set PYTHONNOUSERSITE "true"''} ${lib.concatStringsSep " " makeWrapperArgs} 54 46 fi 55 47 fi 56 48 done
+5 -5
pkgs/development/interpreters/ruby/default.nix
··· 74 74 75 75 strictDeps = true; 76 76 77 - nativeBuildInputs = [ autoreconfHook bison ] 77 + nativeBuildInputs = [ autoreconfHook bison removeReferencesTo ] 78 78 ++ (op docSupport groff) 79 79 ++ (ops (dtraceSupport && stdenv.isLinux) [ systemtap libsystemtap ]) 80 80 ++ ops yjitSupport [ rustPlatform.cargoSetupHook cargo rustc ] ··· 190 190 ${ 191 191 lib.optionalString (!jitSupport) '' 192 192 # Get rid of the CC runtime dependency 193 - ${removeReferencesTo}/bin/remove-references-to \ 193 + remove-references-to \ 194 194 -t ${stdenv.cc} \ 195 195 $out/lib/libruby* 196 - ${removeReferencesTo}/bin/remove-references-to \ 196 + remove-references-to \ 197 197 -t ${stdenv.cc} \ 198 198 $rbConfig 199 199 sed -i '/CC_VERSION_MESSAGE/d' $rbConfig ··· 237 237 cp ${./rbconfig.rb} $devdoc/lib/ruby/site_ruby/rbconfig.rb 238 238 '' + opString useBaseRuby '' 239 239 # Prevent the baseruby from being included in the closure. 240 - ${removeReferencesTo}/bin/remove-references-to \ 240 + remove-references-to \ 241 241 -t ${baseRuby} \ 242 242 $rbConfig $out/lib/libruby* 243 243 ''; ··· 257 257 ''; 258 258 doInstallCheck = true; 259 259 260 - disallowedRequisites = op (!jitSupport) stdenv.cc.cc 260 + disallowedRequisites = op (!jitSupport) stdenv.cc 261 261 ++ op useBaseRuby baseRuby; 262 262 263 263 meta = with lib; {
+2 -2
pkgs/development/interpreters/ruby/rubygems/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rubygems"; 5 - version = "3.5.6"; 5 + version = "3.5.7"; 6 6 7 7 src = fetchurl { 8 8 url = "https://rubygems.org/rubygems/rubygems-${version}.tgz"; 9 - hash = "sha256-8/zAMnzuC3677i7wFKQroFtAMtfhg0280xZd3nAMmcI="; 9 + hash = "sha256-w9BKIE0vcmX+mmtDqF1tInhplHdBok1W5R1xNtRinjk="; 10 10 }; 11 11 12 12 patches = [
+2 -2
pkgs/development/libraries/SDL2/default.nix
··· 58 58 59 59 stdenv.mkDerivation (finalAttrs: { 60 60 pname = "SDL2"; 61 - version = "2.30.1"; 61 + version = "2.30.2"; 62 62 63 63 src = fetchFromGitHub { 64 64 owner = "libsdl-org"; 65 65 repo = "SDL"; 66 66 rev = "release-${finalAttrs.version}"; 67 - hash = "sha256-nwmmyJK1/5Mu7l1YCk4PsasJIrx3jdiM5f/Cu3n0paA="; 67 + hash = "sha256-yYYtsF6+IKynXpfay0rUmCQPdL8vp6dlmon8N7UG89A="; 68 68 }; 69 69 dontDisableStatic = if withStatic then 1 else 0; 70 70 outputs = [ "out" "dev" ];
+2 -2
pkgs/development/libraries/abseil-cpp/202401.nix
··· 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "abseil-cpp"; 12 - version = "20240116.1"; 12 + version = "20240116.2"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "abseil"; 16 16 repo = "abseil-cpp"; 17 17 rev = "refs/tags/${finalAttrs.version}"; 18 - hash = "sha256-D4E11bICKr3Z5RRah7QkfXVsXtuUg32FMmKpiOGjZDM="; 18 + hash = "sha256-eA2/dZpNOlex1O5PNa3XSZhpMB3AmaIoHzVDI9TD/cg="; 19 19 }; 20 20 21 21 cmakeFlags = [
+2 -2
pkgs/development/libraries/audio/libopenmpt/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "libopenmpt"; 19 - version = "0.7.4"; 19 + version = "0.7.6"; 20 20 21 21 outputs = [ "out" "dev" "bin" ]; 22 22 23 23 src = fetchurl { 24 24 url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz"; 25 - hash = "sha256-FgD5M16uOQQImmKG9SWBKWHFTONqBd/m7qpXbdkyjz8="; 25 + hash = "sha256-Fi1yowa7LhFMJPolJn0NCgrBbzn9laXA38daZm7l5PU="; 26 26 }; 27 27 28 28 enableParallelBuilding = true;
-102
pkgs/development/libraries/avahi/CVE-2023-38469.patch
··· 1 - From a337a1ba7d15853fb56deef1f464529af6e3a1cf Mon Sep 17 00:00:00 2001 2 - From: Evgeny Vereshchagin <evvers@ya.ru> 3 - Date: Mon, 23 Oct 2023 20:29:31 +0000 4 - Subject: [PATCH 1/2] core: reject overly long TXT resource records 5 - 6 - Closes https://github.com/lathiat/avahi/issues/455 7 - 8 - CVE-2023-38469 9 - --- 10 - avahi-core/rr.c | 9 ++++++++- 11 - 1 file changed, 8 insertions(+), 1 deletion(-) 12 - 13 - diff --git a/avahi-core/rr.c b/avahi-core/rr.c 14 - index 2bb89244..9c04ebbd 100644 15 - --- a/avahi-core/rr.c 16 - +++ b/avahi-core/rr.c 17 - @@ -32,6 +32,7 @@ 18 - #include <avahi-common/malloc.h> 19 - #include <avahi-common/defs.h> 20 - 21 - +#include "dns.h" 22 - #include "rr.h" 23 - #include "log.h" 24 - #include "util.h" 25 - @@ -689,11 +690,17 @@ int avahi_record_is_valid(AvahiRecord *r) { 26 - case AVAHI_DNS_TYPE_TXT: { 27 - 28 - AvahiStringList *strlst; 29 - + size_t used = 0; 30 - 31 - - for (strlst = r->data.txt.string_list; strlst; strlst = strlst->next) 32 - + for (strlst = r->data.txt.string_list; strlst; strlst = strlst->next) { 33 - if (strlst->size > 255 || strlst->size <= 0) 34 - return 0; 35 - 36 - + used += 1+strlst->size; 37 - + if (used > AVAHI_DNS_RDATA_MAX) 38 - + return 0; 39 - + } 40 - + 41 - return 1; 42 - } 43 - } 44 - 45 - From c6cab87df290448a63323c8ca759baa516166237 Mon Sep 17 00:00:00 2001 46 - From: Evgeny Vereshchagin <evvers@ya.ru> 47 - Date: Wed, 25 Oct 2023 18:15:42 +0000 48 - Subject: [PATCH 2/2] tests: pass overly long TXT resource records 49 - 50 - to make sure they don't crash avahi any more. 51 - 52 - It reproduces https://github.com/lathiat/avahi/issues/455 53 - --- 54 - avahi-client/client-test.c | 14 ++++++++++++++ 55 - 2 files changed, 20 insertions(+) 56 - 57 - diff --git a/avahi-client/client-test.c b/avahi-client/client-test.c 58 - index ba979988..da0e43ad 100644 59 - --- a/avahi-client/client-test.c 60 - +++ b/avahi-client/client-test.c 61 - @@ -22,6 +22,7 @@ 62 - #endif 63 - 64 - #include <stdio.h> 65 - +#include <string.h> 66 - #include <assert.h> 67 - 68 - #include <avahi-client/client.h> 69 - @@ -33,6 +34,8 @@ 70 - #include <avahi-common/malloc.h> 71 - #include <avahi-common/timeval.h> 72 - 73 - +#include <avahi-core/dns.h> 74 - + 75 - static const AvahiPoll *poll_api = NULL; 76 - static AvahiSimplePoll *simple_poll = NULL; 77 - 78 - @@ -222,6 +225,9 @@ int main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { 79 - uint32_t cookie; 80 - struct timeval tv; 81 - AvahiAddress a; 82 - + uint8_t rdata[AVAHI_DNS_RDATA_MAX+1]; 83 - + AvahiStringList *txt = NULL; 84 - + int r; 85 - 86 - simple_poll = avahi_simple_poll_new(); 87 - poll_api = avahi_simple_poll_get(simple_poll); 88 - @@ -261,6 +267,14 @@ int main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { 89 - error = avahi_entry_group_add_record (group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "TestX", 0x01, 0x10, 120, "", 0); 90 - assert(error != AVAHI_OK); 91 - 92 - + memset(rdata, 1, sizeof(rdata)); 93 - + r = avahi_string_list_parse(rdata, sizeof(rdata), &txt); 94 - + assert(r >= 0); 95 - + assert(avahi_string_list_serialize(txt, NULL, 0) == sizeof(rdata)); 96 - + error = avahi_entry_group_add_service_strlst(group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "TestX", "_qotd._tcp", NULL, NULL, 123, txt); 97 - + assert(error == AVAHI_ERR_INVALID_RECORD); 98 - + avahi_string_list_free(txt); 99 - + 100 - avahi_entry_group_commit (group); 101 - 102 - domain = avahi_domain_browser_new (avahi, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, NULL, AVAHI_DOMAIN_BROWSER_BROWSE, 0, avahi_domain_browser_callback, (char*) "omghai3u");
-47
pkgs/development/libraries/avahi/CVE-2023-38471-2.patch
··· 1 - From 04ac71fd56a16365360f14bd4691219913e22f21 Mon Sep 17 00:00:00 2001 2 - From: Evgeny Vereshchagin <evvers@ya.ru> 3 - Date: Tue, 24 Oct 2023 21:57:32 +0000 4 - Subject: [PATCH 1/2] smoke-test: call SetHostName with unusual names 5 - 6 - It's prompted by https://github.com/lathiat/avahi/issues/453 7 - --- 8 - avahi-core/server.c | 9 ++++++--- 9 - 1 file changed, 6 insertions(+), 3 deletions(-) 10 - 11 - diff --git a/avahi-core/server.c b/avahi-core/server.c 12 - index f6a21bb7..84df6b5d 100644 13 - --- a/avahi-core/server.c 14 - +++ b/avahi-core/server.c 15 - @@ -1309,10 +1309,13 @@ int avahi_server_set_host_name(AvahiServer *s, const char *host_name) { 16 - else 17 - hn = avahi_normalize_name_strdup(host_name); 18 - 19 - + if (!hn) 20 - + return avahi_server_set_errno(s, AVAHI_ERR_NO_MEMORY); 21 - + 22 - h = hn; 23 - if (!avahi_unescape_label((const char **)&hn, label, sizeof(label))) { 24 - avahi_free(h); 25 - - return AVAHI_ERR_INVALID_HOST_NAME; 26 - + return avahi_server_set_errno(s, AVAHI_ERR_INVALID_HOST_NAME); 27 - } 28 - 29 - avahi_free(h); 30 - @@ -1320,7 +1323,7 @@ int avahi_server_set_host_name(AvahiServer *s, const char *host_name) { 31 - h = label_escaped; 32 - len = sizeof(label_escaped); 33 - if (!avahi_escape_label(label, strlen(label), &h, &len)) 34 - - return AVAHI_ERR_INVALID_HOST_NAME; 35 - + return avahi_server_set_errno(s, AVAHI_ERR_INVALID_HOST_NAME); 36 - 37 - if (avahi_domain_equal(s->host_name, label_escaped) && s->state != AVAHI_SERVER_COLLISION) 38 - return avahi_server_set_errno(s, AVAHI_ERR_NO_CHANGE); 39 - @@ -1330,7 +1333,7 @@ int avahi_server_set_host_name(AvahiServer *s, const char *host_name) { 40 - avahi_free(s->host_name); 41 - s->host_name = avahi_strdup(label_escaped); 42 - if (!s->host_name) 43 - - return AVAHI_ERR_NO_MEMORY; 44 - + return avahi_server_set_errno(s, AVAHI_ERR_NO_MEMORY); 45 - 46 - update_fqdn(s); 47 -
+37 -4
pkgs/development/libraries/avahi/default.nix
··· 57 57 url = "https://github.com/lathiat/avahi/commit/94cb6489114636940ac683515417990b55b5d66c.patch"; 58 58 sha256 = "sha256-Fanh9bvz+uknr5pAmltqijuUAZIG39JR2Lyq5zGKJ58="; 59 59 }) 60 + # https://github.com/avahi/avahi/pull/480 merged Sept 19 61 + (fetchpatch { 62 + name = "bail-out-unless-escaped-labels-fit.patch"; 63 + url = "https://github.com/avahi/avahi/commit/20dec84b2480821704258bc908e7b2bd2e883b24.patch"; 64 + sha256 = "sha256-p/dOuQ/GInIcUwuFhQR3mGc5YBL5J8ho+1gvzcqEN0c="; 65 + }) 60 66 # CVE-2023-38473 61 67 # https://github.com/lathiat/avahi/pull/486 merged Oct 18 62 68 (fetchpatch { ··· 79 85 sha256 = "sha256-4dG+5ZHDa+A4/CszYS8uXWlpmA89m7/jhbZ7rheMs7U="; 80 86 }) 81 87 # https://github.com/lathiat/avahi/pull/499 merged Oct 25 82 - # (but with the changes to '.github/workflows/smoke-tests.sh removed) 83 - ./CVE-2023-38471-2.patch 88 + (fetchpatch { 89 + name = "CVE-2023-38471-2.patch"; 90 + url = "https://github.com/avahi/avahi/commit/b675f70739f404342f7f78635d6e2dcd85a13460.patch"; 91 + sha256 = "sha256-uDtMPWuz1lsu7n0Co/Gpyh369miQ6GWGyC0UPQB/yI8="; 92 + }) 84 93 # CVE-2023-38469 85 94 # https://github.com/lathiat/avahi/pull/500 merged Oct 25 86 - # (but with the changes to '.github/workflows/smoke-tests.sh removed) 87 - ./CVE-2023-38469.patch 95 + (fetchpatch { 96 + name = "CVE-2023-38469.patch"; 97 + url = "https://github.com/avahi/avahi/commit/61b9874ff91dd20a12483db07df29fe7f35db77f.patch"; 98 + sha256 = "sha256-qR7scfQqhRGxg2n4HQsxVxCLkXbwZi+PlYxrOSEPsL0="; 99 + excludes = [ ".github/workflows/smoke-tests.sh" ]; 100 + }) 101 + # https://github.com/avahi/avahi/pull/515 merged Nov 3 102 + (fetchpatch { 103 + name = "fix-compare-rrs-with-zero-length-rdata.patch"; 104 + url = "https://github.com/avahi/avahi/commit/177d75e8c43be45a8383d794ce4084dd5d600a9e.patch"; 105 + sha256 = "sha256-uwIyruAWgiWt0yakRrvMdYjjhEhUk5cIGKt6twyXbHw="; 106 + }) 107 + # https://github.com/avahi/avahi/pull/519 merged Nov 8 108 + (fetchpatch { 109 + name = "reject-non-utf-8-service-names.patch"; 110 + url = "https://github.com/avahi/avahi/commit/2b6d3e99579e3b6e9619708fad8ad8e07ada8218.patch"; 111 + sha256 = "sha256-lwSA3eEQgH0g51r0i9/HJMJPRXrhQnTIEDxcYqUuLdI="; 112 + excludes = [ "fuzz/fuzz-domain.c" ]; 113 + }) 114 + # https://github.com/avahi/avahi/pull/523 merged Nov 12 115 + (fetchpatch { 116 + name = "core-no-longer-supply-bogus-services-to-callbacks.patch"; 117 + url = "https://github.com/avahi/avahi/commit/93b14365c1c1e04efd1a890e8caa01a2a514bfd8.patch"; 118 + sha256 = "sha256-VBm8vsBZkTbbWAK8FI71SL89lZuYd1yFNoB5o+FvlEU="; 119 + excludes = [ ".github/workflows/smoke-tests.sh" "fuzz/fuzz-packet.c" ]; 120 + }) 88 121 ]; 89 122 90 123 depsBuildBuild = [
+2 -2
pkgs/development/libraries/aws-c-auth/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "aws-c-auth"; 17 - version = "0.7.10"; 17 + version = "0.7.16"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "awslabs"; 21 21 repo = "aws-c-auth"; 22 22 rev = "v${version}"; 23 - hash = "sha256-yJ0sgw0y9tIiIHgTPVnfYd8zAGjO83qfeeEzstGH9CE="; 23 + hash = "sha256-76sBv4oChDrkv80HPktkULFNC37kfTNxjlwNg/FJiyA="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-common/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "aws-c-common"; 10 - version = "0.9.10"; 10 + version = "0.9.14"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "awslabs"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-xqNqyVtibR8oSMvl5RTU166FIxcbvGjZJOjJ9j6fU78="; 16 + hash = "sha256-aeuIXqnO8divpguDpiPlYJHABYIqegpaDNGwqJ5TKZw="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-event-stream/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "aws-c-event-stream"; 5 - version = "0.3.2"; 5 + version = "0.4.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "awslabs"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-uKprdBJn9yHDm2HCBOiuanizCtLi/VKrvUUScNv6OPY="; 11 + hash = "sha256-wj3PZshUay3HJy+v7cidDL4mDAqSDiX+MmQtJDK4rTI="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-http/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "aws-c-http"; 14 - version = "0.7.14"; 14 + version = "0.8.1"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "awslabs"; 18 18 repo = "aws-c-http"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-HrNdePWNw/5tDBeybnUjK3LgftnGQ4CBXPG0URaxIeU="; 20 + hash = "sha256-S5ETVkdGTndt2GJBNL4DU5SycHAufsmN06xBDRMFVKo="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-io/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "aws-c-io"; 5 - version = "0.13.36"; 5 + version = "0.14.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "awslabs"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-TwPcsTMBOE1uIInH6/eQdUMV6uD7d60773THzc1/G9Y="; 11 + hash = "sha256-fekeGghqMKbUqKWIfpZg3a6dCpgxywhmXPoGz9y4Aos="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/aws-c-mqtt/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "aws-c-mqtt"; 16 - version = "0.9.10"; 16 + version = "0.10.3"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "awslabs"; 20 20 repo = "aws-c-mqtt"; 21 21 rev = "v${version}"; 22 - sha256 = "sha256-hxisqBUARJLtmZniXaZ2th0hqWiKn4XQIy6I0Oz/kUs="; 22 + hash = "sha256-MWcXTMwKtFnrNp+OnHxkiYCUXc3IUhM6iTQa+F9JwsQ="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-s3/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "aws-c-s3"; 17 - version = "0.4.0"; 17 + version = "0.5.4"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "awslabs"; 21 21 repo = "aws-c-s3"; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-tb9h78Gd4N11DPB2ETq241lvDQqHIy2HYBsJrBlLpxA="; 23 + hash = "sha256-8eKQsP7AftNDccsZHPC9PcwpbpgZSvsioUuSsiggQDs="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-c-sdkutils/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "aws-c-sdkutils"; 10 - version = "0.1.12"; 10 + version = "0.1.15"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "awslabs"; 14 14 repo = "aws-c-sdkutils"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-4YuOC90FBcuNYGBsqw3wKYNGkg3MssezvR8bu6BNGeM="; 16 + hash = "sha256-RTRDbdv+QmRG0Sk/R9qhl45WYEVyl+M0EceLFsoONTI="; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/aws-crt-cpp/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "aws-crt-cpp"; 20 - version = "0.24.7"; 20 + version = "0.26.4"; 21 21 22 22 outputs = [ "out" "dev" ]; 23 23 ··· 25 25 owner = "awslabs"; 26 26 repo = "aws-crt-cpp"; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-AYO0ckqEx2jG7HduvaxASQMOsxuHGkRkyVsUP5WOs98="; 28 + sha256 = "sha256-H5ms6fhhlkARn9g8S5Ma8bnisZv8mfNizP0QpzsF1tA="; 29 29 }; 30 30 31 31 patches = [
+2 -2
pkgs/development/libraries/aws-sdk-cpp/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "aws-sdk-cpp"; 30 - version = "1.11.207"; 30 + version = "1.11.296"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "aws"; 34 34 repo = "aws-sdk-cpp"; 35 35 rev = version; 36 - sha256 = "sha256-IsPDQJo+TZ2noLefroiWl/Jx8fXmrmY73WHNRO41sik="; 36 + hash = "sha256-yg+OkeUaqwUQGQ5ThIVQUpF2rHm4FuFbcl5gE5WHHOQ="; 37 37 }; 38 38 39 39 postPatch = ''
+2 -2
pkgs/development/libraries/enchant/2.x.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "enchant"; 16 - version = "2.6.7"; 16 + version = "2.6.8"; 17 17 18 18 outputs = [ "out" "dev" ]; 19 19 20 20 src = fetchurl { 21 21 url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz"; 22 - hash = "sha256-ocLltZrMoAC7+ySBCvShFlcz1AfyFUeGWI4HbIzVe/w="; 22 + hash = "sha256-9WWSMGLHfz1YhG8FWNIebQfKSkiMWIEt/e+zUgL6x64="; 23 23 }; 24 24 25 25 strictDeps = true;
+3 -6
pkgs/development/libraries/ffmpeg/default.nix
··· 6 6 callPackage ./generic.nix ( 7 7 { 8 8 inherit (darwin.apple_sdk.frameworks) 9 - Cocoa 10 - CoreServices 11 - CoreAudio 12 - CoreMedia 9 + AppKit 10 + AudioToolbox 13 11 AVFoundation 14 - MediaToolbox 15 - VideoDecodeAcceleration 12 + CoreImage 16 13 VideoToolbox 17 14 ; 18 15 }
+45 -26
pkgs/development/libraries/ffmpeg/generic.nix
··· 35 35 # Feature flags 36 36 , withAlsa ? withHeadlessDeps && stdenv.isLinux # Alsa in/output supporT 37 37 , withAom ? withFullDeps # AV1 reference encoder 38 + , withAppKit ? withHeadlessDeps && stdenv.isDarwin # Apple AppKit framework 38 39 , withAribcaption ? withFullDeps && lib.versionAtLeast version "6.1" # ARIB STD-B24 Caption Decoder/Renderer 39 40 , withAss ? withHeadlessDeps && stdenv.hostPlatform == stdenv.buildPlatform # (Advanced) SubStation Alpha subtitle rendering 41 + , withAudioToolbox ? withHeadlessDeps && stdenv.isDarwin # Apple AudioToolbox 42 + , withAvFoundation ? withHeadlessDeps && stdenv.isDarwin # Apple AVFoundation framework 40 43 , withBluray ? withFullDeps # BluRay reading 41 44 , withBs2b ? withFullDeps # bs2b DSP library 42 45 , withBzlib ? withHeadlessDeps 43 46 , withCaca ? withFullDeps # Textual display (ASCII art) 44 47 , withCelt ? withFullDeps # CELT decoder 45 48 , withChromaprint ? withFullDeps # Audio fingerprinting 46 - , withCuda ? withFullDeps && (with stdenv; (!isDarwin && !hostPlatform.isAarch && !hostPlatform.isRiscV)) 49 + , withCoreImage ? withHeadlessDeps && stdenv.isDarwin # Apple CoreImage framework 50 + , withCuda ? withFullDeps && withNvcodec 47 51 , withCudaLLVM ? withFullDeps 52 + , withCuvid ? withHeadlessDeps && withNvcodec 48 53 , withDav1d ? withHeadlessDeps # AV1 decoder (focused on speed and correctness) 49 54 , withDc1394 ? withFullDeps && !stdenv.isDarwin # IIDC-1394 grabbing (ieee 1394) 50 55 , withDrm ? withHeadlessDeps && (with stdenv; isLinux || isFreeBSD) # libdrm support 51 56 , withFdkAac ? withFullDeps && (!withGPL || withUnfree) # Fraunhofer FDK AAC de/encoder 57 + , withNvcodec ? withHeadlessDeps && (with stdenv; !isDarwin && !isAarch32 && !hostPlatform.isRiscV && hostPlatform == buildPlatform) # dynamically linked Nvidia code 52 58 , withFlite ? withFullDeps # Voice Synthesis 53 59 , withFontconfig ? withHeadlessDeps # Needed for drawtext filter 54 60 , withFreetype ? withHeadlessDeps # Needed for drawtext filter ··· 66 72 , withModplug ? withFullDeps && !stdenv.isDarwin # ModPlug support 67 73 , withMp3lame ? withHeadlessDeps # LAME MP3 encoder 68 74 , withMysofa ? withFullDeps # HRTF support via SOFAlizer 69 - , withNvdec ? withHeadlessDeps && (with stdenv; !isDarwin && hostPlatform == buildPlatform && !isAarch32 && !hostPlatform.isRiscV) 70 - , withNvenc ? withHeadlessDeps && (with stdenv; !isDarwin && hostPlatform == buildPlatform && !isAarch32 && !hostPlatform.isRiscV) 75 + , withNvdec ? withHeadlessDeps && withNvcodec 76 + , withNvenc ? withHeadlessDeps && withNvcodec 71 77 , withOgg ? withHeadlessDeps # Ogg container used by vorbis & theora 72 78 , withOpenal ? withFullDeps # OpenAL 1.1 capture support 73 79 , withOpencl ? withFullDeps 74 80 , withOpencoreAmrnb ? withFullDeps && withVersion3 # AMR-NB de/encoder 75 81 , withOpencoreAmrwb ? withFullDeps && withVersion3 # AMR-WB decoder 76 - , withOpengl ? false # OpenGL rendering 82 + , withOpengl ? withFullDeps && !stdenv.isDarwin # OpenGL rendering 77 83 , withOpenh264 ? withFullDeps # H.264/AVC encoder 78 84 , withOpenjpeg ? withFullDeps # JPEG 2000 de/encoder 79 85 , withOpenmpt ? withFullDeps # Tracked music files decoder ··· 83 89 , withQrencode ? withFullDeps && lib.versionAtLeast version "7" # QR encode generation 84 90 , withQuirc ? withFullDeps && lib.versionAtLeast version "7" # QR decoding 85 91 , withRav1e ? withFullDeps # AV1 encoder (focused on speed and safety) 86 - , withRtmp ? false # RTMP[E] support 92 + , withRtmp ? withFullDeps # RTMP[E] support 87 93 , withSamba ? withFullDeps && !stdenv.isDarwin && withGPLv3 # Samba protocol 88 94 , withSdl2 ? withSmallDeps 89 95 , withShaderc ? withFullDeps && !stdenv.isDarwin && lib.versionAtLeast version "5.0" ··· 93 99 , withSsh ? withHeadlessDeps # SFTP protocol 94 100 , withSvg ? withFullDeps # SVG protocol 95 101 , withSvtav1 ? withHeadlessDeps && !stdenv.isAarch64 && !stdenv.hostPlatform.isMinGW # AV1 encoder/decoder (focused on speed and correctness) 96 - , withTensorflow ? false # Tensorflow dnn backend support 102 + , withTensorflow ? false # Tensorflow dnn backend support (Increases closure size by ~390 MiB) 97 103 , withTheora ? withHeadlessDeps # Theora encoder 98 104 , withV4l2 ? withHeadlessDeps && stdenv.isLinux # Video 4 Linux support 99 105 , withV4l2M2m ? withV4l2 100 106 , withVaapi ? withHeadlessDeps && (with stdenv; isLinux || isFreeBSD) # Vaapi hardware acceleration 101 107 , withVdpau ? withSmallDeps && !stdenv.hostPlatform.isMinGW # Vdpau hardware acceleration 108 + , withVideoToolbox ? withHeadlessDeps && stdenv.isDarwin # Apple VideoToolbox 102 109 , withVidStab ? withFullDeps && withGPL # Video stabilization 103 110 , withVmaf ? withFullDeps && !stdenv.isAarch64 && lib.versionAtLeast version "5" # Netflix's VMAF (Video Multi-Method Assessment Fusion) 104 111 , withVoAmrwbenc ? withFullDeps && withVersion3 # AMR-WB encoder ··· 295 302 /* 296 303 * Darwin frameworks 297 304 */ 305 + , AppKit 306 + , AudioToolbox 298 307 , AVFoundation 299 - , Cocoa 300 - , CoreAudio 301 - , CoreMedia 302 - , CoreServices 303 - , MediaToolbox 304 - , VideoDecodeAcceleration 308 + , CoreImage 305 309 , VideoToolbox 306 310 /* 307 311 * Testing ··· 361 365 assert buildAvformat -> buildAvcodec && buildAvutil; # configure flag since 0.6 362 366 assert buildPostproc -> buildAvutil; 363 367 assert buildSwscale -> buildAvutil; 368 + 369 + /* 370 + * External Library dependencies 371 + */ 372 + assert (withCuda || withCuvid || withNvdec || withNvenc) -> withNvcodec; 364 373 365 374 stdenv.mkDerivation (finalAttrs: { 366 375 pname = "ffmpeg" + (optionalString (ffmpegVariant != "small") "-${ffmpegVariant}"); ··· 507 516 */ 508 517 (enableFeature withAlsa "alsa") 509 518 (enableFeature withAom "libaom") 519 + (enableFeature withAppKit "appkit") 510 520 ] ++ optionals (versionAtLeast version "6.1") [ 511 521 (enableFeature withAribcaption "libaribcaption") 512 522 ] ++ [ 513 523 (enableFeature withAss "libass") 524 + (enableFeature withAudioToolbox "audiotoolbox") 525 + (enableFeature withAvFoundation "avfoundation") 514 526 (enableFeature withBluray "libbluray") 515 527 (enableFeature withBs2b "libbs2b") 516 528 (enableFeature withBzlib "bzlib") 517 529 (enableFeature withCaca "libcaca") 518 530 (enableFeature withCelt "libcelt") 519 531 (enableFeature withChromaprint "chromaprint") 532 + (enableFeature withCoreImage "coreimage") 520 533 (enableFeature withCuda "cuda") 521 534 (enableFeature withCudaLLVM "cuda-llvm") 535 + (enableFeature withCuvid "cuvid") 522 536 (enableFeature withDav1d "libdav1d") 523 537 (enableFeature withDc1394 "libdc1394") 524 538 (enableFeature withDrm "libdrm") 525 539 (enableFeature withFdkAac "libfdk-aac") 540 + (enableFeature withNvcodec "ffnvcodec") 526 541 (enableFeature withFlite "libflite") 527 542 (enableFeature withFontconfig "fontconfig") 528 543 (enableFeature withFontconfig "libfontconfig") ··· 543 558 (enableFeature withModplug "libmodplug") 544 559 (enableFeature withMp3lame "libmp3lame") 545 560 (enableFeature withMysofa "libmysofa") 546 - (enableFeature withNvdec "cuvid") 547 561 (enableFeature withNvdec "nvdec") 548 562 (enableFeature withNvenc "nvenc") 549 563 (enableFeature withOpenal "openal") ··· 585 599 ] ++ optionals (versionAtLeast version "6.0") [ 586 600 (enableFeature withVpl "libvpl") 587 601 ] ++ [ 602 + (enableFeature withVideoToolbox "videotoolbox") 588 603 (enableFeature withVidStab "libvidstab") # Actual min. version 2.0 589 604 (enableFeature withVmaf "libvmaf") 590 605 (enableFeature withVoAmrwbenc "libvo-amrwbenc") ··· 643 658 buildInputs = [] 644 659 ++ optionals withAlsa [ alsa-lib ] 645 660 ++ optionals withAom [ libaom ] 661 + ++ optionals withAppKit [ AppKit ] 646 662 ++ optionals withAribcaption [ libaribcaption ] 647 663 ++ optionals withAss [ libass ] 664 + ++ optionals withAudioToolbox [ AudioToolbox ] 665 + ++ optionals withAvFoundation [ AVFoundation ] 648 666 ++ optionals withBluray [ libbluray ] 649 667 ++ optionals withBs2b [ libbs2b ] 650 668 ++ optionals withBzlib [ bzip2 ] 651 669 ++ optionals withCaca [ libcaca ] 652 670 ++ optionals withCelt [ celt ] 653 671 ++ optionals withChromaprint [ chromaprint ] 672 + ++ optionals withCoreImage [ CoreImage ] 654 673 ++ optionals withDav1d [ dav1d ] 655 674 ++ optionals withDc1394 [ libdc1394 libraw1394 ] 656 675 ++ optionals withDrm [ libdrm ] 657 676 ++ optionals withFdkAac [ fdk_aac ] 677 + ++ optionals withNvcodec [ (if (lib.versionAtLeast version "6") then nv-codec-headers-12 else nv-codec-headers) ] 658 678 ++ optionals withFlite [ flite ] 659 679 ++ optionals withFontconfig [ fontconfig ] 660 680 ++ optionals withFreetype [ freetype ] ··· 672 692 ++ optionals withModplug [ libmodplug ] 673 693 ++ optionals withMp3lame [ lame ] 674 694 ++ optionals withMysofa [ libmysofa ] 675 - ++ optionals (withNvdec || withNvenc) [ (if (lib.versionAtLeast version "6") then nv-codec-headers-12 else nv-codec-headers) ] 676 695 ++ optionals withOgg [ libogg ] 677 696 ++ optionals withOpenal [ openal ] 678 697 ++ optionals withOpencl [ ocl-icd opencl-headers ] ··· 702 721 ++ optionals withV4l2 [ libv4l ] 703 722 ++ optionals withVaapi [ (if withSmallDeps then libva else libva-minimal) ] 704 723 ++ optionals withVdpau [ libvdpau ] 724 + ++ optionals withVideoToolbox [ VideoToolbox ] 705 725 ++ optionals withVidStab [ vid-stab ] 706 726 ++ optionals withVmaf [ libvmaf ] 707 727 ++ optionals withVoAmrwbenc [ vo-amrwbenc ] ··· 722 742 ++ optionals withZimg [ zimg ] 723 743 ++ optionals withZlib [ zlib ] 724 744 ++ optionals withZmq [ zeromq4 ] 725 - ++ optionals stdenv.isDarwin [ 726 - # TODO fine-grained flags 727 - AVFoundation 728 - Cocoa 729 - CoreAudio 730 - CoreMedia 731 - CoreServices 732 - MediaToolbox 733 - VideoDecodeAcceleration 734 - VideoToolbox 735 - ]; 745 + ; 736 746 737 747 buildFlags = [ "all" ] 738 748 ++ optional buildQtFaststart "tools/qt-faststart"; # Build qt-faststart executable ··· 800 810 ++ optional withGPLv3 gpl3Plus 801 811 ++ optional withUnfree unfreeRedistributable 802 812 ++ optional (withGPL && withUnfree) unfree; 803 - pkgConfigModules = [ "libavutil" ]; 813 + pkgConfigModules = [ ] 814 + ++ optional buildAvcodec "libavcodec" 815 + ++ optional buildAvdevice "libavdevice" 816 + ++ optional buildAvfilter "libavfilter" 817 + ++ optional buildAvformat "libavformat" 818 + ++ optional buildAvresample "libavresample" 819 + ++ optional buildAvutil "libavutil" 820 + ++ optional buildPostproc "libpostproc" 821 + ++ optional buildSwresample "libswresample" 822 + ++ optional buildSwscale "libswscale"; 804 823 platforms = platforms.all; 805 824 # See https://github.com/NixOS/nixpkgs/pull/295344#issuecomment-1992263658 806 825 broken = stdenv.hostPlatform.isMinGW && stdenv.hostPlatform.is64bit;
+1
pkgs/development/libraries/gstreamer/core/default.nix
··· 67 67 ] ++ lib.optionals stdenv.isLinux [ 68 68 libcap 69 69 libunwind 70 + ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ 70 71 elfutils 71 72 ] ++ lib.optionals stdenv.isDarwin [ 72 73 Cocoa
+2 -2
pkgs/development/libraries/harfbuzz/default.nix
··· 33 33 34 34 stdenv.mkDerivation (finalAttrs: { 35 35 pname = "harfbuzz${lib.optionalString withIcu "-icu"}"; 36 - version = "8.3.0"; 36 + version = "8.4.0"; 37 37 38 38 src = fetchurl { 39 39 url = "https://github.com/harfbuzz/harfbuzz/releases/download/${finalAttrs.version}/harfbuzz-${finalAttrs.version}.tar.xz"; 40 - hash = "sha256-EJUB6uuL3j6tsl+rQWTpk/us4pw9d1vKocHlji8V+Ec="; 40 + hash = "sha256-r06nPiWrdIyMBjt4wviOSIM9ubKsNp4pvRFXAueJdV4="; 41 41 }; 42 42 43 43 postPatch = ''
+2 -2
pkgs/development/libraries/libaom/default.nix
··· 8 8 in 9 9 stdenv.mkDerivation rec { 10 10 pname = "libaom"; 11 - version = "3.8.1"; 11 + version = "3.8.2"; 12 12 13 13 src = fetchzip { 14 14 url = "https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz"; 15 - hash = "sha256-qng9fEbm71HqPnPzfgqswSium9egIgpB6ZLesOQVg6c="; 15 + hash = "sha256-x152jIe7QxeprFEFJnXBfou8yHuW0oHImLIVkSxByWw="; 16 16 stripRoot = false; 17 17 }; 18 18
+5
pkgs/development/libraries/libarchive/default.nix
··· 44 44 url = "https://github.com/libarchive/libarchive/commit/3bd918d92f8c34ba12de9c6604d96f9e262a59fc.patch"; 45 45 hash = "sha256-RM3xFM6S2DkM5DJ0kAba8eLzEXuY5/7AaU06maHJ6rM="; 46 46 }) 47 + (fetchpatch { 48 + name = "fix-suspicious-commit-from-known-bad-actor.patch"; 49 + url = "https://github.com/libarchive/libarchive/commit/6110e9c82d8ba830c3440f36b990483ceaaea52c.patch"; 50 + hash = "sha256-/j6rJ0xWhtXU0YCu1LOokxxNppy5Of6Q0XyO4U6la7M="; 51 + }) 47 52 ]; 48 53 49 54 outputs = [ "out" "lib" "dev" ];
+2 -2
pkgs/development/libraries/libdeflate/default.nix
··· 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "libdeflate"; 12 - version = "1.19"; 12 + version = "1.20"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "ebiggers"; 16 16 repo = "libdeflate"; 17 17 rev = "v${finalAttrs.version}"; 18 - sha256 = "sha256-HgZ2an1PCPhiLsd3ZA7tgZ1wVTOdHzDr8FHrqJhEbQw="; 18 + sha256 = "sha256-kHLdu/Pb94+arj98Jjp57FpvWbAXW49s9cxCA1cf898="; 19 19 }; 20 20 21 21 cmakeFlags = lib.optionals stdenv.hostPlatform.isStatic [ "-DLIBDEFLATE_BUILD_SHARED_LIB=OFF" ];
+2 -2
pkgs/development/libraries/libical/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "libical"; 24 - version = "3.0.17"; 24 + version = "3.0.18"; 25 25 26 26 outputs = [ "out" "dev" ]; # "devdoc" ]; 27 27 ··· 29 29 owner = "libical"; 30 30 repo = "libical"; 31 31 rev = "v${version}"; 32 - sha256 = "sha256-GqPCjI40kkqNv9zTnLdJgZVBxS4eZRHl+k/BN9vGnDo="; 32 + sha256 = "sha256-32FNnCybXO67Vtg1LM6miJUaK+r0mlfjxgLQg1LD8Es="; 33 33 }; 34 34 35 35 strictDeps = true;
+6 -6
pkgs/development/libraries/libiconv/default.nix
··· 37 37 + lib.optionalString enableDarwinABICompat '' 38 38 for iconv_h_in in iconv.h.in iconv.h.build.in; do 39 39 substituteInPlace "include/$iconv_h_in" \ 40 - --replace "#define iconv libiconv" "" \ 41 - --replace "#define iconv_close libiconv_close" "" \ 42 - --replace "#define iconv_open libiconv_open" "" \ 43 - --replace "#define iconv_open_into libiconv_open_into" "" \ 44 - --replace "#define iconvctl libiconvctl" "" \ 45 - --replace "#define iconvlist libiconvlist" "" 40 + --replace-fail "#define iconv libiconv" "" \ 41 + --replace-fail "#define iconv_close libiconv_close" "" \ 42 + --replace-fail "#define iconv_open libiconv_open" "" \ 43 + --replace-fail "#define iconv_open_into libiconv_open_into" "" \ 44 + --replace-fail "#define iconvctl libiconvctl" "" \ 45 + --replace-fail "#define iconvlist libiconvlist" "" 46 46 done 47 47 ''; 48 48
+2 -2
pkgs/development/libraries/libimobiledevice-glue/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "libimobiledevice-glue"; 11 - version = "1.0.0"; 11 + version = "1.2.0"; 12 12 13 13 outputs = [ "out" "dev" ]; 14 14 ··· 16 16 owner = "libimobiledevice"; 17 17 repo = pname; 18 18 rev = version; 19 - hash = "sha256-9TjIYz6w61JaJgOJtWteIDk9bO3NnXp/2ZJwdirFcYM="; 19 + hash = "sha256-Rfs1i1Tt8uf3WfR+cDlF4L75nFHg9VypjMhHt0TgkyQ="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+26 -2
pkgs/development/libraries/libjxl/default.nix
··· 8 8 , libjpeg 9 9 , libpng 10 10 , libwebp 11 + , gdk-pixbuf 11 12 , openexr_3 12 13 , pkg-config 14 + , makeWrapper 13 15 , zlib 14 16 , asciidoc 15 17 , graphviz 16 18 , doxygen 17 19 , python3 20 + , lcms2 18 21 }: 22 + 23 + let 24 + loadersPath = "${gdk-pixbuf.binaryDir}/jxl-loaders.cache"; 25 + in 19 26 20 27 stdenv.mkDerivation rec { 21 28 pname = "libjxl"; ··· 37 44 nativeBuildInputs = [ 38 45 cmake 39 46 pkg-config 47 + gdk-pixbuf 48 + makeWrapper 40 49 asciidoc 41 50 doxygen 42 51 python3 ··· 63 72 # conclusively in its README or otherwise; they can best be determined 64 73 # by checking the CMake output for "Could NOT find". 65 74 buildInputs = [ 75 + lcms2 66 76 giflib 67 77 gperftools # provides `libtcmalloc` 68 78 gtest 69 79 libjpeg 70 80 libpng 71 81 libwebp 82 + gdk-pixbuf 72 83 openexr_3 73 84 zlib 74 85 ]; ··· 96 107 # Viewer tools for evaluation. 97 108 # "-DJPEGXL_ENABLE_VIEWERS=ON" 98 109 99 - # TODO: Update this package to enable this (overridably via an option): 100 110 # Enable plugins, such as: 101 111 # * the `gdk-pixbuf` one, which allows applications like `eog` to load jpeg-xl files 102 112 # * the `gimp` one, which allows GIMP to load jpeg-xl files 103 - # "-DJPEGXL_ENABLE_PLUGINS=ON" 113 + "-DJPEGXL_ENABLE_PLUGINS=ON" 104 114 ] ++ lib.optionals stdenv.hostPlatform.isStatic [ 105 115 "-DJPEGXL_STATIC=ON" 106 116 ] ++ lib.optionals stdenv.hostPlatform.isAarch32 [ 107 117 "-DJPEGXL_FORCE_NEON=ON" 108 118 ]; 119 + 120 + postPatch = '' 121 + substituteInPlace plugins/gdk-pixbuf/jxl.thumbnailer \ 122 + --replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl" 123 + ''; 124 + 125 + postInstall = '' 126 + GDK_PIXBUF_MODULEDIR="$out/${gdk-pixbuf.moduleDir}" \ 127 + GDK_PIXBUF_MODULE_FILE="$out/${loadersPath}" \ 128 + gdk-pixbuf-query-loaders --update-cache 129 + mkdir -p "$out/bin" 130 + makeWrapper ${gdk-pixbuf}/bin/gdk-pixbuf-thumbnailer "$out/libexec/gdk-pixbuf-thumbnailer-jxl" \ 131 + --set GDK_PIXBUF_MODULE_FILE "$out/${loadersPath}" 132 + ''; 109 133 110 134 CXXFLAGS = lib.optionalString stdenv.hostPlatform.isAarch32 "-mfp16-format=ieee"; 111 135
+2 -2
pkgs/development/libraries/liblc3/default.nix
··· 7 7 8 8 let 9 9 name = "liblc3"; 10 - version = "1.0.4"; 10 + version = "1.1.0"; 11 11 in 12 12 stdenv.mkDerivation { 13 13 pname = name; ··· 17 17 owner = "google"; 18 18 repo = "liblc3"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-nQJgF/cWoCx5TkX4xOaLB9SzvhVXPY29bLh7UwPMWEE="; 20 + sha256 = "sha256-pKd9wOrDjKhWX8vTsg6qkE71FQlsC7VM/uq0ss1vsAQ="; 21 21 }; 22 22 23 23 outputs = [ "out" "dev" ];
+2 -2
pkgs/development/libraries/libplist/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "libplist"; 13 - version = "2.3.0"; 13 + version = "2.4.0"; 14 14 15 15 outputs = [ "bin" "dev" "out" ] ++ lib.optional enablePython "py"; 16 16 ··· 18 18 owner = "libimobiledevice"; 19 19 repo = pname; 20 20 rev = version; 21 - hash = "sha256-fZfDSWVRg73dN+WF6LbgRSj8vtyeKeyjC8pWXFxUmBg="; 21 + hash = "sha256-bH40HSp76w56tlxO5M1INAW4wRR7O27AY4H/CyEcp+Y="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+88 -49
pkgs/development/libraries/libproxy/default.nix
··· 1 1 { lib 2 - , stdenv 2 + , _experimental-update-script-combinators 3 + , curl 4 + , darwin 5 + , duktape 3 6 , fetchFromGitHub 4 7 , fetchpatch 8 + , gi-docgen 9 + , gitUpdater 10 + , glib 11 + , gobject-introspection 12 + , gsettings-desktop-schemas 13 + , makeHardcodeGsettingsPatch 14 + , meson 15 + , ninja 5 16 , pkg-config 6 - , cmake 7 - , zlib 8 - , dbus 9 - , networkmanager 10 - , enableJavaScript ? stdenv.isDarwin || lib.meta.availableOn stdenv.hostPlatform duktape 11 - , duktape 12 - , pcre 13 - , gsettings-desktop-schemas 14 - , glib 15 - , makeWrapper 16 - , python3 17 - , SystemConfiguration 18 - , CoreFoundation 19 - , JavaScriptCore 17 + , stdenv 18 + , substituteAll 19 + , vala 20 20 }: 21 21 22 - stdenv.mkDerivation rec { 22 + stdenv.mkDerivation (finalAttrs: { 23 23 pname = "libproxy"; 24 - version = "0.4.18"; 24 + version = "0.5.3"; 25 + 26 + outputs = [ "out" "dev" "devdoc" ]; 25 27 26 28 src = fetchFromGitHub { 27 29 owner = "libproxy"; 28 30 repo = "libproxy"; 29 - rev = version; 30 - hash = "sha256-pqj1LwRdOK2CUu3hYIsogQIXxWzShDuKEbDTbtWkgnQ="; 31 + rev = finalAttrs.version; 32 + hash = "sha256-qdYB6HJkgboS8kkTvTqLy6Z3JYY5SOJsRl6nZM0iuvw="; 31 33 }; 32 34 33 - patches = lib.optionals stdenv.isDarwin [ 34 - # https://github.com/libproxy/libproxy/pull/189 35 + patches = [ 36 + # Minor refactoring. Allows the following patches to apply without rebasing. 35 37 (fetchpatch { 36 - url = "https://github.com/libproxy/libproxy/commit/4331b9db427ce2c25ff5eeb597bec4bc35ed1a0b.patch"; 37 - sha256 = "sha256-uTh3rYVvEke1iWVHsT3Zj2H1F+gyLrffcmyt0JEKaCA="; 38 + url = "https://github.com/libproxy/libproxy/commit/397f4dc72607cc1bb3b584ffd3de49f8ba80491a.patch"; 39 + hash = "sha256-iUMBMpcVOLG+NxEj8Nd7JtKZFmoGXn0t6A2r2ayiteg="; 40 + includes = [ 41 + "src/backend/plugins/config-gnome/config-gnome.c" 42 + ]; 38 43 }) 39 - ]; 40 44 41 - outputs = [ "out" "dev" "py3" ]; 45 + # Disable schema presence detection, it would fail because it cannot be autopatched, 46 + # and it will be hardcoded by the next patch anyway. 47 + ./skip-gsettings-detection.patch 48 + 49 + # Hardcode path to Settings schemas for GNOME & related desktops. 50 + # Otherwise every app using libproxy would need to be wrapped individually. 51 + (substituteAll { 52 + src = ./hardcode-gsettings.patch; 53 + gds = glib.getSchemaPath gsettings-desktop-schemas; 54 + }) 55 + ]; 42 56 43 57 nativeBuildInputs = [ 58 + gi-docgen 59 + gobject-introspection 60 + meson 61 + ninja 44 62 pkg-config 45 - cmake 46 - makeWrapper 63 + vala 47 64 ]; 48 65 49 66 buildInputs = [ 50 - pcre 51 - python3 52 - zlib 53 - ] ++ lib.optionals enableJavaScript [ 54 - (if stdenv.hostPlatform.isDarwin then JavaScriptCore else duktape) 55 - ] ++ (if stdenv.hostPlatform.isDarwin then [ 67 + curl 68 + duktape 69 + ] ++ (if stdenv.hostPlatform.isDarwin then (with darwin.apple_sdk.frameworks; [ 70 + CoreFoundation 56 71 SystemConfiguration 57 - CoreFoundation 58 - ] else [ 72 + ]) else [ 59 73 glib 60 - dbus 61 - networkmanager 74 + gsettings-desktop-schemas 62 75 ]); 63 76 64 - cmakeFlags = [ 65 - "-DWITH_PYTHON2=OFF" 66 - "-DPYTHON3_SITEPKG_DIR=${placeholder "py3"}/${python3.sitePackages}" 67 - ] ++ lib.optional (enableJavaScript && !stdenv.hostPlatform.isDarwin) "-DWITH_MOZJS=ON"; 77 + doCheck = true; 68 78 69 - postFixup = lib.optionalString stdenv.isLinux '' 70 - # config_gnome3 uses the helper to find GNOME proxy settings 71 - wrapProgram $out/libexec/pxgsettings --prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" 79 + postPatch = '' 80 + # Fix running script that will try to install git hooks. 81 + # Though it will not do anything since we do not keep .git/ directory. 82 + # https://github.com/libproxy/libproxy/issues/262 83 + chmod +x data/install-git-hook.sh 84 + patchShebangs data/install-git-hook.sh 72 85 ''; 73 86 74 - doCheck = false; # fails 1 out of 10 tests 87 + postFixup = '' 88 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 89 + moveToOutput "share/doc" "$devdoc" 90 + ''; 91 + 92 + passthru = { 93 + hardcodeGsettingsPatch = makeHardcodeGsettingsPatch { 94 + schemaIdToVariableMapping = { 95 + "org.gnome.system.proxy" = "gds"; 96 + "org.gnome.system.proxy.http" = "gds"; 97 + "org.gnome.system.proxy.https" = "gds"; 98 + "org.gnome.system.proxy.ftp" = "gds"; 99 + "org.gnome.system.proxy.socks" = "gds"; 100 + }; 101 + inherit (finalAttrs) src; 102 + }; 103 + 104 + updateScript = 105 + let 106 + updateSource = gitUpdater { }; 107 + updatePatch = _experimental-update-script-combinators.copyAttrOutputToFile "libproxy.hardcodeGsettingsPatch" ./hardcode-gsettings.patch; 108 + in 109 + _experimental-update-script-combinators.sequence [ 110 + updateSource 111 + updatePatch 112 + ]; 113 + }; 75 114 76 115 meta = with lib; { 77 - platforms = platforms.linux ++ platforms.darwin; 78 - license = licenses.lgpl21; 79 - homepage = "https://libproxy.github.io/libproxy/"; 80 116 description = "A library that provides automatic proxy configuration management"; 117 + homepage = "https://libproxy.github.io/libproxy/"; 118 + license = licenses.lgpl21Plus; 119 + platforms = platforms.linux ++ platforms.darwin; 81 120 mainProgram = "proxy"; 82 121 }; 83 - } 122 + })
+140
pkgs/development/libraries/libproxy/hardcode-gsettings.patch
··· 1 + diff --git a/src/backend/plugins/config-gnome/config-gnome.c b/src/backend/plugins/config-gnome/config-gnome.c 2 + index 820827b..338e269 100644 3 + --- a/src/backend/plugins/config-gnome/config-gnome.c 4 + +++ b/src/backend/plugins/config-gnome/config-gnome.c 5 + @@ -85,11 +85,60 @@ px_config_gnome_init (PxConfigGnome *self) 6 + if (!self->available) 7 + return; 8 + 9 + - self->proxy_settings = g_settings_new ("org.gnome.system.proxy"); 10 + - self->http_proxy_settings = g_settings_new ("org.gnome.system.proxy.http"); 11 + - self->https_proxy_settings = g_settings_new ("org.gnome.system.proxy.https"); 12 + - self->ftp_proxy_settings = g_settings_new ("org.gnome.system.proxy.ftp"); 13 + - self->socks_proxy_settings = g_settings_new ("org.gnome.system.proxy.socks"); 14 + + { 15 + + g_autoptr(GSettingsSchemaSource) schema_source; 16 + + g_autoptr(GSettingsSchema) schema; 17 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 18 + + g_settings_schema_source_get_default(), 19 + + TRUE, NULL); 20 + + schema = g_settings_schema_source_lookup(schema_source, 21 + + "org.gnome.system.proxy", FALSE); 22 + + self->proxy_settings = g_settings_new_full(schema, NULL, NULL); 23 + + } 24 + + { 25 + + g_autoptr(GSettingsSchemaSource) schema_source; 26 + + g_autoptr(GSettingsSchema) schema; 27 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 28 + + g_settings_schema_source_get_default(), 29 + + TRUE, NULL); 30 + + schema = g_settings_schema_source_lookup(schema_source, 31 + + "org.gnome.system.proxy.http", 32 + + FALSE); 33 + + self->http_proxy_settings = g_settings_new_full(schema, NULL, NULL); 34 + + } 35 + + { 36 + + g_autoptr(GSettingsSchemaSource) schema_source; 37 + + g_autoptr(GSettingsSchema) schema; 38 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 39 + + g_settings_schema_source_get_default(), 40 + + TRUE, NULL); 41 + + schema = g_settings_schema_source_lookup(schema_source, 42 + + "org.gnome.system.proxy.https", 43 + + FALSE); 44 + + self->https_proxy_settings = g_settings_new_full(schema, NULL, NULL); 45 + + } 46 + + { 47 + + g_autoptr(GSettingsSchemaSource) schema_source; 48 + + g_autoptr(GSettingsSchema) schema; 49 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 50 + + g_settings_schema_source_get_default(), 51 + + TRUE, NULL); 52 + + schema = g_settings_schema_source_lookup(schema_source, 53 + + "org.gnome.system.proxy.ftp", 54 + + FALSE); 55 + + self->ftp_proxy_settings = g_settings_new_full(schema, NULL, NULL); 56 + + } 57 + + { 58 + + g_autoptr(GSettingsSchemaSource) schema_source; 59 + + g_autoptr(GSettingsSchema) schema; 60 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 61 + + g_settings_schema_source_get_default(), 62 + + TRUE, NULL); 63 + + schema = g_settings_schema_source_lookup(schema_source, 64 + + "org.gnome.system.proxy.socks", 65 + + FALSE); 66 + + self->socks_proxy_settings = g_settings_new_full(schema, NULL, NULL); 67 + + } 68 + } 69 + 70 + static void 71 + diff --git a/tests/config-gnome-test.c b/tests/config-gnome-test.c 72 + index f80914a..118d429 100644 73 + --- a/tests/config-gnome-test.c 74 + +++ b/tests/config-gnome-test.c 75 + @@ -60,11 +60,60 @@ static void 76 + fixture_setup (Fixture *self, 77 + gconstpointer data) 78 + { 79 + - self->proxy_settings = g_settings_new ("org.gnome.system.proxy"); 80 + - self->http_proxy_settings = g_settings_new ("org.gnome.system.proxy.http"); 81 + - self->https_proxy_settings = g_settings_new ("org.gnome.system.proxy.https"); 82 + - self->ftp_proxy_settings = g_settings_new ("org.gnome.system.proxy.ftp"); 83 + - self->socks_proxy_settings = g_settings_new ("org.gnome.system.proxy.socks"); 84 + + { 85 + + g_autoptr(GSettingsSchemaSource) schema_source; 86 + + g_autoptr(GSettingsSchema) schema; 87 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 88 + + g_settings_schema_source_get_default(), 89 + + TRUE, NULL); 90 + + schema = g_settings_schema_source_lookup(schema_source, 91 + + "org.gnome.system.proxy", FALSE); 92 + + self->proxy_settings = g_settings_new_full(schema, NULL, NULL); 93 + + } 94 + + { 95 + + g_autoptr(GSettingsSchemaSource) schema_source; 96 + + g_autoptr(GSettingsSchema) schema; 97 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 98 + + g_settings_schema_source_get_default(), 99 + + TRUE, NULL); 100 + + schema = g_settings_schema_source_lookup(schema_source, 101 + + "org.gnome.system.proxy.http", 102 + + FALSE); 103 + + self->http_proxy_settings = g_settings_new_full(schema, NULL, NULL); 104 + + } 105 + + { 106 + + g_autoptr(GSettingsSchemaSource) schema_source; 107 + + g_autoptr(GSettingsSchema) schema; 108 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 109 + + g_settings_schema_source_get_default(), 110 + + TRUE, NULL); 111 + + schema = g_settings_schema_source_lookup(schema_source, 112 + + "org.gnome.system.proxy.https", 113 + + FALSE); 114 + + self->https_proxy_settings = g_settings_new_full(schema, NULL, NULL); 115 + + } 116 + + { 117 + + g_autoptr(GSettingsSchemaSource) schema_source; 118 + + g_autoptr(GSettingsSchema) schema; 119 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 120 + + g_settings_schema_source_get_default(), 121 + + TRUE, NULL); 122 + + schema = g_settings_schema_source_lookup(schema_source, 123 + + "org.gnome.system.proxy.ftp", 124 + + FALSE); 125 + + self->ftp_proxy_settings = g_settings_new_full(schema, NULL, NULL); 126 + + } 127 + + { 128 + + g_autoptr(GSettingsSchemaSource) schema_source; 129 + + g_autoptr(GSettingsSchema) schema; 130 + + schema_source = g_settings_schema_source_new_from_directory("@gds@", 131 + + g_settings_schema_source_get_default(), 132 + + TRUE, NULL); 133 + + schema = g_settings_schema_source_lookup(schema_source, 134 + + "org.gnome.system.proxy.socks", 135 + + FALSE); 136 + + self->socks_proxy_settings = g_settings_new_full(schema, NULL, NULL); 137 + + } 138 + } 139 + 140 + static void
+29
pkgs/development/libraries/libproxy/skip-gsettings-detection.patch
··· 1 + diff --git a/src/backend/plugins/config-gnome/config-gnome.c b/src/backend/plugins/config-gnome/config-gnome.c 2 + index 52e812e..a1edcab 100644 3 + --- a/src/backend/plugins/config-gnome/config-gnome.c 4 + +++ b/src/backend/plugins/config-gnome/config-gnome.c 5 + @@ -57,7 +57,6 @@ enum { 6 + static void 7 + px_config_gnome_init (PxConfigGnome *self) 8 + { 9 + - GSettingsSchemaSource *source; 10 + g_autoptr (GSettingsSchema) proxy_schema = NULL; 11 + const char *desktops; 12 + 13 + @@ -71,15 +70,7 @@ px_config_gnome_init (PxConfigGnome *self) 14 + if (strstr (desktops, "GNOME") == NULL) 15 + return; 16 + 17 + - source = g_settings_schema_source_get_default (); 18 + - if (!source) { 19 + - g_warning ("GNOME desktop detected but no schemes installed, aborting."); 20 + - return; 21 + - } 22 + - 23 + - proxy_schema = g_settings_schema_source_lookup (source, "org.gnome.system.proxy", TRUE); 24 + - 25 + - self->available = proxy_schema != NULL; 26 + + self->available = TRUE; 27 + if (!self->available) 28 + return; 29 +
+3 -3
pkgs/development/libraries/librsvg/default.nix
··· 42 42 43 43 stdenv.mkDerivation (finalAttrs: { 44 44 pname = "librsvg"; 45 - version = "2.57.92"; 45 + version = "2.58.0"; 46 46 47 47 outputs = [ "out" "dev" ] ++ lib.optionals withIntrospection [ 48 48 "devdoc" ··· 50 50 51 51 src = fetchurl { 52 52 url = "mirror://gnome/sources/librsvg/${lib.versions.majorMinor finalAttrs.version}/librsvg-${finalAttrs.version}.tar.xz"; 53 - hash = "sha256-Kiwwvqvzz91ApKbb7T+zPmd8ruXY8wR4gkm3Mee+OFI="; 53 + hash = "sha256-18REqSZAa1l5C+DerhluGO0mBZ2lc/oaqeycp2WKVZw="; 54 54 }; 55 55 56 56 cargoDeps = rustPlatform.fetchCargoTarball { 57 57 inherit (finalAttrs) src; 58 58 name = "librsvg-deps-${finalAttrs.version}"; 59 - hash = "sha256-yJf3V2dPwI+RcDH6Lh/AhUgaisdbTnzdAFt+SeNw9NY="; 59 + hash = "sha256-ta+3KkDtqTLGoKknUn89c+3XHzvcZyPFPFpgLH5f5uw="; 60 60 # TODO: move this to fetchCargoTarball 61 61 dontConfigure = true; 62 62 };
+5 -8
pkgs/development/libraries/libsamplerate/default.nix
··· 5 5 6 6 in stdenv.mkDerivation rec { 7 7 pname = "libsamplerate"; 8 - version = "0.1.9"; 8 + version = "0.2.2"; 9 9 10 10 src = fetchurl { 11 - url = "http://www.mega-nerd.com/SRC/${pname}-${version}.tar.gz"; 12 - sha256 = "1ha46i0nbibq0pl0pjwcqiyny4hj8lp1bnl4dpxm64zjw9lb2zha"; 11 + url = "https://github.com/libsndfile/libsamplerate/releases/download/${version}/libsamplerate-${version}.tar.xz"; 12 + hash = "sha256-MljaKAUR0ktJ1rCGFbvoJNDKzJhCsOTK8RxSzysEOJM="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config ]; ··· 18 18 19 19 configureFlags = [ "--disable-fftw" ]; 20 20 21 - outputs = [ "bin" "dev" "out" ]; 21 + outputs = [ "dev" "out" ]; 22 22 23 23 postConfigure = optionalString stdenv.isDarwin '' 24 24 # need headers from the Carbon.framework in /System/Library/Frameworks to 25 25 # compile this on darwin -- not sure how to handle 26 26 NIX_CFLAGS_COMPILE+=" -I${Carbon}/Library/Frameworks/Carbon.framework/Headers" 27 - 28 - substituteInPlace examples/Makefile --replace "-fpascal-strings" "" 29 27 ''; 30 28 31 29 meta = with lib; { 32 30 description = "Sample Rate Converter for audio"; 33 - mainProgram = "sndfile-resample"; 34 - homepage = "http://www.mega-nerd.com/SRC/index.html"; 31 + homepage = "https://libsndfile.github.io/libsamplerate/"; 35 32 license = licenses.bsd2; 36 33 maintainers = with maintainers; [ lovek323 ]; 37 34 platforms = platforms.all;
-13
pkgs/development/libraries/mesa/backport-radeon-crash-fix.patch
··· 1 - diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c 2 - index 2e1d9c488e2..7979cad75fa 100644 3 - --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c 4 - +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c 5 - @@ -729,7 +729,7 @@ bool radeon_bo_can_reclaim_slab(void *priv, struct pb_slab_entry *entry) 6 - { 7 - struct radeon_bo *bo = container_of(entry, struct radeon_bo, u.slab.entry); 8 - 9 - - return radeon_bo_can_reclaim(NULL, &bo->base); 10 - + return radeon_bo_can_reclaim(priv, &bo->base); 11 - } 12 - 13 - static void radeon_bo_slab_destroy(void *winsys, struct pb_buffer_lean *_buf)
+4 -8
pkgs/development/libraries/mesa/default.nix
··· 81 81 # nix build .#mesa .#pkgsi686Linux.mesa .#pkgsCross.aarch64-multiplatform.mesa .#pkgsMusl.mesa 82 82 83 83 let 84 - version = "24.0.3"; 85 - hash = "sha256-d67JoqN7fTWW6hZAs8xT0LXZs7Uqvtid4H43F+kb/b4="; 84 + version = "24.0.4"; 85 + hash = "sha256-kP69MKCYy82X/2Lsw9z1yT129/oxTelEz86BlRunRfA="; 86 86 87 87 # Release calendar: https://www.mesa3d.org/release-calendar.html 88 88 # Release frequency: https://www.mesa3d.org/releasing.html#schedule ··· 141 141 142 142 patches = [ 143 143 ./opencl.patch 144 - 145 - # Backport crash fix for Radeon (legacy) kernel driver 146 - # see https://gitlab.freedesktop.org/mesa/mesa/-/issues/10613 147 - # FIXME: remove when merged upstream 148 - ./backport-radeon-crash-fix.patch 149 144 ]; 150 145 151 146 postPatch = '' ··· 254 249 ] ++ [ 255 250 python3Packages.python # for shebang 256 251 ] ++ lib.optionals haveWayland [ wayland wayland-protocols ] 257 - ++ lib.optionals stdenv.isLinux [ elfutils libomxil-bellagio libva-minimal udev lm_sensors ] 252 + ++ lib.optionals stdenv.isLinux [ libomxil-bellagio libva-minimal udev lm_sensors ] 253 + ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ elfutils ] 258 254 ++ lib.optionals enableOpenCL [ llvmPackages.libclc llvmPackages.clang llvmPackages.clang-unwrapped spirv-llvm-translator ] 259 255 ++ lib.optional withValgrind valgrind-light 260 256 ++ lib.optional haveZink vulkan-loader
+13 -3
pkgs/development/libraries/mtdev/default.nix
··· 1 - { lib, stdenv, fetchurl, evdev-proto }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , evdev-proto 5 + , gitUpdater 6 + }: 2 7 3 8 stdenv.mkDerivation rec { 4 9 pname = "mtdev"; 5 - version = "1.1.6"; 10 + version = "1.1.7"; 6 11 7 12 src = fetchurl { 8 13 url = "https://bitmath.org/code/mtdev/${pname}-${version}.tar.bz2"; 9 - sha256 = "1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm"; 14 + hash = "sha256-oQetrSEB/srFSsf58OCg3RVdlUGT2lXCNAyX8v8dgU4="; 10 15 }; 11 16 12 17 buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD evdev-proto; 18 + 19 + passthru.updateScript = gitUpdater { 20 + url = "https://bitmath.org/git/mtdev.git"; 21 + rev-prefix = "v"; 22 + }; 13 23 14 24 meta = with lib; { 15 25 homepage = "https://bitmath.org/code/mtdev/";
+2 -2
pkgs/development/libraries/nghttp2/default.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "nghttp2"; 35 - version = "1.60.0"; 35 + version = "1.61.0"; 36 36 37 37 src = fetchurl { 38 38 url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2"; 39 - sha256 = "sha256-W4wmgdQstLMcs+DaDggb+jAl1cNZKN6PYHAVUgFbAM4="; 39 + sha256 = "sha256-Toz37DLUxaQwlmJC1yA10lXNlHCodm1h7tegGQ3VRP0="; 40 40 }; 41 41 42 42 outputs = [ "out" "dev" "lib" "doc" "man" ];
+5 -1
pkgs/development/libraries/npth/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, autoreconfHook }: 1 + { lib, stdenv, fetchurl, fetchpatch, autoreconfHook, pkgsCross }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "npth"; ··· 20 20 nativeBuildInputs = [ autoreconfHook ]; 21 21 22 22 doCheck = true; 23 + 24 + passthru.tests = { 25 + musl = pkgsCross.musl64.npth; 26 + }; 23 27 24 28 meta = with lib; { 25 29 description = "The New GNU Portable Threads Library";
+2 -2
pkgs/development/libraries/openexr/3.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "openexr"; 12 - version = "3.2.2"; 12 + version = "3.2.4"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "AcademySoftwareFoundation"; 16 16 repo = "openexr"; 17 17 rev = "v${version}"; 18 - hash = "sha256-7KBjZpImSaW4GiK0ZCpMcjBPQ9aMmN5LW+/m6lkGK68="; 18 + hash = "sha256-mVUxxYe6teiJ18PQ9703/kjBpJ9+a7vcDme+NwtQQQM="; 19 19 }; 20 20 21 21 outputs = [ "bin" "dev" "out" "doc" ];
+10
pkgs/development/libraries/pcre2/default.nix
··· 13 13 hash = "sha256-4qU5hP8LB9/bWuRIa7ubIcyo598kNAlsyb8bcow1C8s="; 14 14 }; 15 15 16 + postPatch = '' 17 + # Fix jit autodetection: 18 + # https://github.com/PCRE2Project/pcre2/pull/396 19 + # Applying manually to avoid fetchpatch and autoreconfHook. 20 + # TODO: remove once 10.44 is released 21 + substituteInPlace configure --replace-fail \ 22 + '#include "src/sljit/sljitConfigInternal.h"' \ 23 + '#include "src/sljit/sljitConfigCPU.h"' 24 + ''; 25 + 16 26 configureFlags = [ 17 27 "--enable-pcre2-16" 18 28 "--enable-pcre2-32"
+6
pkgs/development/libraries/pixman/default.nix
··· 31 31 hash = "sha256-oGJNuQGAx923n8epFRCT3DfGRtjDjT8jL3Z89kuFoiY="; 32 32 }; 33 33 34 + # Raise test timeout, 120s can be slightly exceeded on slower hardware 35 + postPatch = '' 36 + substituteInPlace test/meson.build \ 37 + --replace-fail 'timeout : 120' 'timeout : 240' 38 + ''; 39 + 34 40 separateDebugInfo = !stdenv.hostPlatform.isStatic; 35 41 36 42 nativeBuildInputs = [ meson ninja pkg-config ];
+13 -1
pkgs/development/libraries/qt-6/modules/qtdeclarative.nix
··· 3 3 , qtlanguageserver 4 4 , qtshadertools 5 5 , openssl 6 + , stdenv 6 7 , python3 8 + , lib 9 + , pkgsBuildBuild 7 10 }: 8 11 9 12 qtModule { 10 13 pname = "qtdeclarative"; 11 - propagatedBuildInputs = [ qtbase qtlanguageserver qtshadertools openssl python3 ]; 14 + strictDeps = true; 15 + propagatedBuildInputs = [ qtbase qtlanguageserver qtshadertools openssl ]; 16 + nativeBuildInputs = [ python3 ]; 12 17 patches = [ 13 18 # prevent headaches from stale qmlcache data 14 19 ../patches/qtdeclarative-default-disable-qmlcache.patch 15 20 # add version specific QML import path 16 21 ../patches/qtdeclarative-qml-paths.patch 22 + ]; 23 + cmakeFlags = [ 24 + "-DQt6ShaderToolsTools_DIR=${pkgsBuildBuild.qt6.qtshadertools}/lib/cmake/Qt6ShaderTools" 25 + ] 26 + # Conditional is required to prevent infinite recursion during a cross build 27 + ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 28 + "-DQt6QmlTools_DIR=${pkgsBuildBuild.qt6.qtdeclarative}/lib/cmake/Qt6QmlTools" 17 29 ]; 18 30 }
+16 -4
pkgs/development/libraries/qt-6/modules/qtmultimedia.nix
··· 22 22 , libunwind 23 23 , orc 24 24 , VideoToolbox 25 + , pkgsBuildBuild 25 26 }: 26 27 27 28 qtModule { 28 29 pname = "qtmultimedia"; 29 30 nativeBuildInputs = [ pkg-config ]; 30 - buildInputs = [ libunwind orc ffmpeg_6 ] 31 - ++ lib.optionals stdenv.hostPlatform.isLinux [ libpulseaudio elfutils alsa-lib wayland libXrandr libva ]; 32 - propagatedBuildInputs = [ qtbase qtdeclarative qtsvg qtshadertools qtquick3d ] 31 + buildInputs = [ ffmpeg_6 ] 32 + ++ lib.optionals (!stdenv.hostPlatform.isMinGW) [ libunwind orc ] 33 + ++ lib.optionals stdenv.hostPlatform.isLinux [ libpulseaudio alsa-lib wayland libXrandr libva ] 34 + ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ elfutils ]; 35 + propagatedBuildInputs = [ qtbase qtdeclarative qtsvg qtshadertools ] 36 + ++ lib.optionals (!stdenv.hostPlatform.isMinGW) [ qtquick3d ] 33 37 ++ lib.optionals stdenv.hostPlatform.isLinux [ gstreamer gst-plugins-base gst-plugins-good gst-libav gst-vaapi ] 34 38 ++ lib.optionals stdenv.hostPlatform.isDarwin [ VideoToolbox ]; 35 39 36 - cmakeFlags = [ "-DENABLE_DYNAMIC_RESOLVE_VAAPI_SYMBOLS=0" ]; 40 + patches = lib.optionals stdenv.hostPlatform.isMinGW [ 41 + ../patches/qtmultimedia-windows-no-uppercase-libs.patch 42 + ../patches/qtmultimedia-windows-resolve-function-name.patch 43 + ]; 44 + 45 + cmakeFlags = [ 46 + "-DENABLE_DYNAMIC_RESOLVE_VAAPI_SYMBOLS=0" 47 + "-DQt6ShaderToolsTools_DIR=${pkgsBuildBuild.qt6.qtshadertools}/lib/cmake/Qt6ShaderToolsTools" 48 + ]; 37 49 38 50 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin 39 51 "-include AudioToolbox/AudioToolbox.h";
+13
pkgs/development/libraries/qt-6/patches/qtmultimedia-windows-no-uppercase-libs.patch
··· 1 + diff --git a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp 2 + index c0fbb53..3c82085 100644 3 + --- a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp 4 + +++ b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp 5 + @@ -14,7 +14,7 @@ 6 + #include <qwaitcondition.h> 7 + #include <qmutex.h> 8 + 9 + -#include "D3d11.h" 10 + +#include "d3d11.h" 11 + #include "dxgi1_2.h" 12 + 13 + #include <system_error>
+30
pkgs/development/libraries/qt-6/patches/qtmultimedia-windows-resolve-function-name.patch
··· 1 + diff --git a/src/plugins/multimedia/ffmpeg/qwincapturablewindows.cpp b/src/plugins/multimedia/ffmpeg/qwincapturablewindows.cpp 2 + index aac77ae..71ffed6 100644 3 + --- a/src/plugins/multimedia/ffmpeg/qwincapturablewindows.cpp 4 + +++ b/src/plugins/multimedia/ffmpeg/qwincapturablewindows.cpp 5 + @@ -42,11 +42,7 @@ static QString windowTitle(HWND hwnd) { 6 + return QString::fromStdWString(buffer); 7 + } 8 + 9 + -QList<QCapturableWindow> QWinCapturableWindows::windows() const 10 + -{ 11 + - QList<QCapturableWindow> result; 12 + - 13 + - auto windowHandler = [](HWND hwnd, LPARAM lParam) { 14 + +static int __stdcall windowHandler(HWND hwnd, LPARAM lParam) { 15 + if (!canCaptureWindow(hwnd)) 16 + return TRUE; // Ignore window and continue enumerating 17 + 18 + @@ -58,7 +54,11 @@ QList<QCapturableWindow> QWinCapturableWindows::windows() const 19 + windows.push_back(windowData.release()->create()); 20 + 21 + return TRUE; 22 + - }; 23 + +} 24 + + 25 + +QList<QCapturableWindow> QWinCapturableWindows::windows() const 26 + +{ 27 + + QList<QCapturableWindow> result; 28 + 29 + ::EnumWindows(windowHandler, reinterpret_cast<LPARAM>(&result)); 30 +
+2 -1
pkgs/development/libraries/rustls-ffi/default.nix
··· 28 28 29 29 passthru.tests = { 30 30 apacheHttpd = apacheHttpd.override { modTlsSupport = true; }; 31 - curl = curl.override { opensslSupport = false; rustlsSupport = true; }; 31 + # Currently broken notably because of https://github.com/curl/curl/issues/13248 32 + # curl = curl.override { opensslSupport = false; rustlsSupport = true; }; 32 33 }; 33 34 34 35 meta = with lib; {
+2 -2
pkgs/development/libraries/s2n-tls/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "s2n-tls"; 11 - version = "1.4.8"; 11 + version = "1.4.9"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "aws"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-fDofKp/WUPY4+1HUeBdRklInTS7Qndycnci4h3F/mLY="; 17 + hash = "sha256-YH35+kCvPjeBYMMJi7YdAGk/ds3YPm5SSKpoWfbCI3M="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/soundtouch/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "soundtouch"; 5 - version = "2.3.2"; 5 + version = "2.3.3"; 6 6 7 7 src = fetchFromGitea { 8 8 domain = "codeberg.org"; 9 9 owner = "soundtouch"; 10 10 repo = "soundtouch"; 11 11 rev = version; 12 - sha256 = "sha256-+RprzCn0NCueHhDkk2Lgg7Ihw8JDzu25eIVoVZwF+BA="; 12 + sha256 = "sha256-imeeTj+3gXxoGTuC/13+BAplwcnQ0wRJdSVt7MPlBxc="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ autoconf automake libtool ];
+2 -2
pkgs/development/libraries/umockdev/default.nix
··· 22 22 23 23 stdenv.mkDerivation (finalAttrs: { 24 24 pname = "umockdev"; 25 - version = "0.18.0"; 25 + version = "0.18.1"; 26 26 27 27 outputs = [ "bin" "out" "dev" "devdoc" ]; 28 28 29 29 src = fetchurl { 30 30 url = "https://github.com/martinpitt/umockdev/releases/download/${finalAttrs.version}/umockdev-${finalAttrs.version}.tar.xz"; 31 - hash = "sha256-uJkeaKK89C6mCYjfqLzvAFUNmo6IvvZvn2mxp7H44ng="; 31 + hash = "sha256-ZRtoaQM7sUiBNu1zxY6SRfWwGFYmHhzqBBAwuD+x7Xw="; 32 32 }; 33 33 34 34 patches = [
+12 -17
pkgs/development/libraries/x264/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitLab 4 - , fetchpatch 5 4 , nasm 6 5 , enableShared ? !stdenv.hostPlatform.isStatic 7 6 }: 8 7 9 8 stdenv.mkDerivation rec { 10 9 pname = "x264"; 11 - version = "unstable-2021-06-13"; 10 + version = "0-unstable-2023-10-01"; 12 11 13 12 src = fetchFromGitLab { 14 13 domain = "code.videolan.org"; 15 14 owner = "videolan"; 16 15 repo = pname; 17 - rev = "5db6aa6cab1b146e07b60cc1736a01f21da01154"; 18 - sha256 = "0swyrkz6nvajivxvrr08py0jrfcsjvpxw78xm1k5gd9xbdrxvknh"; 16 + rev = "31e19f92f00c7003fa115047ce50978bc98c3a0d"; 17 + hash = "sha256-7/FaaDFmoVhg82BIhP3RbFq4iKGNnhviOPxl3/8PWCM="; 19 18 }; 20 19 21 - # Upstream ./configure greps for (-mcpu|-march|-mfpu) in CFLAGS, which in nix 22 - # is put in the cc wrapper anyway. 23 20 patches = [ 21 + # Upstream ./configure greps for (-mcpu|-march|-mfpu) in CFLAGS, which in nix 22 + # is put in the cc wrapper anyway. 24 23 ./disable-arm-neon-default.patch 25 - (fetchpatch { 26 - # https://code.videolan.org/videolan/x264/-/merge_requests/114 27 - name = "fix-parallelism.patch"; 28 - url = "https://code.videolan.org/videolan/x264/-/commit/e067ab0b530395f90b578f6d05ab0a225e2efdf9.patch"; 29 - hash = "sha256-16h2IUCRjYlKI2RXYq8QyXukAdfoQxyBKsK/nI6vhRI="; 30 - }) 31 24 ]; 32 25 33 - postPatch = '' 34 - patchShebangs . 35 - '' 36 - # Darwin uses `llvm-strip`, which results in a crash at runtime in assembly-based routines when `-x` is specified. 37 - + lib.optionalString stdenv.isDarwin '' 26 + postPatch = lib.optionalString stdenv.isDarwin '' 38 27 substituteInPlace Makefile --replace '$(if $(STRIP), $(STRIP) -x $@)' '$(if $(STRIP), $(STRIP) -S $@)' 39 28 ''; 40 29 ··· 52 41 configureFlags = lib.optional enableShared "--enable-shared" 53 42 ++ lib.optional (!stdenv.isi686) "--enable-pic" 54 43 ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--cross-prefix=${stdenv.cc.targetPrefix}"; 44 + 45 + makeFlags = [ 46 + "BASHCOMPLETIONSDIR=$(out)/share/bash-completion/completions" 47 + "install-bashcompletion" 48 + "install-lib-shared" 49 + ]; 55 50 56 51 nativeBuildInputs = lib.optional stdenv.hostPlatform.isx86 nasm; 57 52
-42
pkgs/development/misc/resholve/0014-clang_incompatible_function_pointer_conversions.patch
··· 1 - diff -ur a/decoder.c b/decoder.c 2 - --- a/decoder.c 1980-01-02 00:00:00.000000000 -0500 3 - +++ b/decoder.c 2023-11-08 17:42:43.981838074 -0500 4 - @@ -94,7 +94,7 @@ 5 - return PlaceObject(ctx, PyBool_FromLong((long)(value))); 6 - } 7 - 8 - -static int handle_number(void *ctx, const char *value, unsigned int length) 9 - +static int handle_number(void *ctx, const char *value, size_t length) 10 - { 11 - //fprintf(stderr, "handle_number: "); 12 - //fwrite(value, length, 1, stderr); 13 - @@ -127,7 +127,7 @@ 14 - return status; 15 - } 16 - 17 - -static int handle_string(void *ctx, const unsigned char *value, unsigned int length) 18 - +static int handle_string(void *ctx, const unsigned char *value, size_t length) 19 - { 20 - return PlaceObject(ctx, PyString_FromStringAndSize((char *)value, length)); 21 - } 22 - @@ -142,7 +142,7 @@ 23 - return success; 24 - } 25 - 26 - -static int handle_dict_key(void *ctx, const unsigned char *value, unsigned int length) 27 - +static int handle_dict_key(void *ctx, const unsigned char *value, size_t length) 28 - { 29 - PyObject *object = PyString_FromStringAndSize((const char *) value, length); 30 - 31 - diff -ur a/yajl.c b/yajl.c 32 - --- a/yajl.c 1980-01-02 00:00:00.000000000 -0500 33 - +++ b/yajl.c 2023-11-08 17:41:18.781350335 -0500 34 - @@ -161,7 +161,7 @@ 35 - } 36 - 37 - static struct PyMethodDef yajl_methods[] = { 38 - - {"dumps", (PyCFunctionWithKeywords)(py_dumps), METH_VARARGS | METH_KEYWORDS, 39 - + {"dumps", (PyCFunction)(py_dumps), METH_VARARGS | METH_KEYWORDS, 40 - "yajl.dumps(obj [, indent=None])\n\n\ 41 - Returns an encoded JSON string of the specified `obj`\n\ 42 - \n\
+3 -2
pkgs/development/misc/resholve/README.md
··· 52 52 53 53 resholve.mkDerivation rec { 54 54 pname = "dgoss"; 55 - version = "0.4.1"; 55 + version = "0.4.2"; 56 56 57 57 src = fetchFromGitHub { 58 58 owner = "goss-org"; 59 59 repo = "goss"; 60 60 rev = "refs/tags/v${version}"; 61 - hash = "sha256-dpMTUBMEG5tDi7E6ZRg1KHqIj5qDlvwfwJEgq/5z7RE="; 61 + hash = "sha256-FDn1OETkYIpMenk8QAAHvfNZcSzqGl5xrD0fAZPVmRM="; 62 62 }; 63 63 64 64 dontConfigure = true; ··· 87 87 license = licenses.asl20; 88 88 platforms = platforms.linux; 89 89 maintainers = with maintainers; [ hyzual anthonyroussel ]; 90 + mainProgram = "dgoss"; 90 91 }; 91 92 } 92 93 ```
+1 -1
pkgs/development/misc/resholve/default.nix
··· 28 28 stripTests = true; 29 29 enableOptimizations = false; 30 30 }; 31 - callPackage = lib.callPackageWith (pkgs // { python27 = python27'; }); 31 + callPackage = lib.callPackageWith (pkgsBuildHost // { python27 = python27'; }); 32 32 source = callPackage ./source.nix { }; 33 33 deps = callPackage ./deps.nix { }; 34 34 in
+18 -42
pkgs/development/misc/resholve/oildev.nix
··· 4 4 , callPackage 5 5 , fetchFromGitHub 6 6 , makeWrapper 7 - , # py-yajl deps 8 - git 9 - , # oil deps 10 - pkgsBuildBuild 11 7 , re2c 8 + , # oil deps 9 + glibcLocales 12 10 , file 13 11 , six 14 12 , typing 15 13 }: 16 14 17 15 rec { 18 - py-yajl = python27.pkgs.buildPythonPackage rec { 19 - pname = "oil-pyyajl-unstable"; 20 - version = "2022-09-01"; 21 - src = fetchFromGitHub { 22 - owner = "oilshell"; 23 - repo = "py-yajl"; 24 - rev = "72686b0e2e9d13d3ce5fefe47ecd607c540c90a3"; 25 - hash = "sha256-H3GKN0Pq1VFD5+SWxm8CXUVO7zAyj/ngKVmDaG/aRT4="; 26 - fetchSubmodules = true; 27 - }; 28 - patches = [ 29 - # Fixes several incompatible function pointer conversions, which are errors in clang 16. 30 - ./0014-clang_incompatible_function_pointer_conversions.patch 31 - ]; 32 - # just for submodule IIRC 33 - nativeBuildInputs = [ git ]; 34 - }; 35 - 36 16 /* 37 17 Upstream isn't interested in packaging this as a library 38 18 (or accepting all of the patches we need to do so). ··· 40 20 */ 41 21 oildev = python27.pkgs.buildPythonPackage rec { 42 22 pname = "oildev-unstable"; 43 - version = "2021-07-14"; 23 + version = "2024-02-26"; 44 24 45 25 src = fetchFromGitHub { 46 26 owner = "oilshell"; 47 27 repo = "oil"; 48 - # rev == present HEAD of release/0.14.0 49 - rev = "3d0427e222f7e42ae7be90c706d7fde555efca2e"; 50 - hash = "sha256-XMoNkBEEmD6AwNSu1uSh3OcWLfy4/ADtRckn/Pj2cP4="; 28 + # rev == present HEAD of release/0.20.0 29 + rev = "f730c79e2dcde4bc08e85a718951cfa42102bd01"; 30 + hash = "sha256-HBj3Izh1gD63EzbgZ/9If5vihR5L2HhnyCyMah6rMg4="; 51 31 52 32 /* 53 33 It's not critical to drop most of these; the primary target is ··· 58 38 hash on rev updates. Command will fail w/o and not print hash. 59 39 */ 60 40 postFetch = '' 61 - rm -rf $out/{Python-2.7.13,metrics,py-yajl,rfc,gold,web,testdata,services,demo,devtools} 41 + rm -rf $out/{Python-2.7.13,metrics,py-yajl,rfc,gold,web,testdata,services,demo} 62 42 ''; 63 43 }; 64 44 ··· 66 46 patchSrc = fetchFromGitHub { 67 47 owner = "abathur"; 68 48 repo = "nix-py-dev-oil"; 69 - rev = "v0.14.0.1"; 70 - hash = "sha256-47+986+SohdtoNzTYAgF2vPPWgakyg0VCmR+MgxMzTk="; 49 + rev = "v0.20.0.0"; 50 + hash = "sha256-qoA54rnzAdnFZ3k4kRzQWEdgtEjraCT5+NFw8AWnRDk="; 71 51 }; 52 + 72 53 patches = [ 73 54 "${patchSrc}/0001-add_setup_py.patch" 74 55 "${patchSrc}/0002-add_MANIFEST_in.patch" 75 - "${patchSrc}/0004-disable-internal-py-yajl-for-nix-built.patch" 76 56 "${patchSrc}/0006-disable_failing_libc_tests.patch" 77 57 "${patchSrc}/0007-namespace_via_init.patch" 78 58 "${patchSrc}/0009-avoid_nix_arch64_darwin_toolchain_bug.patch" ··· 80 60 "${patchSrc}/0011-disable-fanos.patch" 81 61 "${patchSrc}/0012-disable-doc-cmark.patch" 82 62 "${patchSrc}/0013-fix-pyverify.patch" 63 + "${patchSrc}/0015-fix-compiled-extension-import-paths.patch" 83 64 ]; 84 65 85 66 configureFlags = [ 86 67 "--without-readline" 87 68 ]; 88 69 89 - depsBuildBuild = [ re2c ]; 90 - 91 - nativeBuildInputs = [ file makeWrapper ]; 70 + nativeBuildInputs = [ re2c file makeWrapper ]; 92 71 93 - propagatedBuildInputs = [ six typing py-yajl ]; 72 + propagatedBuildInputs = [ six typing ]; 94 73 95 74 doCheck = true; 96 75 97 76 preBuild = '' 98 - build/dev.sh all 77 + build/py.sh all 99 78 ''; 100 79 101 80 postPatch = '' 102 - patchShebangs asdl build core doctools frontend pyext oil_lang 103 - substituteInPlace pyext/fastlex.c --replace '_gen/frontend' '../_gen/frontend' 104 - substituteInPlace core/main_loop.py --replace 'import fanos' '# import fanos' 81 + patchShebangs asdl build core doctools frontend pyext oil_lang ysh 105 82 rm cpp/stdlib.h # keep modules from finding the wrong stdlib? 106 83 # work around hard parse failure documented in oilshell/oil#1468 107 84 substituteInPlace osh/cmd_parse.py --replace 'elif self.c_id == Id.Op_LParen' 'elif False' 108 - # disable fragile libc tests 109 - substituteInPlace build/py.sh --replace "py-ext-test pyext/libc_test.py" "#py-ext-test pyext/libc_test.py" 110 85 ''; 111 86 112 87 # See earlier note on glibcLocales TODO: verify needed? 113 - LOCALE_ARCHIVE = lib.optionalString (stdenv.buildPlatform.libc == "glibc") "${pkgsBuildBuild.glibcLocales}/lib/locale/locale-archive"; 88 + LOCALE_ARCHIVE = lib.optionalString (stdenv.buildPlatform.libc == "glibc") "${glibcLocales}/lib/locale/locale-archive"; 114 89 115 90 # not exhaustive; sample what resholve uses as a sanity check 116 91 pythonImportsCheck = [ ··· 121 96 "oil._devbuild" 122 97 "oil._devbuild.gen.id_kind_asdl" 123 98 "oil._devbuild.gen.syntax_asdl" 124 - "oil.tools.osh2oil" 99 + "oil.osh" 100 + "oil.tools.ysh_ify" 125 101 ]; 126 102 127 103 meta = {
+20 -1
pkgs/development/misc/resholve/resholve.nix
··· 2 2 , stdenv 3 3 , callPackage 4 4 , python27 5 + , fetchFromGitHub 5 6 , installShellFiles 6 7 , rSrc 7 8 , version 8 9 , oildev 9 10 , configargparse 11 + , gawk 10 12 , binlore 11 13 , resholve 12 14 , resholve-utils 13 15 }: 14 16 15 - python27.pkgs.buildPythonApplication { 17 + let 18 + sedparse = python27.pkgs.buildPythonPackage rec { 19 + pname = "sedparse"; 20 + version = "0.1.2"; 21 + src = fetchFromGitHub { 22 + owner = "aureliojargas"; 23 + repo = "sedparse"; 24 + rev = "0.1.2"; 25 + hash = "sha256-Q17A/oJ3GZbdSK55hPaMdw85g43WhTW9tuAuJtDfHHU="; 26 + }; 27 + }; 28 + 29 + in python27.pkgs.buildPythonApplication { 16 30 pname = "resholve"; 17 31 inherit version; 18 32 src = rSrc; ··· 22 36 propagatedBuildInputs = [ 23 37 oildev 24 38 configargparse 39 + sedparse 40 + ]; 41 + 42 + makeWrapperArgs = [ 43 + "--prefix PATH : ${lib.makeBinPath [ gawk ]}" 25 44 ]; 26 45 27 46 postPatch = ''
+2 -2
pkgs/development/misc/resholve/source.nix
··· 3 3 }: 4 4 5 5 rec { 6 - version = "0.9.1"; 6 + version = "0.10.2"; 7 7 rSrc = fetchFromGitHub { 8 8 owner = "abathur"; 9 9 repo = "resholve"; 10 10 rev = "v${version}"; 11 - hash = "sha256-hkLKQKhEMD1UQ9EunPmx5Tsh44q4+tYj820OXF2ueUo="; 11 + hash = "sha256-QXIX3Ai9HUFosvhfYTUJILZ588cvxTzULUUp1LYkQ0A="; 12 12 }; 13 13 }
+2 -3
pkgs/development/python-modules/accelerate/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 5 , pythonOlder 6 - , pytestCheckHook 7 - , pytest_7 6 + , pytest7CheckHook 8 7 , setuptools 9 8 , numpy 10 9 , packaging ··· 47 46 nativeCheckInputs = [ 48 47 evaluate 49 48 parameterized 50 - (pytestCheckHook.override { pytest = pytest_7; }) 49 + pytest7CheckHook 51 50 transformers 52 51 ]; 53 52 preCheck = ''
+2 -2
pkgs/development/python-modules/aioesphomeapi/default.nix
··· 4 4 , pythonOlder 5 5 6 6 # build-system 7 - , cython_3 7 + , cython 8 8 , setuptools 9 9 10 10 # dependencies ··· 39 39 40 40 build-system = [ 41 41 setuptools 42 - cython_3 42 + cython 43 43 ]; 44 44 45 45 dependencies = [
+2 -3
pkgs/development/python-modules/aiohttp/default.nix
··· 21 21 , freezegun 22 22 , gunicorn 23 23 , pytest-mock 24 - , pytestCheckHook 25 - , pytest_7 24 + , pytest7CheckHook 26 25 , python-on-whales 27 26 , re-assert 28 27 , trustme ··· 83 82 freezegun 84 83 gunicorn 85 84 pytest-mock 86 - (pytestCheckHook.override { pytest = pytest_7; }) 85 + pytest7CheckHook 87 86 python-on-whales 88 87 re-assert 89 88 ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [
+2 -2
pkgs/development/python-modules/alembic/default.nix
··· 14 14 , typing-extensions 15 15 16 16 # tests 17 - , pytestCheckHook 17 + , pytest7CheckHook 18 18 , pytest-xdist 19 19 , python-dateutil 20 20 }: ··· 49 49 ]; 50 50 51 51 nativeCheckInputs = [ 52 - pytestCheckHook 52 + pytest7CheckHook 53 53 pytest-xdist 54 54 python-dateutil 55 55 ];
+2 -2
pkgs/development/python-modules/ansible-pylibssh/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - cython_3, 4 + cython, 5 5 expandvars, 6 6 fetchPypi, 7 7 libssh, ··· 30 30 ''; 31 31 32 32 build-system = [ 33 - cython_3 33 + cython 34 34 expandvars 35 35 setuptools 36 36 setuptools-scm
+4 -9
pkgs/development/python-modules/anytree/default.nix
··· 4 4 , fontconfig 5 5 , graphviz 6 6 , poetry-core 7 - , pytestCheckHook 7 + , pytest7CheckHook 8 8 , pythonOlder 9 9 , six 10 10 , substituteAll ··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "anytree"; 16 - version = "2.12.0"; 16 + version = "2.12.1"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 22 22 owner = "c0fec0de"; 23 23 repo = "anytree"; 24 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-8mV9Lf6NLPUDVurXCxG+tqe7+3TrIn2H+7tHa6BpTzk="; 25 + hash = "sha256-5HU8kR3B2RHiGBraQ2FTgVtGHJi+Lha9U/7rpNsYCCI="; 26 26 }; 27 27 28 28 patches = lib.optionals withGraphviz [ ··· 41 41 ]; 42 42 43 43 nativeCheckInputs = [ 44 - pytestCheckHook 45 - ]; 46 - 47 - pytestFlagsArray = [ 48 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 49 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 44 + pytest7CheckHook 50 45 ]; 51 46 52 47 # Tests print “Fontconfig error: Cannot load default config file”
+2 -1
pkgs/development/python-modules/apsw/default.nix
··· 26 26 27 27 buildInputs = [ sqlite ]; 28 28 29 + 29 30 # Project uses custom test setup to exclude some tests by default, so using pytest 30 31 # requires more maintenance 31 32 # https://github.com/rogerbinns/apsw/issues/335 ··· 36 37 pythonImportsCheck = [ "apsw" ]; 37 38 38 39 meta = with lib; { 40 + changelog = "https://github.com/rogerbinns/apsw/blob/${src.rev}/doc/changes.rst"; 39 41 description = "A Python wrapper for the SQLite embedded relational database engine"; 40 42 homepage = "https://github.com/rogerbinns/apsw"; 41 - changelog = "https://github.com/rogerbinns/apsw/releases/tag/${version}"; 42 43 license = licenses.zlib; 43 44 maintainers = with maintainers; [ gador ]; 44 45 };
+2 -2
pkgs/development/python-modules/argcomplete/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "argcomplete"; 11 - version = "3.2.2"; 11 + version = "3.2.3"; 12 12 pyproject = true; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 17 17 owner = "kislyuk"; 18 18 repo = pname; 19 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-xHUK57Adp3pnzHtFzvjFYb3t1cywRrEeKKXgJJqg10s="; 20 + hash = "sha256-sGXHRHmzapJM/c4D4j3QWhkTNzPNZPLO7JOptnTXuR8="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/astropy/default.nix
··· 5 5 6 6 # build time 7 7 , astropy-extension-helpers 8 - , cython_3 8 + , cython 9 9 , jinja2 10 10 , oldest-supported-numpy 11 11 , setuptools-scm ··· 38 38 39 39 nativeBuildInputs = [ 40 40 astropy-extension-helpers 41 - cython_3 41 + cython 42 42 jinja2 43 43 oldest-supported-numpy 44 44 setuptools-scm
+5 -4
pkgs/development/python-modules/aws-encryption-sdk/default.nix
··· 41 41 pytestCheckHook 42 42 ]; 43 43 44 - pytestFlagsArray = [ 45 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 46 - ]; 47 - 48 44 disabledTestPaths = [ 49 45 # Tests require networking 50 46 "examples" 51 47 "test/integration" 48 + ]; 49 + 50 + disabledTests = [ 51 + # pytest 8 compat issue 52 + "test_happy_version" 52 53 ]; 53 54 54 55 pythonImportsCheck = [
+6
pkgs/development/python-modules/awswrangler/default.nix
··· 19 19 , pyparsing 20 20 , pytestCheckHook 21 21 , pythonOlder 22 + , pythonRelaxDepsHook 22 23 , redshift-connector 23 24 , requests-aws4auth 24 25 }: ··· 39 40 40 41 build-system = [ 41 42 poetry-core 43 + pythonRelaxDepsHook 44 + ]; 45 + 46 + pythonRelaxDeps = [ 47 + "packaging" 42 48 ]; 43 49 44 50 dependencies = [
+2 -6
pkgs/development/python-modules/barectf/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , poetry-core 5 - , pytestCheckHook 5 + , pytest7CheckHook 6 6 , pythonRelaxDepsHook 7 7 , setuptools 8 8 , jsonschema ··· 47 47 ]; 48 48 49 49 nativeCheckInputs = [ 50 - pytestCheckHook 51 - ]; 52 - 53 - pytestFlagsArray = [ 54 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 50 + pytest7CheckHook 55 51 ]; 56 52 57 53 meta = with lib; {
+2 -2
pkgs/development/python-modules/betterproto/default.nix
··· 10 10 , isort 11 11 , python 12 12 , pydantic 13 - , pytestCheckHook 13 + , pytest7CheckHook 14 14 , pytest-asyncio 15 15 , pytest-mock 16 16 , typing-extensions ··· 53 53 pydantic 54 54 pytest-asyncio 55 55 pytest-mock 56 - pytestCheckHook 56 + pytest7CheckHook 57 57 tomlkit 58 58 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 59 59
+2 -2
pkgs/development/python-modules/blis/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , setuptools 5 - , cython 5 + , cython_0 6 6 , hypothesis 7 7 , numpy 8 8 , pytestCheckHook ··· 38 38 39 39 nativeBuildInputs = [ 40 40 setuptools 41 - cython 41 + cython_0 42 42 ]; 43 43 44 44 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/blosc2/default.nix
··· 4 4 5 5 # build-system 6 6 , cmake 7 - , cython_3 7 + , cython 8 8 , ninja 9 9 , oldest-supported-numpy 10 10 , pkg-config ··· 47 47 48 48 nativeBuildInputs = [ 49 49 cmake 50 - cython_3 50 + cython 51 51 ninja 52 52 oldest-supported-numpy 53 53 pkg-config
+2 -2
pkgs/development/python-modules/bluetooth-data-tools/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , cryptography 5 - , cython_3 5 + , cython 6 6 , poetry-core 7 7 , pytestCheckHook 8 8 , pythonOlder ··· 28 28 env.REQUIRE_CYTHON = 1; 29 29 30 30 nativeBuildInputs = [ 31 - cython_3 31 + cython 32 32 poetry-core 33 33 setuptools 34 34 ];
+2 -2
pkgs/development/python-modules/cached-ipaddress/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython_3 3 + , cython 4 4 , fetchFromGitHub 5 5 , poetry-core 6 6 , pytestCheckHook ··· 30 30 ''; 31 31 32 32 nativeBuildInputs = [ 33 - cython_3 33 + cython 34 34 poetry-core 35 35 setuptools 36 36 wheel
+2 -2
pkgs/development/python-modules/cassandra-driver/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , cryptography 5 - , cython 5 + , cython_0 6 6 , eventlet 7 7 , fetchFromGitHub 8 8 , geomet ··· 43 43 ''; 44 44 45 45 nativeBuildInputs = [ 46 - cython 46 + cython_0 47 47 ]; 48 48 49 49 buildInputs = [
+2 -2
pkgs/development/python-modules/certifi/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "certifi"; 12 - version = "2023.11.17"; 12 + version = "2024.02.02"; 13 13 pyproject = true; 14 14 15 15 disabled = pythonOlder "3.6"; ··· 18 18 owner = pname; 19 19 repo = "python-certifi"; 20 20 rev = version; 21 - hash = "sha256-H3zsFJjWt2+tT7yqQOOZZwSL5y0AtfDz6Fqxwpm4Wl8="; 21 + hash = "sha256-gnWJjZy5E/0lvAeLftXNtcHH6RHL/dUomXOBgumiWX8="; 22 22 }; 23 23 24 24 patches = [
+13 -12
pkgs/development/python-modules/certifi/env.patch
··· 1 1 diff --git a/certifi/core.py b/certifi/core.py 2 - index de02898..c033d20 100644 2 + index 91f538b..1110ce0 100644 3 3 --- a/certifi/core.py 4 4 +++ b/certifi/core.py 5 - @@ -4,15 +4,25 @@ certifi.py 5 + @@ -4,6 +4,7 @@ certifi.py 6 6 7 7 This module returns the installation location of cacert.pem or its contents. 8 8 """ 9 9 +import os 10 10 import sys 11 + import atexit 12 + 13 + @@ -11,12 +12,21 @@ def exit_cacert_ctx() -> None: 14 + _CACERT_CTX.__exit__(None, None, None) # type: ignore[union-attr] 11 15 12 16 13 17 +def get_cacert_path_from_environ(): ··· 29 33 30 34 def where() -> str: 31 35 # This is slightly terrible, but we want to delay extracting the file 32 - @@ -39,14 +49,16 @@ if sys.version_info >= (3, 11): 36 + @@ -44,6 +54,8 @@ if sys.version_info >= (3, 11): 33 37 return _CACERT_PATH 34 38 35 39 def contents() -> str: 36 - - return files("certifi").joinpath("cacert.pem").read_text(encoding="ascii") 37 40 + if _CACERT_PATH is not None: 38 41 + return open(_CACERT_PATH, encoding="utf-8").read() 39 - + return files("certifi").joinpath("cacert.pem").read_text(encoding="utf-8") 42 + return files("certifi").joinpath("cacert.pem").read_text(encoding="ascii") 40 43 41 44 elif sys.version_info >= (3, 7): 42 - 45 + @@ -51,7 +63,7 @@ elif sys.version_info >= (3, 7): 43 46 from importlib.resources import path as get_path, read_text 44 47 45 48 _CACERT_CTX = None ··· 48 51 49 52 def where() -> str: 50 53 # This is slightly terrible, but we want to delay extracting the 51 - @@ -74,7 +86,9 @@ elif sys.version_info >= (3, 7): 54 + @@ -80,7 +92,9 @@ elif sys.version_info >= (3, 7): 52 55 return _CACERT_PATH 53 56 54 57 def contents() -> str: ··· 59 62 60 63 else: 61 64 import os 62 - @@ -84,6 +98,8 @@ else: 65 + @@ -90,6 +104,8 @@ else: 63 66 Package = Union[types.ModuleType, str] 64 67 Resource = Union[str, "os.PathLike"] 65 68 ··· 68 71 # This fallback will work for Python versions prior to 3.7 that lack the 69 72 # importlib.resources module but relies on the existing `where` function 70 73 # so won't address issues with environments like PyOxidizer that don't set 71 - @@ -102,7 +118,14 @@ else: 74 + @@ -108,7 +124,13 @@ else: 72 75 def where() -> str: 73 76 f = os.path.dirname(__file__) 74 77 ··· 78 81 return os.path.join(f, "cacert.pem") 79 82 80 83 def contents() -> str: 81 - - return read_text("certifi", "cacert.pem", encoding="ascii") 82 84 + if _CACERT_PATH is not None: 83 85 + with open(_CACERT_PATH, encoding="utf-8") as data: 84 86 + return data.read() 85 - + 86 - + return read_text("certifi", "cacert.pem", encoding="utf-8") 87 + return read_text("certifi", "cacert.pem", encoding="ascii")
+2 -2
pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix
··· 4 4 , pythonOlder 5 5 6 6 # build-system 7 - , cython_3 7 + , cython 8 8 , poetry-core 9 9 , setuptools 10 10 ··· 34 34 }; 35 35 36 36 nativeBuildInputs = [ 37 - cython_3 37 + cython 38 38 poetry-core 39 39 setuptools 40 40 ];
+2 -6
pkgs/development/python-modules/chalice/default.nix
··· 10 10 , mock 11 11 , mypy-extensions 12 12 , pip 13 - , pytestCheckHook 13 + , pytest7CheckHook 14 14 , pythonOlder 15 15 , pyyaml 16 16 , requests ··· 61 61 nativeCheckInputs = [ 62 62 hypothesis 63 63 mock 64 - pytestCheckHook 64 + pytest7CheckHook 65 65 requests 66 66 websocket-client 67 - ]; 68 - 69 - pytestFlagsArray = [ 70 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 71 67 ]; 72 68 73 69 disabledTestPaths = [
+1 -1
pkgs/development/python-modules/chart-studio/default.nix
··· 21 21 owner = "plotly"; 22 22 repo = "plotly.py"; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-LSZGaefxQC6h9VAJ2wgZyaQPR6vs0wrp2oxd51I3pL8="; 24 + hash = "sha256-i//LKTNmoIrusBnpfSGc9cDijPxg/dY/7fumV3kfTAY="; 25 25 }; 26 26 27 27 sourceRoot = "${src.name}/packages/python/chart-studio";
+2 -2
pkgs/development/python-modules/clickhouse-cityhash/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython_3 3 + , cython 4 4 , fetchPypi 5 5 , pythonOlder 6 6 , setuptools ··· 19 19 }; 20 20 21 21 nativeBuildInputs = [ 22 - cython_3 22 + cython 23 23 setuptools 24 24 ]; 25 25
+2 -2
pkgs/development/python-modules/clickhouse-connect/default.nix
··· 4 4 , pythonOlder 5 5 , pytestCheckHook 6 6 # build_requires 7 - , cython_3 7 + , cython 8 8 # install_requires 9 9 , certifi 10 10 , importlib-metadata ··· 36 36 hash = "sha256-EnASrc4yUxSQ5kgaY5xcjZG7y8ZWLabUFAcdF5ZZNBQ="; 37 37 }; 38 38 39 - nativeBuildInputs = [ cython_3 ]; 39 + nativeBuildInputs = [ cython ]; 40 40 setupPyBuildFlags = [ "--inplace" ]; 41 41 enableParallelBuilding = true; 42 42
+2 -2
pkgs/development/python-modules/clickhouse-driver/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , clickhouse-cityhash 4 - , cython_3 4 + , cython 5 5 , fetchFromGitHub 6 6 , freezegun 7 7 , lz4 ··· 29 29 }; 30 30 31 31 nativeBuildInputs = [ 32 - cython_3 32 + cython 33 33 setuptools 34 34 ]; 35 35
+2 -3
pkgs/development/python-modules/cloudpathlib/default.nix
··· 11 11 , boto3 12 12 , psutil 13 13 , pydantic 14 - , pytestCheckHook 15 - , pytest_7 14 + , pytest7CheckHook 16 15 , pytest-cases 17 16 , pytest-cov 18 17 , pytest-xdist ··· 66 65 google-cloud-storage 67 66 psutil 68 67 pydantic 69 - (pytestCheckHook.override { pytest = pytest_7; }) 68 + pytest7CheckHook 70 69 pytest-cases 71 70 pytest-cov 72 71 pytest-xdist
+8 -8
pkgs/development/python-modules/colorcet/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , setuptools 5 + , setuptools-scm 4 6 , param 5 7 , pyct 6 8 , pytest-mpl 7 9 , pytestCheckHook 8 - , setuptools 9 - , setuptools-scm 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "colorcet"; 14 14 version = "3.1.0"; 15 - format = "pyproject"; 15 + pyproject = true; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 19 hash = "sha256-KSGzzYGiKIqvLWPbwM48JtzYgujDicxQXWiGv3qppOs="; 20 20 }; 21 21 22 + build-system = [ 23 + setuptools 24 + setuptools-scm 25 + ]; 26 + 22 27 dependencies = [ 23 28 param 24 29 pyct 25 - ]; 26 - 27 - build-system = [ 28 - setuptools-scm 29 - setuptools 30 30 ]; 31 31 32 32 nativeCheckInputs = [
+2 -2
pkgs/development/python-modules/cpyparsing/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , cython_3 4 + , cython 5 5 , pexpect 6 6 , python 7 7 , pythonOlder ··· 23 23 }; 24 24 25 25 nativeBuildInputs = [ 26 - cython_3 26 + cython 27 27 setuptools 28 28 ]; 29 29
+2 -2
pkgs/development/python-modules/cypari2/default.nix
··· 5 5 , fetchPypi 6 6 , pari 7 7 , gmp 8 - , cython_3 8 + , cython 9 9 , cysignals 10 10 }: 11 11 ··· 45 45 46 46 propagatedBuildInputs = [ 47 47 cysignals 48 - cython_3 48 + cython 49 49 ]; 50 50 51 51 checkPhase = ''
+2 -2
pkgs/development/python-modules/cysignals/default.nix
··· 2 2 , autoreconfHook 3 3 , fetchPypi 4 4 , buildPythonPackage 5 - , cython_3 5 + , cython 6 6 , pariSupport ? true, pari # for interfacing with the PARI/GP signal handler 7 7 }: 8 8 ··· 34 34 ''; 35 35 36 36 propagatedBuildInputs = [ 37 - cython_3 37 + cython 38 38 ] ++ lib.optionals pariSupport [ 39 39 # When cysignals is built with pari, including cysignals into the 40 40 # buildInputs of another python package will cause cython to link against
+91
pkgs/development/python-modules/cython/0.nix
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchPypi 5 + , fetchpatch 6 + , setuptools 7 + , python 8 + , pkg-config 9 + , gdb 10 + , numpy 11 + , ncurses 12 + }: 13 + 14 + let 15 + excludedTests = [ "reimport_from_subinterpreter" ] 16 + # cython's testsuite is not working very well with libc++ 17 + # We are however optimistic about things outside of testsuite still working 18 + ++ lib.optionals (stdenv.cc.isClang or false) [ "cpdef_extern_func" "libcpp_algo" ] 19 + # Some tests in the test suite isn't working on aarch64. Disable them for 20 + # now until upstream finds a workaround. 21 + # Upstream issue here: https://github.com/cython/cython/issues/2308 22 + ++ lib.optionals stdenv.isAarch64 [ "numpy_memoryview" ] 23 + ++ lib.optionals stdenv.isi686 [ "future_division" "overflow_check_longlong" ] 24 + ; 25 + 26 + in buildPythonPackage rec { 27 + pname = "cython"; 28 + version = "0.29.36"; 29 + pyproject = true; 30 + 31 + src = fetchPypi { 32 + pname = "Cython"; 33 + inherit version; 34 + hash = "sha256-QcDP0tdU44PJ7rle/8mqSrhH0Ml0cHfd18Dctow7wB8="; 35 + }; 36 + 37 + nativeBuildInputs = [ 38 + pkg-config 39 + setuptools 40 + ]; 41 + 42 + nativeCheckInputs = [ 43 + gdb numpy ncurses 44 + ]; 45 + 46 + LC_ALL = "en_US.UTF-8"; 47 + 48 + patches = [ 49 + # backport Cython 3.0 trashcan support (https://github.com/cython/cython/pull/2842) to 0.X series. 50 + # it does not affect Python code unless the code explicitly uses the feature. 51 + # trashcan support is needed to avoid stack overflows during object deallocation in sage (https://trac.sagemath.org/ticket/27267) 52 + ./trashcan.patch 53 + # The above commit introduces custom trashcan macros, as well as 54 + # compiler changes to use them in Cython-emitted code. The latter 55 + # change is still useful, but the former has been upstreamed as of 56 + # Python 3.8, and the patch below makes Cython use the upstream 57 + # trashcan macros whenever available. This is needed for Python 58 + # 3.11 support, because the API used in Cython's implementation 59 + # changed: https://github.com/cython/cython/pull/4475 60 + (fetchpatch { 61 + name = "disable-trashcan.patch"; 62 + url = "https://github.com/cython/cython/commit/e337825cdcf5e94d38ba06a0cb0188e99ce0cc92.patch"; 63 + hash = "sha256-q0f63eetKrDpmP5Z4v8EuGxg26heSyp/62OYqhRoSso="; 64 + }) 65 + ]; 66 + 67 + checkPhase = '' 68 + export HOME="$NIX_BUILD_TOP" 69 + ${python.interpreter} runtests.py -j$NIX_BUILD_CORES \ 70 + --no-code-style \ 71 + ${lib.optionalString (builtins.length excludedTests != 0) 72 + ''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''} 73 + ''; 74 + 75 + # https://github.com/cython/cython/issues/2785 76 + # Temporary solution 77 + doCheck = false; 78 + # doCheck = !stdenv.isDarwin; 79 + 80 + # force regeneration of generated code in source distributions 81 + # https://github.com/cython/cython/issues/5089 82 + setupHook = ./setup-hook.sh; 83 + 84 + meta = { 85 + changelog = "https://github.com/cython/cython/blob/${version}/CHANGES.rst"; 86 + description = "An optimising static compiler for both the Python programming language and the extended Cython programming language"; 87 + homepage = "https://cython.org"; 88 + license = lib.licenses.asl20; 89 + maintainers = with lib.maintainers; [ fridh ]; 90 + }; 91 + }
+4 -24
pkgs/development/python-modules/cython/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchPypi 5 - , fetchpatch 6 5 , setuptools 7 6 , python 8 7 , pkg-config ··· 25 24 26 25 in buildPythonPackage rec { 27 26 pname = "cython"; 28 - version = "0.29.36"; 27 + version = "3.0.9"; 29 28 pyproject = true; 30 29 31 30 src = fetchPypi { 32 31 pname = "Cython"; 33 32 inherit version; 34 - hash = "sha256-QcDP0tdU44PJ7rle/8mqSrhH0Ml0cHfd18Dctow7wB8="; 33 + hash = "sha256-otNU8FnR8FXTTPqmLFtovHisLOq2QHFI1H+1CM87pPM="; 35 34 }; 36 35 37 - nativeBuildInputs = [ 36 + build-system = [ 38 37 pkg-config 39 38 setuptools 40 39 ]; ··· 43 42 gdb numpy ncurses 44 43 ]; 45 44 46 - LC_ALL = "en_US.UTF-8"; 47 - 48 - patches = [ 49 - # backport Cython 3.0 trashcan support (https://github.com/cython/cython/pull/2842) to 0.X series. 50 - # it does not affect Python code unless the code explicitly uses the feature. 51 - # trashcan support is needed to avoid stack overflows during object deallocation in sage (https://trac.sagemath.org/ticket/27267) 52 - ./trashcan.patch 53 - # The above commit introduces custom trashcan macros, as well as 54 - # compiler changes to use them in Cython-emitted code. The latter 55 - # change is still useful, but the former has been upstreamed as of 56 - # Python 3.8, and the patch below makes Cython use the upstream 57 - # trashcan macros whenever available. This is needed for Python 58 - # 3.11 support, because the API used in Cython's implementation 59 - # changed: https://github.com/cython/cython/pull/4475 60 - (fetchpatch { 61 - name = "disable-trashcan.patch"; 62 - url = "https://github.com/cython/cython/commit/e337825cdcf5e94d38ba06a0cb0188e99ce0cc92.patch"; 63 - hash = "sha256-q0f63eetKrDpmP5Z4v8EuGxg26heSyp/62OYqhRoSso="; 64 - }) 65 - ]; 45 + env.LC_ALL = "en_US.UTF-8"; 66 46 67 47 checkPhase = '' 68 48 export HOME="$NIX_BUILD_TOP"
+2 -3
pkgs/development/python-modules/daqp/default.nix
··· 1 1 { lib 2 - , stdenv 3 2 , fetchFromGitHub 4 3 , buildPythonPackage 5 4 , unittestCheckHook 6 - , cython 5 + , cython_0 7 6 , setuptools 8 7 , wheel 9 8 , numpy ··· 32 31 unittestFlagsArray = [ "-s" "test" "-p" "'*.py'" "-v" ]; 33 32 34 33 nativeBuildInputs = [ 35 - cython 34 + cython_0 36 35 setuptools 37 36 wheel 38 37 ];
+2 -4
pkgs/development/python-modules/dask/default.nix
··· 38 38 39 39 buildPythonPackage rec { 40 40 pname = "dask"; 41 - version = "2024.1.1"; 41 + version = "2024.2.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-L8bRh2bx36CYrAFXYJF67rCeCRfm5ufhTkMFRJo0yYo="; 50 + hash = "sha256-8VFtKPaF0PqCjqFB+plFe1GjUno5j7j86+wxKhzByyw="; 51 51 }; 52 52 53 53 nativeBuildInputs = [ ··· 127 127 "--reruns 3" 128 128 # Don't run tests that require network access 129 129 "-m 'not network'" 130 - # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. 131 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 132 130 ]; 133 131 134 132 disabledTests = lib.optionals stdenv.isDarwin [
+2 -2
pkgs/development/python-modules/dbus-fast/default.nix
··· 1 1 { lib 2 2 , async-timeout 3 3 , buildPythonPackage 4 - , cython_3 4 + , cython 5 5 , fetchFromGitHub 6 6 , poetry-core 7 7 , pytest-asyncio ··· 30 30 env.REQUIRE_CYTHON = 1; 31 31 32 32 nativeBuildInputs = [ 33 - cython_3 33 + cython 34 34 poetry-core 35 35 setuptools 36 36 wheel
-4
pkgs/development/python-modules/deal/default.nix
··· 60 60 vaa 61 61 ]; 62 62 63 - pytestFlagsArray = [ 64 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 65 - ]; 66 - 67 63 disabledTests = [ 68 64 # Tests need internet access 69 65 "test_smoke_has"
+2 -7
pkgs/development/python-modules/demes/default.nix
··· 5 5 , ruamel-yaml 6 6 , attrs 7 7 , pythonOlder 8 - , pytestCheckHook 8 + , pytest7CheckHook 9 9 , pytest-xdist 10 10 , numpy 11 11 }: ··· 36 36 ''; 37 37 38 38 nativeCheckInputs = [ 39 - pytestCheckHook 39 + pytest7CheckHook 40 40 pytest-xdist 41 41 numpy 42 - ]; 43 - 44 - pytestFlagsArray = [ 45 - # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. 46 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 47 42 ]; 48 43 49 44 disabledTestPaths = [
+2 -7
pkgs/development/python-modules/detect-secrets/default.nix
··· 5 5 , mock 6 6 , pkgs 7 7 , pyahocorasick 8 - , pytestCheckHook 8 + , pytest7CheckHook 9 9 , pythonOlder 10 10 , pyyaml 11 11 , requests ··· 37 37 38 38 nativeCheckInputs = [ 39 39 mock 40 - pytestCheckHook 40 + pytest7CheckHook 41 41 responses 42 42 unidiff 43 43 pkgs.gitMinimal 44 - ]; 45 - 46 - pytestFlagsArray = [ 47 - # Pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 48 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 49 44 ]; 50 45 51 46 preCheck = ''
-5
pkgs/development/python-modules/devtools/default.nix
··· 39 39 pytest-mock 40 40 ]; 41 41 42 - pytestFlagsArray = [ 43 - # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. 44 - "-W ignore::pytest.PytestRemovedIn8Warning" 45 - ]; 46 - 47 42 disabledTests = [ 48 43 # Test for Windows32 49 44 "test_print_subprocess"
+2 -7
pkgs/development/python-modules/djangorestframework/default.nix
··· 6 6 , django-guardian 7 7 , pythonOlder 8 8 , pytest-django 9 - , pytestCheckHook 9 + , pytest7CheckHook 10 10 , pytz 11 11 , pyyaml 12 12 , uritemplate ··· 32 32 33 33 nativeCheckInputs = [ 34 34 pytest-django 35 - pytestCheckHook 35 + pytest7CheckHook 36 36 37 37 # optional tests 38 38 coreapi 39 39 django-guardian 40 40 pyyaml 41 41 uritemplate 42 - ]; 43 - 44 - pytestFlagsArray = [ 45 - # ytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 46 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 47 42 ]; 48 43 49 44 pythonImportsCheck = [ "rest_framework" ];
+2 -2
pkgs/development/python-modules/dtlssocket/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , autoconf 5 - , cython 5 + , cython_0 6 6 , setuptools 7 7 }: 8 8 ··· 20 20 21 21 nativeBuildInputs = [ 22 22 autoconf 23 - cython 23 + cython_0 24 24 setuptools 25 25 ]; 26 26
+2 -2
pkgs/development/python-modules/editdistance/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 - , cython_3 5 + , cython 6 6 , pdm-backend 7 7 , setuptools 8 8 , pythonOlder ··· 23 23 }; 24 24 25 25 nativeBuildInputs = [ 26 - cython_3 26 + cython 27 27 pdm-backend 28 28 setuptools 29 29 ];
+2 -2
pkgs/development/python-modules/editdistpy/default.nix
··· 7 7 , pythonOlder 8 8 9 9 , setuptools 10 - , cython_3 10 + , cython 11 11 12 12 , symspellpy 13 13 , numpy ··· 30 30 31 31 build-system = [ 32 32 setuptools 33 - cython_3 33 + cython 34 34 ]; 35 35 36 36 # error: infinite recursion encountered
+4 -5
pkgs/development/python-modules/falcon/default.nix
··· 6 6 , fetchFromGitHub 7 7 8 8 # build 9 - , cython_3 9 + , cython 10 10 , setuptools 11 11 12 12 # tests ··· 17 17 , mujson 18 18 , orjson 19 19 , pytest-asyncio 20 - , pytestCheckHook 21 - , pytest_7 20 + , pytest7CheckHook 22 21 , pyyaml 23 22 , rapidjson 24 23 , requests ··· 44 43 nativeBuildInputs = [ 45 44 setuptools 46 45 ] ++ lib.optionals (!isPyPy) [ 47 - cython_3 46 + cython 48 47 ]; 49 48 50 49 __darwinAllowLocalNetworking = true; ··· 61 60 62 61 nativeCheckInputs = [ 63 62 # https://github.com/falconry/falcon/blob/master/requirements/tests 64 - (pytestCheckHook.override { pytest = pytest_7; }) 63 + pytest7CheckHook 65 64 pyyaml 66 65 requests 67 66 rapidjson
+11 -6
pkgs/development/python-modules/fastjsonschema/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 + , fetchpatch2 5 6 , pytestCheckHook 6 7 , pythonOlder 7 8 }: 8 9 9 10 buildPythonPackage rec { 10 11 pname = "fastjsonschema"; 11 - version = "2.18.1"; 12 + version = "2.19.1"; 12 13 format = "setuptools"; 13 14 14 15 disabled = pythonOlder "3.7"; ··· 18 19 repo = "python-fastjsonschema"; 19 20 rev = "v${version}"; 20 21 fetchSubmodules = true; 21 - hash = "sha256-t6JnqQgsWAL8oL8+LO0xrXMYsZOlTF3DlXkRiqUzYtU="; 22 + hash = "sha256-UxcxVB4ldnGAYJKWEccivon1CwZD588mNiVJOJPNeN8="; 22 23 }; 23 24 24 - nativeCheckInputs = [ 25 - pytestCheckHook 25 + patches = [ 26 + (fetchpatch2 { 27 + name = "fastjsonschema-pytest8-compat.patch"; 28 + url = "https://github.com/horejsek/python-fastjsonschema/commit/efc04daf4124a598182dfcfd497615cd1e633d18.patch"; 29 + hash = "sha256-G1/PIpdN+KFfRP9pUFf/ANXLq3mzrocEHyBNWQMVOZM="; 30 + }) 26 31 ]; 27 32 28 - pytestFlagsArray = [ 29 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 33 + nativeCheckInputs = [ 34 + pytestCheckHook 30 35 ]; 31 36 32 37 dontUseSetuptoolsCheck = true;
+2 -6
pkgs/development/python-modules/favicon/default.nix
··· 2 2 , beautifulsoup4 3 3 , buildPythonPackage 4 4 , fetchPypi 5 - , pytestCheckHook 5 + , pytest7CheckHook 6 6 , pythonOlder 7 7 , requests 8 8 , requests-mock ··· 30 30 ]; 31 31 32 32 nativeCheckInputs = [ 33 - pytestCheckHook 33 + pytest7CheckHook 34 34 requests-mock 35 - ]; 36 - 37 - pytestFlagsArray = [ 38 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 39 35 ]; 40 36 41 37 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/fiona/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 - , cython_3 5 + , cython 6 6 , gdal 7 7 , oldest-supported-numpy 8 8 , setuptools ··· 34 34 }; 35 35 36 36 nativeBuildInputs = [ 37 - cython_3 37 + cython 38 38 gdal # for gdal-config 39 39 oldest-supported-numpy 40 40 setuptools
+9 -3
pkgs/development/python-modules/flaky/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , setuptools 4 5 , mock 5 6 , pytest 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "flaky"; 10 - version = "3.7.0"; 11 - format = "setuptools"; 11 + version = "3.8.1"; 12 + pyproject = true; 12 13 13 14 src = fetchPypi { 14 15 inherit pname version; 15 - hash = "sha256-OtEAeAchoZEfV6FlgJt+omWnhjMFrLZnCCIIIMr4qg0="; 16 + hash = "sha256-RyBKgeyQXz1az71h2uq8raj51AMWFtm8sGGEYXKWmfU="; 16 17 }; 18 + 19 + build-system = [ 20 + setuptools 21 + ]; 17 22 18 23 nativeCheckInputs = [ 19 24 mock ··· 29 34 ''; 30 35 31 36 meta = with lib; { 37 + changelog = "https://github.com/box/flaky/blob/v${version}/HISTORY.rst"; 32 38 homepage = "https://github.com/box/flaky"; 33 39 description = "Plugin for nose or py.test that automatically reruns flaky tests"; 34 40 license = licenses.asl20;
+8 -7
pkgs/development/python-modules/flexmock/default.nix
··· 3 3 , fetchPypi 4 4 , pytestCheckHook 5 5 , pythonOlder 6 + , poetry-core 6 7 , teamcity-messages 7 8 , testtools 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "flexmock"; 12 - version = "0.11.3"; 13 - format = "setuptools"; 13 + version = "0.12.0"; 14 + pyproject = true; 14 15 15 16 disabled = pythonOlder "3.6"; 16 17 17 18 src = fetchPypi { 18 19 inherit pname version; 19 - hash = "sha256-sf419qXzJUe1zTGhXAYNmrhj3Aiv8BjNc9x40bZR7dQ="; 20 + hash = "sha256-YdBvPRRCuBW3qoWh9HvoONBW9fXRTO/teuv7A0c9FKs="; 20 21 }; 21 22 23 + build-system = [ 24 + poetry-core 25 + ]; 26 + 22 27 nativeCheckInputs = [ 23 28 pytestCheckHook 24 29 teamcity-messages 25 30 testtools 26 - ]; 27 - 28 - disabledTests = [ 29 - "test_failed_test_case" 30 31 ]; 31 32 32 33 pythonImportsCheck = [
+2 -3
pkgs/development/python-modules/flow-record/default.nix
··· 5 5 , fetchFromGitHub 6 6 , lz4 7 7 , msgpack 8 - , pytestCheckHook 9 - , pytest_7 8 + , pytest7CheckHook 10 9 , pythonOlder 11 10 , setuptools 12 11 , setuptools-scm ··· 52 51 }; 53 52 54 53 nativeCheckInputs = [ 55 - (pytestCheckHook.override { pytest = pytest_7; }) 54 + pytest7CheckHook 56 55 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 57 56 58 57 pythonImportsCheck = [
+2 -3
pkgs/development/python-modules/fonttools/default.nix
··· 21 21 , xattr 22 22 , skia-pathops 23 23 , uharfbuzz 24 - , pytestCheckHook 25 - , pytest_7 24 + , pytest7CheckHook 26 25 }: 27 26 28 27 buildPythonPackage rec { ··· 65 64 nativeCheckInputs = [ 66 65 # test suite fails with pytest>=8.0.1 67 66 # https://github.com/fonttools/fonttools/issues/3458 68 - (pytestCheckHook.override { pytest = pytest_7; }) 67 + pytest7CheckHook 69 68 ] ++ lib.concatLists (lib.attrVals ([ 70 69 "woff" 71 70 # "interpolatable" is not included because it only contains 2 tests at the time of writing but adds 270 extra dependencies
+2 -2
pkgs/development/python-modules/fpylll/default.nix
··· 5 5 6 6 # build-system 7 7 , cysignals 8 - , cython_3 8 + , cython 9 9 , pkgconfig 10 10 , setuptools 11 11 ··· 43 43 ]; 44 44 45 45 nativeBuildInputs = [ 46 - cython_3 46 + cython 47 47 cysignals 48 48 pkgconfig 49 49 setuptools
+2 -2
pkgs/development/python-modules/frozenlist/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython_3 3 + , cython 4 4 , expandvars 5 5 , fetchFromGitHub 6 6 , pep517 ··· 30 30 31 31 nativeBuildInputs = [ 32 32 expandvars 33 - cython_3 33 + cython 34 34 pep517 35 35 setuptools 36 36 wheel
+2 -2
pkgs/development/python-modules/fugashi/default.nix
··· 3 3 , pythonOlder 4 4 , pytestCheckHook 5 5 , buildPythonPackage 6 - , cython 6 + , cython_0 7 7 , mecab 8 8 , setuptools-scm 9 9 , ipadic ··· 24 24 hash = "sha256-4i7Q+TtXTQNSJ1EIcS8KHrVPdCJAgZh86Y6lB8772XU="; 25 25 }; 26 26 27 - nativeBuildInputs = [ cython mecab setuptools-scm ]; 27 + nativeBuildInputs = [ cython_0 mecab setuptools-scm ]; 28 28 29 29 nativeCheckInputs = [ ipadic pytestCheckHook ] 30 30 ++ passthru.optional-dependencies.unidic-lite;
+2 -2
pkgs/development/python-modules/gbinder-python/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , buildPythonPackage 4 - , cython 4 + , cython_0 5 5 , pkg-config 6 6 , libgbinder 7 7 }: ··· 23 23 ]; 24 24 25 25 nativeBuildInputs = [ 26 - cython 26 + cython_0 27 27 pkg-config 28 28 ]; 29 29
+8 -2
pkgs/development/python-modules/gevent/default.nix
··· 5 5 , python 6 6 , libev 7 7 , cffi 8 - , cython_3 8 + , cython 9 9 , greenlet 10 10 , importlib-metadata 11 11 , setuptools ··· 13 13 , zope-event 14 14 , zope-interface 15 15 , pythonOlder 16 + , c-ares 17 + , libuv 16 18 17 19 # for passthru.tests 18 20 , dulwich ··· 34 36 }; 35 37 36 38 nativeBuildInputs = [ 37 - cython_3 39 + cython 38 40 setuptools 39 41 wheel 40 42 ] ++ lib.optionals (!isPyPy) [ ··· 43 45 44 46 buildInputs = [ 45 47 libev 48 + libuv 49 + c-ares 46 50 ]; 47 51 48 52 propagatedBuildInputs = [ ··· 68 72 opentracing 69 73 pika; 70 74 } // lib.filterAttrs (k: v: lib.hasInfix "gevent" k) python.pkgs; 75 + 76 + GEVENTSETUP_EMBED = "0"; 71 77 72 78 meta = with lib; { 73 79 description = "Coroutine-based networking library";
+8 -14
pkgs/development/python-modules/graphene-django/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , buildPythonPackage 4 - , pythonAtLeast 5 4 , pythonOlder 6 5 , fetchFromGitHub 7 6 ··· 17 16 , py 18 17 , pytest-django 19 18 , pytest-random-order 20 - , pytestCheckHook 19 + , pytest7CheckHook 21 20 }: 22 21 23 22 buildPythonPackage rec { ··· 58 57 py 59 58 pytest-django 60 59 pytest-random-order 61 - pytestCheckHook 60 + pytest7CheckHook 62 61 ]; 63 62 64 - pytestFlagsArray = [ 65 - # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. 66 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 67 - ]; 68 - 69 - disabledTests = lib.optionals (pythonAtLeast "3.11") [ 70 - # Python 3.11 support, https://github.com/graphql-python/graphene-django/pull/1365 71 - "test_django_objecttype_convert_choices_enum_naming_collisions" 72 - "test_django_objecttype_choices_custom_enum_name" 73 - "test_django_objecttype_convert_choices_enum_list" 74 - "test_schema_representation" 63 + disabledTests = [ 64 + # https://github.com/graphql-python/graphene-django/issues/1510 65 + "test_should_filepath_convert_string" 66 + "test_should_choice_convert_enum" 67 + "test_should_multiplechoicefield_convert_to_list_of_enum" 68 + "test_perform_mutate_success_with_enum_choice_field" 75 69 ] ++ lib.optionals stdenv.isDarwin [ 76 70 # this test touches files in the "/" directory and fails in darwin sandbox 77 71 "test_should_filepath_convert_string"
+2 -3
pkgs/development/python-modules/graphene/default.nix
··· 8 8 , pytest-asyncio 9 9 , pytest-benchmark 10 10 , pytest-mock 11 - , pytestCheckHook 11 + , pytest7CheckHook 12 12 , pythonOlder 13 13 , pytz 14 14 , snapshottest ··· 39 39 ]; 40 40 41 41 nativeCheckInputs = [ 42 - pytestCheckHook 42 + pytest7CheckHook 43 43 pytest-asyncio 44 44 pytest-benchmark 45 45 pytest-mock ··· 49 49 50 50 pytestFlagsArray = [ 51 51 "--benchmark-disable" 52 - "-W ignore::pytest.PytestRemovedIn8Warning" 53 52 ]; 54 53 55 54 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/h5py/default.nix
··· 7 7 , wheel 8 8 , numpy 9 9 , hdf5 10 - , cython 10 + , cython_0 11 11 , pkgconfig 12 12 , mpi4py ? null 13 13 , openssh ··· 50 50 preBuild = lib.optionalString mpiSupport "export CC=${lib.getDev mpi}/bin/mpicc"; 51 51 52 52 nativeBuildInputs = [ 53 - cython 53 + cython_0 54 54 oldest-supported-numpy 55 55 pkgconfig 56 56 setuptools
+2 -2
pkgs/development/python-modules/hatchling/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "hatchling"; 23 - version = "1.21.1"; 23 + version = "1.22.4"; 24 24 format = "pyproject"; 25 25 disabled = pythonOlder "3.8"; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - hash = "sha256-u6RARToiTn1EeEV/oujYw2M3Zbr6Apdaa1O5v5F5gLw="; 29 + hash = "sha256-ii3OyW1/uEg4LvWEjlrEP9rmQfNaCKP6tRFr1JXzQW4="; 30 30 }; 31 31 32 32 # listed in backend/pyproject.toml
+2 -6
pkgs/development/python-modules/hid-parser/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , setuptools 5 - , pytestCheckHook 5 + , pytest7CheckHook 6 6 , hypothesis 7 7 }: 8 8 ··· 21 21 ]; 22 22 23 23 nativeCheckInputs = [ 24 - pytestCheckHook 24 + pytest7CheckHook 25 25 hypothesis 26 - ]; 27 - 28 - pytestFlagsArray = [ 29 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 30 26 ]; 31 27 32 28 pythonImportsCheck = [ "hid_parser" ];
+4 -4
pkgs/development/python-modules/hidapi/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchPypi 5 5 , xcbuild 6 - , cython 6 + , cython_0 7 7 , libusb1 8 8 , udev 9 9 , darwin ··· 19 19 sha256 = "a7cb029286ced5426a381286526d9501846409701a29c2538615c3d1a612b8be"; 20 20 }; 21 21 22 - nativeBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ]; 22 + nativeBuildInputs = [ cython_0 ] 23 + ++ lib.optionals stdenv.isDarwin [ xcbuild ]; 23 24 24 - propagatedBuildInputs = [ cython ] 25 - ++ lib.optionals stdenv.isLinux [ libusb1 udev ] 25 + propagatedBuildInputs = lib.optionals stdenv.isLinux [ libusb1 udev ] 26 26 ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit CoreFoundation IOKit ]); 27 27 28 28 # Fix the USB backend library lookup
+2 -3
pkgs/development/python-modules/homematicip/default.nix
··· 5 5 , async-timeout 6 6 , buildPythonPackage 7 7 , fetchFromGitHub 8 - , pytestCheckHook 9 - , pytest_7 8 + , pytest7CheckHook 10 9 , pythonAtLeast 11 10 , pythonOlder 12 11 , pytest-aiohttp ··· 50 49 aiohttp-wsgi 51 50 pytest-aiohttp 52 51 pytest-asyncio 53 - (pytestCheckHook.override { pytest = pytest_7; }) 52 + pytest7CheckHook 54 53 ]; 55 54 56 55 pytestFlagsArray = [
+2 -2
pkgs/development/python-modules/hypothesis/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "hypothesis"; 25 - version = "6.98.17"; 25 + version = "6.99.12"; 26 26 pyproject = true; 27 27 28 28 disabled = pythonOlder "3.7"; ··· 31 31 owner = "HypothesisWorks"; 32 32 repo = "hypothesis"; 33 33 rev = "hypothesis-python-${version}"; 34 - hash = "sha256-2knFmaa334vFo8bbLCmrWAXRDXFcC+GPRqj7RG3FqEQ="; 34 + hash = "sha256-0nzjRDv4L3bxxnC0lBY5S7FP9CFhyzHzNchWXoX91Zg="; 35 35 }; 36 36 37 37 # I tried to package sphinx-selective-exclude, but it throws
+2 -2
pkgs/development/python-modules/in-n-out/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython_3 3 + , cython 4 4 , fetchPypi 5 5 , future 6 6 , pytestCheckHook ··· 25 25 }; 26 26 27 27 nativeBuildInputs = [ 28 - cython_3 28 + cython 29 29 hatchling 30 30 hatch-vcs 31 31 ];
+30 -8
pkgs/development/python-modules/ipython/default.nix
··· 19 19 , traitlets 20 20 , typing-extensions 21 21 22 + # Optional dependencies 23 + , ipykernel 24 + , ipyparallel 25 + , ipywidgets 26 + , matplotlib 27 + , nbconvert 28 + , nbformat 29 + , notebook 30 + , qtconsole 31 + 22 32 # Test dependencies 23 33 , pickleshare 24 34 , pytest-asyncio 25 - , pytestCheckHook 26 - , pytest_7 35 + , pytest7CheckHook 27 36 , testpath 28 37 }: 29 38 30 39 buildPythonPackage rec { 31 40 pname = "ipython"; 32 - version = "8.22.2"; 41 + version = "8.23.0"; 33 42 pyproject = true; 34 43 disabled = pythonOlder "3.10"; 35 44 36 45 src = fetchPypi { 37 46 inherit pname version; 38 - hash = "sha256-LcqtkEn5BW8f72NRTxdsfUH5MNqnjQW4KhdiAoGPLBQ="; 47 + hash = "sha256-dGjtr09t4+G5EuV/ZsJB5v08cJny7CE24jnhQugAJ00="; 39 48 }; 40 49 41 - nativeBuildInputs = [ 50 + build-system = [ 42 51 setuptools 43 52 ]; 44 53 45 - propagatedBuildInputs = [ 54 + dependencies = [ 46 55 decorator 47 56 jedi 48 57 matplotlib-inline ··· 53 62 traitlets 54 63 ] ++ lib.optionals (pythonOlder "3.11") [ 55 64 exceptiongroup 56 - ] ++ lib.optionals (pythonOlder "3.10") [ 65 + ] ++ lib.optionals (pythonOlder "3.12") [ 57 66 typing-extensions 58 67 ]; 59 68 69 + optional-dependencies = { 70 + kernel = [ ipykernel ]; 71 + nbconvert = [ nbconvert ]; 72 + nbformat = [ nbformat ]; 73 + notebook = [ 74 + ipywidgets 75 + notebook 76 + ]; 77 + parallel = [ ipyparallel ]; 78 + qtconsole = [ qtconsole ]; 79 + matplotlib = [ matplotlib ]; 80 + }; 81 + 60 82 pythonImportsCheck = [ 61 83 "IPython" 62 84 ]; ··· 72 94 nativeCheckInputs = [ 73 95 pickleshare 74 96 pytest-asyncio 75 - (pytestCheckHook.override { pytest = pytest_7; }) 97 + pytest7CheckHook 76 98 testpath 77 99 ]; 78 100
+2 -7
pkgs/development/python-modules/ipywidgets/default.nix
··· 8 8 , jsonschema 9 9 , jupyterlab-widgets 10 10 , lib 11 - , pytestCheckHook 11 + , pytest7CheckHook 12 12 , pytz 13 13 , traitlets 14 14 , widgetsnbextension ··· 40 40 nativeCheckInputs = [ 41 41 ipykernel 42 42 jsonschema 43 - pytestCheckHook 43 + pytest7CheckHook 44 44 pytz 45 - ]; 46 - 47 - pytestFlagsArray = [ 48 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 49 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 50 45 ]; 51 46 52 47 meta = {
+2 -2
pkgs/development/python-modules/isort/default.nix
··· 52 52 "--ignore=tests/benchmark/" # requires pytest-benchmark 53 53 "--ignore=tests/integration/" # pulls in 10 other packages 54 54 "--ignore=tests/unit/profiles/test_black.py" # causes infinite recursion to include black 55 - # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. 56 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 57 55 ]; 58 56 59 57 disabledTests = [ ··· 74 72 "test_value_assignment_list" 75 73 # profiles not available 76 74 "test_isort_supports_shared_profiles_issue_970" 75 + # https://github.com/PyCQA/isort/issues/2234 76 + "test_isort_should_warn_on_empty_custom_config_issue_1433" 77 77 ]; 78 78 79 79 meta = with lib; {
+2 -6
pkgs/development/python-modules/json-tricks/default.nix
··· 2 2 , fetchFromGitHub 3 3 , buildPythonPackage 4 4 , pythonOlder 5 - , pytestCheckHook 5 + , pytest7CheckHook 6 6 , numpy 7 7 , pandas 8 8 , pytz ··· 26 26 numpy 27 27 pandas 28 28 pytz 29 - pytestCheckHook 30 - ]; 31 - 32 - pytestFlagsArray = [ 33 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 29 + pytest7CheckHook 34 30 ]; 35 31 36 32 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/kivy/default.nix
··· 1 1 { lib, stdenv 2 2 , buildPythonPackage, fetchFromGitHub, fetchpatch 3 - , pkg-config, cython, docutils 3 + , pkg-config, cython_0, docutils 4 4 , kivy-garden 5 5 , mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer 6 6 , Accelerate, ApplicationServices, AVFoundation, libcxx ··· 22 22 23 23 nativeBuildInputs = [ 24 24 pkg-config 25 - cython 25 + cython_0 26 26 docutils 27 27 ]; 28 28
+2 -7
pkgs/development/python-modules/kombu/default.nix
··· 15 15 , pycurl 16 16 , pymongo 17 17 #, pyro4 18 - , pytestCheckHook 18 + , pytest7CheckHook 19 19 , pythonOlder 20 20 , pyyaml 21 21 , redis ··· 89 89 nativeCheckInputs = [ 90 90 case 91 91 hypothesis 92 - pytestCheckHook 92 + pytest7CheckHook 93 93 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 94 - 95 - pytestFlagsArray = [ 96 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 97 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 98 - ]; 99 94 100 95 pythonImportsCheck = [ 101 96 "kombu"
+2 -2
pkgs/development/python-modules/levenshtein/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , cmake 5 - , cython_3 5 + , cython 6 6 , fetchFromGitHub 7 7 , pytestCheckHook 8 8 , pythonOlder ··· 28 28 29 29 nativeBuildInputs = [ 30 30 cmake 31 - cython_3 31 + cython 32 32 scikit-build 33 33 ]; 34 34
+2 -2
pkgs/development/python-modules/libgpuarray/default.nix
··· 4 4 , buildPythonPackage 5 5 , fetchFromGitHub 6 6 , cmake 7 - , cython 7 + , cython_0 8 8 , numpy 9 9 , six 10 10 , nose ··· 67 67 68 68 nativeBuildInputs = [ 69 69 cmake 70 + cython_0 70 71 ] ++ lib.optionals cudaSupport [ 71 72 addOpenGLRunpath 72 73 ]; 73 74 74 75 75 76 buildInputs = [ 76 - cython 77 77 nose 78 78 ]; 79 79
+2 -7
pkgs/development/python-modules/librouteros/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytest-xdist 5 - , pytestCheckHook 5 + , pytest7CheckHook 6 6 , pythonOlder 7 7 , setuptools 8 8 }: ··· 27 27 28 28 nativeCheckInputs = [ 29 29 pytest-xdist 30 - pytestCheckHook 31 - ]; 32 - 33 - pytestFlagsArray = [ 34 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 35 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 30 + pytest7CheckHook 36 31 ]; 37 32 38 33 disabledTests = [
+2 -3
pkgs/development/python-modules/lightning-utilities/default.nix
··· 11 11 12 12 # tests 13 13 , pytest-timeout 14 - , pytestCheckHook 15 - , pytest_7 14 + , pytest7CheckHook 16 15 }: 17 16 18 17 buildPythonPackage rec { ··· 42 41 43 42 nativeCheckInputs = [ 44 43 pytest-timeout 45 - (pytestCheckHook.override { pytest = pytest_7; }) 44 + pytest7CheckHook 46 45 ]; 47 46 48 47 disabledTests = [
+2 -2
pkgs/development/python-modules/line-profiler/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , cython_3 4 + , cython 5 5 , isPyPy 6 6 , ipython 7 7 , scikit-build ··· 25 25 }; 26 26 27 27 nativeBuildInputs = [ 28 - cython_3 28 + cython 29 29 cmake 30 30 scikit-build 31 31 ];
+2 -2
pkgs/development/python-modules/llfuse/default.nix
··· 3 3 , buildPythonPackage 4 4 , pythonOlder 5 5 , fetchFromGitHub 6 - , cython_3 6 + , cython 7 7 , fuse 8 8 , pkg-config 9 9 , pytestCheckHook ··· 27 27 hash = "sha256-6/iW5eHmX6ODVPLFkOo3bN9yW8ixqy2MHwQ2r9FA0iI="; 28 28 }; 29 29 30 - nativeBuildInputs = [ cython_3 pkg-config setuptools ]; 30 + nativeBuildInputs = [ cython pkg-config setuptools ]; 31 31 32 32 buildInputs = [ fuse ]; 33 33
+2 -2
pkgs/development/python-modules/lupa/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython_3 3 + , cython 4 4 , fetchPypi 5 5 , pythonOlder 6 6 , setuptools ··· 19 19 }; 20 20 21 21 build-system = [ 22 - cython_3 22 + cython 23 23 setuptools 24 24 ]; 25 25
+2 -2
pkgs/development/python-modules/lxml/default.nix
··· 4 4 , fetchFromGitHub 5 5 6 6 # build-system 7 - , cython_3 7 + , cython 8 8 , setuptools 9 9 10 10 # native dependencies ··· 30 30 nativeBuildInputs = [ 31 31 libxml2.dev 32 32 libxslt.dev 33 - cython_3 33 + cython 34 34 setuptools 35 35 ] ++ lib.optionals stdenv.isDarwin [ 36 36 xcodebuild
+8 -6
pkgs/development/python-modules/lz4/default.nix
··· 6 6 , pytestCheckHook 7 7 , python 8 8 , pythonOlder 9 + , setuptools 9 10 , setuptools-scm 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 - pname = "python-lz4"; 14 + pname = "lz4"; 14 15 version = "4.3.3"; 15 - format = "setuptools"; 16 + pyproject = true; 16 17 17 18 disabled = pythonOlder "3.5"; 18 19 19 20 # get full repository in order to run tests 20 21 src = fetchFromGitHub { 21 - owner = pname; 22 - repo = pname; 22 + owner = "python-lz4"; 23 + repo = "python-lz4"; 23 24 rev = "refs/tags/v${version}"; 24 25 hash = "sha256-ZvGUkb9DoheYY2/sejUhxgh2lS5eoBrFCXR4E0IcFcs="; 25 26 }; ··· 28 29 sed -i '/pytest-cov/d' setup.py 29 30 ''; 30 31 31 - nativeBuildInputs = [ 32 + build-system = [ 32 33 pkgconfig 33 34 setuptools-scm 35 + setuptools 34 36 ]; 35 37 36 38 pythonImportsCheck = [ ··· 46 48 ]; 47 49 48 50 # for lz4.steam 49 - PYLZ4_EXPERIMENTAL = true; 51 + env.PYLZ4_EXPERIMENTAL = true; 50 52 51 53 # prevent local lz4 directory from getting imported as it lacks native extensions 52 54 preCheck = ''
+9 -16
pkgs/development/python-modules/marshmallow-enum/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , setuptools 4 5 , marshmallow 5 - , pytestCheckHook 6 - , isPy27 7 - , enum34 6 + , pytest7CheckHook 8 7 }: 9 8 10 9 buildPythonPackage rec { 11 10 pname = "marshmallow-enum"; 12 11 version = "1.5.1"; 13 - format = "setuptools"; 12 + pyproject = true; 14 13 15 14 src = fetchFromGitHub { 16 15 owner = "justanr"; ··· 23 22 sed -i '/addopts/d' tox.ini 24 23 ''; 25 24 26 - propagatedBuildInputs = [ 27 - marshmallow 28 - ] ++ lib.optionals isPy27 [ enum34 ]; 29 - 30 - nativeCheckInputs = [ 31 - pytestCheckHook 25 + build-system = [ 26 + setuptools 32 27 ]; 33 28 34 - pytestFlagsArray = [ 35 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 36 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 29 + dependencies = [ 30 + marshmallow 37 31 ]; 38 32 39 - disabledTests = [ 40 - "test_custom_error_in_deserialize_by_name" 41 - "test_custom_error_in_deserialize_by_value" 33 + nativeCheckInputs = [ 34 + pytest7CheckHook 42 35 ]; 43 36 44 37 meta = with lib; {
+2 -2
pkgs/development/python-modules/mdtraj/default.nix
··· 5 5 , fetchpatch 6 6 , llvmPackages 7 7 , zlib 8 - , cython 8 + , cython_0 9 9 , oldest-supported-numpy 10 10 , setuptools 11 11 , wheel ··· 42 42 ]; 43 43 44 44 nativeBuildInputs = [ 45 - cython 45 + cython_0 46 46 oldest-supported-numpy 47 47 setuptools 48 48 wheel
+2 -2
pkgs/development/python-modules/memory-allocator/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 3 , buildPythonPackage 4 - , cython_3 4 + , cython 5 5 }: 6 6 7 7 buildPythonPackage rec { ··· 15 15 hash = "sha256-1gkhawMDGWfitFqASxL/kClXj07AGf3kLPau1soJ7+Q="; 16 16 }; 17 17 18 - propagatedBuildInputs = [ cython_3 ]; 18 + propagatedBuildInputs = [ cython ]; 19 19 20 20 pythonImportsCheck = [ "memory_allocator" ]; 21 21
+27 -7
pkgs/development/python-modules/mido/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchPypi 5 5 , substituteAll 6 + 7 + # build-system 8 + , setuptools 9 + , setuptools-scm 10 + , pythonRelaxDepsHook 11 + 12 + # dependencies 13 + , packaging 14 + 15 + # native dependencies 6 16 , portmidi 17 + 18 + # optional-dependencies 19 + , pygame 7 20 , python-rtmidi 21 + , rtmidi-python 22 + 23 + # tests 8 24 , pytestCheckHook 9 - , pythonRelaxDepsHook 10 25 , pythonOlder 11 - , setuptools 12 - , setuptools-scm 26 + 13 27 }: 14 28 15 29 buildPythonPackage rec { ··· 21 35 22 36 src = fetchPypi { 23 37 inherit pname version; 24 - sha256 = "sha256-Ouootu1zD3N9WxLaNXjevp3FAFj6Nw/pzt7ZGJtnw0g="; 38 + hash = "sha256-Ouootu1zD3N9WxLaNXjevp3FAFj6Nw/pzt7ZGJtnw0g="; 25 39 }; 26 40 27 41 patches = [ ··· 31 45 }) 32 46 ]; 33 47 34 - nativeBuildInputs = [ 48 + build-system = [ 35 49 setuptools 36 50 setuptools-scm 37 51 pythonRelaxDepsHook ··· 41 55 "packaging" 42 56 ]; 43 57 44 - propagatedBuildInputs = [ 45 - python-rtmidi 58 + dependencies = [ 59 + packaging 46 60 ]; 61 + 62 + optional-dependencies = { 63 + ports-pygame = [ pygame ]; 64 + ports-rtmidi = [ python-rtmidi ]; 65 + ports-rtmidi-python = [ rtmidi-python ]; 66 + }; 47 67 48 68 nativeCheckInputs = [ 49 69 pytestCheckHook
+7 -3
pkgs/development/python-modules/moto/default.nix
··· 18 18 , xmltodict 19 19 20 20 # optional-dependencies 21 + , antlr4-python3-runtime 21 22 , aws-xray-sdk 22 23 , cfn-lint 23 24 , flask ··· 25 26 , docker 26 27 , graphql-core 27 28 , joserfc 29 + , jsonpath-ng 28 30 , jsondiff 29 31 , multipart 30 32 , openapi-spec-validator ··· 41 43 42 44 buildPythonPackage rec { 43 45 pname = "moto"; 44 - version = "5.0.3"; 46 + version = "5.0.5"; 45 47 pyproject = true; 46 48 47 49 disabled = pythonOlder "3.6"; 48 50 49 51 src = fetchPypi { 50 52 inherit pname version; 51 - hash = "sha256-BwrC7fia167ihTRIHOaOLzRMimqP7+xUJ+6g1Zm/29s="; 53 + hash = "sha256-Lqyi33dY9oaN9CC/ByXNC5PZhwlgbx+4sjQ7W9yCLZE="; 52 54 }; 53 55 54 - nativeBuildInputs = [ 56 + build-system = [ 55 57 setuptools 56 58 ]; 57 59 ··· 70 72 passthru.optional-dependencies = { 71 73 # non-exhaustive list of extras, that was cobbled together for testing 72 74 all = [ 75 + antlr4-python3-runtime 73 76 aws-xray-sdk 74 77 cfn-lint 75 78 docker ··· 78 81 graphql-core 79 82 joserfc 80 83 jsondiff 84 + jsonpath-ng 81 85 multipart 82 86 openapi-spec-validator 83 87 pyparsing
+2 -7
pkgs/development/python-modules/ndindex/default.nix
··· 3 3 , fetchFromGitHub 4 4 5 5 # build-system 6 - , cython_3 6 + , cython 7 7 8 8 # optional 9 9 , numpy ··· 27 27 }; 28 28 29 29 nativeBuildInputs = [ 30 - cython_3 30 + cython 31 31 ]; 32 32 33 33 postPatch = '' ··· 48 48 pytest-cov # uses cov markers 49 49 pytestCheckHook 50 50 ] ++ passthru.optional-dependencies.arrays; 51 - 52 - pytestFlagsArray = [ 53 - # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. 54 - "--deselect=ndindex/tests/test_ndindex.py::test_ndindex_invalid" 55 - ]; 56 51 57 52 meta = with lib; { 58 53 description = "";
+8 -2
pkgs/development/python-modules/nibabel/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , pythonAtLeast 4 5 , pythonOlder 5 6 , hatchling 6 7 , hatch-vcs ··· 15 16 , pytest-doctestplus 16 17 , pytest-httpserver 17 18 , pytest-xdist 18 - , pytestCheckHook 19 + , pytest7CheckHook 19 20 }: 20 21 21 22 buildPythonPackage rec { ··· 70 71 pytest-doctestplus 71 72 pytest-httpserver 72 73 pytest-xdist 73 - pytestCheckHook 74 + pytest7CheckHook 74 75 ] ++ passthru.optional-dependencies.all; 75 76 76 77 preCheck = '' 77 78 export PATH=$out/bin:$PATH 78 79 ''; 80 + 81 + disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [ 82 + # uses distutils 83 + "nisext/tests/test_sexts.py" 84 + ]; 79 85 80 86 meta = with lib; { 81 87 homepage = "https://nipy.org/nibabel";
+2 -2
pkgs/development/python-modules/nipy/default.nix
··· 3 3 , fetchPypi 4 4 5 5 # build-system 6 - , cython_3 6 + , cython 7 7 , meson-python 8 8 , ninja 9 9 , setuptools ··· 37 37 ''; 38 38 39 39 build-system = [ 40 - cython_3 40 + cython 41 41 meson-python 42 42 setuptools 43 43 ninja
+2 -6
pkgs/development/python-modules/nocasedict/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , pytestCheckHook 4 + , pytest7CheckHook 5 5 , six 6 6 }: 7 7 ··· 20 20 ]; 21 21 22 22 nativeCheckInputs = [ 23 - pytestCheckHook 24 - ]; 25 - 26 - pytestFlagsArray = [ 27 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 23 + pytest7CheckHook 28 24 ]; 29 25 30 26 pythonImportsCheck = [
+2 -6
pkgs/development/python-modules/nocaselist/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , pytestCheckHook 4 + , pytest7CheckHook 5 5 , pythonOlder 6 6 , six 7 7 }: ··· 23 23 ]; 24 24 25 25 nativeCheckInputs = [ 26 - pytestCheckHook 27 - ]; 28 - 29 - pytestFlagsArray = [ 30 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 26 + pytest7CheckHook 31 27 ]; 32 28 33 29 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/numpy/default.nix
··· 8 8 , writeTextFile 9 9 10 10 # build-system 11 - , cython_3 11 + , cython 12 12 , gfortran 13 13 , meson-python 14 14 , mesonEmulatorHook ··· 91 91 ''; 92 92 93 93 nativeBuildInputs = [ 94 - cython_3 94 + cython 95 95 gfortran 96 96 meson-python 97 97 pkg-config
+2 -3
pkgs/development/python-modules/openapi-core/default.nix
··· 19 19 , parse 20 20 , poetry-core 21 21 , pytest-aiohttp 22 - , pytestCheckHook 23 - , pytest_7 22 + , pytest7CheckHook 24 23 , pythonOlder 25 24 , responses 26 25 , requests ··· 94 93 nativeCheckInputs = [ 95 94 httpx 96 95 pytest-aiohttp 97 - (pytestCheckHook.override { pytest = pytest_7; }) 96 + pytest7CheckHook 98 97 responses 99 98 webob 100 99 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
+2 -2
pkgs/development/python-modules/openpyxl/default.nix
··· 5 5 , lxml 6 6 , pandas 7 7 , pillow 8 - , pytestCheckHook 8 + , pytest7CheckHook 9 9 , pythonAtLeast 10 10 , pythonOlder 11 11 , setuptools ··· 38 38 lxml 39 39 pandas 40 40 pillow 41 - pytestCheckHook 41 + pytest7CheckHook 42 42 ]; 43 43 44 44 pytestFlagsArray = [
+19 -9
pkgs/development/python-modules/openstep-plist/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , cython 5 + , setuptools 4 6 , setuptools-scm 5 7 , pytestCheckHook 6 - , cython 7 - , pythonImportsCheckHook 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "openstep-plist"; 12 - version = "0.3.0.post1"; 13 - format = "setuptools"; 12 + version = "0.3.1"; 13 + pyproject = true; 14 14 15 15 src = fetchPypi { 16 16 pname = "openstep_plist"; 17 17 inherit version; 18 - hash = "sha256-GK/z1e3tnr++3+ukRKPASDJGl7+KObsENhwN1Tv+qws="; 19 - extension = "zip"; 18 + hash = "sha256-Au6taO+57Ost4slTlwc86A/ImFXZerZRab2S/ENo5PI="; 20 19 }; 21 20 22 - nativeBuildInputs = [ setuptools-scm cython ]; 23 - nativeCheckInputs = [ pytestCheckHook ]; 24 - pythonImportsCheck = [ "openstep_plist" ]; 21 + build-system = [ 22 + cython 23 + setuptools 24 + setuptools-scm 25 + ]; 26 + 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "openstep_plist" 33 + ]; 25 34 26 35 meta = { 36 + changelog = "https://github.com/fonttools/openstep-plist/releases/tag/v${version}"; 27 37 description = "Parser for the 'old style' OpenStep property list format also known as ASCII plist"; 28 38 homepage = "https://github.com/fonttools/openstep-plist"; 29 39 license = lib.licenses.mit;
+2 -2
pkgs/development/python-modules/oracledb/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , cryptography 4 - , cython_3 4 + , cython 5 5 , fetchPypi 6 6 , pythonOlder 7 7 , setuptools ··· 21 21 }; 22 22 23 23 build-system = [ 24 - cython_3 24 + cython 25 25 setuptools 26 26 wheel 27 27 ];
+20 -7
pkgs/development/python-modules/palace/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromSourcehut, pythonOlder 2 - , cmake, cython, alure2, typing-extensions 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromSourcehut 4 + , pythonOlder 5 + , cmake 6 + , cython_0 7 + , setuptools 8 + , alure2 9 + , typing-extensions 3 10 }: 4 11 5 12 buildPythonPackage rec { 6 13 pname = "palace"; 7 14 version = "0.2.5"; 8 - format = "setuptools"; 15 + pyproject = true; 16 + 9 17 disabled = pythonOlder "3.6"; 10 18 11 19 src = fetchFromSourcehut { ··· 21 29 --replace IMPORTED_LOCATION_NOCONFIG IMPORTED_LOCATION_RELEASE 22 30 ''; 23 31 32 + build-system = [ 33 + cmake 34 + cython_0 35 + setuptools 36 + ]; 37 + 24 38 dontUseCmakeConfigure = true; 25 39 26 - nativeBuildInputs = [ cmake ]; 27 - buildInputs = [ cython ]; 28 - propagatedBuildInputs = [ alure2 ] ++ lib.optionals (pythonOlder "3.8") [ 29 - typing-extensions 40 + propagatedBuildInputs = [ 41 + alure2 30 42 ]; 31 43 32 44 doCheck = false; # FIXME: tests need an audio device 45 + 33 46 pythonImportsCheck = [ "palace" ]; 34 47 35 48 meta = with lib; {
+2 -2
pkgs/development/python-modules/pandas/default.nix
··· 6 6 , pythonOlder 7 7 8 8 # build-system 9 - , cython_3 9 + , cython 10 10 , meson-python 11 11 , meson 12 12 , oldest-supported-numpy ··· 84 84 ''; 85 85 86 86 nativeBuildInputs = [ 87 - cython_3 87 + cython 88 88 meson-python 89 89 meson 90 90 numpy
+4 -5
pkgs/development/python-modules/papermill/default.nix
··· 97 97 "papermill" 98 98 ]; 99 99 100 - pytestFlagsArray = [ 101 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 102 - ]; 103 - 104 - disabledTests = lib.optionals stdenv.isDarwin [ 100 + disabledTests = [ 101 + # pytest 8 compat 102 + "test_read_with_valid_file_extension" 103 + ] ++ lib.optionals stdenv.isDarwin [ 105 104 # might fail due to the sandbox 106 105 "test_end2end_autosave_slow_notebook" 107 106 ];
+5 -4
pkgs/development/python-modules/paramiko/default.nix
··· 31 31 url = "https://github.com/paramiko/paramiko/commit/18e38b99f515056071fb27b9c1a4f472005c324a.patch"; 32 32 hash = "sha256-bPDghPeLo3NiOg+JwD5CJRRLv2VEqmSx1rOF2Tf8ZDA="; 33 33 }) 34 + (fetchpatch { 35 + name = "paramiko-pytest8-compat.patch"; 36 + url = "https://github.com/paramiko/paramiko/commit/d71046151d9904df467ff72709585cde39cdd4ca.patch"; 37 + hash = "sha256-4CTIZ9BmzRdh+HOwxSzfM9wkUGJOnndctK5swqqsIvU="; 38 + }) 34 39 ]; 35 40 36 41 propagatedBuildInputs = [ ··· 51 56 mock 52 57 pytestCheckHook 53 58 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 54 - 55 - pytestFlagsArray = [ 56 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 57 - ]; 58 59 59 60 disabledTestPaths = [ 60 61 # disable tests that require pytest-relaxed, which is broken
+6
pkgs/development/python-modules/pint/default.nix
··· 50 50 uncertainties 51 51 ]; 52 52 53 + pytestFlagsArray = [ 54 + "--benchmark-disable" 55 + ]; 56 + 53 57 preCheck = '' 54 58 export HOME=$(mktemp -d) 55 59 ''; ··· 57 61 disabledTests = [ 58 62 # https://github.com/hgrecco/pint/issues/1898 59 63 "test_load_definitions_stage_2" 64 + # pytest8 deprecation 65 + "test_nonnumeric_magnitudes" 60 66 ]; 61 67 62 68 meta = with lib; {
+2 -6
pkgs/development/python-modules/pmdarima/default.nix
··· 12 12 , urllib3 13 13 , pythonOlder 14 14 , python 15 - , pytestCheckHook 15 + , pytest7CheckHook 16 16 }: 17 17 18 18 buildPythonPackage rec { ··· 49 49 50 50 nativeCheckInputs = [ 51 51 matplotlib 52 - pytestCheckHook 53 - ]; 54 - 55 - pytestFlagsArray = [ 56 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 52 + pytest7CheckHook 57 53 ]; 58 54 59 55 disabledTests= [
+2 -3
pkgs/development/python-modules/pook/default.nix
··· 7 7 , jsonschema 8 8 , pytest-asyncio 9 9 , pytest-httpbin 10 - , pytestCheckHook 11 - , pytest_7 10 + , pytest7CheckHook 12 11 , pythonOlder 13 12 , requests 14 13 , xmltodict ··· 43 42 nativeCheckInputs = [ 44 43 pytest-asyncio 45 44 pytest-httpbin 46 - (pytestCheckHook.override { pytest = pytest_7; }) 45 + pytest7CheckHook 47 46 ]; 48 47 49 48 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/pplpy/default.nix
··· 5 5 , mpfr 6 6 , libmpc 7 7 , ppl 8 - , cython_3 8 + , cython 9 9 , cysignals 10 10 , gmpy2 11 11 , sphinx ··· 33 33 ]; 34 34 35 35 propagatedBuildInputs = [ 36 - cython_3 36 + cython 37 37 cysignals 38 38 gmpy2 39 39 ];
+2 -2
pkgs/development/python-modules/primecountpy/default.nix
··· 2 2 , fetchPypi 3 3 , buildPythonPackage 4 4 , primecount 5 - , cython_3 5 + , cython 6 6 , cysignals 7 7 }: 8 8 ··· 18 18 19 19 buildInputs = [ primecount ]; 20 20 21 - propagatedBuildInputs = [ cython_3 cysignals ]; 21 + propagatedBuildInputs = [ cython cysignals ]; 22 22 23 23 # depends on pytest-cython for "pytest --doctest-cython" 24 24 doCheck = false;
+3
pkgs/development/python-modules/protobuf/3.nix
··· 45 45 # 46 46 postPatch = '' 47 47 sed -i "/extra_compile_args.append('-std=c++14')/d" setup.py 48 + 49 + substituteInPlace google/protobuf/internal/json_format_test.py \ 50 + --replace-fail assertRaisesRegexp assertRaisesRegex 48 51 ''; 49 52 50 53 nativeBuildInputs = lib.optional isPyPy tzdata;
+5
pkgs/development/python-modules/protobuf/default.nix
··· 60 60 # 61 61 postPatch = '' 62 62 sed -i "/extra_compile_args.append('-std=c++14')/d" setup.py 63 + 64 + # The former function has been renamed into the latter in Python 3.12. 65 + # Does not apply to all protobuf versions, hence --replace-warn. 66 + substituteInPlace google/protobuf/internal/json_format_test.py \ 67 + --replace-warn assertRaisesRegexp assertRaisesRegex 63 68 ''; 64 69 65 70 nativeBuildInputs = lib.optional isPyPy tzdata;
+6 -2
pkgs/development/python-modules/psd-tools/default.nix
··· 12 12 , pytestCheckHook 13 13 , pytest-cov 14 14 , ipython 15 - , cython_3 15 + , cython 16 16 }: 17 17 18 18 buildPythonPackage rec { ··· 29 29 hash = "sha256-HUFJ2FP9WGcG9pkukS2LHIgPYFRAXAneiVK6VfYQ+zU="; 30 30 }; 31 31 32 + postPatch = '' 33 + sed -i "/addopts =/d" pyproject.toml 34 + ''; 35 + 32 36 nativeBuildInputs = [ 33 - cython_3 37 + cython 34 38 ]; 35 39 36 40 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/psycopg/default.nix
··· 15 15 , typing-extensions 16 16 17 17 # psycopg-c 18 - , cython_3 18 + , cython 19 19 , tomli 20 20 21 21 # docs ··· 72 72 ''; 73 73 74 74 nativeBuildInputs = [ 75 - cython_3 75 + cython 76 76 postgresql 77 77 setuptools 78 78 tomli
+2 -2
pkgs/development/python-modules/py-libzfs/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 - , cython 5 + , cython_0 6 6 , zfs 7 7 }: 8 8 ··· 18 18 hash = "sha256-vBLbjP1gQEQNsTLc2W6uRzCFHQXZp+jGiwE0Pe8VTuw="; 19 19 }; 20 20 21 - nativeBuildInputs = [ cython ]; 21 + nativeBuildInputs = [ cython_0 ]; 22 22 buildInputs = [ zfs ]; 23 23 24 24 # Passing CFLAGS in configureFlags does not work, see https://github.com/truenas/py-libzfs/issues/107
+5 -5
pkgs/development/python-modules/py-partiql-parser/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 5 , pythonOlder 6 - , setuptools 6 + , hatchling 7 7 , sure 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "py-partiql-parser"; 12 - version = "0.5.1"; 12 + version = "0.5.4"; 13 13 pyproject = true; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 18 18 owner = "getmoto"; 19 19 repo = "py-partiql-parser"; 20 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-BPap4f9ro269K50qpVlTiEPNyyMCvBHCr2obuSfuNos="; 21 + hash = "sha256-BSqc3xibStb3J6Rua4dDp/eRD5/ns/dU1vGa4vL1Cyo="; 22 22 }; 23 23 24 - nativeBuildInputs = [ 25 - setuptools 24 + build-system = [ 25 + hatchling 26 26 ]; 27 27 28 28 nativeCheckInputs = [
+2 -2
pkgs/development/python-modules/pyarrow/default.nix
··· 8 8 , cffi 9 9 , cloudpickle 10 10 , cmake 11 - , cython 11 + , cython_0 12 12 , fsspec 13 13 , hypothesis 14 14 , numpy ··· 45 45 46 46 nativeBuildInputs = [ 47 47 cmake 48 - cython 48 + cython_0 49 49 pkg-config 50 50 setuptools 51 51 setuptools-scm
+15 -7
pkgs/development/python-modules/pybind11/default.nix
··· 4 4 , pythonOlder 5 5 , fetchFromGitHub 6 6 , cmake 7 + , ninja 8 + , setuptools 7 9 , boost 8 10 , eigen 9 11 , python ··· 37 39 else python.stdenv; 38 40 in buildPythonPackage rec { 39 41 pname = "pybind11"; 40 - version = "2.11.1"; 41 - format = "setuptools"; 42 + version = "2.12.0"; 43 + pyproject = true; 42 44 43 45 src = fetchFromGitHub { 44 46 owner = "pybind"; 45 - repo = pname; 47 + repo = "pybind11"; 46 48 rev = "v${version}"; 47 - hash = "sha256-sO/Fa+QrAKyq2EYyYMcjPrYI+bdJIrDoj6L3JHoDo3E="; 49 + hash = "sha256-DVkI5NxM5uME9m3PFYVpJOOa2j+yjL6AJn76fCTv2nE="; 48 50 }; 49 51 50 52 postPatch = '' 51 - sed -i "/^timeout/d" pyproject.toml 53 + substituteInPlace pyproject.toml \ 54 + --replace-fail "timeout=300" "" 52 55 ''; 53 56 54 - nativeBuildInputs = [ cmake ]; 57 + build-system = [ 58 + cmake 59 + ninja 60 + setuptools 61 + ]; 62 + 55 63 buildInputs = lib.optionals (pythonOlder "3.9") [ libxcrypt ]; 56 - propagatedBuildInputs = [ setupHook ]; 64 + propagatedNativeBuildInputs = [ setupHook ]; 57 65 58 66 stdenv = stdenv'; 59 67
+4 -5
pkgs/development/python-modules/pydantic/1.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython 3 + , cython_0 4 4 , email-validator 5 5 , fetchFromGitHub 6 6 , pytest-mock 7 - , pytestCheckHook 8 - , pytest_7 7 + , pytest7CheckHook 9 8 , python-dotenv 10 9 , pythonAtLeast 11 10 , pythonOlder ··· 30 29 31 30 nativeBuildInputs = [ 32 31 setuptools 33 - cython 32 + cython_0 34 33 ]; 35 34 36 35 buildInputs = lib.optionals (pythonOlder "3.9") [ ··· 52 51 53 52 nativeCheckInputs = [ 54 53 pytest-mock 55 - (pytestCheckHook.override { pytest = pytest_7; }) 54 + pytest7CheckHook 56 55 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); 57 56 58 57 pytestFlagsArray = [
+2 -3
pkgs/development/python-modules/pydash/default.nix
··· 1 1 { lib 2 - , stdenv 3 2 , buildPythonPackage 4 3 , fetchFromGitHub 5 4 , invoke 6 5 , mock 7 - , pytestCheckHook 6 + , pytest7CheckHook 8 7 , pythonOlder 9 8 , setuptools 10 9 , sphinx-rtd-theme ··· 41 40 nativeCheckInputs = [ 42 41 invoke 43 42 mock 44 - pytestCheckHook 43 + pytest7CheckHook 45 44 sphinx-rtd-theme 46 45 ]; 47 46
+2 -2
pkgs/development/python-modules/pyfftw/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi 2 - , fftw, fftwFloat, fftwLongDouble, numpy, scipy, cython, dask }: 2 + , fftw, fftwFloat, fftwLongDouble, numpy, scipy, cython_0, dask }: 3 3 4 4 buildPythonPackage rec { 5 5 version = "0.13.1"; ··· 17 17 18 18 buildInputs = [ fftw fftwFloat fftwLongDouble]; 19 19 20 - propagatedBuildInputs = [ numpy scipy cython dask ]; 20 + propagatedBuildInputs = [ numpy scipy cython_0 dask ]; 21 21 22 22 # Tests cannot import pyfftw. pyfftw works fine though. 23 23 doCheck = false;
+2 -2
pkgs/development/python-modules/pyfuse3/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 - , cython_3 5 + , cython 6 6 , pkg-config 7 7 , setuptools 8 8 , fuse3 ··· 34 34 ''; 35 35 36 36 nativeBuildInputs = [ 37 - cython_3 37 + cython 38 38 pkg-config 39 39 setuptools 40 40 ];
+2 -2
pkgs/development/python-modules/pygame-sdl2/default.nix
··· 1 1 { lib, buildPythonPackage, fetchurl, isPy27, renpy 2 - , cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }: 2 + , cython_0, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }: 3 3 4 4 buildPythonPackage rec { 5 5 pname = "pygame-sdl2"; ··· 24 24 ''; 25 25 26 26 nativeBuildInputs = [ 27 - SDL2.dev cython 27 + SDL2.dev cython_0 28 28 ]; 29 29 30 30 buildInputs = [
+2 -2
pkgs/development/python-modules/pygame/default.nix
··· 6 6 , pythonOlder 7 7 8 8 # build-system 9 - , cython_3 9 + , cython 10 10 , setuptools 11 11 , pkg-config 12 12 ··· 70 70 ''; 71 71 72 72 nativeBuildInputs = [ 73 - cython_3 73 + cython 74 74 pkg-config 75 75 SDL2 76 76 setuptools
+2 -2
pkgs/development/python-modules/pygeos/default.nix
··· 4 4 , python 5 5 , geos_3_11 6 6 , pytestCheckHook 7 - , cython 7 + , cython_0 8 8 , numpy 9 9 }: 10 10 ··· 20 20 21 21 nativeBuildInputs = [ 22 22 geos_3_11 # for geos-config 23 - cython 23 + cython_0 24 24 ]; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pykdtree/default.nix
··· 3 3 , fetchPypi 4 4 5 5 # build-system 6 - , cython_3 6 + , cython 7 7 , numpy 8 8 , setuptools 9 9 ··· 25 25 }; 26 26 27 27 nativeBuildInputs = [ 28 - cython_3 28 + cython 29 29 numpy 30 30 setuptools 31 31 ];
+2 -2
pkgs/development/python-modules/pylibjpeg-libjpeg/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pythonOlder 5 5 , pytestCheckHook 6 - , cython_3 6 + , cython 7 7 , poetry-core 8 8 , setuptools 9 9 , numpy ··· 25 25 }; 26 26 27 27 nativeBuildInputs = [ 28 - cython_3 28 + cython 29 29 poetry-core 30 30 setuptools 31 31 ];
+4 -2
pkgs/development/python-modules/pyliblo/default.nix
··· 4 4 , isPyPy 5 5 , pythonAtLeast 6 6 , liblo 7 - , cython 7 + , cython_0 8 8 }: 9 9 10 10 buildPythonPackage rec { ··· 25 25 }) 26 26 ]; 27 27 28 - buildInputs = [ liblo cython ]; 28 + build-system = [ cython_0 ]; 29 + 30 + buildInputs = [ liblo ]; 29 31 30 32 meta = with lib; { 31 33 homepage = "https://das.nasophon.de/pyliblo/";
+2 -2
pkgs/development/python-modules/pylint/default.nix
··· 17 17 , py 18 18 , pytest-timeout 19 19 , pytest-xdist 20 - , pytestCheckHook 20 + , pytest7CheckHook 21 21 }: 22 22 23 23 buildPythonPackage rec { ··· 57 57 py 58 58 pytest-timeout 59 59 pytest-xdist 60 - pytestCheckHook 60 + pytest7CheckHook 61 61 requests 62 62 typing-extensions 63 63 ];
+13 -5
pkgs/development/python-modules/pymeeus/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pytest }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , setuptools 5 + , pytest7CheckHook 6 + }: 2 7 3 8 buildPythonPackage rec { 4 9 pname = "pymeeus"; 5 10 version = "0.5.12"; 11 + pyproject = true; 6 12 7 13 src = fetchPypi { 8 14 pname = "PyMeeus"; ··· 10 16 hash = "sha256-VI9xhr2LlsvAac9kmo6ON33OSax0SGcJhJ/mOpnK1oQ="; 11 17 }; 12 18 13 - nativeCheckInputs = [ pytest ]; 19 + build-system = [ 20 + setuptools 21 + ]; 14 22 15 - checkPhase = '' 16 - pytest . 17 - ''; 23 + nativeCheckInputs = [ 24 + pytest7CheckHook 25 + ]; 18 26 19 27 meta = with lib; { 20 28 homepage = "https://github.com/architest/pymeeus";
+4 -3
pkgs/development/python-modules/pympler/default.nix
··· 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - pname = "Pympler"; 11 + pname = "pympler"; 12 12 version = "1.0.1"; 13 13 14 14 src = fetchPypi { 15 - inherit pname version; 15 + pname = "Pympler"; 16 + inherit version; 16 17 sha256 = "993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa"; 17 18 }; 18 19 ··· 21 22 # (see https://github.com/pympler/pympler/issues/148) 22 23 # https://github.com/pympler/pympler/pull/149 23 24 (fetchpatch { 24 - name = "${pname}-python-3.11-compat.patch"; 25 + name = "Pympler-python-3.11-compat.patch"; 25 26 url = "https://github.com/pympler/pympler/commit/0fd8ad8da39207bd0dcb28bdac0407e04744c965.patch"; 26 27 hash = "sha256-6MK0AuhVhQkUzlk29HUh1+mSbfsVTBJ1YBtYNIFhh7U="; 27 28 })
+2 -2
pkgs/development/python-modules/pyopengl-accelerate/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonAtLeast 4 4 , fetchPypi 5 - , cython_3 5 + , cython 6 6 , numpy 7 7 , setuptools 8 8 , wheel ··· 20 20 }; 21 21 22 22 nativeBuildInputs = [ 23 - cython_3 23 + cython 24 24 numpy 25 25 setuptools 26 26 wheel
+2 -2
pkgs/development/python-modules/pyreadstat/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPythonPackage 4 - , cython_3 4 + , cython 5 5 , fetchFromGitHub 6 6 , libiconv 7 7 , pandas ··· 26 26 }; 27 27 28 28 nativeBuildInputs = [ 29 - cython_3 29 + cython 30 30 ]; 31 31 32 32 buildInputs = [
+2 -2
pkgs/development/python-modules/pyrevolve/default.nix
··· 4 4 , contexttimer 5 5 , setuptools 6 6 , versioneer 7 - , cython 7 + , cython_0 8 8 , numpy 9 9 , pytestCheckHook 10 10 , pythonOlder ··· 30 30 ''; 31 31 32 32 nativeBuildInputs = [ 33 - cython 33 + cython_0 34 34 setuptools 35 35 versioneer 36 36 ];
+2 -2
pkgs/development/python-modules/pysam/default.nix
··· 4 4 , bzip2 5 5 , bcftools 6 6 , curl 7 - , cython_3 7 + , cython 8 8 , htslib 9 9 , libdeflate 10 10 , xz ··· 30 30 }; 31 31 32 32 nativeBuildInputs = [ 33 - cython_3 33 + cython 34 34 samtools 35 35 setuptools 36 36 ];
+2 -3
pkgs/development/python-modules/pysiaalarm/default.nix
··· 7 7 , setuptools-scm 8 8 , pytest-asyncio 9 9 , pytest-cases 10 - , pytestCheckHook 11 - , pytest_7 10 + , pytest7CheckHook 12 11 , pytz 13 12 }: 14 13 ··· 44 43 nativeCheckInputs = [ 45 44 pytest-asyncio 46 45 pytest-cases 47 - (pytestCheckHook.override { pytest = pytest_7; }) 46 + pytest7CheckHook 48 47 ]; 49 48 50 49 pythonImportsCheck = [
+20 -17
pkgs/development/python-modules/pystemmer/default.nix
··· 1 1 { lib 2 2 , python 3 - , fetchPypi 4 3 , fetchFromGitHub 5 - , fetchpatch 4 + , fetchpatch2 6 5 , buildPythonPackage 7 6 , cython 7 + , setuptools 8 8 , libstemmer 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pystemmer"; 13 - version = "2.2.0"; 14 - format = "setuptools"; 13 + version = "2.2.0.1"; 14 + pyproejct = true; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "snowballstem"; 18 18 repo = "pystemmer"; 19 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-bJVFeO7XP+aZ2nowQiuws5ziL/FmS1eaOllW6QxA70U="; 20 + hash = "sha256-ngPx95ybgJmndpNPBwCa3BCNsozRg+dlEw+nhlIwI58="; 21 21 }; 22 22 23 - nativeBuildInputs = [ cython ]; 24 - 25 23 patches = [ 26 - (fetchpatch { 27 - # Allow building with system libstemmer 28 - url = "https://github.com/snowballstem/pystemmer/commit/2f52b4b2ff113fe6c33cebe14ed4fd4388bb1742.patch"; 29 - hash = "sha256-JqR/DUmABgWaq23CNjoKSasL0mNhM2QuU986mouK6A8="; 24 + (fetchpatch2 { 25 + # relax cython constraint 26 + name = "pystemmer-relax-cython.patch"; 27 + url = "https://github.com/snowballstem/pystemmer/commit/d3d423dc877b4f49e0ab1776f7edaff37feb6799.patch"; 28 + hash = "sha256-9K6gy/cLFPfW82XYHVVPXUbQhf8XyB4NUi4YqNtyWcw="; 30 29 }) 31 - (fetchpatch { 32 - # Fix doctests 33 - url = "https://github.com/snowballstem/pystemmer/commit/b2826f19fe8ba65238b5f3b4cee7096a698f048e.patch"; 34 - hash = "sha256-VTZydjYaJJ/KoHD4KbON36kZnkuAyO51H0Oeg6VXTqg="; 35 - }) 30 + ]; 31 + 32 + build-system = [ 33 + cython 34 + setuptools 36 35 ]; 37 36 38 37 postConfigure = '' ··· 59 58 60 59 meta = with lib; { 61 60 description = "Snowball stemming algorithms, for information retrieval"; 61 + downloadPage = "https://github.com/snowballstem/pystemmer"; 62 62 homepage = "http://snowball.tartarus.org/"; 63 - license = licenses.mit; 63 + license = with licenses; [ 64 + bsd3 65 + mit 66 + ]; 64 67 platforms = platforms.unix; 65 68 }; 66 69 }
+2 -2
pkgs/development/python-modules/pytest-asyncio/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pytest-asyncio"; 12 - version = "0.23.5.post1"; # N.B.: when updating, tests bleak and aioesphomeapi tests 12 + version = "0.23.6"; # N.B.: when updating, tests bleak and aioesphomeapi tests 13 13 pyproject = true; 14 14 15 15 disabled = pythonOlder "3.8"; ··· 18 18 owner = "pytest-dev"; 19 19 repo = "pytest-asyncio"; 20 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-k+EmbUptZB2ZLiygwY9WwFA4PNJA+9fEAZYu0xaPZSQ="; 21 + hash = "sha256-+kyKcVzW05kqtLeC81rk3fJpOtyW3xSYshgl5gqIddE="; 22 22 }; 23 23 24 24 outputs = [
+2 -2
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "pytest-doctestplus"; 16 - version = "1.2.0"; 16 + version = "1.2.1"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.7"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - hash = "sha256-xa12Oi+uXu5bZ4jPVedU1AQOxJsOIoj8ncmgFe+buTI="; 23 + hash = "sha256-JHKoosjOo00vZfZJlUP663SO7LWcWXhS/ZiDm0cwdnk="; 24 24 }; 25 25 26 26 postPatch = ''
+2 -2
pkgs/development/python-modules/pytest-factoryboy/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "pytest-factoryboy"; 22 - version = "2.5.1"; 22 + version = "2.6.1"; 23 23 format = "pyproject"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "pytest-dev"; 27 27 repo = "pytest-factoryboy"; 28 28 rev = version; 29 - sha256 = "sha256-zxgezo2PRBKs0mps0qdKWtBygunzlaxg8s9BoBaU1Ig="; 29 + sha256 = "sha256-GYqYwtbmMWVqImVPPBbZNRJJGcbksUPsIbi6QuPRMco="; 30 30 }; 31 31 32 32 nativeBuildInputs = [
+2 -3
pkgs/development/python-modules/pytest-snapshot/default.nix
··· 4 4 , packaging 5 5 , pytest 6 6 , setuptools-scm 7 - , pytestCheckHook 8 - , pytest_7 7 + , pytest7CheckHook 9 8 , pythonOlder 10 9 }: 11 10 ··· 37 36 38 37 nativeCheckInputs = [ 39 38 # https://github.com/joseph-roitman/pytest-snapshot/issues/71 40 - (pytestCheckHook.override { pytest = pytest_7; }) 39 + pytest7CheckHook 41 40 ]; 42 41 43 42 pythonImportsCheck = [
+2 -3
pkgs/development/python-modules/pytest-unordered/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytest 5 - , pytest_7 6 - , pytestCheckHook 5 + , pytest7CheckHook 7 6 }: 8 7 9 8 buildPythonPackage rec { ··· 24 23 25 24 nativeCheckInputs = [ 26 25 # https://github.com/utapyngo/pytest-unordered/issues/15 27 - (pytestCheckHook.override { pytest = pytest_7; }) 26 + pytest7CheckHook 28 27 ]; 29 28 30 29 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/pytest/default.nix
··· 29 29 30 30 buildPythonPackage rec { 31 31 pname = "pytest"; 32 - version = "8.0.2"; 32 + version = "8.1.1"; 33 33 pyproject = true; 34 34 35 35 src = fetchPypi { 36 36 inherit pname version; 37 - hash = "sha256-1AUdYjouC35RlgupYxk7Cc5trrl1mkUYRKIeTd7fwb0="; 37 + hash = "sha256-rJeBQadZSJSIF9NgKXt6rg/LnW/2vJ7G1RS4XVplwEQ="; 38 38 }; 39 39 40 40 outputs = [
+2 -2
pkgs/development/python-modules/python-box/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , cython_3 3 + , cython 4 4 , fetchFromGitHub 5 5 , msgpack 6 6 , poetry-core ··· 29 29 }; 30 30 31 31 nativeBuildInputs = [ 32 - cython_3 32 + cython 33 33 setuptools 34 34 ]; 35 35
+2 -3
pkgs/development/python-modules/python-openems/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 4 - , cython 3 + , cython_0 5 4 , openems 6 5 , csxcad 7 6 , boost ··· 20 19 sourceRoot = "${src.name}/python"; 21 20 22 21 nativeBuildInputs = [ 23 - cython 22 + cython_0 24 23 boost 25 24 ]; 26 25
+2 -2
pkgs/development/python-modules/python-rtmidi/default.nix
··· 7 7 , CoreMIDI 8 8 , CoreServices 9 9 , Foundation 10 - , cython_3 10 + , cython 11 11 , fetchPypi 12 12 , flake8 13 13 , libjack2 ··· 33 33 }; 34 34 35 35 nativeBuildInputs = [ 36 - cython_3 36 + cython 37 37 meson-python 38 38 ninja 39 39 pkg-config
-61
pkgs/development/python-modules/python-zbar/0001-python-enum-fix-build-for-Python-3.11.patch
··· 1 - From 64de7911d2938fc3601fec39c08008465b9d4f6f Mon Sep 17 00:00:00 2001 2 - From: Nick Cao <nickcao@nichi.co> 3 - Date: Tue, 7 Feb 2023 17:12:50 +0800 4 - Subject: [PATCH] python: enum: fix build for Python 3.11 5 - MIME-Version: 1.0 6 - Content-Type: text/plain; charset=UTF-8 7 - Content-Transfer-Encoding: 8bit 8 - 9 - Python 3.9 introduced Py_SET_SIZE function to set size instead of 10 - relying on Py_SIZE() as a macro [3.9]. 11 - 12 - Python 3.10 started to encourage to use Py_SET_SIZE instead of 13 - assigning into return value of Py_SIZE [3.10]. 14 - 15 - Python 3.11 flips the switch, turn Py_SIZE into a function [3.11], 16 - thus Py_SIZE(obj) will be a rvalue. We need to use Py_SET_SIZE 17 - to set size now. 18 - 19 - [3.9]: https://docs.python.org/3.9/c-api/structures.html#c.Py_SET_SIZE 20 - [3.10]: https://docs.python.org/3.10/c-api/structures.html#c.Py_SIZE 21 - [3.11]: https://docs.python.org/3.11/c-api/structures.html#c.Py_SIZE 22 - 23 - Adapted from https://github.com/mchehab/zbar/pull/231 24 - 25 - Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> 26 - Signed-off-by: Nick Cao <nickcao@nichi.co> 27 - --- 28 - python/enum.c | 8 ++++++++ 29 - 1 file changed, 8 insertions(+) 30 - 31 - diff --git a/python/enum.c b/python/enum.c 32 - index dfe1b1e..4833a20 100644 33 - --- a/python/enum.c 34 - +++ b/python/enum.c 35 - @@ -52,7 +52,11 @@ enumitem_new (PyTypeObject *type, 36 - 37 - /* we assume the "fast path" for a single-digit ints (see longobject.c) */ 38 - /* this also holds if we get a small_int preallocated long */ 39 - +#if PY_VERSION_HEX >= 0x030900A4 40 - + Py_SET_SIZE(&self->val, Py_SIZE(longval)); 41 - +#else 42 - Py_SIZE(&self->val) = Py_SIZE(longval); 43 - +#endif 44 - self->val.ob_digit[0] = longval->ob_digit[0]; 45 - Py_DECREF(longval); 46 - #else 47 - @@ -143,7 +147,11 @@ zbarEnumItem_New (PyObject *byname, 48 - 49 - /* we assume the "fast path" for a single-digit ints (see longobject.c) */ 50 - /* this also holds if we get a small_int preallocated long */ 51 - +#if PY_VERSION_HEX >= 0x030900A4 52 - + Py_SET_SIZE(&self->val, Py_SIZE(longval)); 53 - +#else 54 - Py_SIZE(&self->val) = Py_SIZE(longval); 55 - +#endif 56 - self->val.ob_digit[0] = longval->ob_digit[0]; 57 - Py_DECREF(longval); 58 - 59 - -- 60 - 2.39.1 61 -
+15 -12
pkgs/development/python-modules/python-zbar/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , pythonAtLeast 5 + , setuptools 4 6 , pillow 5 7 , zbar 6 8 , pytestCheckHook ··· 9 11 buildPythonPackage rec { 10 12 pname = "python-zbar"; 11 13 version = "0.23.93"; 12 - format = "setuptools"; 14 + pyproject = true; 15 + 16 + # distutils usage in setup.py 17 + disabled = pythonAtLeast "3.12"; 13 18 14 19 src = fetchFromGitHub { 15 20 owner = "mchehab"; ··· 18 23 hash = "sha256-6gOqMsmlYy6TK+iYPIBsCPAk8tYDliZYMYeTOidl4XQ="; 19 24 }; 20 25 21 - patches = [ 22 - # python: enum: fix build for Python 3.11 23 - # https://github.com/mchehab/zbar/pull/231 24 - # the patch is reworked as it does not cleanly apply 25 - ./0001-python-enum-fix-build-for-Python-3.11.patch 26 - ]; 26 + postPatch = '' 27 + cd python 28 + ''; 29 + 30 + build-system = [ setuptools ]; 27 31 28 - propagatedBuildInputs = [ pillow ]; 32 + dependencies = [ pillow ]; 29 33 30 34 buildInputs = [ zbar ]; 31 35 32 36 nativeCheckInputs = [ pytestCheckHook ]; 33 37 34 - preBuild = '' 35 - cd python 36 - ''; 37 - 38 38 disabledTests = [ 39 39 #AssertionError: b'Y800' != 'Y800' 40 40 "test_format" ··· 42 42 #Requires loading a recording device 43 43 #zbar.SystemError: <zbar.Processor object at 0x7ffff615a680> 44 44 "test_processing" 45 + # Version too long? 46 + # self.assertEqual(len(ver), 2) 47 + "test_version" 45 48 ]; 46 49 47 50 pythonImportsCheck = [ "zbar" ];
+2 -2
pkgs/development/python-modules/pyyaml/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 - , cython 5 + , cython_0 6 6 , setuptools 7 7 , libyaml 8 8 , python ··· 24 24 }; 25 25 26 26 nativeBuildInputs = [ 27 - cython 27 + cython_0 28 28 setuptools 29 29 ]; 30 30
+2 -2
pkgs/development/python-modules/pyzmq/default.nix
··· 4 4 , isPyPy 5 5 6 6 # build-system 7 - , cython_3 7 + , cython 8 8 , setuptools 9 9 , setuptools-scm 10 10 , packaging ··· 40 40 ] ++ (if isPyPy then [ 41 41 cffi 42 42 ] else [ 43 - cython_3 43 + cython 44 44 ]); 45 45 46 46 buildInputs = [
+2 -2
pkgs/development/python-modules/quart/default.nix
··· 26 26 , mock 27 27 , py 28 28 , pytest-asyncio 29 - , pytestCheckHook 29 + , pytest7CheckHook 30 30 }: 31 31 32 32 buildPythonPackage rec { ··· 76 76 mock 77 77 py 78 78 pytest-asyncio 79 - pytestCheckHook 79 + pytest7CheckHook 80 80 ]; 81 81 82 82 meta = with lib; {
+2 -2
pkgs/development/python-modules/qutip/default.nix
··· 3 3 , buildPythonPackage 4 4 , cvxopt 5 5 , cvxpy 6 - , cython 6 + , cython_0 7 7 , fetchFromGitHub 8 8 , ipython 9 9 , matplotlib ··· 31 31 }; 32 32 33 33 nativeBuildInputs = [ 34 - cython 34 + cython_0 35 35 ]; 36 36 37 37 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/rangehttpserver/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , setuptools 5 - , pytestCheckHook 5 + , pytest7CheckHook 6 6 , requests 7 7 }: 8 8 ··· 25 25 __darwinAllowLocalNetworking = true; 26 26 27 27 nativeCheckInputs = [ 28 - pytestCheckHook 28 + pytest7CheckHook 29 29 requests 30 30 ]; 31 31
+2 -2
pkgs/development/python-modules/rapidfuzz/default.nix
··· 4 4 , pythonOlder 5 5 , fetchFromGitHub 6 6 , cmake 7 - , cython_3 7 + , cython 8 8 , ninja 9 9 , scikit-build 10 10 , setuptools ··· 37 37 38 38 build-system = [ 39 39 cmake 40 - cython_3 40 + cython 41 41 ninja 42 42 scikit-build 43 43 setuptools
+2 -2
pkgs/development/python-modules/rasterio/default.nix
··· 14 14 , click 15 15 , click-plugins 16 16 , cligj 17 - , cython_3 17 + , cython 18 18 , gdal 19 19 , hypothesis 20 20 , ipython ··· 64 64 ''; 65 65 66 66 nativeBuildInputs = [ 67 - cython_3 67 + cython 68 68 gdal 69 69 numpy 70 70 oldest-supported-numpy
+2 -2
pkgs/development/python-modules/razdel/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , pytestCheckHook 4 + , pytest7CheckHook 5 5 }: 6 6 7 7 buildPythonPackage rec { ··· 14 14 hash = "sha256-QzTA/f401OiIzw7YVJaMnfFPClR9+Qmnf0Y0+f/mJuY="; 15 15 }; 16 16 17 - nativeCheckInputs = [ pytestCheckHook ]; 17 + nativeCheckInputs = [ pytest7CheckHook ]; 18 18 pytestFlagsArray = [ "razdel" ]; 19 19 pythonImportsCheck = [ "razdel" ]; 20 20
+2 -3
pkgs/development/python-modules/rdflib/default.nix
··· 23 23 # tests 24 24 , pip 25 25 , pytest-cov 26 - , pytestCheckHook 27 - , pytest_7 26 + , pytest7CheckHook 28 27 , setuptools 29 28 }: 30 29 ··· 69 68 pip 70 69 pytest-cov 71 70 # Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted. 72 - (pytestCheckHook.override { pytest = pytest_7; }) 71 + pytest7CheckHook 73 72 setuptools 74 73 ] 75 74 ++ passthru.optional-dependencies.networkx
+2 -2
pkgs/development/python-modules/reproject/default.nix
··· 4 4 , astropy-healpix 5 5 , buildPythonPackage 6 6 , cloudpickle 7 - , cython_3 7 + , cython 8 8 , dask 9 9 , fetchPypi 10 10 , fsspec ··· 37 37 38 38 nativeBuildInputs = [ 39 39 astropy-extension-helpers 40 - cython_3 40 + cython 41 41 numpy 42 42 oldest-supported-numpy 43 43 setuptools-scm
+4
pkgs/development/python-modules/rpyc/default.nix
··· 34 34 pytestCheckHook 35 35 ]; 36 36 37 + preCheck = '' 38 + export PYTHONPATH=$(pwd)/tests:$PYTHONPATH 39 + ''; 40 + 37 41 disabledTests = [ 38 42 # Disable tests that requires network access 39 43 "test_api"
+2 -2
pkgs/development/python-modules/rtmidi-python/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchPypi 5 - , cython 5 + , cython_0 6 6 , alsa-lib 7 7 , CoreAudio 8 8 , CoreMIDI ··· 23 23 rm rtmidi_python.cpp 24 24 ''; 25 25 26 - nativeBuildInputs = [ cython ]; 26 + nativeBuildInputs = [ cython_0 ]; 27 27 buildInputs = lib.optionals stdenv.isLinux [ 28 28 alsa-lib 29 29 ] ++ lib.optionals stdenv.isDarwin [
+19 -8
pkgs/development/python-modules/scikit-fuzzy/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , pythonOlder 4 3 , fetchFromGitHub 5 4 , fetchpatch 5 + , pythonAtLeast 6 + , setuptools 6 7 , matplotlib 7 8 , networkx 8 9 , nose 9 10 , numpy 10 11 , scipy 11 - , pytestCheckHook 12 + , pytest7CheckHook 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "scikit-fuzzy"; 16 17 version = "unstable-2022-11-07"; 17 - format = "setuptools"; 18 + pyproject = true; 18 19 19 - disabled = pythonOlder "3.6"; 20 + # code depends on distutils 21 + disabled = pythonAtLeast "3.12"; 20 22 21 23 src = fetchFromGitHub { 22 24 owner = pname; ··· 44 46 }) 45 47 ]; 46 48 47 - propagatedBuildInputs = [ networkx numpy scipy ]; 48 - nativeCheckInputs = [ matplotlib nose pytestCheckHook ]; 49 + build-system = [ 50 + setuptools 51 + ]; 52 + 53 + propagatedBuildInputs = [ 54 + networkx 55 + numpy 56 + scipy 57 + ]; 49 58 50 - pytestFlagsArray = [ 51 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 59 + nativeCheckInputs = [ 60 + matplotlib 61 + nose 62 + pytest7CheckHook 52 63 ]; 53 64 54 65 pythonImportsCheck = [ "skfuzzy" ];
+2 -2
pkgs/development/python-modules/scikit-learn/default.nix
··· 4 4 , fetchPypi 5 5 6 6 # build-system 7 - , cython_3 7 + , cython 8 8 , gfortran 9 9 , numpy 10 10 , scipy ··· 46 46 ]; 47 47 48 48 build-system = [ 49 - cython_3 49 + cython 50 50 numpy 51 51 scipy 52 52 setuptools
+17 -13
pkgs/development/python-modules/scipy/default.nix
··· 10 10 , cython 11 11 , gfortran 12 12 , meson-python 13 + , nukeReferences 13 14 , pkg-config 14 15 , pythran 15 16 , wheel 16 17 , setuptools 17 18 , hypothesis 18 - , pytestCheckHook 19 - , pytest_7 19 + , pytest7CheckHook 20 20 , pytest-xdist 21 21 , numpy 22 22 , pybind11 ··· 34 34 # nix-shell maintainers/scripts/update.nix --argstr package python3.pkgs.scipy 35 35 # 36 36 # The update script uses sed regexes to replace them with the updated hashes. 37 - version = "1.12.0"; 38 - srcHash = "sha256-PuiyYTgSegDTV9Kae5N68FOXT1jyJrNv9p2aFP70Z20="; 37 + version = "1.13.0"; 38 + srcHash = "sha256-HaYk92hOREHMOXppK+Bs9DrBu9KUVUsZ0KV+isTofUo="; 39 39 datasetsHashes = { 40 40 ascent = "1qjp35ncrniq9rhzb14icwwykqg2208hcssznn3hz27w39615kh3"; 41 41 ecg = "1bwbjp43b7znnwha5hv6wiz3g0bhwrpqpi75s12zidxrbwvd62pj"; ··· 76 76 "doc/source/dev/contributor/meson_advanced.rst" 77 77 ]; 78 78 }) 79 - (fetchpatch { 80 - name = "openblas-0.3.26-compat.patch"; 81 - url = "https://github.com/scipy/scipy/commit/8c96a1f742335bca283aae418763aaba62c03378.patch"; 82 - hash = "sha256-SGoYDxwSAkr6D5/XEqHLerF4e4nmmI+PX+z+3taWAps="; 83 - }) 84 79 ]; 85 80 86 - # Upstream complicated numpy version pinning is causing issues in the 87 - # configurePhase, so we pass on it. 81 + # Upstream says in a comment in their pyproject.toml that building against 82 + # both numpy 2 and numpy 1 should work, but they seem to worry about numpy 83 + # incompatibilities that we here with Nixpkgs' Python ecosystem, shouldn't 84 + # experience. 88 85 postPatch = '' 89 86 substituteInPlace pyproject.toml \ 90 - --replace-fail 'numpy==' 'numpy>=' \ 87 + --replace-fail 'numpy>=2.0.0rc1,' 'numpy' \ 91 88 ''; 92 89 93 90 nativeBuildInputs = [ 94 91 cython 95 92 gfortran 96 93 meson-python 94 + nukeReferences 97 95 pythran 98 96 pkg-config 99 97 wheel ··· 117 115 nativeCheckInputs = [ 118 116 hypothesis 119 117 # Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>, <class 'PendingDeprecationWarning'>, <class 'FutureWarning'>) were emitted. 120 - (pytestCheckHook.override { pytest = pytest_7; }) 118 + pytest7CheckHook 121 119 pytest-xdist 122 120 ]; 123 121 ··· 165 163 # ldr x0, [x0, ___stack_chk_guard];momd 166 164 # 167 165 hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; 166 + 167 + # remove references to dev dependencies 168 + postInstall = '' 169 + nuke-refs $out/${python.sitePackages}/scipy/__config__.py 170 + rm $out/${python.sitePackages}/scipy/__pycache__/__config__.*.opt-1.pyc 171 + ''; 168 172 169 173 preCheck = '' 170 174 export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 ))
+2 -2
pkgs/development/python-modules/seabreeze/default.nix
··· 3 3 , buildPythonPackage 4 4 5 5 # build-system 6 - , cython_3 6 + , cython 7 7 , git 8 8 , pkgconfig 9 9 , setuptools ··· 40 40 }; 41 41 42 42 nativeBuildInputs = [ 43 - cython_3 43 + cython 44 44 git 45 45 pkgconfig 46 46 setuptools
+2 -2
pkgs/development/python-modules/setuptools/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "setuptools"; 11 - version = "69.1.1"; 11 + version = "69.2.0"; 12 12 format = "pyproject"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "pypa"; 16 16 repo = "setuptools"; 17 17 rev = "refs/tags/v${version}"; 18 - hash = "sha256-TWW8kW7ZjRsl5Y0CEVHqhIVJsiRixSSYe/ctSO1c/78="; 18 + hash = "sha256-kll4zYFQn4g/8Fq0Y5vLvDXtotxYMbiNAgGa0sClFQk="; 19 19 }; 20 20 21 21 patches = [
+3 -4
pkgs/development/python-modules/sfepy/default.nix
··· 1 - { stdenv 2 - , lib 1 + { lib 3 2 , buildPythonPackage 4 3 , fetchFromGitHub 5 4 , numpy ··· 7 6 , matplotlib 8 7 , pyparsing 9 8 , tables 10 - , cython 9 + , cython_0 11 10 , python 12 11 , sympy 13 12 , meshio ··· 34 33 35 34 propagatedBuildInputs = [ 36 35 numpy 37 - cython 36 + cython_0 38 37 scipy 39 38 matplotlib 40 39 pyparsing
+2 -2
pkgs/development/python-modules/shapely/1.8.nix
··· 6 6 , pythonOlder 7 7 , substituteAll 8 8 9 - , cython 9 + , cython_0 10 10 , geos_3_11 11 11 , numpy 12 12 , oldest-supported-numpy ··· 44 44 ''; 45 45 46 46 nativeBuildInputs = [ 47 - cython 47 + cython_0 48 48 geos_3_11 # for geos-config 49 49 oldest-supported-numpy 50 50 setuptools
+2 -2
pkgs/development/python-modules/shapely/default.nix
··· 5 5 , pytestCheckHook 6 6 , pythonOlder 7 7 8 - , cython 8 + , cython_0 9 9 , geos 10 10 , numpy 11 11 , oldest-supported-numpy ··· 26 26 }; 27 27 28 28 nativeBuildInputs = [ 29 - cython 29 + cython_0 30 30 geos # for geos-config 31 31 oldest-supported-numpy 32 32 setuptools
+13 -5
pkgs/development/python-modules/shlib/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , flit-core 4 5 , pytestCheckHook 5 6 , braceexpand 6 7 , inform ··· 9 10 buildPythonPackage rec { 10 11 pname = "shlib"; 11 12 version = "1.6"; 12 - format = "setuptools"; 13 + pyproject = true; 13 14 14 15 src = fetchFromGitHub { 15 16 owner = "KenKundert"; ··· 18 19 hash = "sha256-f2jJgpjybutCpYnIT+RihtoA1YlXdhTs+MvV8bViSMQ="; 19 20 }; 20 21 21 - pythonImportsCheck = [ "shlib" ]; 22 22 postPatch = '' 23 23 patchShebangs . 24 24 ''; 25 - nativeCheckInputs = [ 26 - pytestCheckHook 25 + 26 + build-system = [ 27 + flit-core 27 28 ]; 28 - propagatedBuildInputs = [ 29 + 30 + dependencies = [ 29 31 braceexpand 30 32 inform 31 33 ]; 34 + 35 + nativeCheckInputs = [ 36 + pytestCheckHook 37 + ]; 38 + 39 + pythonImportsCheck = [ "shlib" ]; 32 40 33 41 meta = with lib; { 34 42 description = "shell library";
+3 -2
pkgs/development/python-modules/smart-open/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "smart-open"; 22 - version = "7.0.1"; 22 + version = "7.0.4"; 23 23 pyproject = true; 24 24 25 25 disabled = pythonOlder "3.7"; ··· 28 28 owner = "RaRe-Technologies"; 29 29 repo = "smart_open"; 30 30 rev = "refs/tags/v${version}"; 31 - hash = "sha256-yGy4xNoHCE+LclBBTMVtTKP6GYZ5w09NJ0OmsUPnir4="; 31 + hash = "sha256-4HOTaF6AKXGlVCvSGKnnaH73aa4IO0aRxz03XQ4gSd8="; 32 32 }; 33 33 34 34 build-system = [ ··· 88 88 ]; 89 89 90 90 meta = with lib; { 91 + changelog = "https://github.com/piskvorky/smart_open/releases/tag/v${version}"; 91 92 description = "Library for efficient streaming of very large file"; 92 93 homepage = "https://github.com/RaRe-Technologies/smart_open"; 93 94 license = licenses.mit;
+2 -2
pkgs/development/python-modules/soxr/default.nix
··· 3 3 , fetchFromGitHub 4 4 5 5 # build-system 6 - , cython_3 6 + , cython 7 7 , numpy 8 8 , oldest-supported-numpy 9 9 , setuptools ··· 36 36 ''; 37 37 38 38 nativeBuildInputs = [ 39 - cython_3 39 + cython 40 40 gnutar 41 41 numpy 42 42 oldest-supported-numpy
+2 -2
pkgs/development/python-modules/sparse/default.nix
··· 4 4 , fetchPypi 5 5 , numba 6 6 , numpy 7 - , pytestCheckHook 7 + , pytest7CheckHook 8 8 , pythonOlder 9 9 , setuptools 10 10 , setuptools-scm ··· 41 41 42 42 nativeCheckInputs = [ 43 43 dask 44 - pytestCheckHook 44 + pytest7CheckHook 45 45 ]; 46 46 47 47 pythonImportsCheck = [
+3 -3
pkgs/development/python-modules/sphinx/default.nix
··· 27 27 , sphinxcontrib-websupport 28 28 29 29 # check phase 30 - , cython 31 30 , filelock 32 31 , html5lib 33 32 , pytestCheckHook ··· 83 82 __darwinAllowLocalNetworking = true; 84 83 85 84 nativeCheckInputs = [ 86 - cython 87 85 filelock 88 86 html5lib 89 87 pytestCheckHook ··· 102 100 "test_check_link_response_only" 103 101 "test_anchors_ignored_for_url" 104 102 "test_autodoc_default_options" 103 + "test_too_many_requests_retry_after_int_delay" 105 104 # racy with pytest-xdist 106 105 "test_domain_cpp_build_semicolon" 107 106 "test_class_alias" 108 107 "test_class_alias_having_doccomment" 109 108 "test_class_alias_for_imported_object_having_doccomment" 110 109 "test_decorators" 110 + # requires cython_0, but fails miserably on 3.11 111 + "test_cython" 111 112 ] ++ lib.optionals isPyPy [ 112 113 # PyPy has not __builtins__ which get asserted 113 114 # https://doc.pypy.org/en/latest/cpython_differences.html#miscellaneous ··· 117 118 "test_autodoc_inherited_members_None" 118 119 "test_automethod_for_builtin" 119 120 "test_builtin_function" 120 - "test_cython" 121 121 "test_isattributedescriptor" 122 122 "test_methoddescriptor" 123 123 "test_partialfunction"
+2 -2
pkgs/development/python-modules/sqlmodel/default.nix
··· 6 6 , poetry-core 7 7 , pydantic 8 8 , pytest-asyncio 9 - , pytestCheckHook 9 + , pytest7CheckHook 10 10 , pythonOlder 11 11 , sqlalchemy 12 12 }: ··· 38 38 dirty-equals 39 39 fastapi 40 40 pytest-asyncio 41 - pytestCheckHook 41 + pytest7CheckHook 42 42 ]; 43 43 44 44 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/srsly/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pythonOlder 5 - , cython 5 + , cython_0 6 6 , catalogue 7 7 , mock 8 8 , numpy ··· 26 26 }; 27 27 28 28 nativeBuildInputs = [ 29 - cython 29 + cython_0 30 30 setuptools 31 31 ]; 32 32
+3 -16
pkgs/development/python-modules/starlette/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchPypi 5 4 6 5 # build-system 7 6 , hatchling ··· 18 17 , httpx 19 18 20 19 # tests 21 - , pytest 22 20 , pytestCheckHook 23 21 , pythonOlder 24 22 , trio ··· 29 27 30 28 buildPythonPackage rec { 31 29 pname = "starlette"; 32 - version = "0.37.1"; 30 + version = "0.37.2"; 33 31 pyproject = true; 34 32 35 33 disabled = pythonOlder "3.8"; ··· 38 36 owner = "encode"; 39 37 repo = "starlette"; 40 38 rev = "refs/tags/${version}"; 41 - hash = "sha256-SJdBss1WKC30oulVTYUwUAJ8WM0KF5xbn/gvV97WM2g="; 39 + hash = "sha256-GiCN1sfhLu9i19d2OcLZrlY8E64DFrFh+ITRSvLaxdE="; 42 40 }; 43 41 44 42 nativeBuildInputs = [ ··· 60 58 ]; 61 59 62 60 nativeCheckInputs = [ 63 - (pytestCheckHook.override { 64 - # pytest 8 changes warning message 65 - # see https://github.com/encode/starlette/commit/8da52c2243b8855426c40c16ae24b27734824078 66 - pytest = pytest.overridePythonAttrs (old: rec { 67 - version = "8.1.0"; 68 - src = fetchPypi { 69 - pname = "pytest"; 70 - inherit version; 71 - hash = "sha256-+PoEq4+Y0YUROuYOptecIvgUOxS8HK7O1EoKuESSgyM="; 72 - }; 73 - }); 74 - }) 61 + pytestCheckHook 75 62 trio 76 63 typing-extensions 77 64 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
+23 -9
pkgs/development/python-modules/taskw/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , nose 5 - , tox 6 - , six 7 - , python-dateutil 4 + 5 + # build-system 6 + , setuptools 7 + 8 + # native dependencies 9 + , pkgs 10 + 11 + # dependencies 8 12 , kitchen 9 - , pytestCheckHook 13 + , python-dateutil 10 14 , pytz 11 - , pkgs 15 + 16 + # tests 17 + , pytest7CheckHook 12 18 }: 13 19 14 20 buildPythonPackage rec { 15 21 pname = "taskw"; 16 22 version = "2.0.0"; 17 - format = "setuptools"; 23 + pyproject = true; 18 24 19 25 src = fetchPypi { 20 26 inherit pname version; ··· 30 36 substituteInPlace taskw/warrior.py \ 31 37 --replace '@@taskwarrior@@' '${pkgs.taskwarrior}' 32 38 ''; 39 + 40 + build-system = [ 41 + setuptools 42 + ]; 33 43 34 44 buildInputs = [ pkgs.taskwarrior ]; 35 45 36 - propagatedBuildInputs = [ six python-dateutil kitchen pytz ]; 46 + dependencies = [ 47 + kitchen 48 + python-dateutil 49 + pytz 50 + ]; 37 51 38 - nativeCheckInputs = [ pytestCheckHook ]; 52 + nativeCheckInputs = [ pytest7CheckHook ]; 39 53 40 54 meta = with lib; { 41 55 homepage = "https://github.com/ralphbean/taskw";
+2 -2
pkgs/development/python-modules/textnets/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , cairocffi 4 - , cython_3 4 + , cython 5 5 , fetchPypi 6 6 , igraph 7 7 , leidenalg ··· 34 34 35 35 nativeBuildInputs = [ 36 36 pythonRelaxDepsHook 37 - cython_3 37 + cython 38 38 poetry-core 39 39 setuptools 40 40 ];
+2 -2
pkgs/development/python-modules/thinc/default.nix
··· 9 9 , CoreGraphics 10 10 , CoreVideo 11 11 , cymem 12 - , cython 12 + , cython_0 13 13 , fetchPypi 14 14 , hypothesis 15 15 , mock ··· 50 50 ]; 51 51 52 52 buildInputs = [ 53 - cython 53 + cython_0 54 54 ] ++ lib.optionals stdenv.isDarwin [ 55 55 Accelerate 56 56 CoreFoundation
+2 -6
pkgs/development/python-modules/torchsde/default.nix
··· 13 13 , trampoline 14 14 15 15 # tests 16 - , pytestCheckHook 16 + , pytest7CheckHook 17 17 }: 18 18 19 19 buildPythonPackage rec { ··· 49 49 pythonImportsCheck = [ "torchsde" ]; 50 50 51 51 nativeCheckInputs = [ 52 - pytestCheckHook 53 - ]; 54 - 55 - pytestFlagsArray = [ 56 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 52 + pytest7CheckHook 57 53 ]; 58 54 59 55 disabledTests = [
+2 -2
pkgs/development/python-modules/uamqp/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 5 , fetchpatch 6 - , cython 6 + , cython_0 7 7 , certifi 8 8 , CFNetwork 9 9 , cmake ··· 68 68 69 69 nativeBuildInputs = [ 70 70 cmake 71 - cython 71 + cython_0 72 72 ]; 73 73 74 74 buildInputs = [
+24 -5
pkgs/development/python-modules/uarray/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , fetchpatch 5 + , setuptools 5 6 , matchpy 6 7 , numpy 7 8 , astunparse 8 9 , typing-extensions 9 - , pytestCheckHook 10 + , pytest7CheckHook 10 11 , pytest-cov 11 12 }: 12 13 13 14 buildPythonPackage rec { 14 15 pname = "uarray"; 15 16 version = "0.8.2"; 16 - format = "setuptools"; 17 + pyproject = true; 17 18 18 19 src = fetchFromGitHub { 19 20 owner = "Quansight-Labs"; ··· 31 32 } 32 33 )]; 33 34 34 - nativeCheckInputs = [ pytestCheckHook pytest-cov ]; 35 - propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions ]; 35 + build-system = [ 36 + setuptools 37 + ]; 38 + 39 + dependencies = [ 40 + astunparse 41 + matchpy 42 + numpy 43 + typing-extensions 44 + ]; 45 + 46 + nativeCheckInputs = [ 47 + pytest7CheckHook 48 + pytest-cov 49 + ]; 36 50 37 51 # Tests must be run from outside the source directory 38 52 preCheck = '' 39 53 cd $TMP 40 54 ''; 41 - pytestFlagsArray = ["--pyargs" "uarray" "-W" "ignore::pytest.PytestRemovedIn8Warning" ]; 55 + 56 + pytestFlagsArray = [ 57 + "--pyargs" 58 + "uarray" 59 + ]; 60 + 42 61 pythonImportsCheck = [ "uarray" ]; 43 62 44 63 meta = with lib; {
+2 -2
pkgs/development/python-modules/uharfbuzz/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 5 , pythonOlder 6 - , cython_3 6 + , cython 7 7 , setuptools 8 8 , setuptools-scm 9 9 , pytestCheckHook ··· 26 26 }; 27 27 28 28 nativeBuildInputs = [ 29 - cython_3 29 + cython 30 30 setuptools 31 31 setuptools-scm 32 32 ];
+2 -2
pkgs/development/python-modules/uvloop/default.nix
··· 5 5 , fetchPypi 6 6 7 7 # build-system 8 - , cython 8 + , cython_0 9 9 , setuptools 10 10 11 11 # native dependencies ··· 33 33 }; 34 34 35 35 nativeBuildInputs = [ 36 - cython 36 + cython_0 37 37 setuptools 38 38 ]; 39 39
+3 -3
pkgs/development/python-modules/vine/default.nix
··· 23 23 pytestCheckHook 24 24 ]; 25 25 26 - pytestFlagsArray = [ 27 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 28 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 26 + disabledTestPaths = [ 27 + # https://github.com/celery/vine/issues/106 28 + "t/unit/test_synchronization.py" 29 29 ]; 30 30 31 31 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/vispy/default.nix
··· 3 3 , buildPythonPackage 4 4 , substituteAll 5 5 , fetchPypi 6 - , cython_3 6 + , cython 7 7 , fontconfig 8 8 , freetype-py 9 9 , hsluv ··· 39 39 ]; 40 40 41 41 nativeBuildInputs = [ 42 - cython_3 42 + cython 43 43 oldest-supported-numpy 44 44 setuptools 45 45 setuptools-scm
+3 -3
pkgs/development/python-modules/wikipedia2vec/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , click 4 - , cython_3 4 + , cython 5 5 , fetchFromGitHub 6 6 , jieba 7 7 , joblib ··· 30 30 }; 31 31 32 32 nativeBuildInputs = [ 33 - cython_3 33 + cython 34 34 setuptools 35 35 ]; 36 36 37 37 propagatedBuildInputs = [ 38 38 click 39 - cython_3 39 + cython 40 40 jieba 41 41 joblib 42 42 lmdb
+2 -2
pkgs/development/python-modules/yarl/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pythonOlder 5 - , cython_3 5 + , cython 6 6 , expandvars 7 7 , setuptools 8 8 , idna ··· 30 30 ''; 31 31 32 32 nativeBuildInputs = [ 33 - cython_3 33 + cython 34 34 expandvars 35 35 setuptools 36 36 ];
+2 -2
pkgs/development/python-modules/zeroconf/default.nix
··· 1 1 { lib 2 - , cython_3 2 + , cython 3 3 , async-timeout 4 4 , buildPythonPackage 5 5 , fetchFromGitHub ··· 32 32 ''; 33 33 34 34 build-system = [ 35 - cython_3 35 + cython 36 36 poetry-core 37 37 setuptools 38 38 ];
+2 -2
pkgs/development/ruby-modules/bundler/default.nix
··· 4 4 inherit ruby; 5 5 name = "${gemName}-${version}"; 6 6 gemName = "bundler"; 7 - version = "2.5.6"; 8 - source.sha256 = "sha256-Gh8h0UVuFt0v7pNGHZZANIBHqi3K9dd2h0pg3dTfXGQ="; 7 + version = "2.5.7"; 8 + source.sha256 = "sha256-Df4EofDsE828V59yTND3+hdDfbB7iaQfWZfiC/SoNA4="; 9 9 dontPatchShebangs = true; 10 10 11 11 postFixup = ''
+6 -5
pkgs/development/tools/analysis/binlore/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , runCommand 4 - , pkgsBuildBuild 4 + , yallback 5 + , yara 5 6 }: 6 7 7 8 /* TODO/CAUTION: ··· 29 30 src = fetchFromGitHub { 30 31 owner = "abathur"; 31 32 repo = "binlore"; 32 - rev = "v0.2.0"; 33 - hash = "sha256-bBJky7Km+mieHTqoMz3mda3KaKxr9ipYpfQqn/4w8J0="; 33 + rev = "v0.3.0"; 34 + hash = "sha256-4Fs6HThfDhKRskuDJx2+hucl8crMRm10K6949JdIwPY="; 34 35 }; 35 36 /* 36 37 binlore has one one more yallbacks responsible for ··· 58 59 callback = lore: drv: overrides: '' 59 60 if [[ -d "${drv}/bin" ]] || [[ -d "${drv}/lib" ]] || [[ -d "${drv}/libexec" ]]; then 60 61 echo generating binlore for $drv by running: 61 - echo "${pkgsBuildBuild.yara}/bin/yara --scan-list --recursive ${lore.rules} <(printf '%s\n' ${drv}/{bin,lib,libexec}) | ${pkgsBuildBuild.yallback}/bin/yallback ${lore.yallback}" 62 + echo "${yara}/bin/yara --scan-list --recursive ${lore.rules} <(printf '%s\n' ${drv}/{bin,lib,libexec}) | ${yallback}/bin/yallback ${lore.yallback}" 62 63 else 63 64 echo "failed to generate binlore for $drv (none of ${drv}/{bin,lib,libexec} exist)" 64 65 fi ··· 83 84 ((i--)) || true # don't break build 84 85 done # || true # don't break build 85 86 if [[ -d "${drv}/bin" ]] || [[ -d "${drv}/lib" ]] || [[ -d "${drv}/libexec" ]]; then 86 - ${pkgsBuildBuild.yara}/bin/yara --scan-list --recursive ${lore.rules} <(printf '%s\n' ${drv}/{bin,lib,libexec}) | ${pkgsBuildBuild.yallback}/bin/yallback ${lore.yallback} "$filter" 87 + ${yara}/bin/yara --scan-list --recursive ${lore.rules} <(printf '%s\n' ${drv}/{bin,lib,libexec}) | ${yallback}/bin/yallback ${lore.yallback} "$filter" 87 88 fi 88 89 ''; 89 90 };
-1935
pkgs/development/tools/parsing/tree-sitter/Cargo.lock
··· 1 - # This file is automatically @generated by Cargo. 2 - # It is not intended for manual editing. 3 - version = 3 4 - 5 - [[package]] 6 - name = "ahash" 7 - version = "0.8.6" 8 - source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" 10 - dependencies = [ 11 - "cfg-if", 12 - "once_cell", 13 - "version_check", 14 - "zerocopy", 15 - ] 16 - 17 - [[package]] 18 - name = "aho-corasick" 19 - version = "1.1.2" 20 - source = "registry+https://github.com/rust-lang/crates.io-index" 21 - checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" 22 - dependencies = [ 23 - "memchr", 24 - ] 25 - 26 - [[package]] 27 - name = "ansi_term" 28 - version = "0.12.1" 29 - source = "registry+https://github.com/rust-lang/crates.io-index" 30 - checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 31 - dependencies = [ 32 - "winapi", 33 - ] 34 - 35 - [[package]] 36 - name = "anyhow" 37 - version = "1.0.75" 38 - source = "registry+https://github.com/rust-lang/crates.io-index" 39 - checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" 40 - 41 - [[package]] 42 - name = "arbitrary" 43 - version = "1.3.1" 44 - source = "registry+https://github.com/rust-lang/crates.io-index" 45 - checksum = "a2e1373abdaa212b704512ec2bd8b26bd0b7d5c3f70117411a5d9a451383c859" 46 - 47 - [[package]] 48 - name = "ascii" 49 - version = "1.1.0" 50 - source = "registry+https://github.com/rust-lang/crates.io-index" 51 - checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" 52 - 53 - [[package]] 54 - name = "atty" 55 - version = "0.2.14" 56 - source = "registry+https://github.com/rust-lang/crates.io-index" 57 - checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 58 - dependencies = [ 59 - "hermit-abi", 60 - "libc", 61 - "winapi", 62 - ] 63 - 64 - [[package]] 65 - name = "autocfg" 66 - version = "1.1.0" 67 - source = "registry+https://github.com/rust-lang/crates.io-index" 68 - checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 69 - 70 - [[package]] 71 - name = "bincode" 72 - version = "1.3.3" 73 - source = "registry+https://github.com/rust-lang/crates.io-index" 74 - checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" 75 - dependencies = [ 76 - "serde", 77 - ] 78 - 79 - [[package]] 80 - name = "bindgen" 81 - version = "0.66.1" 82 - source = "registry+https://github.com/rust-lang/crates.io-index" 83 - checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7" 84 - dependencies = [ 85 - "bitflags 2.4.1", 86 - "cexpr", 87 - "clang-sys", 88 - "lazy_static", 89 - "lazycell", 90 - "log", 91 - "peeking_take_while", 92 - "prettyplease", 93 - "proc-macro2", 94 - "quote", 95 - "regex", 96 - "rustc-hash", 97 - "shlex", 98 - "syn 2.0.38", 99 - "which", 100 - ] 101 - 102 - [[package]] 103 - name = "bitflags" 104 - version = "1.3.2" 105 - source = "registry+https://github.com/rust-lang/crates.io-index" 106 - checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 107 - 108 - [[package]] 109 - name = "bitflags" 110 - version = "2.4.1" 111 - source = "registry+https://github.com/rust-lang/crates.io-index" 112 - checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" 113 - 114 - [[package]] 115 - name = "bumpalo" 116 - version = "3.14.0" 117 - source = "registry+https://github.com/rust-lang/crates.io-index" 118 - checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" 119 - 120 - [[package]] 121 - name = "bytes" 122 - version = "1.5.0" 123 - source = "registry+https://github.com/rust-lang/crates.io-index" 124 - checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" 125 - 126 - [[package]] 127 - name = "cc" 128 - version = "1.0.83" 129 - source = "registry+https://github.com/rust-lang/crates.io-index" 130 - checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" 131 - dependencies = [ 132 - "libc", 133 - ] 134 - 135 - [[package]] 136 - name = "cesu8" 137 - version = "1.1.0" 138 - source = "registry+https://github.com/rust-lang/crates.io-index" 139 - checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" 140 - 141 - [[package]] 142 - name = "cexpr" 143 - version = "0.6.0" 144 - source = "registry+https://github.com/rust-lang/crates.io-index" 145 - checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" 146 - dependencies = [ 147 - "nom", 148 - ] 149 - 150 - [[package]] 151 - name = "cfg-if" 152 - version = "1.0.0" 153 - source = "registry+https://github.com/rust-lang/crates.io-index" 154 - checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 155 - 156 - [[package]] 157 - name = "chunked_transfer" 158 - version = "1.4.1" 159 - source = "registry+https://github.com/rust-lang/crates.io-index" 160 - checksum = "cca491388666e04d7248af3f60f0c40cfb0991c72205595d7c396e3510207d1a" 161 - 162 - [[package]] 163 - name = "clang-sys" 164 - version = "1.6.1" 165 - source = "registry+https://github.com/rust-lang/crates.io-index" 166 - checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" 167 - dependencies = [ 168 - "glob", 169 - "libc", 170 - "libloading", 171 - ] 172 - 173 - [[package]] 174 - name = "clap" 175 - version = "2.34.0" 176 - source = "registry+https://github.com/rust-lang/crates.io-index" 177 - checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" 178 - dependencies = [ 179 - "ansi_term", 180 - "atty", 181 - "bitflags 1.3.2", 182 - "strsim", 183 - "textwrap", 184 - "unicode-width", 185 - "vec_map", 186 - ] 187 - 188 - [[package]] 189 - name = "combine" 190 - version = "4.6.6" 191 - source = "registry+https://github.com/rust-lang/crates.io-index" 192 - checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4" 193 - dependencies = [ 194 - "bytes", 195 - "memchr", 196 - ] 197 - 198 - [[package]] 199 - name = "core-foundation" 200 - version = "0.9.3" 201 - source = "registry+https://github.com/rust-lang/crates.io-index" 202 - checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" 203 - dependencies = [ 204 - "core-foundation-sys", 205 - "libc", 206 - ] 207 - 208 - [[package]] 209 - name = "core-foundation-sys" 210 - version = "0.8.4" 211 - source = "registry+https://github.com/rust-lang/crates.io-index" 212 - checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" 213 - 214 - [[package]] 215 - name = "cranelift-bforest" 216 - version = "0.102.0" 217 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 218 - dependencies = [ 219 - "cranelift-entity", 220 - ] 221 - 222 - [[package]] 223 - name = "cranelift-codegen" 224 - version = "0.102.0" 225 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 226 - dependencies = [ 227 - "bumpalo", 228 - "cranelift-bforest", 229 - "cranelift-codegen-meta", 230 - "cranelift-codegen-shared", 231 - "cranelift-control", 232 - "cranelift-entity", 233 - "cranelift-isle", 234 - "gimli", 235 - "hashbrown 0.14.2", 236 - "log", 237 - "regalloc2", 238 - "smallvec", 239 - "target-lexicon", 240 - ] 241 - 242 - [[package]] 243 - name = "cranelift-codegen-meta" 244 - version = "0.102.0" 245 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 246 - dependencies = [ 247 - "cranelift-codegen-shared", 248 - ] 249 - 250 - [[package]] 251 - name = "cranelift-codegen-shared" 252 - version = "0.102.0" 253 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 254 - 255 - [[package]] 256 - name = "cranelift-control" 257 - version = "0.102.0" 258 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 259 - dependencies = [ 260 - "arbitrary", 261 - ] 262 - 263 - [[package]] 264 - name = "cranelift-entity" 265 - version = "0.102.0" 266 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 267 - dependencies = [ 268 - "serde", 269 - "serde_derive", 270 - ] 271 - 272 - [[package]] 273 - name = "cranelift-frontend" 274 - version = "0.102.0" 275 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 276 - dependencies = [ 277 - "cranelift-codegen", 278 - "log", 279 - "smallvec", 280 - "target-lexicon", 281 - ] 282 - 283 - [[package]] 284 - name = "cranelift-isle" 285 - version = "0.102.0" 286 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 287 - 288 - [[package]] 289 - name = "cranelift-native" 290 - version = "0.102.0" 291 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 292 - dependencies = [ 293 - "cranelift-codegen", 294 - "libc", 295 - "target-lexicon", 296 - ] 297 - 298 - [[package]] 299 - name = "cranelift-wasm" 300 - version = "0.102.0" 301 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 302 - dependencies = [ 303 - "cranelift-codegen", 304 - "cranelift-entity", 305 - "cranelift-frontend", 306 - "itertools", 307 - "log", 308 - "smallvec", 309 - "wasmparser", 310 - "wasmtime-types", 311 - ] 312 - 313 - [[package]] 314 - name = "crc32fast" 315 - version = "1.3.2" 316 - source = "registry+https://github.com/rust-lang/crates.io-index" 317 - checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 318 - dependencies = [ 319 - "cfg-if", 320 - ] 321 - 322 - [[package]] 323 - name = "ctor" 324 - version = "0.2.5" 325 - source = "registry+https://github.com/rust-lang/crates.io-index" 326 - checksum = "37e366bff8cd32dd8754b0991fb66b279dc48f598c3a18914852a6673deef583" 327 - dependencies = [ 328 - "quote", 329 - "syn 2.0.38", 330 - ] 331 - 332 - [[package]] 333 - name = "ctrlc" 334 - version = "3.4.1" 335 - source = "registry+https://github.com/rust-lang/crates.io-index" 336 - checksum = "82e95fbd621905b854affdc67943b043a0fbb6ed7385fd5a25650d19a8a6cfdf" 337 - dependencies = [ 338 - "nix", 339 - "windows-sys 0.48.0", 340 - ] 341 - 342 - [[package]] 343 - name = "diff" 344 - version = "0.1.13" 345 - source = "registry+https://github.com/rust-lang/crates.io-index" 346 - checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 347 - 348 - [[package]] 349 - name = "difference" 350 - version = "2.0.0" 351 - source = "registry+https://github.com/rust-lang/crates.io-index" 352 - checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" 353 - 354 - [[package]] 355 - name = "dirs" 356 - version = "3.0.2" 357 - source = "registry+https://github.com/rust-lang/crates.io-index" 358 - checksum = "30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309" 359 - dependencies = [ 360 - "dirs-sys 0.3.7", 361 - ] 362 - 363 - [[package]] 364 - name = "dirs" 365 - version = "5.0.1" 366 - source = "registry+https://github.com/rust-lang/crates.io-index" 367 - checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" 368 - dependencies = [ 369 - "dirs-sys 0.4.1", 370 - ] 371 - 372 - [[package]] 373 - name = "dirs-sys" 374 - version = "0.3.7" 375 - source = "registry+https://github.com/rust-lang/crates.io-index" 376 - checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" 377 - dependencies = [ 378 - "libc", 379 - "redox_users", 380 - "winapi", 381 - ] 382 - 383 - [[package]] 384 - name = "dirs-sys" 385 - version = "0.4.1" 386 - source = "registry+https://github.com/rust-lang/crates.io-index" 387 - checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" 388 - dependencies = [ 389 - "libc", 390 - "option-ext", 391 - "redox_users", 392 - "windows-sys 0.48.0", 393 - ] 394 - 395 - [[package]] 396 - name = "either" 397 - version = "1.9.0" 398 - source = "registry+https://github.com/rust-lang/crates.io-index" 399 - checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" 400 - 401 - [[package]] 402 - name = "equivalent" 403 - version = "1.0.1" 404 - source = "registry+https://github.com/rust-lang/crates.io-index" 405 - checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 406 - 407 - [[package]] 408 - name = "errno" 409 - version = "0.3.5" 410 - source = "registry+https://github.com/rust-lang/crates.io-index" 411 - checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" 412 - dependencies = [ 413 - "libc", 414 - "windows-sys 0.48.0", 415 - ] 416 - 417 - [[package]] 418 - name = "fallible-iterator" 419 - version = "0.3.0" 420 - source = "registry+https://github.com/rust-lang/crates.io-index" 421 - checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" 422 - 423 - [[package]] 424 - name = "fastrand" 425 - version = "2.0.1" 426 - source = "registry+https://github.com/rust-lang/crates.io-index" 427 - checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 428 - 429 - [[package]] 430 - name = "form_urlencoded" 431 - version = "1.2.0" 432 - source = "registry+https://github.com/rust-lang/crates.io-index" 433 - checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" 434 - dependencies = [ 435 - "percent-encoding", 436 - ] 437 - 438 - [[package]] 439 - name = "getrandom" 440 - version = "0.2.10" 441 - source = "registry+https://github.com/rust-lang/crates.io-index" 442 - checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" 443 - dependencies = [ 444 - "cfg-if", 445 - "libc", 446 - "wasi", 447 - ] 448 - 449 - [[package]] 450 - name = "gimli" 451 - version = "0.28.0" 452 - source = "registry+https://github.com/rust-lang/crates.io-index" 453 - checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" 454 - dependencies = [ 455 - "fallible-iterator", 456 - "indexmap", 457 - "stable_deref_trait", 458 - ] 459 - 460 - [[package]] 461 - name = "glob" 462 - version = "0.3.1" 463 - source = "registry+https://github.com/rust-lang/crates.io-index" 464 - checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 465 - 466 - [[package]] 467 - name = "hashbrown" 468 - version = "0.13.2" 469 - source = "registry+https://github.com/rust-lang/crates.io-index" 470 - checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" 471 - dependencies = [ 472 - "ahash", 473 - ] 474 - 475 - [[package]] 476 - name = "hashbrown" 477 - version = "0.14.2" 478 - source = "registry+https://github.com/rust-lang/crates.io-index" 479 - checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" 480 - dependencies = [ 481 - "ahash", 482 - ] 483 - 484 - [[package]] 485 - name = "hermit-abi" 486 - version = "0.1.19" 487 - source = "registry+https://github.com/rust-lang/crates.io-index" 488 - checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 489 - dependencies = [ 490 - "libc", 491 - ] 492 - 493 - [[package]] 494 - name = "home" 495 - version = "0.5.5" 496 - source = "registry+https://github.com/rust-lang/crates.io-index" 497 - checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" 498 - dependencies = [ 499 - "windows-sys 0.48.0", 500 - ] 501 - 502 - [[package]] 503 - name = "html-escape" 504 - version = "0.2.13" 505 - source = "registry+https://github.com/rust-lang/crates.io-index" 506 - checksum = "6d1ad449764d627e22bfd7cd5e8868264fc9236e07c752972b4080cd351cb476" 507 - dependencies = [ 508 - "utf8-width", 509 - ] 510 - 511 - [[package]] 512 - name = "httpdate" 513 - version = "1.0.3" 514 - source = "registry+https://github.com/rust-lang/crates.io-index" 515 - checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 516 - 517 - [[package]] 518 - name = "idna" 519 - version = "0.4.0" 520 - source = "registry+https://github.com/rust-lang/crates.io-index" 521 - checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" 522 - dependencies = [ 523 - "unicode-bidi", 524 - "unicode-normalization", 525 - ] 526 - 527 - [[package]] 528 - name = "indexmap" 529 - version = "2.0.2" 530 - source = "registry+https://github.com/rust-lang/crates.io-index" 531 - checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" 532 - dependencies = [ 533 - "equivalent", 534 - "hashbrown 0.14.2", 535 - "serde", 536 - ] 537 - 538 - [[package]] 539 - name = "indoc" 540 - version = "2.0.4" 541 - source = "registry+https://github.com/rust-lang/crates.io-index" 542 - checksum = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" 543 - 544 - [[package]] 545 - name = "itertools" 546 - version = "0.10.5" 547 - source = "registry+https://github.com/rust-lang/crates.io-index" 548 - checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" 549 - dependencies = [ 550 - "either", 551 - ] 552 - 553 - [[package]] 554 - name = "itoa" 555 - version = "1.0.9" 556 - source = "registry+https://github.com/rust-lang/crates.io-index" 557 - checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" 558 - 559 - [[package]] 560 - name = "jni" 561 - version = "0.21.1" 562 - source = "registry+https://github.com/rust-lang/crates.io-index" 563 - checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" 564 - dependencies = [ 565 - "cesu8", 566 - "cfg-if", 567 - "combine", 568 - "jni-sys", 569 - "log", 570 - "thiserror", 571 - "walkdir", 572 - "windows-sys 0.45.0", 573 - ] 574 - 575 - [[package]] 576 - name = "jni-sys" 577 - version = "0.3.0" 578 - source = "registry+https://github.com/rust-lang/crates.io-index" 579 - checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" 580 - 581 - [[package]] 582 - name = "js-sys" 583 - version = "0.3.64" 584 - source = "registry+https://github.com/rust-lang/crates.io-index" 585 - checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 586 - dependencies = [ 587 - "wasm-bindgen", 588 - ] 589 - 590 - [[package]] 591 - name = "lazy_static" 592 - version = "1.4.0" 593 - source = "registry+https://github.com/rust-lang/crates.io-index" 594 - checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 595 - 596 - [[package]] 597 - name = "lazycell" 598 - version = "1.3.0" 599 - source = "registry+https://github.com/rust-lang/crates.io-index" 600 - checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" 601 - 602 - [[package]] 603 - name = "leb128" 604 - version = "0.2.5" 605 - source = "registry+https://github.com/rust-lang/crates.io-index" 606 - checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" 607 - 608 - [[package]] 609 - name = "libc" 610 - version = "0.2.149" 611 - source = "registry+https://github.com/rust-lang/crates.io-index" 612 - checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" 613 - 614 - [[package]] 615 - name = "libloading" 616 - version = "0.7.4" 617 - source = "registry+https://github.com/rust-lang/crates.io-index" 618 - checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" 619 - dependencies = [ 620 - "cfg-if", 621 - "winapi", 622 - ] 623 - 624 - [[package]] 625 - name = "linux-raw-sys" 626 - version = "0.4.10" 627 - source = "registry+https://github.com/rust-lang/crates.io-index" 628 - checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" 629 - 630 - [[package]] 631 - name = "log" 632 - version = "0.4.20" 633 - source = "registry+https://github.com/rust-lang/crates.io-index" 634 - checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 635 - 636 - [[package]] 637 - name = "mach" 638 - version = "0.3.2" 639 - source = "registry+https://github.com/rust-lang/crates.io-index" 640 - checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" 641 - dependencies = [ 642 - "libc", 643 - ] 644 - 645 - [[package]] 646 - name = "malloc_buf" 647 - version = "0.0.6" 648 - source = "registry+https://github.com/rust-lang/crates.io-index" 649 - checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" 650 - dependencies = [ 651 - "libc", 652 - ] 653 - 654 - [[package]] 655 - name = "memchr" 656 - version = "2.6.4" 657 - source = "registry+https://github.com/rust-lang/crates.io-index" 658 - checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" 659 - 660 - [[package]] 661 - name = "memfd" 662 - version = "0.6.4" 663 - source = "registry+https://github.com/rust-lang/crates.io-index" 664 - checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" 665 - dependencies = [ 666 - "rustix", 667 - ] 668 - 669 - [[package]] 670 - name = "memoffset" 671 - version = "0.9.0" 672 - source = "registry+https://github.com/rust-lang/crates.io-index" 673 - checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 674 - dependencies = [ 675 - "autocfg", 676 - ] 677 - 678 - [[package]] 679 - name = "minimal-lexical" 680 - version = "0.2.1" 681 - source = "registry+https://github.com/rust-lang/crates.io-index" 682 - checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 683 - 684 - [[package]] 685 - name = "ndk-context" 686 - version = "0.1.1" 687 - source = "registry+https://github.com/rust-lang/crates.io-index" 688 - checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" 689 - 690 - [[package]] 691 - name = "nix" 692 - version = "0.27.1" 693 - source = "registry+https://github.com/rust-lang/crates.io-index" 694 - checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" 695 - dependencies = [ 696 - "bitflags 2.4.1", 697 - "cfg-if", 698 - "libc", 699 - ] 700 - 701 - [[package]] 702 - name = "nom" 703 - version = "7.1.3" 704 - source = "registry+https://github.com/rust-lang/crates.io-index" 705 - checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 706 - dependencies = [ 707 - "memchr", 708 - "minimal-lexical", 709 - ] 710 - 711 - [[package]] 712 - name = "objc" 713 - version = "0.2.7" 714 - source = "registry+https://github.com/rust-lang/crates.io-index" 715 - checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" 716 - dependencies = [ 717 - "malloc_buf", 718 - ] 719 - 720 - [[package]] 721 - name = "object" 722 - version = "0.32.1" 723 - source = "registry+https://github.com/rust-lang/crates.io-index" 724 - checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" 725 - dependencies = [ 726 - "crc32fast", 727 - "hashbrown 0.14.2", 728 - "indexmap", 729 - "memchr", 730 - ] 731 - 732 - [[package]] 733 - name = "once_cell" 734 - version = "1.18.0" 735 - source = "registry+https://github.com/rust-lang/crates.io-index" 736 - checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 737 - 738 - [[package]] 739 - name = "option-ext" 740 - version = "0.2.0" 741 - source = "registry+https://github.com/rust-lang/crates.io-index" 742 - checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 743 - 744 - [[package]] 745 - name = "paste" 746 - version = "1.0.14" 747 - source = "registry+https://github.com/rust-lang/crates.io-index" 748 - checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" 749 - 750 - [[package]] 751 - name = "path-slash" 752 - version = "0.2.1" 753 - source = "registry+https://github.com/rust-lang/crates.io-index" 754 - checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" 755 - 756 - [[package]] 757 - name = "peeking_take_while" 758 - version = "0.1.2" 759 - source = "registry+https://github.com/rust-lang/crates.io-index" 760 - checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" 761 - 762 - [[package]] 763 - name = "percent-encoding" 764 - version = "2.3.0" 765 - source = "registry+https://github.com/rust-lang/crates.io-index" 766 - checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" 767 - 768 - [[package]] 769 - name = "pin-project-lite" 770 - version = "0.2.13" 771 - source = "registry+https://github.com/rust-lang/crates.io-index" 772 - checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 773 - 774 - [[package]] 775 - name = "ppv-lite86" 776 - version = "0.2.17" 777 - source = "registry+https://github.com/rust-lang/crates.io-index" 778 - checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 779 - 780 - [[package]] 781 - name = "pretty_assertions" 782 - version = "1.4.0" 783 - source = "registry+https://github.com/rust-lang/crates.io-index" 784 - checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" 785 - dependencies = [ 786 - "diff", 787 - "yansi", 788 - ] 789 - 790 - [[package]] 791 - name = "prettyplease" 792 - version = "0.2.15" 793 - source = "registry+https://github.com/rust-lang/crates.io-index" 794 - checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" 795 - dependencies = [ 796 - "proc-macro2", 797 - "syn 2.0.38", 798 - ] 799 - 800 - [[package]] 801 - name = "proc-macro2" 802 - version = "1.0.69" 803 - source = "registry+https://github.com/rust-lang/crates.io-index" 804 - checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" 805 - dependencies = [ 806 - "unicode-ident", 807 - ] 808 - 809 - [[package]] 810 - name = "psm" 811 - version = "0.1.21" 812 - source = "registry+https://github.com/rust-lang/crates.io-index" 813 - checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" 814 - dependencies = [ 815 - "cc", 816 - ] 817 - 818 - [[package]] 819 - name = "quote" 820 - version = "1.0.33" 821 - source = "registry+https://github.com/rust-lang/crates.io-index" 822 - checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" 823 - dependencies = [ 824 - "proc-macro2", 825 - ] 826 - 827 - [[package]] 828 - name = "rand" 829 - version = "0.8.5" 830 - source = "registry+https://github.com/rust-lang/crates.io-index" 831 - checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 832 - dependencies = [ 833 - "libc", 834 - "rand_chacha", 835 - "rand_core", 836 - ] 837 - 838 - [[package]] 839 - name = "rand_chacha" 840 - version = "0.3.1" 841 - source = "registry+https://github.com/rust-lang/crates.io-index" 842 - checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 843 - dependencies = [ 844 - "ppv-lite86", 845 - "rand_core", 846 - ] 847 - 848 - [[package]] 849 - name = "rand_core" 850 - version = "0.6.4" 851 - source = "registry+https://github.com/rust-lang/crates.io-index" 852 - checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 853 - dependencies = [ 854 - "getrandom", 855 - ] 856 - 857 - [[package]] 858 - name = "raw-window-handle" 859 - version = "0.5.2" 860 - source = "registry+https://github.com/rust-lang/crates.io-index" 861 - checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" 862 - 863 - [[package]] 864 - name = "redox_syscall" 865 - version = "0.2.16" 866 - source = "registry+https://github.com/rust-lang/crates.io-index" 867 - checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 868 - dependencies = [ 869 - "bitflags 1.3.2", 870 - ] 871 - 872 - [[package]] 873 - name = "redox_syscall" 874 - version = "0.4.1" 875 - source = "registry+https://github.com/rust-lang/crates.io-index" 876 - checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 877 - dependencies = [ 878 - "bitflags 1.3.2", 879 - ] 880 - 881 - [[package]] 882 - name = "redox_users" 883 - version = "0.4.3" 884 - source = "registry+https://github.com/rust-lang/crates.io-index" 885 - checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 886 - dependencies = [ 887 - "getrandom", 888 - "redox_syscall 0.2.16", 889 - "thiserror", 890 - ] 891 - 892 - [[package]] 893 - name = "regalloc2" 894 - version = "0.9.3" 895 - source = "registry+https://github.com/rust-lang/crates.io-index" 896 - checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" 897 - dependencies = [ 898 - "hashbrown 0.13.2", 899 - "log", 900 - "rustc-hash", 901 - "slice-group-by", 902 - "smallvec", 903 - ] 904 - 905 - [[package]] 906 - name = "regex" 907 - version = "1.10.2" 908 - source = "registry+https://github.com/rust-lang/crates.io-index" 909 - checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" 910 - dependencies = [ 911 - "aho-corasick", 912 - "memchr", 913 - "regex-automata", 914 - "regex-syntax 0.8.2", 915 - ] 916 - 917 - [[package]] 918 - name = "regex-automata" 919 - version = "0.4.3" 920 - source = "registry+https://github.com/rust-lang/crates.io-index" 921 - checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" 922 - dependencies = [ 923 - "aho-corasick", 924 - "memchr", 925 - "regex-syntax 0.8.2", 926 - ] 927 - 928 - [[package]] 929 - name = "regex-syntax" 930 - version = "0.7.5" 931 - source = "registry+https://github.com/rust-lang/crates.io-index" 932 - checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" 933 - 934 - [[package]] 935 - name = "regex-syntax" 936 - version = "0.8.2" 937 - source = "registry+https://github.com/rust-lang/crates.io-index" 938 - checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" 939 - 940 - [[package]] 941 - name = "rustc-hash" 942 - version = "1.1.0" 943 - source = "registry+https://github.com/rust-lang/crates.io-index" 944 - checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" 945 - 946 - [[package]] 947 - name = "rustix" 948 - version = "0.38.21" 949 - source = "registry+https://github.com/rust-lang/crates.io-index" 950 - checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" 951 - dependencies = [ 952 - "bitflags 2.4.1", 953 - "errno", 954 - "libc", 955 - "linux-raw-sys", 956 - "windows-sys 0.48.0", 957 - ] 958 - 959 - [[package]] 960 - name = "ryu" 961 - version = "1.0.15" 962 - source = "registry+https://github.com/rust-lang/crates.io-index" 963 - checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" 964 - 965 - [[package]] 966 - name = "same-file" 967 - version = "1.0.6" 968 - source = "registry+https://github.com/rust-lang/crates.io-index" 969 - checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 970 - dependencies = [ 971 - "winapi-util", 972 - ] 973 - 974 - [[package]] 975 - name = "semver" 976 - version = "1.0.20" 977 - source = "registry+https://github.com/rust-lang/crates.io-index" 978 - checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" 979 - 980 - [[package]] 981 - name = "serde" 982 - version = "1.0.190" 983 - source = "registry+https://github.com/rust-lang/crates.io-index" 984 - checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" 985 - dependencies = [ 986 - "serde_derive", 987 - ] 988 - 989 - [[package]] 990 - name = "serde_derive" 991 - version = "1.0.190" 992 - source = "registry+https://github.com/rust-lang/crates.io-index" 993 - checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" 994 - dependencies = [ 995 - "proc-macro2", 996 - "quote", 997 - "syn 2.0.38", 998 - ] 999 - 1000 - [[package]] 1001 - name = "serde_json" 1002 - version = "1.0.107" 1003 - source = "registry+https://github.com/rust-lang/crates.io-index" 1004 - checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" 1005 - dependencies = [ 1006 - "indexmap", 1007 - "itoa", 1008 - "ryu", 1009 - "serde", 1010 - ] 1011 - 1012 - [[package]] 1013 - name = "serde_spanned" 1014 - version = "0.6.4" 1015 - source = "registry+https://github.com/rust-lang/crates.io-index" 1016 - checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" 1017 - dependencies = [ 1018 - "serde", 1019 - ] 1020 - 1021 - [[package]] 1022 - name = "shlex" 1023 - version = "1.2.0" 1024 - source = "registry+https://github.com/rust-lang/crates.io-index" 1025 - checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" 1026 - 1027 - [[package]] 1028 - name = "slice-group-by" 1029 - version = "0.3.1" 1030 - source = "registry+https://github.com/rust-lang/crates.io-index" 1031 - checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" 1032 - 1033 - [[package]] 1034 - name = "smallbitvec" 1035 - version = "2.5.1" 1036 - source = "registry+https://github.com/rust-lang/crates.io-index" 1037 - checksum = "75ce4f9dc4a41b4c3476cc925f1efb11b66df373a8fde5d4b8915fa91b5d995e" 1038 - 1039 - [[package]] 1040 - name = "smallvec" 1041 - version = "1.11.1" 1042 - source = "registry+https://github.com/rust-lang/crates.io-index" 1043 - checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" 1044 - 1045 - [[package]] 1046 - name = "sptr" 1047 - version = "0.3.2" 1048 - source = "registry+https://github.com/rust-lang/crates.io-index" 1049 - checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" 1050 - 1051 - [[package]] 1052 - name = "stable_deref_trait" 1053 - version = "1.2.0" 1054 - source = "registry+https://github.com/rust-lang/crates.io-index" 1055 - checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 1056 - 1057 - [[package]] 1058 - name = "strsim" 1059 - version = "0.8.0" 1060 - source = "registry+https://github.com/rust-lang/crates.io-index" 1061 - checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 1062 - 1063 - [[package]] 1064 - name = "syn" 1065 - version = "1.0.109" 1066 - source = "registry+https://github.com/rust-lang/crates.io-index" 1067 - checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 1068 - dependencies = [ 1069 - "proc-macro2", 1070 - "quote", 1071 - "unicode-ident", 1072 - ] 1073 - 1074 - [[package]] 1075 - name = "syn" 1076 - version = "2.0.38" 1077 - source = "registry+https://github.com/rust-lang/crates.io-index" 1078 - checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" 1079 - dependencies = [ 1080 - "proc-macro2", 1081 - "quote", 1082 - "unicode-ident", 1083 - ] 1084 - 1085 - [[package]] 1086 - name = "target-lexicon" 1087 - version = "0.12.12" 1088 - source = "registry+https://github.com/rust-lang/crates.io-index" 1089 - checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" 1090 - 1091 - [[package]] 1092 - name = "tempfile" 1093 - version = "3.8.1" 1094 - source = "registry+https://github.com/rust-lang/crates.io-index" 1095 - checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" 1096 - dependencies = [ 1097 - "cfg-if", 1098 - "fastrand", 1099 - "redox_syscall 0.4.1", 1100 - "rustix", 1101 - "windows-sys 0.48.0", 1102 - ] 1103 - 1104 - [[package]] 1105 - name = "textwrap" 1106 - version = "0.11.0" 1107 - source = "registry+https://github.com/rust-lang/crates.io-index" 1108 - checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 1109 - dependencies = [ 1110 - "unicode-width", 1111 - ] 1112 - 1113 - [[package]] 1114 - name = "thiserror" 1115 - version = "1.0.50" 1116 - source = "registry+https://github.com/rust-lang/crates.io-index" 1117 - checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" 1118 - dependencies = [ 1119 - "thiserror-impl", 1120 - ] 1121 - 1122 - [[package]] 1123 - name = "thiserror-impl" 1124 - version = "1.0.50" 1125 - source = "registry+https://github.com/rust-lang/crates.io-index" 1126 - checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" 1127 - dependencies = [ 1128 - "proc-macro2", 1129 - "quote", 1130 - "syn 2.0.38", 1131 - ] 1132 - 1133 - [[package]] 1134 - name = "tiny_http" 1135 - version = "0.12.0" 1136 - source = "registry+https://github.com/rust-lang/crates.io-index" 1137 - checksum = "389915df6413a2e74fb181895f933386023c71110878cd0825588928e64cdc82" 1138 - dependencies = [ 1139 - "ascii", 1140 - "chunked_transfer", 1141 - "httpdate", 1142 - "log", 1143 - ] 1144 - 1145 - [[package]] 1146 - name = "tinyvec" 1147 - version = "1.6.0" 1148 - source = "registry+https://github.com/rust-lang/crates.io-index" 1149 - checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 1150 - dependencies = [ 1151 - "tinyvec_macros", 1152 - ] 1153 - 1154 - [[package]] 1155 - name = "tinyvec_macros" 1156 - version = "0.1.1" 1157 - source = "registry+https://github.com/rust-lang/crates.io-index" 1158 - checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 1159 - 1160 - [[package]] 1161 - name = "toml" 1162 - version = "0.7.8" 1163 - source = "registry+https://github.com/rust-lang/crates.io-index" 1164 - checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" 1165 - dependencies = [ 1166 - "serde", 1167 - "serde_spanned", 1168 - "toml_datetime", 1169 - "toml_edit", 1170 - ] 1171 - 1172 - [[package]] 1173 - name = "toml_datetime" 1174 - version = "0.6.5" 1175 - source = "registry+https://github.com/rust-lang/crates.io-index" 1176 - checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" 1177 - dependencies = [ 1178 - "serde", 1179 - ] 1180 - 1181 - [[package]] 1182 - name = "toml_edit" 1183 - version = "0.19.15" 1184 - source = "registry+https://github.com/rust-lang/crates.io-index" 1185 - checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" 1186 - dependencies = [ 1187 - "indexmap", 1188 - "serde", 1189 - "serde_spanned", 1190 - "toml_datetime", 1191 - "winnow", 1192 - ] 1193 - 1194 - [[package]] 1195 - name = "tracing" 1196 - version = "0.1.40" 1197 - source = "registry+https://github.com/rust-lang/crates.io-index" 1198 - checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 1199 - dependencies = [ 1200 - "pin-project-lite", 1201 - "tracing-attributes", 1202 - "tracing-core", 1203 - ] 1204 - 1205 - [[package]] 1206 - name = "tracing-attributes" 1207 - version = "0.1.27" 1208 - source = "registry+https://github.com/rust-lang/crates.io-index" 1209 - checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" 1210 - dependencies = [ 1211 - "proc-macro2", 1212 - "quote", 1213 - "syn 2.0.38", 1214 - ] 1215 - 1216 - [[package]] 1217 - name = "tracing-core" 1218 - version = "0.1.32" 1219 - source = "registry+https://github.com/rust-lang/crates.io-index" 1220 - checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 1221 - dependencies = [ 1222 - "once_cell", 1223 - ] 1224 - 1225 - [[package]] 1226 - name = "tree-sitter" 1227 - version = "0.20.10" 1228 - dependencies = [ 1229 - "bindgen", 1230 - "cc", 1231 - "regex", 1232 - "wasmtime", 1233 - "wasmtime-c-api-impl", 1234 - ] 1235 - 1236 - [[package]] 1237 - name = "tree-sitter-cli" 1238 - version = "0.20.9" 1239 - dependencies = [ 1240 - "ansi_term", 1241 - "anyhow", 1242 - "atty", 1243 - "clap", 1244 - "ctor", 1245 - "ctrlc", 1246 - "difference", 1247 - "dirs 5.0.1", 1248 - "glob", 1249 - "html-escape", 1250 - "indexmap", 1251 - "indoc", 1252 - "lazy_static", 1253 - "log", 1254 - "memchr", 1255 - "path-slash", 1256 - "pretty_assertions", 1257 - "rand", 1258 - "regex", 1259 - "regex-syntax 0.7.5", 1260 - "rustc-hash", 1261 - "semver", 1262 - "serde", 1263 - "serde_derive", 1264 - "serde_json", 1265 - "smallbitvec", 1266 - "tempfile", 1267 - "tiny_http", 1268 - "toml", 1269 - "tree-sitter", 1270 - "tree-sitter-config", 1271 - "tree-sitter-highlight", 1272 - "tree-sitter-loader", 1273 - "tree-sitter-tags", 1274 - "tree-sitter-tests-proc-macro", 1275 - "unindent", 1276 - "walkdir", 1277 - "webbrowser", 1278 - "which", 1279 - ] 1280 - 1281 - [[package]] 1282 - name = "tree-sitter-config" 1283 - version = "0.19.0" 1284 - dependencies = [ 1285 - "anyhow", 1286 - "dirs 3.0.2", 1287 - "serde", 1288 - "serde_json", 1289 - ] 1290 - 1291 - [[package]] 1292 - name = "tree-sitter-highlight" 1293 - version = "0.20.2" 1294 - dependencies = [ 1295 - "lazy_static", 1296 - "regex", 1297 - "thiserror", 1298 - "tree-sitter", 1299 - ] 1300 - 1301 - [[package]] 1302 - name = "tree-sitter-loader" 1303 - version = "0.20.0" 1304 - dependencies = [ 1305 - "anyhow", 1306 - "cc", 1307 - "dirs 3.0.2", 1308 - "libloading", 1309 - "once_cell", 1310 - "regex", 1311 - "serde", 1312 - "serde_json", 1313 - "tree-sitter", 1314 - "tree-sitter-highlight", 1315 - "tree-sitter-tags", 1316 - "which", 1317 - ] 1318 - 1319 - [[package]] 1320 - name = "tree-sitter-tags" 1321 - version = "0.20.2" 1322 - dependencies = [ 1323 - "memchr", 1324 - "regex", 1325 - "thiserror", 1326 - "tree-sitter", 1327 - ] 1328 - 1329 - [[package]] 1330 - name = "tree-sitter-tests-proc-macro" 1331 - version = "0.0.0" 1332 - dependencies = [ 1333 - "proc-macro2", 1334 - "quote", 1335 - "rand", 1336 - "syn 1.0.109", 1337 - ] 1338 - 1339 - [[package]] 1340 - name = "unicode-bidi" 1341 - version = "0.3.13" 1342 - source = "registry+https://github.com/rust-lang/crates.io-index" 1343 - checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 1344 - 1345 - [[package]] 1346 - name = "unicode-ident" 1347 - version = "1.0.12" 1348 - source = "registry+https://github.com/rust-lang/crates.io-index" 1349 - checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 1350 - 1351 - [[package]] 1352 - name = "unicode-normalization" 1353 - version = "0.1.22" 1354 - source = "registry+https://github.com/rust-lang/crates.io-index" 1355 - checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 1356 - dependencies = [ 1357 - "tinyvec", 1358 - ] 1359 - 1360 - [[package]] 1361 - name = "unicode-width" 1362 - version = "0.1.11" 1363 - source = "registry+https://github.com/rust-lang/crates.io-index" 1364 - checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" 1365 - 1366 - [[package]] 1367 - name = "unindent" 1368 - version = "0.2.3" 1369 - source = "registry+https://github.com/rust-lang/crates.io-index" 1370 - checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" 1371 - 1372 - [[package]] 1373 - name = "url" 1374 - version = "2.4.1" 1375 - source = "registry+https://github.com/rust-lang/crates.io-index" 1376 - checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" 1377 - dependencies = [ 1378 - "form_urlencoded", 1379 - "idna", 1380 - "percent-encoding", 1381 - ] 1382 - 1383 - [[package]] 1384 - name = "utf8-width" 1385 - version = "0.1.6" 1386 - source = "registry+https://github.com/rust-lang/crates.io-index" 1387 - checksum = "5190c9442dcdaf0ddd50f37420417d219ae5261bbf5db120d0f9bab996c9cba1" 1388 - 1389 - [[package]] 1390 - name = "vec_map" 1391 - version = "0.8.2" 1392 - source = "registry+https://github.com/rust-lang/crates.io-index" 1393 - checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 1394 - 1395 - [[package]] 1396 - name = "version_check" 1397 - version = "0.9.4" 1398 - source = "registry+https://github.com/rust-lang/crates.io-index" 1399 - checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 1400 - 1401 - [[package]] 1402 - name = "walkdir" 1403 - version = "2.4.0" 1404 - source = "registry+https://github.com/rust-lang/crates.io-index" 1405 - checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" 1406 - dependencies = [ 1407 - "same-file", 1408 - "winapi-util", 1409 - ] 1410 - 1411 - [[package]] 1412 - name = "wasi" 1413 - version = "0.11.0+wasi-snapshot-preview1" 1414 - source = "registry+https://github.com/rust-lang/crates.io-index" 1415 - checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 1416 - 1417 - [[package]] 1418 - name = "wasm-bindgen" 1419 - version = "0.2.87" 1420 - source = "registry+https://github.com/rust-lang/crates.io-index" 1421 - checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 1422 - dependencies = [ 1423 - "cfg-if", 1424 - "wasm-bindgen-macro", 1425 - ] 1426 - 1427 - [[package]] 1428 - name = "wasm-bindgen-backend" 1429 - version = "0.2.87" 1430 - source = "registry+https://github.com/rust-lang/crates.io-index" 1431 - checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 1432 - dependencies = [ 1433 - "bumpalo", 1434 - "log", 1435 - "once_cell", 1436 - "proc-macro2", 1437 - "quote", 1438 - "syn 2.0.38", 1439 - "wasm-bindgen-shared", 1440 - ] 1441 - 1442 - [[package]] 1443 - name = "wasm-bindgen-macro" 1444 - version = "0.2.87" 1445 - source = "registry+https://github.com/rust-lang/crates.io-index" 1446 - checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 1447 - dependencies = [ 1448 - "quote", 1449 - "wasm-bindgen-macro-support", 1450 - ] 1451 - 1452 - [[package]] 1453 - name = "wasm-bindgen-macro-support" 1454 - version = "0.2.87" 1455 - source = "registry+https://github.com/rust-lang/crates.io-index" 1456 - checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 1457 - dependencies = [ 1458 - "proc-macro2", 1459 - "quote", 1460 - "syn 2.0.38", 1461 - "wasm-bindgen-backend", 1462 - "wasm-bindgen-shared", 1463 - ] 1464 - 1465 - [[package]] 1466 - name = "wasm-bindgen-shared" 1467 - version = "0.2.87" 1468 - source = "registry+https://github.com/rust-lang/crates.io-index" 1469 - checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 1470 - 1471 - [[package]] 1472 - name = "wasm-encoder" 1473 - version = "0.35.0" 1474 - source = "registry+https://github.com/rust-lang/crates.io-index" 1475 - checksum = "9ca90ba1b5b0a70d3d49473c5579951f3bddc78d47b59256d2f9d4922b150aca" 1476 - dependencies = [ 1477 - "leb128", 1478 - ] 1479 - 1480 - [[package]] 1481 - name = "wasmparser" 1482 - version = "0.115.0" 1483 - source = "registry+https://github.com/rust-lang/crates.io-index" 1484 - checksum = "e06c0641a4add879ba71ccb3a1e4278fd546f76f1eafb21d8f7b07733b547cd5" 1485 - dependencies = [ 1486 - "indexmap", 1487 - "semver", 1488 - ] 1489 - 1490 - [[package]] 1491 - name = "wasmtime" 1492 - version = "15.0.0" 1493 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1494 - dependencies = [ 1495 - "anyhow", 1496 - "bincode", 1497 - "bumpalo", 1498 - "cfg-if", 1499 - "indexmap", 1500 - "libc", 1501 - "log", 1502 - "object", 1503 - "once_cell", 1504 - "paste", 1505 - "psm", 1506 - "serde", 1507 - "serde_derive", 1508 - "serde_json", 1509 - "target-lexicon", 1510 - "wasmparser", 1511 - "wasmtime-cranelift", 1512 - "wasmtime-environ", 1513 - "wasmtime-jit", 1514 - "wasmtime-runtime", 1515 - "windows-sys 0.48.0", 1516 - ] 1517 - 1518 - [[package]] 1519 - name = "wasmtime-asm-macros" 1520 - version = "15.0.0" 1521 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1522 - dependencies = [ 1523 - "cfg-if", 1524 - ] 1525 - 1526 - [[package]] 1527 - name = "wasmtime-c-api-impl" 1528 - version = "15.0.0" 1529 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1530 - dependencies = [ 1531 - "anyhow", 1532 - "log", 1533 - "once_cell", 1534 - "tracing", 1535 - "wasmtime", 1536 - "wasmtime-c-api-macros", 1537 - ] 1538 - 1539 - [[package]] 1540 - name = "wasmtime-c-api-macros" 1541 - version = "0.0.0" 1542 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1543 - dependencies = [ 1544 - "proc-macro2", 1545 - "quote", 1546 - ] 1547 - 1548 - [[package]] 1549 - name = "wasmtime-cranelift" 1550 - version = "15.0.0" 1551 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1552 - dependencies = [ 1553 - "anyhow", 1554 - "cfg-if", 1555 - "cranelift-codegen", 1556 - "cranelift-control", 1557 - "cranelift-entity", 1558 - "cranelift-frontend", 1559 - "cranelift-native", 1560 - "cranelift-wasm", 1561 - "gimli", 1562 - "log", 1563 - "object", 1564 - "target-lexicon", 1565 - "thiserror", 1566 - "wasmparser", 1567 - "wasmtime-cranelift-shared", 1568 - "wasmtime-environ", 1569 - "wasmtime-versioned-export-macros", 1570 - ] 1571 - 1572 - [[package]] 1573 - name = "wasmtime-cranelift-shared" 1574 - version = "15.0.0" 1575 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1576 - dependencies = [ 1577 - "anyhow", 1578 - "cranelift-codegen", 1579 - "cranelift-control", 1580 - "cranelift-native", 1581 - "gimli", 1582 - "object", 1583 - "target-lexicon", 1584 - "wasmtime-environ", 1585 - ] 1586 - 1587 - [[package]] 1588 - name = "wasmtime-environ" 1589 - version = "15.0.0" 1590 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1591 - dependencies = [ 1592 - "anyhow", 1593 - "cranelift-entity", 1594 - "gimli", 1595 - "indexmap", 1596 - "log", 1597 - "object", 1598 - "serde", 1599 - "serde_derive", 1600 - "target-lexicon", 1601 - "thiserror", 1602 - "wasmparser", 1603 - "wasmtime-types", 1604 - ] 1605 - 1606 - [[package]] 1607 - name = "wasmtime-jit" 1608 - version = "15.0.0" 1609 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1610 - dependencies = [ 1611 - "anyhow", 1612 - "bincode", 1613 - "cfg-if", 1614 - "gimli", 1615 - "log", 1616 - "object", 1617 - "rustix", 1618 - "serde", 1619 - "serde_derive", 1620 - "target-lexicon", 1621 - "wasmtime-environ", 1622 - "wasmtime-jit-icache-coherence", 1623 - "wasmtime-runtime", 1624 - "windows-sys 0.48.0", 1625 - ] 1626 - 1627 - [[package]] 1628 - name = "wasmtime-jit-debug" 1629 - version = "15.0.0" 1630 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1631 - dependencies = [ 1632 - "once_cell", 1633 - "wasmtime-versioned-export-macros", 1634 - ] 1635 - 1636 - [[package]] 1637 - name = "wasmtime-jit-icache-coherence" 1638 - version = "15.0.0" 1639 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1640 - dependencies = [ 1641 - "cfg-if", 1642 - "libc", 1643 - "windows-sys 0.48.0", 1644 - ] 1645 - 1646 - [[package]] 1647 - name = "wasmtime-runtime" 1648 - version = "15.0.0" 1649 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1650 - dependencies = [ 1651 - "anyhow", 1652 - "cc", 1653 - "cfg-if", 1654 - "indexmap", 1655 - "libc", 1656 - "log", 1657 - "mach", 1658 - "memfd", 1659 - "memoffset", 1660 - "paste", 1661 - "rand", 1662 - "rustix", 1663 - "sptr", 1664 - "wasm-encoder", 1665 - "wasmtime-asm-macros", 1666 - "wasmtime-environ", 1667 - "wasmtime-jit-debug", 1668 - "wasmtime-versioned-export-macros", 1669 - "wasmtime-wmemcheck", 1670 - "windows-sys 0.48.0", 1671 - ] 1672 - 1673 - [[package]] 1674 - name = "wasmtime-types" 1675 - version = "15.0.0" 1676 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1677 - dependencies = [ 1678 - "cranelift-entity", 1679 - "serde", 1680 - "serde_derive", 1681 - "thiserror", 1682 - "wasmparser", 1683 - ] 1684 - 1685 - [[package]] 1686 - name = "wasmtime-versioned-export-macros" 1687 - version = "15.0.0" 1688 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1689 - dependencies = [ 1690 - "proc-macro2", 1691 - "quote", 1692 - "syn 2.0.38", 1693 - ] 1694 - 1695 - [[package]] 1696 - name = "wasmtime-wmemcheck" 1697 - version = "15.0.0" 1698 - source = "git+https://github.com/bytecodealliance/wasmtime?rev=fa6fcd946b8f6d60c2d191a1b14b9399e261a76d#fa6fcd946b8f6d60c2d191a1b14b9399e261a76d" 1699 - 1700 - [[package]] 1701 - name = "web-sys" 1702 - version = "0.3.64" 1703 - source = "registry+https://github.com/rust-lang/crates.io-index" 1704 - checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" 1705 - dependencies = [ 1706 - "js-sys", 1707 - "wasm-bindgen", 1708 - ] 1709 - 1710 - [[package]] 1711 - name = "webbrowser" 1712 - version = "0.8.12" 1713 - source = "registry+https://github.com/rust-lang/crates.io-index" 1714 - checksum = "82b2391658b02c27719fc5a0a73d6e696285138e8b12fba9d4baa70451023c71" 1715 - dependencies = [ 1716 - "core-foundation", 1717 - "home", 1718 - "jni", 1719 - "log", 1720 - "ndk-context", 1721 - "objc", 1722 - "raw-window-handle", 1723 - "url", 1724 - "web-sys", 1725 - ] 1726 - 1727 - [[package]] 1728 - name = "which" 1729 - version = "4.4.2" 1730 - source = "registry+https://github.com/rust-lang/crates.io-index" 1731 - checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" 1732 - dependencies = [ 1733 - "either", 1734 - "home", 1735 - "once_cell", 1736 - "rustix", 1737 - ] 1738 - 1739 - [[package]] 1740 - name = "winapi" 1741 - version = "0.3.9" 1742 - source = "registry+https://github.com/rust-lang/crates.io-index" 1743 - checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 1744 - dependencies = [ 1745 - "winapi-i686-pc-windows-gnu", 1746 - "winapi-x86_64-pc-windows-gnu", 1747 - ] 1748 - 1749 - [[package]] 1750 - name = "winapi-i686-pc-windows-gnu" 1751 - version = "0.4.0" 1752 - source = "registry+https://github.com/rust-lang/crates.io-index" 1753 - checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1754 - 1755 - [[package]] 1756 - name = "winapi-util" 1757 - version = "0.1.6" 1758 - source = "registry+https://github.com/rust-lang/crates.io-index" 1759 - checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" 1760 - dependencies = [ 1761 - "winapi", 1762 - ] 1763 - 1764 - [[package]] 1765 - name = "winapi-x86_64-pc-windows-gnu" 1766 - version = "0.4.0" 1767 - source = "registry+https://github.com/rust-lang/crates.io-index" 1768 - checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1769 - 1770 - [[package]] 1771 - name = "windows-sys" 1772 - version = "0.45.0" 1773 - source = "registry+https://github.com/rust-lang/crates.io-index" 1774 - checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 1775 - dependencies = [ 1776 - "windows-targets 0.42.2", 1777 - ] 1778 - 1779 - [[package]] 1780 - name = "windows-sys" 1781 - version = "0.48.0" 1782 - source = "registry+https://github.com/rust-lang/crates.io-index" 1783 - checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1784 - dependencies = [ 1785 - "windows-targets 0.48.5", 1786 - ] 1787 - 1788 - [[package]] 1789 - name = "windows-targets" 1790 - version = "0.42.2" 1791 - source = "registry+https://github.com/rust-lang/crates.io-index" 1792 - checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 1793 - dependencies = [ 1794 - "windows_aarch64_gnullvm 0.42.2", 1795 - "windows_aarch64_msvc 0.42.2", 1796 - "windows_i686_gnu 0.42.2", 1797 - "windows_i686_msvc 0.42.2", 1798 - "windows_x86_64_gnu 0.42.2", 1799 - "windows_x86_64_gnullvm 0.42.2", 1800 - "windows_x86_64_msvc 0.42.2", 1801 - ] 1802 - 1803 - [[package]] 1804 - name = "windows-targets" 1805 - version = "0.48.5" 1806 - source = "registry+https://github.com/rust-lang/crates.io-index" 1807 - checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 1808 - dependencies = [ 1809 - "windows_aarch64_gnullvm 0.48.5", 1810 - "windows_aarch64_msvc 0.48.5", 1811 - "windows_i686_gnu 0.48.5", 1812 - "windows_i686_msvc 0.48.5", 1813 - "windows_x86_64_gnu 0.48.5", 1814 - "windows_x86_64_gnullvm 0.48.5", 1815 - "windows_x86_64_msvc 0.48.5", 1816 - ] 1817 - 1818 - [[package]] 1819 - name = "windows_aarch64_gnullvm" 1820 - version = "0.42.2" 1821 - source = "registry+https://github.com/rust-lang/crates.io-index" 1822 - checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 1823 - 1824 - [[package]] 1825 - name = "windows_aarch64_gnullvm" 1826 - version = "0.48.5" 1827 - source = "registry+https://github.com/rust-lang/crates.io-index" 1828 - checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 1829 - 1830 - [[package]] 1831 - name = "windows_aarch64_msvc" 1832 - version = "0.42.2" 1833 - source = "registry+https://github.com/rust-lang/crates.io-index" 1834 - checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 1835 - 1836 - [[package]] 1837 - name = "windows_aarch64_msvc" 1838 - version = "0.48.5" 1839 - source = "registry+https://github.com/rust-lang/crates.io-index" 1840 - checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 1841 - 1842 - [[package]] 1843 - name = "windows_i686_gnu" 1844 - version = "0.42.2" 1845 - source = "registry+https://github.com/rust-lang/crates.io-index" 1846 - checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 1847 - 1848 - [[package]] 1849 - name = "windows_i686_gnu" 1850 - version = "0.48.5" 1851 - source = "registry+https://github.com/rust-lang/crates.io-index" 1852 - checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 1853 - 1854 - [[package]] 1855 - name = "windows_i686_msvc" 1856 - version = "0.42.2" 1857 - source = "registry+https://github.com/rust-lang/crates.io-index" 1858 - checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 1859 - 1860 - [[package]] 1861 - name = "windows_i686_msvc" 1862 - version = "0.48.5" 1863 - source = "registry+https://github.com/rust-lang/crates.io-index" 1864 - checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 1865 - 1866 - [[package]] 1867 - name = "windows_x86_64_gnu" 1868 - version = "0.42.2" 1869 - source = "registry+https://github.com/rust-lang/crates.io-index" 1870 - checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 1871 - 1872 - [[package]] 1873 - name = "windows_x86_64_gnu" 1874 - version = "0.48.5" 1875 - source = "registry+https://github.com/rust-lang/crates.io-index" 1876 - checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 1877 - 1878 - [[package]] 1879 - name = "windows_x86_64_gnullvm" 1880 - version = "0.42.2" 1881 - source = "registry+https://github.com/rust-lang/crates.io-index" 1882 - checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 1883 - 1884 - [[package]] 1885 - name = "windows_x86_64_gnullvm" 1886 - version = "0.48.5" 1887 - source = "registry+https://github.com/rust-lang/crates.io-index" 1888 - checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 1889 - 1890 - [[package]] 1891 - name = "windows_x86_64_msvc" 1892 - version = "0.42.2" 1893 - source = "registry+https://github.com/rust-lang/crates.io-index" 1894 - checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 1895 - 1896 - [[package]] 1897 - name = "windows_x86_64_msvc" 1898 - version = "0.48.5" 1899 - source = "registry+https://github.com/rust-lang/crates.io-index" 1900 - checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 1901 - 1902 - [[package]] 1903 - name = "winnow" 1904 - version = "0.5.17" 1905 - source = "registry+https://github.com/rust-lang/crates.io-index" 1906 - checksum = "a3b801d0e0a6726477cc207f60162da452f3a95adb368399bef20a946e06f65c" 1907 - dependencies = [ 1908 - "memchr", 1909 - ] 1910 - 1911 - [[package]] 1912 - name = "yansi" 1913 - version = "0.5.1" 1914 - source = "registry+https://github.com/rust-lang/crates.io-index" 1915 - checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" 1916 - 1917 - [[package]] 1918 - name = "zerocopy" 1919 - version = "0.7.15" 1920 - source = "registry+https://github.com/rust-lang/crates.io-index" 1921 - checksum = "81ba595b9f2772fbee2312de30eeb80ec773b4cb2f1e8098db024afadda6c06f" 1922 - dependencies = [ 1923 - "zerocopy-derive", 1924 - ] 1925 - 1926 - [[package]] 1927 - name = "zerocopy-derive" 1928 - version = "0.7.15" 1929 - source = "registry+https://github.com/rust-lang/crates.io-index" 1930 - checksum = "772666c41fb6dceaf520b564b962d738a8e1a83b41bd48945f50837aed78bb1d" 1931 - dependencies = [ 1932 - "proc-macro2", 1933 - "quote", 1934 - "syn 2.0.38", 1935 - ]
+23 -9
pkgs/development/tools/parsing/tree-sitter/default.nix
··· 9 9 , Security 10 10 , callPackage 11 11 , linkFarm 12 + , substitute 12 13 , CoreServices 13 14 , enableShared ? !stdenv.hostPlatform.isStatic 14 15 , enableStatic ? stdenv.hostPlatform.isStatic 15 16 , webUISupport ? false 16 17 , extraGrammars ? { } 18 + 19 + # tests 20 + , lunarvim 17 21 }: 18 22 19 23 let ··· 22 26 # 2) nix-build -A tree-sitter.updater.update-all-grammars 23 27 # 3) Set GITHUB_TOKEN env variable to avoid api rate limit (Use a Personal Access Token from https://github.com/settings/tokens It does not need any permissions) 24 28 # 4) run the ./result script that is output by that (it updates ./grammars) 25 - version = "0.20.9"; 26 - sha256 = "sha256-NxWqpMNwu5Ajffw1E2q9KS4TgkCH6M+ctFyi9Jp0tqQ="; 29 + version = "0.22.2"; 30 + hash = "sha256-RhM3SgsCb8eLs56cm8/Yo1ptNnFrR21FriHAlMdvdrU="; 27 31 28 32 src = fetchFromGitHub { 29 33 owner = "tree-sitter"; 30 34 repo = "tree-sitter"; 31 35 rev = "v${version}"; 32 - inherit sha256; 36 + inherit hash; 33 37 fetchSubmodules = true; 34 38 }; 35 39 ··· 58 62 }; 59 63 grammars' = import ./grammars { inherit lib; } // extraGrammars; 60 64 grammars = grammars' // 61 - { tree-sitter-ocaml = grammars'.tree-sitter-ocaml // { location = "ocaml"; }; } // 62 - { tree-sitter-ocaml-interface = grammars'.tree-sitter-ocaml // { location = "interface"; }; } // 65 + { tree-sitter-ocaml = grammars'.tree-sitter-ocaml // { location = "grammars/ocaml"; }; } // 66 + { tree-sitter-ocaml-interface = grammars'.tree-sitter-ocaml // { location = "grammars/interface"; }; } // 63 67 { tree-sitter-org-nvim = grammars'.tree-sitter-org-nvim // { language = "org"; }; } // 64 68 { tree-sitter-typescript = grammars'.tree-sitter-typescript // { location = "typescript"; }; } // 65 69 { tree-sitter-tsx = grammars'.tree-sitter-typescript // { location = "tsx"; }; } // 66 - { tree-sitter-typst = grammars'.tree-sitter-typst // { generate = true; }; } // 67 70 { tree-sitter-markdown = grammars'.tree-sitter-markdown // { location = "tree-sitter-markdown"; }; } // 68 71 { tree-sitter-markdown-inline = grammars'.tree-sitter-markdown // { language = "markdown_inline"; location = "tree-sitter-markdown-inline"; }; } // 72 + { tree-sitter-php = grammars'.tree-sitter-php // { location = "php"; }; } // 73 + { tree-sitter-sql = grammars'.tree-sitter-sql // { generate = true; }; } // 69 74 { tree-sitter-wing = grammars'.tree-sitter-wing // { location = "libs/tree-sitter-wing"; generate = true; }; }; 70 75 in 71 76 lib.mapAttrs build (grammars); ··· 105 110 pname = "tree-sitter"; 106 111 inherit src version; 107 112 108 - cargoLock.lockFile = ./Cargo.lock; 109 - cargoLock.outputHashes."cranelift-bforest-0.102.0" = "sha256-rJeRbRDrAnKb8s98gNn1NTMKuB8B4aOI8Fh6JeLX7as="; 113 + cargoHash = "sha256-QWqg84naOIPhkHj2yLchZVb2gvjL9+AEK2rRK7K8uQY="; 110 114 111 115 buildInputs = 112 116 lib.optionals stdenv.isDarwin [ Security CoreServices ]; ··· 114 118 [ which ] 115 119 ++ lib.optionals webUISupport [ emscripten ]; 116 120 121 + patches = lib.optionals webUISupport [ 122 + (substitute { 123 + src = ./fix-paths.patch; 124 + substitutions = [ "--subst-var-by" "emcc" "${emscripten}/bin/emcc" ]; 125 + }) 126 + ]; 127 + 117 128 postPatch = lib.optionalString (!webUISupport) '' 118 129 # remove web interface 119 130 sed -e '/pub mod playground/d' \ 120 131 -i cli/src/lib.rs 121 132 sed -e 's/playground,//' \ 122 - -e 's/playground::serve(&current_dir.*$/println!("ERROR: web-ui is not available in this nixpkgs build; enable the webUISupport"); std::process::exit(1);/' \ 133 + -e 's/playground::serve(&grammar_path.*$/println!("ERROR: web-ui is not available in this nixpkgs build; enable the webUISupport"); std::process::exit(1);/' \ 123 134 -i cli/src/main.rs 124 135 ''; 125 136 ··· 150 161 tests = { 151 162 # make sure all grammars build 152 163 builtGrammars = lib.recurseIntoAttrs builtGrammars; 164 + 165 + inherit lunarvim; 153 166 }; 154 167 }; 155 168 ··· 157 170 homepage = "https://github.com/tree-sitter/tree-sitter"; 158 171 description = "A parser generator tool and an incremental parsing library"; 159 172 mainProgram = "tree-sitter"; 173 + changelog = "https://github.com/tree-sitter/tree-sitter/blob/v${version}/CHANGELOG.md"; 160 174 longDescription = '' 161 175 Tree-sitter is a parser generator tool and an incremental parsing library. 162 176 It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.
+13
pkgs/development/tools/parsing/tree-sitter/fix-paths.patch
··· 1 + diff --git a/cli/loader/src/lib.rs b/cli/loader/src/lib.rs 2 + index 9c1d8dfc..a5cfc74c 100644 3 + --- a/cli/loader/src/lib.rs 4 + +++ b/cli/loader/src/lib.rs 5 + @@ -747,7 +747,7 @@ impl Loader { 6 + Podman, 7 + } 8 + 9 + - let emcc_name = if cfg!(windows) { "emcc.bat" } else { "emcc" }; 10 + + let emcc_name = if cfg!(windows) { "emcc.bat" } else { "@emcc@" }; 11 + 12 + // Order of preference: emscripten > docker > podman > error 13 + let source = if !force_docker && Command::new(emcc_name).output().is_ok() {
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-bash.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-bash", 3 - "rev": "c0f5797a728fc4ebd78a8b0e436b1494a8ab5f51", 4 - "date": "2023-08-18T05:23:36-04:00", 5 - "path": "/nix/store/4x7nwivwmyibiq0y1k5wpswsl1npqgb4-tree-sitter-bash", 6 - "sha256": "11gjjaf9hrsw3rd774c3gq27im2j9gxmkn59wcpg4nwni60p0vjh", 7 - "hash": "sha256-UG5wgYmWW/Iu46nYWftLUtR4BH6DkXNaHlxnmJyS8oU=", 3 + "rev": "d1a1a3fe7189fdab5bd29a54d1df4a5873db5cb1", 4 + "date": "2024-02-10T05:53:07-05:00", 5 + "path": "/nix/store/wc1dawmsb13fbbag3jxaz30iklakkn7i-tree-sitter-bash", 6 + "sha256": "00cjhv0zwlfp4i823y8r7wl2h2h63ygz2kmbcm16lvzspwiq8a2y", 7 + "hash": "sha256-XiiEI7/6b2pCZatO8Z8fBgooKD8Z+SFQJNdR/sGGkgE=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-beancount.json
··· 1 1 { 2 2 "url": "https://github.com/polarmutex/tree-sitter-beancount", 3 - "rev": "358e5ecbb87109eef7fd596ea518a4ff74cb9b31", 4 - "date": "2023-07-02T15:37:32-04:00", 5 - "path": "/nix/store/h24aaxhp4hhp7f21by7shjvx7v4k513z-tree-sitter-beancount", 6 - "sha256": "1pa673dzsv41rxlqb2a5w7r31rw9z3m6a54yx22wm75cwr9hagxz", 7 - "hash": "sha256-vz8FU+asnMqF6J4UZer4iecw8uFFiYVpz4Fs/ds4Rt0=", 3 + "rev": "6c665e7cf15d76a1687959643868a78fb381458d", 4 + "date": "2024-03-09T18:30:23-05:00", 5 + "path": "/nix/store/al4c5f670bl596mlp3vk1njz7w8bhq98-tree-sitter-beancount", 6 + "sha256": "0cwiw69br9y8w5iysdh31i4vlvfgj79zvpkz93y1spyxx6vlylc5", 7 + "hash": "sha256-hVFPt+ndXx38SH/e/dORz226SQwDNu1j4cinvJLhkTM=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-bitbake.json
··· 1 1 { 2 2 "url": "https://github.com/amaanq/tree-sitter-bitbake", 3 - "rev": "ffe6c2f3dbf30224479a28ca5d50df594b2486a9", 4 - "date": "2023-11-08T10:34:03-05:00", 5 - "path": "/nix/store/zzckcglck1cr32cmp14i95r7q0qkgajf-tree-sitter-bitbake", 6 - "sha256": "1g547sq2xsfn7xmdmz1ny4lvk75akwi7k1vrrq6bdfkcg7gzkp1b", 7 - "hash": "sha256-K9z533lsurYMznmHeSKfqpy5KfE2/NpqP9bpLrA+pLw=", 3 + "rev": "10bacac929ff36a1e8f4056503fe4f8717b21b94", 4 + "date": "2023-11-10T20:00:03-05:00", 5 + "path": "/nix/store/f2y79f98mwn86i12ggrydbhz1568ah78-tree-sitter-bitbake", 6 + "sha256": "1pfma482nyc88x56v6l6rmhdy44qbwibrqri38wkkh66a1fka8ix", 7 + "hash": "sha256-PSI1XVDGwDk5GjHjvCJfmBDfYM2Gmm1KR4h5KxBR1d0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-c.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-c", 3 - "rev": "93ef1785bbf854cf964e6e53d6e1e6885a4d8ebc", 4 - "date": "2023-08-09T15:22:48-04:00", 5 - "path": "/nix/store/ni6ry3r1gqpgcn6xgc1nga110hl313m3-tree-sitter-c", 6 - "sha256": "0bshiwf7rvbafgdv9lj1hgmq3wc8i45gis34n6p6qlb9r6g5jzz6", 7 - "hash": "sha256-5n9ZnslpUWyusWTo+AqJiPGB64NB0rTbc2rtfByPUC8=", 3 + "rev": "df6ac34d5eb1dccfac8f2a9011a8491300818d7c", 4 + "date": "2024-01-22T11:11:13-05:00", 5 + "path": "/nix/store/7v5nz25dl0qph3f75ipxv0g6y4kxmc4f-tree-sitter-c", 6 + "sha256": "0ih9rqxxjzd9v0h6h42vzmnc5ixl3rfzznq0p8ka9mqdyznrx5xa", 7 + "hash": "sha256-qpee7fcN16QmugDb/10etMfCbP1bEGgg2Kl92TvOCUY=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-cmake.json
··· 1 1 { 2 2 "url": "https://github.com/uyha/tree-sitter-cmake", 3 - "rev": "73ab4b8e9522f014a67f87f585e820d36fa47408", 4 - "date": "2023-08-15T15:07:39+00:00", 5 - "path": "/nix/store/rzb3dvqw2ngdbqbpv1zshxm2q9g09f9j-tree-sitter-cmake", 6 - "sha256": "1z49jdachwxwbzrrapskpi2kxq3ydihfj45ab9892gbamfij2zp5", 7 - "hash": "sha256-5X4ho6tqPZFQWqoQ6WBsfuA+RbxTX5XzX7xzyFSTifw=", 3 + "rev": "20ffd6d3b4da1acdbf2d08204b2130a5b2f7c4b3", 4 + "date": "2024-03-19T09:50:27+02:00", 5 + "path": "/nix/store/2fcf8g6rryigpy6grr284qzgmqw1gkd5-tree-sitter-cmake", 6 + "sha256": "16klinbjr9k5piwqvfvl48wmprk9wlypqnmihryy2wj2m2xzlyqa", 7 + "hash": "sha256-Cnv6u6hCcuF9hrFafD3laeZbOSJ0u415vGWmLJeNdJo=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-commonlisp.json
··· 1 1 { 2 2 "url": "https://github.com/thehamsta/tree-sitter-commonlisp", 3 - "rev": "5153dbbc70e4cc2324320c1bdae020d31079c7c0", 4 - "date": "2023-08-26T00:52:05+02:00", 5 - "path": "/nix/store/w5assc5jjkg8j9gj7zgqlm07h5y8gxp7-tree-sitter-commonlisp", 6 - "sha256": "195g5qp38j9371zxq9d7blf02bp1bnrbkb6jgi5x0gywdxrbdq6i", 7 - "hash": "sha256-0eC2cm/cP9BLfNKsubJd4S4BHF2nJdx/OCNJNC4ur6Q=", 3 + "rev": "cf10fc38bc24faf0549d59217ff37c789973dfdc", 4 + "date": "2023-11-19T14:17:12+01:00", 5 + "path": "/nix/store/91kc23ng7axqzd4xjiwrgij1mpriq459-tree-sitter-commonlisp", 6 + "sha256": "1nq5cvf557w3vwr7rjzdgqcpcs3ikp1x5cs00f8z5n9hgdk1lvry", 7 + "hash": "sha256-Pm8aZnsw2fKRA0Cz0sOdcWh2GX7ty3wy34OfUtxmBds=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-cpp.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-cpp", 3 - "rev": "a90f170f92d5d70e7c2d4183c146e61ba5f3a457", 4 - "date": "2023-08-16T02:46:22-04:00", 5 - "path": "/nix/store/vd49n2vnhsbmc8gdds9zh6psq93jj6cp-tree-sitter-cpp", 6 - "sha256": "0lj5l0pahfixw5lqbw83r01s67szlc6a4ra8yg8s7cbci7rk7lvv", 7 - "hash": "sha256-e9Mz84lssaPR80hlogyjXx+jA8gD8YVp4T06qC6gRVI=", 3 + "rev": "e0c1678a78731e78655b7d953efb4daecf58be46", 4 + "date": "2024-02-18T08:20:42-05:00", 5 + "path": "/nix/store/dw86n9mqgfn9ymlbr7s7h05dvf8q867i-tree-sitter-cpp", 6 + "sha256": "0fjxjm3gjqvcjqgjyq6lg6sgyy0ly69dinq33rmy56806da45lq9", 7 + "hash": "sha256-CdNCVDMAmeJrHgPb2JLxFHj/tHnUYC8flmxj+UaVXTo=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-css.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-css", 3 - "rev": "fec7d3757ab8f46a0ffe298be99b16ad5b9fa229", 4 - "date": "2023-08-20T03:59:13-04:00", 5 - "path": "/nix/store/dn0igch37dalqfrjdqzs2yj40a14ixql-tree-sitter-css", 6 - "sha256": "0gvad0cpcxwmzgv75arcw40r5dxy6b3aq9kp91xf4bjlkfyajzvz", 7 - "hash": "sha256-f3+pvJtULuJ6SHcmrMYyvreSAeEsq3L2+5V3dhloaj8=", 3 + "rev": "02b4ee757654b7d54fe35352fd8e53a8a4385d42", 4 + "date": "2024-02-14T18:09:29-05:00", 5 + "path": "/nix/store/l2vr6xj78qrqjlpj6lzc0bi8dirqvfkx-tree-sitter-css", 6 + "sha256": "0j1kg16sly7xsvvc3kxyy5zaznlbz7x2j2bwwv1r1nki2249ly12", 7 + "hash": "sha256-IniaiBBx2pDD5nwJKfr5i9qvfvG+z8H21v14qk14M0g=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-cuda.json
··· 1 1 { 2 2 "url": "https://github.com/thehamsta/tree-sitter-cuda", 3 - "rev": "275cfb95013b88382e11490aef1e7c9b17a95ef7", 4 - "date": "2023-09-24T01:01:27+02:00", 5 - "path": "/nix/store/cxvih9bkbpr3k2bcfzmcym6w3jw4k6p0-tree-sitter-cuda", 6 - "sha256": "170qqhxnf5j34g1as5r5zamazvxss8rcmbxi92gkcgnindhgviny", 7 - "hash": "sha256-3sb9YLPRPjafSLGvyjLSuu+vqvolF63CI0MWZzvEGJw=", 3 + "rev": "221179d4287a2c24c08e4c67ff383ef67dc32156", 4 + "date": "2024-02-20T23:55:20+01:00", 5 + "path": "/nix/store/x8sqw6njbai4x9jlx6zn0mamvfjpcxy9-tree-sitter-cuda", 6 + "sha256": "0n4c79iq5izdjrb50f5af02jkzfn6mp3kvr0iajfhxlj3x64ykbv", 7 + "hash": "sha256-e01PTB+SduikiiDvOW411v0pBXCqOFBWlu3HgmM6jFg=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-cue.json
··· 1 1 { 2 2 "url": "https://github.com/eonpatapon/tree-sitter-cue", 3 - "rev": "2df92e6755337e9234ad18ffef37f35d95e2ba9d", 4 - "date": "2023-09-14T09:23:14+02:00", 5 - "path": "/nix/store/96raymr29j4w3z8czzslb5n0w11789if-tree-sitter-cue", 6 - "sha256": "195g75hrmgj17r7csjbwqrwqc21k4nbmrr4rjpcpfidnq0c9pia6", 7 - "hash": "sha256-RsWbGMC2RXfZlZnkXJclMwiGecZ8Sc1OPkG+mmE5r6Q=", 3 + "rev": "8a5f273bfa281c66354da562f2307c2d394b6c81", 4 + "date": "2024-03-12T11:22:48+01:00", 5 + "path": "/nix/store/58ar5h99vkn7f012hks83a6x8xnpdp3y-tree-sitter-cue", 6 + "sha256": "16djln3n1cpi5vxv9dg9ysrg46z74rwzgflnp2y4y2aginbx6pmr", 7 + "hash": "sha256-uV7Tl41PCU+8uJa693km5xvysvbptbT7LvGyYIelspk=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-dart.json
··· 1 1 { 2 2 "url": "https://github.com/usernobody14/tree-sitter-dart", 3 - "rev": "7e447dc18a2d293498670fb5ea16138648c883e5", 4 - "date": "2023-09-07T18:39:30-06:00", 5 - "path": "/nix/store/fjmckpx1h2m3y8d63x05qn5lzgci37p8-tree-sitter-dart", 6 - "sha256": "1hc2c2qmydka3iqz56md766lfy4s0xy2pr97hvdgvgq472jss984", 7 - "hash": "sha256-BCWtpTgEv/3ahiflK3wHmnhHjTmtmvJxHGo2X7FggsE=", 3 + "rev": "1a31399a08aefc93bc4cdbfadc0cb619136f86c1", 4 + "date": "2024-02-10T18:16:57-07:00", 5 + "path": "/nix/store/4pdnic3kb0856ajy2xfbxdn84lflvbw1-tree-sitter-dart", 6 + "sha256": "0nx4hvvx239prxckddbcgadvk894lxl4ycmxxg7m30j2sp6a6049", 7 + "hash": "sha256-iQCjzNVCglHP670yT2inJKG5m3pstTZZzzcN0feGpFs=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-devicetree.json
··· 1 1 { 2 2 "url": "https://github.com/joelspadin/tree-sitter-devicetree", 3 - "rev": "59faca63ab28d8aa8b79416bfcbe5b935f3fa604", 4 - "date": "2023-04-23T12:18:55-05:00", 5 - "path": "/nix/store/m39bl3vasy0b1r0qzdn8flb480ys8laq-tree-sitter-devicetree", 6 - "sha256": "11r46v3zw03p1fldhawn9zwyzpi7h57pjw9sydwq7b1fgdmdxvn7", 7 - "hash": "sha256-x+7eansurIN58zpxeU+BJ97v+U+WK9ioC3cA/sc2JIc=", 3 + "rev": "05f12c50cdaafcd8969c9c712245f51a0611df23", 4 + "date": "2024-03-15T23:40:59-05:00", 5 + "path": "/nix/store/rlbnn034jn2vb5bg06ynrsc6xyxs9sa0-tree-sitter-devicetree", 6 + "sha256": "1iw1az1xm3nlq61365lrj8prhx8417ha4f82a90hwfpb58dnf30m", 7 + "hash": "sha256-FQxnGyrrOg5BUgI5ouAJBHWYL5KZFjOCwdSO2sNXgcc=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-elixir.json
··· 1 1 { 2 2 "url": "https://github.com/elixir-lang/tree-sitter-elixir", 3 - "rev": "869dff3ceb8823ca4b17ca33b663667c8e41e8ba", 4 - "date": "2023-03-14T10:58:34+01:00", 5 - "path": "/nix/store/d8k07yvr8q14rc21fvhcnqrlpcwhlnmk-tree-sitter-elixir", 6 - "sha256": "0m10vykaj36yxk0wwh0vk0pzvpdmac4apgihmxn3j0dwwgirchf0", 7 - "hash": "sha256-wEGW4+O8ATlsrzC+qwhTtd39L5gbQM7B7N4MqabfIFQ=", 3 + "rev": "11426c5fd20eef360d5ecaf10729191f6bc5d715", 4 + "date": "2023-12-04T13:06:21+07:00", 5 + "path": "/nix/store/l3868ga8dvvq06k7px3k9i3kpynfjmis-tree-sitter-elixir", 6 + "sha256": "1fqsvqdjscmjj7vaq3mgs6j49m3412g5i9jrm1r61n1d8yrg3mzy", 7 + "hash": "sha256-/tfxskct2GByqFmmWJ4IZNREpNGvDqz2kbIyLRveGrs=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-elm.json
··· 1 1 { 2 2 "url": "https://github.com/elm-tooling/tree-sitter-elm", 3 - "rev": "b075803c445191af3cf7dbfdc84efef5f5bbc0f5", 4 - "date": "2023-07-30T13:11:47+02:00", 5 - "path": "/nix/store/mlg7amv3vmydvk9b21669zrk825pczlw-tree-sitter-elm", 6 - "sha256": "1kn78h4w27r5kmf3vy3cc42xm0h0fj44cf4p6nfcl3jfqr9s7n1a", 7 - "hash": "sha256-KtijU8ZODsqcNZc4Roh0AILaBWFs+D1cnSUfwQlEx84=", 3 + "rev": "c26afd7f2316f689410a1622f1780eff054994b1", 4 + "date": "2023-12-22T17:42:34+01:00", 5 + "path": "/nix/store/4f7ldbwxns2iv0cf06ryc87raiacdp5x-tree-sitter-elm", 6 + "sha256": "1cbn5qiq2n607hcxg786jrhs2abln8fcsvkcab9wp9j8iw9pb0xx", 7 + "hash": "sha256-vYN1E49IpsvTUmxuzRyydCmhYZYGndcZPMBYgSMudrE=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-embedded-template.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-embedded-template", 3 - "rev": "203f7bd3c1bbfbd98fc19add4b8fcb213c059205", 4 - "date": "2023-02-06T19:11:08+01:00", 5 - "path": "/nix/store/mch0z6q00g2pp5vjjcdcl2xzs1h96jzh-tree-sitter-embedded-template", 6 - "sha256": "0gf33p08a6hqbxwy9zlp8y65gds2d6siqpgasc58ladh5p5n99j9", 7 - "hash": "sha256-SaZkyy2wKYoK0+pdHLVpQrdXjEeX/uR5XxgahcAdwz0=", 3 + "rev": "6d791b897ecda59baa0689a85a9906348a2a6414", 4 + "date": "2024-02-14T20:15:12-05:00", 5 + "path": "/nix/store/fj8gk7h81lgj15x79cbrkfvdw2hmbmyb-tree-sitter-embedded-template", 6 + "sha256": "0d4kc2bpbx1bvd0xv37wd87hbi775hq4938qz2n657h036dzg0i3", 7 + "hash": "sha256-I4L3mxkAnmKs+BiNRDAs58QFD2r8jN1B2yv0dZdgkzQ=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-fennel.json
··· 1 1 { 2 2 "url": "https://github.com/travonted/tree-sitter-fennel", 3 - "rev": "517195970428aacca60891b050aa53eabf4ba78d", 4 - "date": "2022-06-22T09:39:24-04:00", 5 - "path": "/nix/store/v8by7ilv9fyv20rp714xq7vhwwi7vz0g-tree-sitter-fennel", 6 - "sha256": "02ja5narbahc02f6gmnr5j2sg5sbjcc71hbny6n0nd57kcnapfgd", 7 - "hash": "sha256-7bmrLJunNAus8XbBcBiTS5enhSzZ1mecAAyqlZUtSgo=", 3 + "rev": "15e4f8c417281768db17080c4447297f8ff5343a", 4 + "date": "2024-02-02T09:37:06-05:00", 5 + "path": "/nix/store/cjqnj1i2z7s3xwivba9vgpqrs0lcinil-tree-sitter-fennel", 6 + "sha256": "059avw3yhadqbfallflc5xxfzla81d5mc9wrc3ag09xj5w6n1n05", 7 + "hash": "sha256-BdhgDS+yJ/DUYJknVksLSNHvei+MOkqVW7gp6AffKhU=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gdscript.json
··· 1 1 { 2 2 "url": "https://github.com/prestonknopp/tree-sitter-gdscript", 3 - "rev": "fbbe22c7e3f8191f65df8cfb4cc8c6137eedb09a", 4 - "date": "2023-02-08T15:20:29-08:00", 5 - "path": "/nix/store/62skx6k41f6k95qf32b7yjd9m516z3lk-tree-sitter-gdscript", 6 - "sha256": "0f4g5vnls2rkwnry47cvpmhsymf1s109sbzdf4x7h94k58f5ggw4", 7 - "hash": "sha256-hL9XHCqTJHg6ce0vnUDQwVWvYb2bHeKz5TMLTe0ujzg=", 3 + "rev": "b5dea4d852db65f0872d849c24533eb121e03c76", 4 + "date": "2024-02-21T19:10:52-08:00", 5 + "path": "/nix/store/254bkv3lkgp7jk555rmxqxyg4p4g9smy-tree-sitter-gdscript", 6 + "sha256": "17m2gdpdya8afm7fqgggi81m71xkiibbqa61vs2sspym6zna1ygx", 7 + "hash": "sha256-/fmg7DfVX62F3sEovFaMs4dTA4rvPexOdQop3257op4=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+3 -3
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gleam.json
··· 1 1 { 2 2 "url": "https://github.com/gleam-lang/tree-sitter-gleam", 3 3 "rev": "2012f294baacf30e7a62414754021284377366c6", 4 - "date": "2023-03-04T16:19:15-05:00", 5 - "path": "/nix/store/qc0bxfrv9rb95cg5q8nf0prpz4gs93wd-tree-sitter-gleam", 6 - "sha256": "sha256-W+PfxqPUKHhLH5UBATmQ1mlSfLPAWIQyDgiSQBWBtBs=", 4 + "date": "2024-03-04T16:19:15-05:00", 5 + "path": "/nix/store/2ms5f9sylr9v23pgw428dr8gqap4859m-tree-sitter-gleam", 6 + "sha256": "06xlh4al14h81qr88n60ndy54sfnj0wh20cm3x5pha6llg3dzqsv", 7 7 "hash": "sha256-W+PfxqPUKHhLH5UBATmQ1mlSfLPAWIQyDgiSQBWBtBs=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-glimmer.json
··· 1 1 { 2 2 "url": "https://github.com/alexlafroscia/tree-sitter-glimmer", 3 - "rev": "a23d28de811976f3ca310df735fe09a5d2de16ab", 4 - "date": "2022-06-24T09:27:51-04:00", 5 - "path": "/nix/store/m0hr0x0s3j7r6dn1kv6c77c9qbl4ggkw-tree-sitter-glimmer", 6 - "sha256": "07dzpjyc644clh2x3r48w3mi3i68pkac5mwzha2iaxly9fndm0zk", 7 - "hash": "sha256-84ParEuedhWFgp/XwtS8yMQR6+CI5NEFpIwQw7y8vx0=", 3 + "rev": "3e66b67efeba1a2001859f6e02d16e0bbdbf4a9b", 4 + "date": "2023-10-05T16:33:40-04:00", 5 + "path": "/nix/store/sizww81ylny2pnafn3d901qv15k3rlp2-tree-sitter-glimmer", 6 + "sha256": "0ggxs83jq59z6vk4bvr7scfscmak41lgz038pcwczpm3hwfhasjq", 7 + "hash": "sha256-WGoFHYej3s84u2iA/2ggU1WmHdMn70XmNj8VLAfS/T0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-glsl.json
··· 1 1 { 2 2 "url": "https://github.com/thehamsta/tree-sitter-glsl", 3 - "rev": "ec6100d2bdf22363ca8a711a212f2144ea49233f", 4 - "date": "2023-09-24T00:29:42+02:00", 5 - "path": "/nix/store/lk8wn775vpa8aq8vm9fid6dvpijnk9sg-tree-sitter-glsl", 6 - "sha256": "0grvl3dibfcy3rqyn621pdlr1dkgqifzalvhh8bqs7s6znmhwns0", 7 - "hash": "sha256-QFsOq/1GH40XgnBT9V3Eb7aQabtBGOtxHp65FdugOz8=", 3 + "rev": "284bed0e2f1d9f700756b96512baf33483642ff0", 4 + "date": "2024-02-15T22:49:15+01:00", 5 + "path": "/nix/store/vqnsavpda33cbzvfwk28cqz24m5lwrl7-tree-sitter-glsl", 6 + "sha256": "1vcllf58mk1c1fiwh2amcjkgmq5m9dyhawvm744fx9phf0qlqb57", 7 + "hash": "sha256-pyxMMXDwpu4IOXVzBX1LteD6pmRVCcijCyzMioqjlO0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gomod.json
··· 1 1 { 2 2 "url": "https://github.com/camdencheek/tree-sitter-go-mod", 3 - "rev": "4a65743dbc2bb3094114dd2b43da03c820aa5234", 4 - "date": "2022-05-16T16:12:37-04:00", 5 - "path": "/nix/store/1aj3kwndjrimfijq0fxx6khn5r6ics3a-tree-sitter-go-mod", 6 - "sha256": "1hblbi2bs4hlil703myqhvvq2y1x41rc3w903hg2bhbazh7x8yyf", 7 - "hash": "sha256-znvUD/xqwSUeHCDxwXIgPXiB94bY1wEOjRQSvURcdME=", 3 + "rev": "bbe2fe3be4b87e06a613e685250f473d2267f430", 4 + "date": "2024-01-16T04:55:23-07:00", 5 + "path": "/nix/store/xi1fr4l79pnqaa7md7gk4nqvg4ccgyzy-tree-sitter-go-mod", 6 + "sha256": "1clw1wyjxiicdjav5g2b9m9q7vlg5k1iy1fqwmf2yc4fxrfnmyrq", 7 + "hash": "sha256-OPtqXe6OMC9c5dgFH8Msj+6DU01LvLKVbCzGLj0PnLI=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-haskell.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-haskell", 3 - "rev": "d7ac98f49e3ed7e17541256fe3881a967d7ffdd3", 4 - "date": "2023-09-25T03:05:10+02:00", 5 - "path": "/nix/store/8hjdhpw9g27hasl5czx80j7s3j65601k-tree-sitter-haskell", 6 - "sha256": "0610dpnnrmwdxhj0cz4mnajx4aaxhr77w4vc756605zgv54djisw", 7 - "hash": "sha256-XEfZSNnvF2BMOWwTfk6GXSnSpbKVfAYk7I3XbO1tIBg=", 3 + "rev": "6b5ec205c9d4f23eb36a163f1edc4f2db8c98e4a", 4 + "date": "2024-02-26T15:02:24+01:00", 5 + "path": "/nix/store/ia666bffpywmack992f64jid4321fvdq-tree-sitter-haskell", 6 + "sha256": "1d3klbflb1xl234s6pw874j1d5r82bkx5jdi7il1irfvhgdkjljc", 7 + "hash": "sha256-TFI524Pb5RhoPLHJ0ucSKJcWJDmIX6PJELSHRd2ic7Q=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-html.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-html", 3 - "rev": "e5d7d7decbbdec5a4c90bbc69436b3828f5646e7", 4 - "date": "2023-07-10T14:25:09-04:00", 5 - "path": "/nix/store/fv14r2cf4i369jfjb74d7y3cbxyyg762-tree-sitter-html", 6 - "sha256": "0ghgv712gq9bdaa4msz347cffgdbb5fc6a13q73dl9gwdjx0zl4c", 7 - "hash": "sha256-jNAPumz8JdrGwSMow1xZqz3n2CHj60qUaivhJ8LZDz4=", 3 + "rev": "74cab04e10b71811a32dfdde10fd0162d55c54cc", 4 + "date": "2024-02-19T01:18:16-05:00", 5 + "path": "/nix/store/yz3yab424kskfrcvjz4y191rwpy78nd2-tree-sitter-html", 6 + "sha256": "16ldv6p1zhbwqvy7g7m40rbswfjpc58cpmm9kxkd82wz5qv5i3sp", 7 + "hash": "sha256-V49YNi6fC9Rmn6nWy1BhVzquVwaknnf8xnzBH67ZjZo=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-http.json
··· 1 1 { 2 2 "url": "https://github.com/ntbbloodbath/tree-sitter-http", 3 - "rev": "6824a247d1326079aab4fa9f9164e9319678081d", 4 - "date": "2023-05-04T18:36:43-04:00", 5 - "path": "/nix/store/7d2x9w6nqlhvgk70jahwlp6zg19iriij-tree-sitter-http", 6 - "sha256": "0vhipdljx3s2pgzdk2a1zgqf8dd7p3bdbjckcb6z01hdg2p9v121", 7 - "hash": "sha256-QYSdrngNBvDNYpPJ1da4pzXk8PtBidn+u0KPLmm7EW4=", 3 + "rev": "b639716df0698940b53de81e6fcefa2b6cd30724", 4 + "date": "2024-03-16T17:35:45-04:00", 5 + "path": "/nix/store/ynn327dwmxxakcbfrpq94b7m6sl5301h-tree-sitter-http", 6 + "sha256": "0l2yzq0j3w20m9vy9z627jgnfylk1d8crldz3n8xmhisaxwl47ia", 7 + "hash": "sha256-Kh5CeVc6wtqRHb/RzFALk3pnnzzC/OR3qkDwIQH+XlA=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-janet-simple.json
··· 1 1 { 2 2 "url": "https://github.com/sogaiu/tree-sitter-janet-simple", 3 - "rev": "bd9cbaf1ea8b942dfd58e68df10c9a378ab3d2b6", 4 - "date": "2023-04-29T13:15:11+09:00", 5 - "path": "/nix/store/53gscixcapdpckbr4gfx26ax0jk84xcp-tree-sitter-janet-simple", 6 - "sha256": "0hy1dm2jzghd7mi74n4b1ac5bhm809mcg3bcl9f300bh5m79qnyq", 7 - "hash": "sha256-2FucTi1wATBcomyNx2oCqMJVmAqLWHJiPQ2+L0VtwUM=", 3 + "rev": "51271e260346878e1a1aa6c506ce6a797b7c25e2", 4 + "date": "2023-11-11T12:18:30+09:00", 5 + "path": "/nix/store/whms9s60xj63bl0b7m2gqkd7900h5qwy-tree-sitter-janet-simple", 6 + "sha256": "018vwy6y1kr1bh5wp399vspc1y4wpvvgh0c6p7541xl196rzywa1", 7 + "hash": "sha256-QXH/s0mB9kDKuYYB+Pa+nPjArt4pjcsLXCHP4I3nGwU=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-java.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-java", 3 - "rev": "09d650def6cdf7f479f4b78f595e9ef5b58ce31e", 4 - "date": "2022-09-19T09:37:51+02:00", 5 - "path": "/nix/store/478mfssm2335hdflgba22n4f0dir7xmr-tree-sitter-java", 6 - "sha256": "0440xh8x8rkbdlc1f1ail9wzl4583l29ic43x9lzl8290bm64q5l", 7 - "hash": "sha256-tGBi6gJJIPpp6oOwmAQdqBD6eaJRBRcYbWtm1BHsgBA=", 3 + "rev": "2b57cd9541f9fd3a89207d054ce8fbe72657c444", 4 + "date": "2023-10-05T14:06:23+02:00", 5 + "path": "/nix/store/6nark1nnsz96zl56i39dxrrlx2675k4i-tree-sitter-java", 6 + "sha256": "1jhgmgiig5vxz8x961qdp9d3xwawgi5lwsfs1i7d53ffli1qm3v6", 7 + "hash": "sha256-Zo+KQ6TOjdJODNppTkt8XPE+WroNB5M6+n2XF+OrD8o=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-javascript.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-javascript", 3 - "rev": "f1e5a09b8d02f8209a68249c93f0ad647b228e6e", 4 - "date": "2023-08-25T01:24:52-04:00", 5 - "path": "/nix/store/iiwzzd2b6ngim7lwpy2zdgzik7lm2w1y-tree-sitter-javascript", 6 - "sha256": "0jslqjlmfx0xdgwhqam0lgw22r521iynp8l10pfan2bmqxmbdcjm", 7 - "hash": "sha256-VbK2asd1CavcBYGia30MomQh+KOgKgz5ax10V6nEVEs=", 3 + "rev": "de1e682289a417354df5b4437a3e4f92e0722a0f", 4 + "date": "2024-03-10T11:12:05-04:00", 5 + "path": "/nix/store/8p9li6jcc247jzpy0x3cr4iskfyhqwmi-tree-sitter-javascript", 6 + "sha256": "1mvvc6cv46zyhxhdjycmj7746hbss7lxcxks61bzrh229nlrh6hy", 7 + "hash": "sha256-HhqYqU1CwPxXMHp21unRekFDzpGVedlgh/4bsplhe9c=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-jsdoc.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-jsdoc", 3 - "rev": "d01984de49927c979b46ea5c01b78c8ddd79baf9", 4 - "date": "2023-08-20T17:54:07-04:00", 5 - "path": "/nix/store/8fz1cj9fs1b3y85rd3mbpkhwsh07k6hq-tree-sitter-jsdoc", 6 - "sha256": "11w3a6jfvf8fq1jg90bsnhj89gvx32kv1gy4gb5y32spx6h87f1v", 7 - "hash": "sha256-O7iDoOlXi+HLesS/sKcYfb+EJLR6gfRkwA657aRRg4c=", 3 + "rev": "6a6cf9e7341af32d8e2b2e24a37fbfebefc3dc55", 4 + "date": "2024-02-14T18:13:00-05:00", 5 + "path": "/nix/store/9i7fgay23cjnvjapg95bj07jbliv8bmk-tree-sitter-jsdoc", 6 + "sha256": "1xmkkqyb9mc18jh6dlffzw9j560mmc5i6fbic8ki9z0r30b1ravw", 7 + "hash": "sha256-fKscFhgZ/BQnYnE5EwurFZgiE//O0WagRIHVtDyes/Y=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-json.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-json", 3 - "rev": "ca3f8919800e3c1ad4508de3bfd7b0b860ce434f", 4 - "date": "2023-07-10T15:59:29-04:00", 5 - "path": "/nix/store/3pkcya9skyx0k9k54sbp1sbqk9gpzwr4-tree-sitter-json", 6 - "sha256": "038zdq2zf4phk082lrw466qd9fbkn1017n3nj53fbp1m8rmxwakk", 7 - "hash": "sha256-cyrea0Y13OVGkXbYE0Cwc7nUsDGEZyoQmPAS9wVuHw0=", 3 + "rev": "3b129203f4b72d532f58e72c5310c0a7db3b8e6d", 4 + "date": "2024-02-23T13:05:26-08:00", 5 + "path": "/nix/store/03dv24dlqkds0k1vjchzq6n8v6wys3ix-tree-sitter-json", 6 + "sha256": "0rnfhmhr76fjlc6zzbxzrxrxa1xxpkg1jgq7vdw4630l1cg2nlbm", 7 + "hash": "sha256-dVErHgsUDEN42wc/Gd68vQfVc8+/r/8No9KZk2GFzmY=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-json5.json
··· 1 1 { 2 2 "url": "https://github.com/joakker/tree-sitter-json5", 3 - "rev": "5dd5cdc418d9659682556b6adca2dd9ace0ac6d2", 4 - "date": "2021-08-24T18:08:31-04:00", 5 - "path": "/nix/store/0qhffwc84sp97d8im4lfrd06jsyvmzc4-tree-sitter-json5", 6 - "sha256": "1la7bq5vi21gy0kf4zpwh0c0jfyv1bb62a3v7158hnxdyd5ijz07", 7 - "hash": "sha256-B3wZS/OtW4hKOHsoYdYK2zsJGID8fuIm8C+IuAteR9E=", 3 + "rev": "c23f7a9b1ee7d45f516496b1e0e4be067264fa0d", 4 + "date": "2023-10-05T17:25:17-03:00", 5 + "path": "/nix/store/k0jyqq66qp3nq8nmzr1dhm3pk2vxhg1r-tree-sitter-json5", 6 + "sha256": "11j8sjq2b0ibiygmcnxzl5vxa0p9ygngfhzjvjl19jnlnf0h7a6p", 7 + "hash": "sha256-16gDgbPUyhSo3PJD9+zz6QLVd6G/W1afjyuCJbDUSIY=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-julia.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-julia", 3 - "rev": "0c088d1ad270f02c4e84189247ac7001e86fe342", 4 - "date": "2023-09-04T11:11:28-05:00", 5 - "path": "/nix/store/4zj06y16xi9ab4syip4cxcfw2wb2x5zm-tree-sitter-julia", 6 - "sha256": "16l2flg1pzfcqd02k05y90ydmnki5vzp2m9rf2j2afr8slnawjaq", 7 - "hash": "sha256-WEmuLNUoOyWkcDlVcf8ucdraPEi+gClAw8z9Gx51gpo=", 3 + "rev": "e84f10db8eeb8b9807786bfc658808edaa1b4fa2", 4 + "date": "2024-02-14T19:03:11-05:00", 5 + "path": "/nix/store/wv5r1xw2f3bfk4rqg660m6pqkwfdin68-tree-sitter-julia", 6 + "sha256": "1fqirr8yjwmjy5dnfxk0djafq0hnl18mf28i7zg2gsfvy9a27d4f", 7 + "hash": "sha256-jrQjVPLb6SfePxEJV1GgFgLslGxgdmdb8bJy6VHOEbs=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-just.json
··· 1 1 { 2 2 "url": "https://github.com/IndianBoy42/tree-sitter-just", 3 - "rev": "f807ab33c36651ecb503a291aed933932754864d", 4 - "date": "2024-01-11T04:53:14-05:00", 5 - "path": "/nix/store/f6b4xvxkbzrwmxk8vr1gz4c3g3pqh2hz-tree-sitter-just", 6 - "sha256": "1ng49slp5x98s9ydc7gha7gkcj93ks4iv0ixc7n0z9dr4akqrbw8", 7 - "hash": "sha256-iK+MpyK5pQ/sYT2CHYmeI0k231HwHdZ80ij1cqlO5Nk=", 3 + "rev": "442538ab5ae0913b05e0269a988b4d452dfa5361", 4 + "date": "2024-03-19T12:21:46-05:00", 5 + "path": "/nix/store/ibqsrr59gr2ww1z5f9vr4q2fdvz9gmmy-tree-sitter-just", 6 + "sha256": "1zcc7qsapcq8rs0myknx8bd8svcb18gwgpcqzh5jw1cf1c45yryr", 7 + "hash": "sha256-2WdfCAuOBS4L/Jjdxx8Ki22N2kLdTl+BzgizqzQ+jP0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-kotlin.json
··· 1 1 { 2 2 "url": "https://github.com/fwcd/tree-sitter-kotlin", 3 - "rev": "607af7be5606ad6580246cd9c68fc615e1ad97fd", 4 - "date": "2021-10-12T01:11:47+02:00", 5 - "path": "/nix/store/49cvpcypxjzpb0srcpd383ay9f0g19dy-tree-sitter-kotlin", 6 - "sha256": "1sisvx7cp95d309ykhimn8bhbwd1lzcwrpz3s0mdsb2i44p69469", 7 - "hash": "sha256-yZBkLiFRLN0q0OPfzNmnofEFF7I1wukTGK2ky07fOuo=", 3 + "rev": "51e451be6c18e2cc123249f49edf8e26fc50311c", 4 + "date": "2024-03-14T00:25:12+01:00", 5 + "path": "/nix/store/ab6r0biy5244mbw88zxbskfxi0xs4r6s-tree-sitter-kotlin", 6 + "sha256": "0s41qgir95lcc68y2xvy7zzai7mm58mlx6w7xkndpc5jvgkc3akx", 7 + "hash": "sha256-farB5tuysNvs7IebTisqtZ6o/j9+d+GRYYyWlOPDgWg=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-lua.json
··· 1 1 { 2 2 "url": "https://github.com/MunifTanjim/tree-sitter-lua", 3 - "rev": "9668709211b2e683f27f414454a8b51bf0a6bda1", 4 - "date": "2023-09-07T13:41:24+06:00", 5 - "path": "/nix/store/lahwsbw8a5lp7jg68wx7mfkhzz6sxzxl-tree-sitter-lua", 6 - "sha256": "0iqqfncsli57ih5inllfzg5s8f9px7wdnddh6lkz4ycvmbq71pp6", 7 - "hash": "sha256-5t5w8KqbefInNbA12/jpNzmky/uOUhsLjKdEqpl1GEc=", 3 + "rev": "a24dab177e58c9c6832f96b9a73102a0cfbced4a", 4 + "date": "2024-03-11T11:40:44+02:00", 5 + "path": "/nix/store/dia2ry7m40yxfn4l4191c0by58vb2yn8-tree-sitter-lua", 6 + "sha256": "1184dazb4agqf3v55sz8i7xmynsn4rkddhbph3mgmh5qsnk88mmq", 7 + "hash": "sha256-uFaEptW4wPrqgHfB1mYmVltf+4no61L2cPgpsr5qBIU=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-markdown.json
··· 1 1 { 2 2 "url": "https://github.com/MDeiml/tree-sitter-markdown", 3 - "rev": "aaf76797aa8ecd9a5e78e0ec3681941de6c945ee", 4 - "date": "2023-07-22T13:25:09+02:00", 5 - "path": "/nix/store/5j100a9ksm598pvzzpdw91mmwxi11d03-tree-sitter-markdown", 6 - "sha256": "1kksp7vx29f8qflg3sc1gi22xv24g7n9jz93v3fqvc4frx8iyyp0", 7 - "hash": "sha256-4HofUc+OsI3d2CN9mex5ROwuRHyB6fGow8gl0fe5es4=", 3 + "rev": "b2f01981a76e3251f5b660378136c248ed106b81", 4 + "date": "2024-03-13T23:51:05+02:00", 5 + "path": "/nix/store/z986603ky7a41d48i0rxkd23y5k1bxc7-tree-sitter-markdown", 6 + "sha256": "183ig6p39wzlmb8vz5hyjr4787s03b8gsw5p210qxkl3xs46s37a", 7 + "hash": "sha256-6gxtiO6Dzo5BELdw/dAaQB90SJYelr/RqvTzNK55caA=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-nickel.json
··· 1 1 { 2 2 "url": "https://github.com/nickel-lang/tree-sitter-nickel", 3 - "rev": "b759233581fd8bae239e905c67a9ba453205da78", 4 - "date": "2023-09-14T10:23:29+02:00", 5 - "path": "/nix/store/s035753cs69k3pxcxn6pgmynfs9rlnxr-tree-sitter-nickel", 6 - "sha256": "1y118sbpxqw045ys7y5g8iywa11b3jyldc8rzkc79c2jbavdvsp0", 7 - "hash": "sha256-4OrdtlpSsHTY/BmxRr0cKwTFfUSv+KN9IYDjfpdGIfg=", 3 + "rev": "58baf89db8fdae54a84bcf22c80ff10ee3f929ed", 4 + "date": "2024-03-07T15:18:26+00:00", 5 + "path": "/nix/store/z386k8b1asbadh303dpzkhydv8r4f6fz-tree-sitter-nickel", 6 + "sha256": "1a62cngravp7pq3gs582larbd0my7k323s48rgidhpd7b5gkmrjs", 7 + "hash": "sha256-WuY6X1mnXdjiy4joIcY8voK2sqICFf0GvudulZ9lwqg=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-norg.json
··· 1 1 { 2 2 "url": "https://github.com/nvim-neorg/tree-sitter-norg", 3 - "rev": "1a305093569632de50f9a316ff843dcda25b4ef5", 4 - "date": "2023-02-12T20:47:35+01:00", 5 - "path": "/nix/store/w7drx78c8w9claw3c6h7vlxdhyvfj8j6-tree-sitter-norg", 6 - "sha256": "1wl6h5pin861msgmg5q3k0h62fl73svdwn0ppn4vp7a37s9p5xvm", 7 - "hash": "sha256-dfdykz5DnbuJvRdY3rYehzphIJgDl1efrsEgG2+BhvI=", 3 + "rev": "014073fe8016d1ac440c51d22c77e3765d8f6855", 4 + "date": "2023-10-02T20:20:59+02:00", 5 + "path": "/nix/store/xi96cyvgn1443wf54ykc90y80fqdmgzv-tree-sitter-norg", 6 + "sha256": "05zrcglnpvyqx0gczzkx05qc95y5n3slbhjig7dqjyxvphyzf0nk", 7 + "hash": "sha256-0wL3Pby7e4nbeVHCRfWwxZfEcAF9/s8e6Njva+lj+Rc=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-nu.json
··· 1 1 { 2 2 "url": "https://github.com/nushell/tree-sitter-nu", 3 - "rev": "a0b80b2e21e5e39571252dc799e19eb89f1fc912", 4 - "date": "2023-12-21T08:27:09-06:00", 5 - "path": "/nix/store/nlczvz84gk9jjjiijczwyn1isy1rn1k7-tree-sitter-nu", 6 - "sha256": "1y9bsdg9v7znlc1k4xxraaj8f8fn5m3zyc0r2m9fff2if9ijpll1", 7 - "hash": "sha256-gdIrY3JROOdSFRkw/0ct1iGHpFK5dzIDo/afnV7TK/k=", 3 + "rev": "c5b7816043992b1cdc1462a889bc74dc08576fa6", 4 + "date": "2024-03-09T11:27:22-06:00", 5 + "path": "/nix/store/gcmmkjxfhf4y1qc3fvbaww5pfcdbjlhv-tree-sitter-nu", 6 + "sha256": "0g9b7d6306z96x90w9v687nyws5jrh5jy2cm8yxhaz3xgq9v3s1z", 7 + "hash": "sha256-P+ixE359fAW7R5UJLwvMsmju7UFmJw5SN+kbMEw7Kz0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-ocaml.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-ocaml", 3 - "rev": "694c57718fd85d514f8b81176038e7a4cfabcaaf", 4 - "date": "2023-07-17T22:31:47+02:00", 5 - "path": "/nix/store/2nq7apr98j81va00y74mfhcrqqdb7gwh-tree-sitter-ocaml", 6 - "sha256": "03zqsdm6yy7g3ml0lganh4qg6vfc301255kg756y1icclgdfywcg", 7 - "hash": "sha256-j3Hv2qOMxeBNOW+WIgIYzG3zMIFWPQpoHe94b2rT+A8=", 3 + "rev": "dabe60a96553fbbda0a58b6ccda12b7d44047cb5", 4 + "date": "2024-03-17T14:43:34+01:00", 5 + "path": "/nix/store/sv3zz52xfyda4iwjwxfkyadg0bj1d2kj-tree-sitter-ocaml", 6 + "sha256": "0pkw9bclbndcakaywdwj0ffvak78h68fjlbckdainfz99xgvg732", 7 + "hash": "sha256-Ypy3X0/pOxtVm2xR6ZCB6Ey1nQOSN+7VVKzZRdlKfF4=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-perl.json
··· 1 1 { 2 2 "url": "https://github.com/ganezdragon/tree-sitter-perl", 3 - "rev": "ba2a3411ab2270df7f6da8689d50a1fe29811d06", 4 - "date": "2023-07-29T21:08:04+05:30", 5 - "path": "/nix/store/rfnlnycbqxp4hwzgig60l9i0w89p2g5a-tree-sitter-perl", 6 - "sha256": "1kkap2vqa95z5fh63qvy1jd87d5s6qb79bqm91p210i9yj5270zr", 7 - "hash": "sha256-+YMjivQpgiBuSBWvdBY2urSDmgx+42GgK78khbe4as4=", 3 + "rev": "a882a928d4930716896039d1c10e91b6d7444c48", 4 + "date": "2024-03-03T23:09:15+05:30", 5 + "path": "/nix/store/6v3jxaiad68k4rak3ihqn1vxqah1pi85-tree-sitter-perl", 6 + "sha256": "0ss26x37ldj4v6pwbijrz0hbnvj8xrm8cj3y1n1f2xanzvcalz15", 7 + "hash": "sha256-JXyq2P5WdeGCDX5IhmruSG67IPhZxsWv2UQ2ekY3Qms=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-php.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-php", 3 - "rev": "a05c6112a1dfdd9e586cb275700931e68d3c7c85", 4 - "date": "2023-09-16T22:44:24-04:00", 5 - "path": "/nix/store/sswg2fpbb5l59g0kdhzxks2k2mqamv1w-tree-sitter-php", 6 - "sha256": "1z54hgzkcqrjh6w7bp5hh8g27wli04x0pq8imwal8ml1gi7bvpzn", 7 - "hash": "sha256-9t+9TnyBVkQVrxHhCzoBkfIjHoKw3HW4gTJjNv+DpPw=", 3 + "rev": "78a78df5e06b4c13173af2a1f607c9a853d0f240", 4 + "date": "2024-02-25T14:41:06-06:00", 5 + "path": "/nix/store/h63hh37wn6khk4gj4v1yv37w7kxgr595-tree-sitter-php", 6 + "sha256": "07022kisc2r5pfcbv0smh5gnn9v0i7jazfbvckczz15d0wwrpfip", 7 + "hash": "sha256-N7qbOQethP/ZZHu5r+SJYCdrX4FVg72YuyULpuMUAhw=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-python.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-python", 3 - "rev": "a901729099257aac932d79c60adb5e8a53fa7e6c", 4 - "date": "2023-09-21T03:55:53-04:00", 5 - "path": "/nix/store/arzga89mcw3yns4cxdy7rwyr6qrfyymp-tree-sitter-python", 6 - "sha256": "1kkpaf8gmkb9nkggdlhqjm8ddi20p8dckrrh80c6r4j3rpf46641", 7 - "hash": "sha256-gRhD3M1DkmwYQDDnyRq6QMTWUJUY0vbetGnN+pBTd84=", 3 + "rev": "b8a4c64121ba66b460cb878e934e3157ecbfb124", 4 + "date": "2024-03-12T19:59:41-04:00", 5 + "path": "/nix/store/qyvpyxlyxxmc1rwqvy14j9z1pjnpxbw9-tree-sitter-python", 6 + "sha256": "12bgdbhkxl7lrca4257wnjks1m4z3mv5mzw5cfbyr91ypv59cfk5", 7 + "hash": "sha256-ZTqWyr4+pOyXY4X/WnYdn9Sgp7T8FEEUy/TQPuFqb4k=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-ql.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-ql", 3 - "rev": "bd087020f0d8c183080ca615d38de0ec827aeeaf", 4 - "date": "2022-08-17T11:53:16+02:00", 5 - "path": "/nix/store/id24yb922kcjnqx160b5hga65k9zmnkh-tree-sitter-ql", 6 - "sha256": "18yv6sag794k0l7i0wxaffxhay6zgwnap5bbhi48h04q1cvas0yr", 7 - "hash": "sha256-2QOtNguYAIhIhGuVqyx/33gFu3OqcxAPBZOk85Q226M=", 3 + "rev": "ff04ba61857ba05b80221e71b423b2728dbebe1e", 4 + "date": "2024-02-14T19:32:53-05:00", 5 + "path": "/nix/store/9s2i55p2nm5lz9lkxs2kkmhiy3zlgx8l-tree-sitter-ql", 6 + "sha256": "1wdjy8287823rgl1vibljgf129ll9srxn9n6m1piaj3z46lv5b7x", 7 + "hash": "sha256-/ayyqSF/SBVvqMYm27NOlCYR3JN0xR3oy0OggwTysvE=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-query.json
··· 1 1 { 2 2 "url": "https://github.com/nvim-treesitter/tree-sitter-query", 3 - "rev": "e97504446f14f529d5a8e649667d3d60391e4dfd", 4 - "date": "2023-03-09T05:33:03-08:00", 5 - "path": "/nix/store/3p8d4hl2bnm1fzn0nx7zc62l73118vm2-tree-sitter-query", 6 - "sha256": "0xd00idgmyr55yd10xaxma1pwahlvn7gqy78zf8zknfbqvd3rzqs", 7 - "hash": "sha256-Gv882sbL2fmR++h4/I7dFCp+g6pddRCaLyX7+loEoHU=", 3 + "rev": "176a380df78800167565118bb0dadfc961abbd43", 4 + "date": "2024-03-07T12:57:53+02:00", 5 + "path": "/nix/store/wa9dwqw4z7gcsnizch00sssjfl35arpf-tree-sitter-query", 6 + "sha256": "0w0f3zymch27s923j4wkxjn2rfgf2qrhsrcrxf56nxmsgbbkdlvg", 7 + "hash": "sha256-b9M213q6dmuK65llDTMW7rksrOyTEzlE0kdAVv0fDnA=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-regex.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-regex", 3 - "rev": "2354482d7e2e8f8ff33c1ef6c8aa5690410fbc96", 4 - "date": "2023-07-19T17:58:43-04:00", 5 - "path": "/nix/store/bvsgqya54sh9qxcida01iwcsl5schqhh-tree-sitter-regex", 6 - "sha256": "1b5sbjzdhkvpqaq2jsb347mrspjzmif9sqmvs82mp2g08bmr122z", 7 - "hash": "sha256-X4iQ60LgiVsF0rtinVysX16d6yFjaSmwwndP2L5cuqw=", 3 + "rev": "ba22e4e0cb42b2ef066948d0ea030ac509cef733", 4 + "date": "2024-02-14T19:05:11-05:00", 5 + "path": "/nix/store/9fwryyszxm2fj1pm0l5p641yqiyggcvp-tree-sitter-regex", 6 + "sha256": "02nxl4s5vx8nsmhg7cjaf45nl92x8q60b7jhlp29qdqvbgg35gwr", 7 + "hash": "sha256-mb8y3lsbN5zEpVCeBQxGXSRqC3FKsvNg1Rb1XTSh3Qo=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-rego.json
··· 1 1 { 2 2 "url": "https://github.com/FallenAngel97/tree-sitter-rego", 3 - "rev": "b2667c975f07b33be3ceb83bea5cfbad88095866", 4 - "date": "2022-11-18T14:07:12+02:00", 5 - "path": "/nix/store/ky8xv5v5i273n0zqin0mnsx810382wfn-tree-sitter-rego", 6 - "sha256": "18qw5ahx6qcfq9gs6gcakl178gnnryksv6gyamyd6vypz20kwz6b", 7 - "hash": "sha256-y3w+gfjXb9N8Vf6ZrafP1j50Ap2KPaNfwo5h06EqHKM=", 3 + "rev": "9ac75e71b2d791e0aadeef68098319d86a2a14cf", 4 + "date": "2023-11-03T09:13:53+02:00", 5 + "path": "/nix/store/7v3znqfnq89ik6svp70fzsin8j4ydl4s-tree-sitter-rego", 6 + "sha256": "12napwjsv4hx2k4ad0p2v3mv4lhxgp894riglyqmidxxkikzma9g", 7 + "hash": "sha256-L6n6Z5y9t1ixpy9mktB9HVKy69jigqbIFB2SrSW/yoo=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-ruby.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-ruby", 3 - "rev": "fe6a2d634da0e16b11b5aa255cc3df568a4572fd", 4 - "date": "2021-03-03T16:54:30-08:00", 5 - "path": "/nix/store/ragrvqj7hm98r74v5b3fljvc47gd3nhj-tree-sitter-ruby", 6 - "sha256": "0m3h4928rbs300wcb6776h9r88hi32rybbhcaf6rdympl5nzi83v", 7 - "hash": "sha256-e6D4baG3+paNUwyu5bMYESKUEzTnmMU4AEOvjEQicFQ=", 3 + "rev": "7a010836b74351855148818d5cb8170dc4df8e6a", 4 + "date": "2024-02-10T23:07:01-05:00", 5 + "path": "/nix/store/3k3zb8n4cy49hgzaai20ka8r3fam8djc-tree-sitter-ruby", 6 + "sha256": "03d96cv6iqmyak2jw4wffyynmh9hqk8d4i4sgn5d5w24wfv6r3lb", 7 + "hash": "sha256-i45stuNE8NKKfZpE0tDEMMFqvXeOEy7FVL7iaDYzqQ0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-rust.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-rust", 3 - "rev": "48e053397b587de97790b055a1097b7c8a4ef846", 4 - "date": "2023-09-21T23:15:14+00:00", 5 - "path": "/nix/store/m01z8llh3nckvr7iiyap5mr91iisx6r1-tree-sitter-rust", 6 - "sha256": "0jc8sisfj50jra89y3p6pv0b2smn125m4nvkaidz1cnympajbpc6", 7 - "hash": "sha256-ht0l1a3esvBbVHNbUosItmqxwL7mDp+QyhIU6XTUiEk=", 3 + "rev": "3a56481f8d13b6874a28752502a58520b9139dc7", 4 + "date": "2024-03-10T12:55:02-04:00", 5 + "path": "/nix/store/91xc2kv7dql3waccf2ih7k55bjw03n4z-tree-sitter-rust", 6 + "sha256": "12806974pngxqv1brj4r15yqzp2fdvid926n7941nylgmdw9f4z9", 7 + "hash": "sha256-6ROXeKuPehtIOtaI1OJuTtyPfQmZyLzCxv3ZS04yAIk=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-scala.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-scala", 3 - "rev": "d50b6ca5cc3d925e3d1f497199cb8d8383ddae8a", 4 - "date": "2023-08-20T03:15:51-04:00", 5 - "path": "/nix/store/nb0987awf0a098gl9b43whbjlgxc428h-tree-sitter-scala", 6 - "sha256": "0hs6gmkq5cx9qrmgfz1mh0c34flwffc0k2mhwf13laawswnywfkz", 7 - "hash": "sha256-fzruLddcKTqC47CKCZhznDoyGIA1fPdqxqmzgmd9RkM=", 3 + "rev": "b3ac6a5d959d3137e7f3146d4d9f7899872177de", 4 + "date": "2024-03-12T14:34:11-04:00", 5 + "path": "/nix/store/zi4bjbmxlhp003lk37pcyf5kg9m2wcf6-tree-sitter-scala", 6 + "sha256": "1j2ivdm21c5db54rcff00n7bqcfrfjc91jwlfl4a2cm363hbrym2", 7 + "hash": "sha256-ovq84DCjMqEIdZTLkJh02TG8jgXAOZZJWa2wIGrbUcg=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-scheme.json
··· 1 1 { 2 2 "url": "https://github.com/6cdh/tree-sitter-scheme", 3 - "rev": "85b6188fb77c03dfb01d13e58e2844450506860c", 4 - "date": "2023-09-01T09:52:02+08:00", 5 - "path": "/nix/store/0ckxw6q3nh5vb2lmibzy2kw2p4kcrqf4-tree-sitter-scheme", 6 - "sha256": "0rrygynsispdpkc5npvfcxri4x9n5w7j3ffbh27j5j8yw2jr1s5z", 7 - "hash": "sha256-v+iQpeAeySKPgMu5IQ8vNnUSc2duX1vYvO3qqK1/Pmc=", 3 + "rev": "184e7596ee0cbaef79230cae1b4ee5bb4fbad314", 4 + "date": "2024-03-15T19:06:15+08:00", 5 + "path": "/nix/store/wdhalppgf16xgcrm3llj0al5dimya5pc-tree-sitter-scheme", 6 + "sha256": "0sqccw5az31di8jhb88v3afryiz7a4136g9a9xq8qni4znifw7y3", 7 + "hash": "sha256-wx/uov0kWoxwTyo9MwJR50efnRoboQUlii2MrwpnDGs=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-solidity.json
··· 1 1 { 2 2 "url": "https://github.com/JoranHonig/tree-sitter-solidity", 3 - "rev": "168020304759ad5d8b4a88a541a699134e3730c5", 4 - "date": "2022-12-14T12:24:29+01:00", 5 - "path": "/nix/store/37x7jqscpg36xncjy7i4zbvmx42dc1wh-tree-sitter-solidity", 6 - "sha256": "1bg7q7l5jv5xrr7pfzg6i3bfgs6mrzzflh3rf4lqcd373xf8290q", 7 - "hash": "sha256-GCSBXB9nNIYpcXlA6v7P1ejn1ojmfXdPzr1sWejB560=", 3 + "rev": "b239a95f94cfcc6e7b3e961bc73a28d55e214f02", 4 + "date": "2024-03-12T10:13:22+00:00", 5 + "path": "/nix/store/8bi3z4l3g890xgb7karzpqfinrcadk26-tree-sitter-solidity", 6 + "sha256": "0kb8d6j81pv5bas7nfvq5wv12paicrv833d7iin5z0zy4y2fvqkg", 7 + "hash": "sha256-b+LthCf+g19sjKeNgXZmUV0RNi94O3u0WmXfgKRpaE0=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-sql.json
··· 1 1 { 2 2 "url": "https://github.com/derekstride/tree-sitter-sql", 3 - "rev": "39750c48bf9ad63bcc1399554355b0aa0aaa1c33", 4 - "date": "2023-09-07T13:39:32+00:00", 5 - "path": "/nix/store/x1swbby8g0l0r7szdlgiqsqj3sdjambc-tree-sitter-sql", 6 - "sha256": "1dnvmazyinchqj8gsv836m1kclycri0ypi4bf712nx3avw4ajwfz", 7 - "hash": "sha256-33GpCN9qdCvCcYvE60HMzFM2QzUDbf2QxJDZ6L+q27Y=", 3 + "rev": "c85ffb5228dd643d447ad8ebc75884f6c4fc6158", 4 + "date": "2023-12-15T15:40:26-05:00", 5 + "path": "/nix/store/mj8yhb4hs86y2yqyz4znpdp9x9bbd8bl-tree-sitter-sql", 6 + "sha256": "0p6ay475y30wq949hrffl31lj46axkqi8abf71ak54dibx0892l3", 7 + "hash": "sha256-g4qEQF+xkTJVOG4pFPHsyhBJw6DOZZhIwhwMXw7xylw=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-templ.json
··· 1 1 { 2 2 "url": "https://github.com/vrischmann/tree-sitter-templ", 3 - "rev": "14d105789af342f7f0c32bff2fec1a6edec59f60", 4 - "date": "2023-12-29T22:31:39+01:00", 5 - "path": "/nix/store/8yixhjmhynryb79g3wff5kxgz35ncg3n-tree-sitter-templ", 6 - "sha256": "1hr0l9ibm12ggiyk5m3h12fjgrdkfv7d2qlcfy6l6c10k4ghngf2", 7 - "hash": "sha256-wj0LH5kgMEONd4xi0c52s+UnnQhw1DJ9fE+EumKiIMM=", 3 + "rev": "592faa3186ef857c92e4bd1c31d73c07a4a334db", 4 + "date": "2024-02-06T21:43:24+01:00", 5 + "path": "/nix/store/nqchnmjz07500x1s9fqrvkzrzvzjls5d-tree-sitter-templ", 6 + "sha256": "1i26q3ci8w14c8z5lsibpbza0xwn7cp6hl46c52c98wvr0zpwzax", 7 + "hash": "sha256-XX1+P8ibo8REYYZQaC47lneg/roralo+YiRwFNnARsQ=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-tlaplus.json
··· 1 1 { 2 2 "url": "https://github.com/tlaplus-community/tree-sitter-tlaplus", 3 - "rev": "7ba226cf85280c7917d082940022006e6a3b7b6f", 4 - "date": "2023-03-28T17:13:15-04:00", 5 - "path": "/nix/store/biqm93z4n1ravfi5bs466fbp4bxadjmk-tree-sitter-tlaplus", 6 - "sha256": "0md800h54792nv1mfzdw7wyjzz8wx5cvl6mzlb8l70p0ihjfrk1s", 7 - "hash": "sha256-OszsJIzggkPRor8aulnpHP0vPT+8fVfDtiIdUiAAqFU=", 3 + "rev": "3896a5be761f04ffb22a841b2a0672f7a8a43ef9", 4 + "date": "2024-03-11T11:12:33-04:00", 5 + "path": "/nix/store/7dq157m7v3mq9iscmjbywm3sy1p9hgyh-tree-sitter-tlaplus", 6 + "sha256": "0bjyf470anxialbmphn19r7pdnni181r45zyyfrl9db2fsgz3q0h", 7 + "hash": "sha256-EODxn3ZitUSz8/4XkgMK0dp2T07BwlsXVbFbBQ5xXi4=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-tsq.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-tsq", 3 - "rev": "b665659d3238e6036e22ed0e24935e60efb39415", 4 - "date": "2021-05-18T15:57:40-04:00", 5 - "path": "/nix/store/j59y4s3bsv6d5nbmhhdgb043hmk8157k-tree-sitter-tsq", 6 - "sha256": "03bch2wp2jwxk69zjplvm0gbyw06qqdy7il9qkiafvhrbh03ayd9", 7 - "hash": "sha256-qXk1AFwZbqfixInG4xvGBnC/HqibXvmTmZ1LcbmAbA0=", 3 + "rev": "49da6de661be6a07cb51018880ebe680324e7b82", 4 + "date": "2024-02-24T05:44:09-05:00", 5 + "path": "/nix/store/jhz3i20lmr3cfwdxp3h6qad6dw1s7yxi-tree-sitter-tsq", 6 + "sha256": "1np9li55b28iyg5msmqzkp7ydd887j2nb2fzx3jmzx3ifb533plr", 7 + "hash": "sha256-md4xynJx9F/l6N+JZYU8CLXmz50fV13L8xGJVUqk6do=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-typescript.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-typescript", 3 - "rev": "b1bf4825d9eaa0f3bdeb1e52f099533328acfbdf", 4 - "date": "2023-07-19T03:17:33-04:00", 5 - "path": "/nix/store/c858575avx33nmi4annm51fhasv43xm9-tree-sitter-typescript", 6 - "sha256": "1r74108lxyp8hsq0pysy0na4kgn06b4xk4yrlq77fw8jr6vs54m1", 7 - "hash": "sha256-oZKit8kScXcOptmT2ckywL5JlAVe+wuwhuj6ThEI5OQ=", 3 + "rev": "eb6b845dee9ee22987262699a152312604313662", 4 + "date": "2024-01-31T10:42:05-05:00", 5 + "path": "/nix/store/f8pj12fbzxfipidrj1srz3ld8qw5x4h7-tree-sitter-typescript", 6 + "sha256": "1109v1w6icm018hkc41ysn5iflc9gq2q02v23dy4bnfas7kzizyc", 7 + "hash": "sha256-zP/459HK2UV8G2ILgAV+iVEXi9U+EDYhCqCyaHjYCYQ=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-typst.json
··· 1 1 { 2 2 "url": "https://github.com/uben0/tree-sitter-typst", 3 - "rev": "791cac478226e3e78809b67ff856010bde709594", 4 - "date": "2023-10-01T17:18:34+02:00", 5 - "path": "/nix/store/fsdpsqf4g0maba3lqnq7237hvp443wn0-tree-sitter-typst-791cac4", 6 - "sha256": "1mwj2qf1k1pfd892lkpw6jsd014209aiz6kdsyh5mhxgnb4893v0", 7 - "hash": "sha256-YI+EyLKvw1qg122aH1UCggTQtDT8TioSau6GGRwWktc=", 3 + "rev": "77e23188c3a4287f6ff37f545722ac872a260ee8", 4 + "date": "2023-12-30T18:08:13+01:00", 5 + "path": "/nix/store/0zb749g1r03b3wnzfb3p98y33vyd8ybn-tree-sitter-typst", 6 + "sha256": "02k5y63wh1gsfpfczrc86gkjr9ip4zqn21wbf6mxmm6qhmr5vkvz", 7 + "hash": "sha256-f89dcoXY1NqrcYsHYfEnN6Ys5zOI5c/cdfoFyIfxZQo=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-uiua.json
··· 1 1 { 2 2 "url": "https://github.com/shnarazk/tree-sitter-uiua", 3 - "rev": "aa1e0202dbf2ba654d79f880b86f6c1073d81b20", 4 - "date": "2023-11-20T13:01:37+09:00", 5 - "path": "/nix/store/lawqd38bskf5gxsls3w9jjgdaj08q1ym-tree-sitter-uiua", 6 - "sha256": "0sn1vrpdkkaw2j6sp403bhijz3561n0qjh2wcpgp6qbqaxj4gxap", 7 - "hash": "sha256-V/VHZFd4YXPfZVxAiYENpowvI1wDkKuNFFzN2W7ewWo=", 3 + "rev": "942e8365d10b9b62be9f2a8b0503459d3d8f3af3", 4 + "date": "2024-02-29T15:18:16+09:00", 5 + "path": "/nix/store/ahzzkr0wlxkxwnmp7sysjhfcgdfy4lkh-tree-sitter-uiua", 6 + "sha256": "1pwhdsvdi6p70r9iij3mqnpdl0m2vz242l2qxlanplfcasf58sf9", 7 + "hash": "sha256-yWlUnFbM0WsV7VhQQcTfogLarsV1yBhTBuea2LZukN8=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-verilog.json
··· 1 1 { 2 2 "url": "https://github.com/tree-sitter/tree-sitter-verilog", 3 - "rev": "902031343056bc0b11f3e47b33f036a9cf59f58d", 4 - "date": "2023-07-28T00:21:49-04:00", 5 - "path": "/nix/store/nnd12xzsd387bng3yp4zlgvsaya24r7x-tree-sitter-verilog", 6 - "sha256": "1mrgdi0aj2bm4f2jdz93r1c3m1hiymjfhd2pc14xlz6waxpd48zg", 7 - "hash": "sha256-7yPSblfcfNpJYFc06GT1EYY6WMgj/SaFI3UJqUBsL9c=", 3 + "rev": "2dfddfcb891f74a1cdb9d8ce480a997d11846e17", 4 + "date": "2024-02-14T20:12:08-05:00", 5 + "path": "/nix/store/6jdd5vk6m85h4mir572admz08pcp7yqx-tree-sitter-verilog", 6 + "sha256": "0qqk9066wlwjrmac43i1irjfnimbkdxwvx4srnnkjv466sn7si3s", 7 + "hash": "sha256-ekR9rDaGbDmtzZr0zXubq0brZI4hDsJUzZJTbgxIE2M=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+5 -5
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-wing.json
··· 1 1 { 2 2 "url": "https://github.com/winglang/wing", 3 - "rev": "60c61fd6b6e2e6dbea7c206653d3e360435bfee2", 4 - "date": "2023-09-25T21:05:07+00:00", 5 - "path": "/nix/store/rb1g46ia45yjh9bsf6d99nzgs0yf8vl9-wing", 6 - "sha256": "0hig7ll1rph3i4fqwpcxadyjxa9d0ipscmhs33jdir2brhw93vmp", 7 - "hash": "sha256-t+6ROMxL5NjkGBpWpm8ELakufVOdXY4diQPeHCg9L0I=", 3 + "rev": "a43b5524b0adbb553d874a6ea8d08a2d791f56c5", 4 + "date": "2024-03-21T08:10:44+00:00", 5 + "path": "/nix/store/v4qvjygfjjx04c5jn0p96hx5zd3skvsx-wing", 6 + "sha256": "1wqj0ilb9mqbghsby5ls0qm7jf5vi2zsihnwjnksj9lnrng368xh", 7 + "hash": "sha256-sCMzns2WJqmnldzCqL+Iuzh5KgaaFr80fAvXtGgEEvM=", 8 8 "fetchLFS": false, 9 9 "fetchSubmodules": false, 10 10 "deepClone": false,
+10
pkgs/development/tools/parsing/tree-sitter/update.nix
··· 77 77 "tree-sitter-fluent" 78 78 # to unblock my update 79 79 "csharp-tree-sitter" 80 + 81 + # Non-grammar repositories 82 + ".github" 83 + "fuzz-action" 84 + "parse-action" 85 + "parser-setup-action" 86 + "parser-test-action" 87 + "parser-update-action" 88 + "setup-action" 89 + "workflows" 80 90 ]; 81 91 ignoredTreeSitterOrgReposJson = jsonFile "ignored-tree-sitter-org-repos" ignoredTreeSitterOrgRepos; 82 92
+3 -3
pkgs/development/tools/rust/maturin/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "maturin"; 12 - version = "1.5.0"; 12 + version = "1.5.1"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "PyO3"; 16 16 repo = "maturin"; 17 17 rev = "v${version}"; 18 - hash = "sha256-DXPhe6QI1IEPA/Y+qDMu92i18uhXCN0VVJpCoAIDs4c="; 18 + hash = "sha256-3rID2epV1pCwpofFf9Wuafs1SlBWH7e7/4HPaSUAriQ="; 19 19 }; 20 20 21 - cargoHash = "sha256-3K131d7bDvfmAhYWFNyY+qwi7F8vKk3kw4L+fM0LKMo="; 21 + cargoHash = "sha256-hPyPMQm/Oege0PPjYIrd1fEDOGqoQ1ffS2l6o8je4t4="; 22 22 23 23 buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; 24 24
+1 -1
pkgs/development/tools/steamos-devkit/default.nix
··· 23 23 }; 24 24 25 25 nativeBuildInputs = with python3.pkgs; [ 26 - cython 26 + cython_0 27 27 pkg-config 28 28 SDL2 29 29 ];
+2 -2
pkgs/development/web/nodejs/v20.nix
··· 8 8 in 9 9 buildNodejs { 10 10 inherit enableNpm; 11 - version = "20.11.1"; 12 - sha256 = "sha256-d4E+2/P38W0tNdM1NEPe5OYdXuhNnjE4x1OKPAylIJ4="; 11 + version = "20.12.1"; 12 + sha256 = "sha256-aEDUkLpNHVFlXg++EgmVahXbQFUQ1+oWa62YqMnTek4="; 13 13 patches = [ 14 14 ./revert-arm64-pointer-auth.patch 15 15 ./disable-darwin-v8-system-instrumentation-node19.patch
+2
pkgs/os-specific/darwin/apple-sdk-11.0/default.nix
··· 105 105 # conflicting LLVM modules. 106 106 objc4 = stdenv.objc4 or (callPackage ./libobjc.nix { }); 107 107 108 + sdkRoot = pkgs.callPackage ../apple-sdk/sdkRoot.nix { sdkVersion = "11.0"; }; 109 + 108 110 # questionable aliases 109 111 configd = pkgs.darwin.apple_sdk.frameworks.SystemConfiguration; 110 112 inherit (pkgs.darwin.apple_sdk.frameworks) IOKit;
+6
pkgs/os-specific/darwin/apple-sdk/default.nix
··· 352 352 353 353 inherit darwin-stubs; 354 354 355 + objc4 = pkgs.darwin.libobjc; 356 + 357 + sdkRoot = pkgs.callPackage ./sdkRoot.nix { sdkVersion = "10.12"; }; 358 + 359 + inherit (pkgs.darwin) Libsystem; 360 + 355 361 inherit sdk; 356 362 }
+68
pkgs/os-specific/darwin/apple-sdk/sdkRoot.nix
··· 1 + { 2 + lib, 3 + runCommand, 4 + writeText, 5 + sdkVersion, 6 + }: 7 + 8 + let 9 + sdkName = "MacOSX${sdkVersion}"; 10 + toolchainName = "com.apple.dt.toolchain.XcodeDefault"; 11 + productBuildVer = null; 12 + 13 + inherit (lib.generators) toPlist toJSON; 14 + 15 + SDKSettings = { 16 + CanonicalName = "macosx${sdkVersion}"; 17 + DisplayName = "macOS ${sdkVersion}"; 18 + Toolchains = [ toolchainName ]; 19 + Version = sdkVersion; 20 + MaximumDeploymentTarget = "${sdkVersion}.99"; 21 + isBaseSDK = "YES"; 22 + }; 23 + 24 + SystemVersion = 25 + lib.optionalAttrs (productBuildVer != null) { ProductBuildVersion = productBuildVer; } 26 + // { 27 + ProductName = "macOS"; 28 + ProductVersion = sdkVersion; 29 + }; 30 + in 31 + runCommand "sdkroot-${sdkVersion}" { } '' 32 + sdk="$out/${sdkName}.sdk" 33 + 34 + install -D ${writeText "SDKSettings.plist" (toPlist { } SDKSettings)} "$sdk/SDKSettings.plist" 35 + install -D ${writeText "SDKSettings.json" (toJSON { } SDKSettings)} "$sdk/SDKSettings.json" 36 + install -D ${ 37 + writeText "SystemVersion.plist" (toPlist { } SystemVersion) 38 + } "$sdk/System/Library/CoreServices/SystemVersion.plist" 39 + 40 + ln -s "$sdk" "$sdk/usr" 41 + 42 + install -D '${../../../build-support/setup-hooks/role.bash}' "$out/nix-support/setup-hook" 43 + cat >> "$out/nix-support/setup-hook" <<-hook 44 + # 45 + # See comments in cc-wrapper's setup hook. This works exactly the same way. 46 + # 47 + [[ -z \''${strictDeps-} ]] || (( "\$hostOffset" < 0 )) || return 0 48 + 49 + sdkRootHook() { 50 + # See ../../../build-support/setup-hooks/role.bash 51 + local role_post 52 + getHostRoleEnvHook 53 + 54 + # Only set the SDK root if one has not been set via this hook or some other means. 55 + if [[ ! \$NIX_CFLAGS_COMPILE =~ isysroot ]]; then 56 + export NIX_CFLAGS_COMPILE\''${role_post}+=' -isysroot $out/${sdkName}.sdk' 57 + fi 58 + } 59 + 60 + # See ../../../build-support/setup-hooks/role.bash 61 + getTargetRole 62 + 63 + addEnvHooks "\$targetOffset" sdkRootHook 64 + 65 + # No local scope in sourced file 66 + unset -v role_post 67 + hook 68 + ''
+6 -17
pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix
··· 10 10 let 11 11 darling.src = fetchzip { 12 12 url = "https://github.com/darlinghq/darling/archive/d2cc5fa748003aaa70ad4180fff0a9a85dc65e9b.tar.gz"; 13 - sha256 = "11b51fw47nl505h63bgx5kqiyhf3glhp1q6jkpb6nqfislnzzkrf"; 13 + hash = "sha256-/YynrKJdi26Xj4lvp5wsN+TAhZjonOrNNHuk4L5tC7s="; 14 14 postFetch = '' 15 - # The archive contains both `src/opendirectory` and `src/OpenDirectory`, 16 - # pre-create the directory to choose the canonical case on 17 - # case-insensitive filesystems. 18 - mkdir -p $out/src/OpenDirectory 19 - 20 - cd $out 21 - tar -xzf $downloadedFile --strip-components=1 22 - rm -r $out/src/libm 23 - 24 - # If `src/opendirectory` and `src/OpenDirectory` refer to different 25 - # things, then combine them into `src/OpenDirectory` to match the result 26 - # on case-insensitive filesystems. 27 - if [ "$(stat -c %i src/opendirectory)" != "$(stat -c %i src/OpenDirectory)" ]; then 28 - mv src/opendirectory/* src/OpenDirectory/ 29 - rmdir src/opendirectory 30 - fi 15 + # The archive contains both `src/opendirectory` and `src/OpenDirectory`. 16 + # Since neither directory is used for anything, we just remove them to avoid 17 + # the potential issue where file systems with different case sensitivity produce 18 + # different hashes. 19 + rm -rf $out/src/{OpenDirectory,opendirectory} 31 20 ''; 32 21 }; 33 22
+1 -1
pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix
··· 13 13 cp -r dispatch/*.h $out/include/dispatch 14 14 cp -r os/object*.h $out/include/os 15 15 16 - # gcc compatability. Source: https://stackoverflow.com/a/28014302/3714556 16 + # gcc compatibility. Source: https://stackoverflow.com/a/28014302/3714556 17 17 substituteInPlace $out/include/dispatch/object.h \ 18 18 --replace 'typedef void (^dispatch_block_t)(void);' \ 19 19 '#ifdef __clang__
+47 -38
pkgs/os-specific/darwin/binutils/default.nix
··· 11 11 "ld" "strip" "otool" "lipo" "nm" "strings" "size" 12 12 "codesign_allocate" 13 13 ]; 14 + isCCToolsLLVM = lib.getName cctools == "cctools-llvm"; 14 15 in 15 16 16 17 # TODO: loop over targetPrefixed binaries too ··· 33 34 # - strip: the binutils one seems to break mach-o files 34 35 # - lipo: gcc build assumes it exists 35 36 # - nm: the gnu one doesn't understand many new load commands 36 - for i in ${lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do 37 + for i in ${lib.concatStringsSep " " (map (e: targetPrefix + e) cmds)}; do 37 38 ln -sf "${cctools}/bin/$i" "$out/bin/$i" 38 39 done 39 40 ··· 41 42 42 43 ln -s ${binutils-unwrapped.out}/share $out/share 43 44 44 - ln -s ${cctools}/libexec $out/libexec 45 - 46 45 mkdir -p "$man"/share/man/man{1,5} 47 - for i in ${builtins.concatStringsSep " " cmds}; do 46 + for i in ${lib.concatStringsSep " " cmds}; do 48 47 for path in "${cctools.man}"/share/man/man?/$i.*; do 49 48 dest_path="$man''${path#${cctools.man}}" 50 49 ln -sv "$path" "$dest_path" 51 50 done 52 51 done 53 52 '' 54 - # On aarch64-darwin we must use clang, because "as" from cctools just doesn't 55 - # handle the arch. Proxying calls to clang produces quite a bit of warnings, 56 - # and using clang directly here is a better option than relying on cctools. 57 - # On x86_64-darwin the Clang version is too old to support this mode. 58 - + lib.optionalString stdenv.isAarch64 '' 59 - rm $out/bin/${targetPrefix}as 60 - makeWrapper "${clang-unwrapped}/bin/clang" "$out/bin/${targetPrefix}as" \ 61 - --add-flags "-x assembler -integrated-as -c" 62 - '' 63 - # x86-64 Darwin gnat-bootstrap emits assembly 64 - # with MOVQ as the mnemonic for quadword interunit moves 65 - # such as `movq %rbp, %xmm0`. 66 - # The clang integrated assembler recognises this as valid, 67 - # but unfortunately the cctools-port GNU assembler does not; 68 - # it instead uses MOVD as the mnemonic. 69 - # The assembly that a GCC build emits is determined at build time 70 - # and cannot be changed afterwards. 71 - # 72 - # To build GNAT on x86-64 Darwin, therefore, 73 - # we need both the clang _and_ the cctools-port assemblers to be available: 74 - # the former to build at least the stage1 compiler, 75 - # and the latter at least to be detectable 76 - # as the target for the final compiler. 77 - # 78 - # We choose to match the Aarch64 case above, 79 - # wrapping the clang integrated assembler as `as`. 80 - # It then seems sensible to wrap the cctools GNU assembler as `gas`. 81 - # 82 - + lib.optionalString (stdenv.isx86_64 && dualAs) '' 83 - mv $out/bin/${targetPrefix}as $out/bin/${targetPrefix}gas 84 - makeWrapper "${clang-unwrapped}/bin/clang" "$out/bin/${targetPrefix}as" \ 85 - --add-flags "-x assembler -integrated-as -c" 86 - ''; 53 + + lib.optionalString (!isCCToolsLLVM) ( 54 + # cctools-port has a `libexec` folder for `as`, but cctools-llvm uses the clang 55 + # assembler on both platforms. Only link it when cctools is cctools-port. 56 + '' 57 + ln -s ${cctools}/libexec $out/libexec 58 + '' 59 + # cctools-llvm uses the LLVM assembler on both architectures, so use the assembler 60 + # from that instead of relinking it. 61 + # 62 + # On aarch64-darwin we must use clang, because "as" from cctools just doesn't 63 + # handle the arch. Proxying calls to clang produces quite a bit of warnings, 64 + # and using clang directly here is a better option than relying on cctools. 65 + # On x86_64-darwin the Clang version is too old to support this mode. 66 + + lib.optionalString stdenv.isAarch64 '' 67 + rm $out/bin/${targetPrefix}as 68 + makeWrapper "${clang-unwrapped}/bin/clang" "$out/bin/${targetPrefix}as" \ 69 + --add-flags "-x assembler -integrated-as -c" 70 + '' 71 + # x86-64 Darwin gnat-bootstrap emits assembly 72 + # with MOVQ as the mnemonic for quadword interunit moves 73 + # such as `movq %rbp, %xmm0`. 74 + # The clang integrated assembler recognises this as valid, 75 + # but unfortunately the cctools-port GNU assembler does not; 76 + # it instead uses MOVD as the mnemonic. 77 + # The assembly that a GCC build emits is determined at build time 78 + # and cannot be changed afterwards. 79 + # 80 + # To build GNAT on x86-64 Darwin, therefore, 81 + # we need both the clang _and_ the cctools-port assemblers to be available: 82 + # the former to build at least the stage1 compiler, 83 + # and the latter at least to be detectable 84 + # as the target for the final compiler. 85 + # 86 + # We choose to match the Aarch64 case above, 87 + # wrapping the clang integrated assembler as `as`. 88 + # It then seems sensible to wrap the cctools GNU assembler as `gas`. 89 + # 90 + + lib.optionalString (stdenv.isx86_64 && dualAs) '' 91 + mv $out/bin/${targetPrefix}as $out/bin/${targetPrefix}gas 92 + makeWrapper "${clang-unwrapped}/bin/clang" "$out/bin/${targetPrefix}as" \ 93 + --add-flags "-x assembler -integrated-as -c" 94 + '' 95 + ); 87 96 88 - nativeBuildInputs = lib.optionals (stdenv.isAarch64 || dualAs) [ makeWrapper ]; 97 + nativeBuildInputs = lib.optionals (!isCCToolsLLVM && (stdenv.isAarch64 || dualAs)) [ makeWrapper ]; 89 98 90 99 passthru = { 91 100 inherit targetPrefix;
+2 -2
pkgs/os-specific/linux/bcc/default.nix
··· 20 20 21 21 python3.pkgs.buildPythonApplication rec { 22 22 pname = "bcc"; 23 - version = "0.29.1"; 23 + version = "0.30.0"; 24 24 25 25 disabled = !stdenv.isLinux; 26 26 ··· 28 28 owner = "iovisor"; 29 29 repo = "bcc"; 30 30 rev = "v${version}"; 31 - hash = "sha256-+HYCweAI5axx0ZNFd/jLRXkUinRLDmKWMpLTk7FrEe0="; 31 + hash = "sha256-ngGLGfLv2prnjhgaRPf8ea3oyy4129zGodR0Yz1QtCw="; 32 32 }; 33 33 format = "other"; 34 34
+2 -2
pkgs/os-specific/linux/cryptsetup/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "cryptsetup"; 17 - version = "2.7.0"; 17 + version = "2.7.1"; 18 18 19 19 outputs = [ "bin" "out" "dev" "man" ]; 20 20 separateDebugInfo = true; 21 21 22 22 src = fetchurl { 23 23 url = "mirror://kernel/linux/utils/cryptsetup/v${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - hash = "sha256-lAA6AM1agZRPRejcUp4M/Spv9im9LNIc9eV05GXa95U="; 24 + hash = "sha256-2l0UGeKobgGqMv15WCzVTSCIV8tUG8ov1Cal/xqqu8M="; 25 25 }; 26 26 27 27 patches = [
+2 -2
pkgs/os-specific/linux/ell/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "ell"; 12 - version = "0.63"; 12 + version = "0.64"; 13 13 14 14 outputs = [ "out" "dev" ]; 15 15 16 16 src = fetchgit { 17 17 url = "https://git.kernel.org/pub/scm/libs/ell/ell.git"; 18 18 rev = version; 19 - hash = "sha256-husK3eurfL1NhRHgJUdFP6sYLqeZ4NSHa/tU8PUWmGo="; 19 + hash = "sha256-LONfgFgPg8KCDwtw//WTOYQT9RpnIskdHAWcgafOhcg="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+2 -2
pkgs/os-specific/linux/hwdata/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hwdata"; 5 - version = "0.380"; 5 + version = "0.381"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "vcrhonek"; 9 9 repo = "hwdata"; 10 10 rev = "v${version}"; 11 - hash = "sha256-Ioa0tUiwgOZO3qrtwAr9A/yGfYTBk83OON8Sr47J9Mg="; 11 + hash = "sha256-FD1p4qyO+ZsBdMXRa9u6CpO07RewWH8OxULLxcYAsyk="; 12 12 }; 13 13 14 14 configureFlags = [ "--datadir=${placeholder "out"}/share" ];
+2 -2
pkgs/os-specific/linux/iproute/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 2 , buildPackages, bison, flex, pkg-config 3 - , db, iptables, libelf, libmnl 3 + , db, iptables, elfutils, libmnl 4 4 , gitUpdater 5 5 }: 6 6 ··· 46 46 47 47 depsBuildBuild = [ buildPackages.stdenv.cc ]; # netem requires $HOSTCC 48 48 nativeBuildInputs = [ bison flex pkg-config ]; 49 - buildInputs = [ db iptables libelf libmnl ]; 49 + buildInputs = [ db iptables elfutils libmnl ]; 50 50 51 51 enableParallelBuilding = true; 52 52
+4 -4
pkgs/os-specific/linux/iwd/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "iwd"; 16 - version = "2.16"; 16 + version = "2.17"; 17 17 18 18 src = fetchgit { 19 19 url = "https://git.kernel.org/pub/scm/network/wireless/iwd.git"; 20 20 rev = version; 21 - hash = "sha256-YWtiI2HkGyIdUeBXerQtN5UvgaMaUs9eoG88ZUQRrDg="; 21 + hash = "sha256-o/Q8vUtB4Yiz1x+/6+8LUKUQNtiAmwcdh++/tTUN4mM="; 22 22 }; 23 23 24 24 outputs = [ "out" "man" "doc" ] ··· 81 81 82 82 postFixup = '' 83 83 substituteInPlace $out/share/dbus-1/system-services/net.connman.ead.service \ 84 - --replace /bin/false ${coreutils}/bin/false 84 + --replace-fail /bin/false ${coreutils}/bin/false 85 85 substituteInPlace $out/share/dbus-1/system-services/net.connman.iwd.service \ 86 - --replace /bin/false ${coreutils}/bin/false 86 + --replace-fail /bin/false ${coreutils}/bin/false 87 87 ''; 88 88 89 89 enableParallelBuilding = true;
+14
pkgs/os-specific/linux/kernel/patches.nix
··· 79 79 hash = "sha256-q3iNBo8t4b1Rn5k5lau2myqOAqdA/9V9A+ok2jGkLdY="; 80 80 }; 81 81 }; 82 + 83 + rust_1_77-6_8 = { 84 + name = "rust-1.77.patch"; 85 + patch = fetchurl { 86 + name = "rust-1.77.patch"; 87 + url = "https://lore.kernel.org/rust-for-linux/20240217002717.57507-1-ojeda@kernel.org/raw"; 88 + hash = "sha256-0KW9nHpJeMSDssCPXWZbrN8kxq5bA434t+XuPfwslUc="; 89 + }; 90 + }; 91 + 92 + rust_1_77-6_9 = { 93 + name = "rust-1.77.patch"; 94 + patch = ./rust-1.77.patch; 95 + }; 82 96 }
+792
pkgs/os-specific/linux/kernel/rust-1.77.patch
··· 1 + From d69265b7d756931b2e763a3262f22ba4100895a0 Mon Sep 17 00:00:00 2001 2 + From: Miguel Ojeda <ojeda@kernel.org> 3 + Date: Sat, 17 Feb 2024 01:27:17 +0100 4 + Subject: [PATCH] rust: upgrade to Rust 1.77.0 5 + 6 + This is the next upgrade to the Rust toolchain, from 1.76.0 to 1.77.0 7 + (i.e. the latest) [1]. 8 + 9 + See the upgrade policy [2] and the comments on the first upgrade in 10 + commit 3ed03f4da06e ("rust: upgrade to Rust 1.68.2"). 11 + 12 + The `offset_of` feature (single-field `offset_of!`) that we were using 13 + got stabilized in Rust 1.77.0 [3]. 14 + 15 + Therefore, now the only unstable features allowed to be used outside the 16 + `kernel` crate is `new_uninit`, though other code to be upstreamed may 17 + increase the list. 18 + 19 + Please see [4] for details. 20 + 21 + Rust 1.77.0 merged the `unused_tuple_struct_fields` lint into `dead_code`, 22 + thus upgrading it from `allow` to `warn` [5]. In turn, this makes `rustc` 23 + complain about the `ThisModule`'s pointer field being never read. Thus 24 + locally `allow` it for the moment, since we will have users later on 25 + (e.g. Binder needs a `as_ptr` method [6]). 26 + 27 + Rust 1.77.0 introduces the `--check-cfg` feature [7], for which there 28 + is a Call for Testing going on [8]. We were requested to test it and 29 + we found it useful [9] -- we will likely enable it in the future. 30 + 31 + The vast majority of changes are due to our `alloc` fork being upgraded 32 + at once. 33 + 34 + There are two kinds of changes to be aware of: the ones coming from 35 + upstream, which we should follow as closely as possible, and the updates 36 + needed in our added fallible APIs to keep them matching the newer 37 + infallible APIs coming from upstream. 38 + 39 + Instead of taking a look at the diff of this patch, an alternative 40 + approach is reviewing a diff of the changes between upstream `alloc` and 41 + the kernel's. This allows to easily inspect the kernel additions only, 42 + especially to check if the fallible methods we already have still match 43 + the infallible ones in the new version coming from upstream. 44 + 45 + Another approach is reviewing the changes introduced in the additions in 46 + the kernel fork between the two versions. This is useful to spot 47 + potentially unintended changes to our additions. 48 + 49 + To apply these approaches, one may follow steps similar to the following 50 + to generate a pair of patches that show the differences between upstream 51 + Rust and the kernel (for the subset of `alloc` we use) before and after 52 + applying this patch: 53 + 54 + # Get the difference with respect to the old version. 55 + git -C rust checkout $(linux/scripts/min-tool-version.sh rustc) 56 + git -C linux ls-tree -r --name-only HEAD -- rust/alloc | 57 + cut -d/ -f3- | 58 + grep -Fv README.md | 59 + xargs -IPATH cp rust/library/alloc/src/PATH linux/rust/alloc/PATH 60 + git -C linux diff --patch-with-stat --summary -R > old.patch 61 + git -C linux restore rust/alloc 62 + 63 + # Apply this patch. 64 + git -C linux am rust-upgrade.patch 65 + 66 + # Get the difference with respect to the new version. 67 + git -C rust checkout $(linux/scripts/min-tool-version.sh rustc) 68 + git -C linux ls-tree -r --name-only HEAD -- rust/alloc | 69 + cut -d/ -f3- | 70 + grep -Fv README.md | 71 + xargs -IPATH cp rust/library/alloc/src/PATH linux/rust/alloc/PATH 72 + git -C linux diff --patch-with-stat --summary -R > new.patch 73 + git -C linux restore rust/alloc 74 + 75 + Now one may check the `new.patch` to take a look at the additions (first 76 + approach) or at the difference between those two patches (second 77 + approach). For the latter, a side-by-side tool is recommended. 78 + 79 + Link: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1770-2024-03-21 [1] 80 + Link: https://rust-for-linux.com/rust-version-policy [2] 81 + Link: https://github.com/rust-lang/rust/pull/118799 [3] 82 + Link: https://github.com/Rust-for-Linux/linux/issues/2 [4] 83 + Link: https://github.com/rust-lang/rust/pull/118297 [5] 84 + Link: https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-2-08ba9197f637@google.com/#Z31rust:kernel:lib.rs [6] 85 + Link: https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html [7] 86 + Link: https://github.com/rust-lang/rfcs/pull/3013#issuecomment-1936648479 [8] 87 + Link: https://github.com/rust-lang/rust/issues/82450#issuecomment-1947462977 [9] 88 + Signed-off-by: Miguel Ojeda <ojeda@kernel.org> 89 + Link: https://lore.kernel.org/r/20240217002717.57507-1-ojeda@kernel.org 90 + Link: https://github.com/Rust-for-Linux/linux/commit/d69265b7d756931b2e763a3262f22ba4100895a0 91 + Signed-off-by: Alyssa Ross <hi@alyssa.is> 92 + --- 93 + Documentation/process/changes.rst | 2 +- 94 + rust/alloc/alloc.rs | 6 +- 95 + rust/alloc/boxed.rs | 4 +- 96 + rust/alloc/lib.rs | 7 +- 97 + rust/alloc/raw_vec.rs | 13 ++-- 98 + rust/alloc/slice.rs | 4 +- 99 + rust/alloc/vec/into_iter.rs | 108 +++++++++++++++++++----------- 100 + rust/alloc/vec/mod.rs | 101 +++++++++++++++++++--------- 101 + rust/kernel/lib.rs | 3 +- 102 + scripts/Makefile.build | 2 +- 103 + scripts/min-tool-version.sh | 2 +- 104 + 11 files changed, 161 insertions(+), 91 deletions(-) 105 + 106 + diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst 107 + index 7ef8de58f7f892..879ee628893ae1 100644 108 + --- a/Documentation/process/changes.rst 109 + +++ b/Documentation/process/changes.rst 110 + @@ -31,7 +31,7 @@ you probably needn't concern yourself with pcmciautils. 111 + ====================== =============== ======================================== 112 + GNU C 5.1 gcc --version 113 + Clang/LLVM (optional) 13.0.1 clang --version 114 + -Rust (optional) 1.76.0 rustc --version 115 + +Rust (optional) 1.77.0 rustc --version 116 + bindgen (optional) 0.65.1 bindgen --version 117 + GNU make 3.82 make --version 118 + bash 4.2 bash --version 119 + diff --git a/rust/alloc/alloc.rs b/rust/alloc/alloc.rs 120 + index abb791cc23715a..b1204f87227b23 100644 121 + --- a/rust/alloc/alloc.rs 122 + +++ b/rust/alloc/alloc.rs 123 + @@ -5,7 +5,7 @@ 124 + #![stable(feature = "alloc_module", since = "1.28.0")] 125 + 126 + #[cfg(not(test))] 127 + -use core::intrinsics; 128 + +use core::hint; 129 + 130 + #[cfg(not(test))] 131 + use core::ptr::{self, NonNull}; 132 + @@ -210,7 +210,7 @@ impl Global { 133 + let new_size = new_layout.size(); 134 + 135 + // `realloc` probably checks for `new_size >= old_layout.size()` or something similar. 136 + - intrinsics::assume(new_size >= old_layout.size()); 137 + + hint::assert_unchecked(new_size >= old_layout.size()); 138 + 139 + let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); 140 + let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; 141 + @@ -301,7 +301,7 @@ unsafe impl Allocator for Global { 142 + // SAFETY: `new_size` is non-zero. Other conditions must be upheld by the caller 143 + new_size if old_layout.align() == new_layout.align() => unsafe { 144 + // `realloc` probably checks for `new_size <= old_layout.size()` or something similar. 145 + - intrinsics::assume(new_size <= old_layout.size()); 146 + + hint::assert_unchecked(new_size <= old_layout.size()); 147 + 148 + let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); 149 + let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; 150 + diff --git a/rust/alloc/boxed.rs b/rust/alloc/boxed.rs 151 + index c93a22a5c97f14..5fc39dfeb8e7bf 100644 152 + --- a/rust/alloc/boxed.rs 153 + +++ b/rust/alloc/boxed.rs 154 + @@ -26,6 +26,7 @@ 155 + //! Creating a recursive data structure: 156 + //! 157 + //! ``` 158 + +//! ##[allow(dead_code)] 159 + //! #[derive(Debug)] 160 + //! enum List<T> { 161 + //! Cons(T, Box<List<T>>), 162 + @@ -194,8 +195,7 @@ mod thin; 163 + #[fundamental] 164 + #[stable(feature = "rust1", since = "1.0.0")] 165 + // The declaration of the `Box` struct must be kept in sync with the 166 + -// `alloc::alloc::box_free` function or ICEs will happen. See the comment 167 + -// on `box_free` for more details. 168 + +// compiler or ICEs will happen. 169 + pub struct Box< 170 + T: ?Sized, 171 + #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global, 172 + diff --git a/rust/alloc/lib.rs b/rust/alloc/lib.rs 173 + index 36f79c07559338..39afd55ec0749e 100644 174 + --- a/rust/alloc/lib.rs 175 + +++ b/rust/alloc/lib.rs 176 + @@ -105,7 +105,6 @@ 177 + #![feature(allocator_api)] 178 + #![feature(array_chunks)] 179 + #![feature(array_into_iter_constructors)] 180 + -#![feature(array_methods)] 181 + #![feature(array_windows)] 182 + #![feature(ascii_char)] 183 + #![feature(assert_matches)] 184 + @@ -122,7 +121,6 @@ 185 + #![feature(const_size_of_val)] 186 + #![feature(const_waker)] 187 + #![feature(core_intrinsics)] 188 + -#![feature(core_panic)] 189 + #![feature(deprecated_suggestion)] 190 + #![feature(dispatch_from_dyn)] 191 + #![feature(error_generic_member_access)] 192 + @@ -132,6 +130,7 @@ 193 + #![feature(fmt_internals)] 194 + #![feature(fn_traits)] 195 + #![feature(hasher_prefixfree_extras)] 196 + +#![feature(hint_assert_unchecked)] 197 + #![feature(inline_const)] 198 + #![feature(inplace_iteration)] 199 + #![feature(iter_advance_by)] 200 + @@ -141,6 +140,8 @@ 201 + #![feature(maybe_uninit_slice)] 202 + #![feature(maybe_uninit_uninit_array)] 203 + #![feature(maybe_uninit_uninit_array_transpose)] 204 + +#![feature(non_null_convenience)] 205 + +#![feature(panic_internals)] 206 + #![feature(pattern)] 207 + #![feature(ptr_internals)] 208 + #![feature(ptr_metadata)] 209 + @@ -149,7 +150,6 @@ 210 + #![feature(set_ptr_value)] 211 + #![feature(sized_type_properties)] 212 + #![feature(slice_from_ptr_range)] 213 + -#![feature(slice_group_by)] 214 + #![feature(slice_ptr_get)] 215 + #![feature(slice_ptr_len)] 216 + #![feature(slice_range)] 217 + @@ -182,6 +182,7 @@ 218 + #![feature(const_ptr_write)] 219 + #![feature(const_trait_impl)] 220 + #![feature(const_try)] 221 + +#![feature(decl_macro)] 222 + #![feature(dropck_eyepatch)] 223 + #![feature(exclusive_range_pattern)] 224 + #![feature(fundamental)] 225 + diff --git a/rust/alloc/raw_vec.rs b/rust/alloc/raw_vec.rs 226 + index 98b6abf30af6e4..1839d1c8ee7a04 100644 227 + --- a/rust/alloc/raw_vec.rs 228 + +++ b/rust/alloc/raw_vec.rs 229 + @@ -4,7 +4,7 @@ 230 + 231 + use core::alloc::LayoutError; 232 + use core::cmp; 233 + -use core::intrinsics; 234 + +use core::hint; 235 + use core::mem::{self, ManuallyDrop, MaybeUninit, SizedTypeProperties}; 236 + use core::ptr::{self, NonNull, Unique}; 237 + use core::slice; 238 + @@ -317,7 +317,7 @@ impl<T, A: Allocator> RawVec<T, A> { 239 + /// 240 + /// # Panics 241 + /// 242 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 243 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 244 + /// 245 + /// # Aborts 246 + /// 247 + @@ -358,7 +358,7 @@ impl<T, A: Allocator> RawVec<T, A> { 248 + } 249 + unsafe { 250 + // Inform the optimizer that the reservation has succeeded or wasn't needed 251 + - core::intrinsics::assume(!self.needs_to_grow(len, additional)); 252 + + hint::assert_unchecked(!self.needs_to_grow(len, additional)); 253 + } 254 + Ok(()) 255 + } 256 + @@ -381,7 +381,7 @@ impl<T, A: Allocator> RawVec<T, A> { 257 + /// 258 + /// # Panics 259 + /// 260 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 261 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 262 + /// 263 + /// # Aborts 264 + /// 265 + @@ -402,7 +402,7 @@ impl<T, A: Allocator> RawVec<T, A> { 266 + } 267 + unsafe { 268 + // Inform the optimizer that the reservation has succeeded or wasn't needed 269 + - core::intrinsics::assume(!self.needs_to_grow(len, additional)); 270 + + hint::assert_unchecked(!self.needs_to_grow(len, additional)); 271 + } 272 + Ok(()) 273 + } 274 + @@ -553,7 +553,7 @@ where 275 + debug_assert_eq!(old_layout.align(), new_layout.align()); 276 + unsafe { 277 + // The allocator checks for alignment equality 278 + - intrinsics::assume(old_layout.align() == new_layout.align()); 279 + + hint::assert_unchecked(old_layout.align() == new_layout.align()); 280 + alloc.grow(ptr, old_layout, new_layout) 281 + } 282 + } else { 283 + @@ -591,7 +591,6 @@ fn handle_reserve(result: Result<(), TryReserveError>) { 284 + // `> isize::MAX` bytes will surely fail. On 32-bit and 16-bit we need to add 285 + // an extra guard for this in case we're running on a platform which can use 286 + // all 4GB in user-space, e.g., PAE or x32. 287 + - 288 + #[inline] 289 + fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> { 290 + if usize::BITS < 64 && alloc_size > isize::MAX as usize { 291 + diff --git a/rust/alloc/slice.rs b/rust/alloc/slice.rs 292 + index 1181836da5f462..a36b072c95195f 100644 293 + --- a/rust/alloc/slice.rs 294 + +++ b/rust/alloc/slice.rs 295 + @@ -53,14 +53,14 @@ pub use core::slice::{from_mut, from_ref}; 296 + pub use core::slice::{from_mut_ptr_range, from_ptr_range}; 297 + #[stable(feature = "rust1", since = "1.0.0")] 298 + pub use core::slice::{from_raw_parts, from_raw_parts_mut}; 299 + +#[stable(feature = "slice_group_by", since = "1.77.0")] 300 + +pub use core::slice::{ChunkBy, ChunkByMut}; 301 + #[stable(feature = "rust1", since = "1.0.0")] 302 + pub use core::slice::{Chunks, Windows}; 303 + #[stable(feature = "chunks_exact", since = "1.31.0")] 304 + pub use core::slice::{ChunksExact, ChunksExactMut}; 305 + #[stable(feature = "rust1", since = "1.0.0")] 306 + pub use core::slice::{ChunksMut, Split, SplitMut}; 307 + -#[unstable(feature = "slice_group_by", issue = "80552")] 308 + -pub use core::slice::{GroupBy, GroupByMut}; 309 + #[stable(feature = "rust1", since = "1.0.0")] 310 + pub use core::slice::{Iter, IterMut}; 311 + #[stable(feature = "rchunks", since = "1.31.0")] 312 + diff --git a/rust/alloc/vec/into_iter.rs b/rust/alloc/vec/into_iter.rs 313 + index 136bfe94af6c83..0f11744c44b34c 100644 314 + --- a/rust/alloc/vec/into_iter.rs 315 + +++ b/rust/alloc/vec/into_iter.rs 316 + @@ -20,6 +20,17 @@ use core::ops::Deref; 317 + use core::ptr::{self, NonNull}; 318 + use core::slice::{self}; 319 + 320 + +macro non_null { 321 + + (mut $place:expr, $t:ident) => {{ 322 + + #![allow(unused_unsafe)] // we're sometimes used within an unsafe block 323 + + unsafe { &mut *(ptr::addr_of_mut!($place) as *mut NonNull<$t>) } 324 + + }}, 325 + + ($place:expr, $t:ident) => {{ 326 + + #![allow(unused_unsafe)] // we're sometimes used within an unsafe block 327 + + unsafe { *(ptr::addr_of!($place) as *const NonNull<$t>) } 328 + + }}, 329 + +} 330 + + 331 + /// An iterator that moves out of a vector. 332 + /// 333 + /// This `struct` is created by the `into_iter` method on [`Vec`](super::Vec) 334 + @@ -43,10 +54,12 @@ pub struct IntoIter< 335 + // the drop impl reconstructs a RawVec from buf, cap and alloc 336 + // to avoid dropping the allocator twice we need to wrap it into ManuallyDrop 337 + pub(super) alloc: ManuallyDrop<A>, 338 + - pub(super) ptr: *const T, 339 + - pub(super) end: *const T, // If T is a ZST, this is actually ptr+len. This encoding is picked so that 340 + - // ptr == end is a quick test for the Iterator being empty, that works 341 + - // for both ZST and non-ZST. 342 + + pub(super) ptr: NonNull<T>, 343 + + /// If T is a ZST, this is actually ptr+len. This encoding is picked so that 344 + + /// ptr == end is a quick test for the Iterator being empty, that works 345 + + /// for both ZST and non-ZST. 346 + + /// For non-ZSTs the pointer is treated as `NonNull<T>` 347 + + pub(super) end: *const T, 348 + } 349 + 350 + #[stable(feature = "vec_intoiter_debug", since = "1.13.0")] 351 + @@ -70,7 +83,7 @@ impl<T, A: Allocator> IntoIter<T, A> { 352 + /// ``` 353 + #[stable(feature = "vec_into_iter_as_slice", since = "1.15.0")] 354 + pub fn as_slice(&self) -> &[T] { 355 + - unsafe { slice::from_raw_parts(self.ptr, self.len()) } 356 + + unsafe { slice::from_raw_parts(self.ptr.as_ptr(), self.len()) } 357 + } 358 + 359 + /// Returns the remaining items of this iterator as a mutable slice. 360 + @@ -99,7 +112,7 @@ impl<T, A: Allocator> IntoIter<T, A> { 361 + } 362 + 363 + fn as_raw_mut_slice(&mut self) -> *mut [T] { 364 + - ptr::slice_from_raw_parts_mut(self.ptr as *mut T, self.len()) 365 + + ptr::slice_from_raw_parts_mut(self.ptr.as_ptr(), self.len()) 366 + } 367 + 368 + /// Drops remaining elements and relinquishes the backing allocation. 369 + @@ -126,7 +139,7 @@ impl<T, A: Allocator> IntoIter<T, A> { 370 + // this creates less assembly 371 + self.cap = 0; 372 + self.buf = unsafe { NonNull::new_unchecked(RawVec::NEW.ptr()) }; 373 + - self.ptr = self.buf.as_ptr(); 374 + + self.ptr = self.buf; 375 + self.end = self.buf.as_ptr(); 376 + 377 + // Dropping the remaining elements can panic, so this needs to be 378 + @@ -138,9 +151,9 @@ impl<T, A: Allocator> IntoIter<T, A> { 379 + 380 + /// Forgets to Drop the remaining elements while still allowing the backing allocation to be freed. 381 + pub(crate) fn forget_remaining_elements(&mut self) { 382 + - // For th ZST case, it is crucial that we mutate `end` here, not `ptr`. 383 + + // For the ZST case, it is crucial that we mutate `end` here, not `ptr`. 384 + // `ptr` must stay aligned, while `end` may be unaligned. 385 + - self.end = self.ptr; 386 + + self.end = self.ptr.as_ptr(); 387 + } 388 + 389 + #[cfg(not(no_global_oom_handling))] 390 + @@ -162,7 +175,7 @@ impl<T, A: Allocator> IntoIter<T, A> { 391 + // say that they're all at the beginning of the "allocation". 392 + 0..this.len() 393 + } else { 394 + - this.ptr.sub_ptr(buf)..this.end.sub_ptr(buf) 395 + + this.ptr.sub_ptr(this.buf)..this.end.sub_ptr(buf) 396 + }; 397 + let cap = this.cap; 398 + let alloc = ManuallyDrop::take(&mut this.alloc); 399 + @@ -189,29 +202,35 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> { 400 + 401 + #[inline] 402 + fn next(&mut self) -> Option<T> { 403 + - if self.ptr == self.end { 404 + - None 405 + - } else if T::IS_ZST { 406 + - // `ptr` has to stay where it is to remain aligned, so we reduce the length by 1 by 407 + - // reducing the `end`. 408 + - self.end = self.end.wrapping_byte_sub(1); 409 + - 410 + - // Make up a value of this ZST. 411 + - Some(unsafe { mem::zeroed() }) 412 + + if T::IS_ZST { 413 + + if self.ptr.as_ptr() == self.end as *mut _ { 414 + + None 415 + + } else { 416 + + // `ptr` has to stay where it is to remain aligned, so we reduce the length by 1 by 417 + + // reducing the `end`. 418 + + self.end = self.end.wrapping_byte_sub(1); 419 + + 420 + + // Make up a value of this ZST. 421 + + Some(unsafe { mem::zeroed() }) 422 + + } 423 + } else { 424 + - let old = self.ptr; 425 + - self.ptr = unsafe { self.ptr.add(1) }; 426 + + if self.ptr == non_null!(self.end, T) { 427 + + None 428 + + } else { 429 + + let old = self.ptr; 430 + + self.ptr = unsafe { old.add(1) }; 431 + 432 + - Some(unsafe { ptr::read(old) }) 433 + + Some(unsafe { ptr::read(old.as_ptr()) }) 434 + + } 435 + } 436 + } 437 + 438 + #[inline] 439 + fn size_hint(&self) -> (usize, Option<usize>) { 440 + let exact = if T::IS_ZST { 441 + - self.end.addr().wrapping_sub(self.ptr.addr()) 442 + + self.end.addr().wrapping_sub(self.ptr.as_ptr().addr()) 443 + } else { 444 + - unsafe { self.end.sub_ptr(self.ptr) } 445 + + unsafe { non_null!(self.end, T).sub_ptr(self.ptr) } 446 + }; 447 + (exact, Some(exact)) 448 + } 449 + @@ -219,7 +238,7 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> { 450 + #[inline] 451 + fn advance_by(&mut self, n: usize) -> Result<(), NonZeroUsize> { 452 + let step_size = self.len().min(n); 453 + - let to_drop = ptr::slice_from_raw_parts_mut(self.ptr as *mut T, step_size); 454 + + let to_drop = ptr::slice_from_raw_parts_mut(self.ptr.as_ptr(), step_size); 455 + if T::IS_ZST { 456 + // See `next` for why we sub `end` here. 457 + self.end = self.end.wrapping_byte_sub(step_size); 458 + @@ -261,7 +280,7 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> { 459 + // Safety: `len` indicates that this many elements are available and we just checked that 460 + // it fits into the array. 461 + unsafe { 462 + - ptr::copy_nonoverlapping(self.ptr, raw_ary.as_mut_ptr() as *mut T, len); 463 + + ptr::copy_nonoverlapping(self.ptr.as_ptr(), raw_ary.as_mut_ptr() as *mut T, len); 464 + self.forget_remaining_elements(); 465 + return Err(array::IntoIter::new_unchecked(raw_ary, 0..len)); 466 + } 467 + @@ -270,7 +289,7 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> { 468 + // Safety: `len` is larger than the array size. Copy a fixed amount here to fully initialize 469 + // the array. 470 + return unsafe { 471 + - ptr::copy_nonoverlapping(self.ptr, raw_ary.as_mut_ptr() as *mut T, N); 472 + + ptr::copy_nonoverlapping(self.ptr.as_ptr(), raw_ary.as_mut_ptr() as *mut T, N); 473 + self.ptr = self.ptr.add(N); 474 + Ok(raw_ary.transpose().assume_init()) 475 + }; 476 + @@ -288,7 +307,7 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> { 477 + // Also note the implementation of `Self: TrustedRandomAccess` requires 478 + // that `T: Copy` so reading elements from the buffer doesn't invalidate 479 + // them for `Drop`. 480 + - unsafe { if T::IS_ZST { mem::zeroed() } else { ptr::read(self.ptr.add(i)) } } 481 + + unsafe { if T::IS_ZST { mem::zeroed() } else { self.ptr.add(i).read() } } 482 + } 483 + } 484 + 485 + @@ -296,18 +315,25 @@ impl<T, A: Allocator> Iterator for IntoIter<T, A> { 486 + impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> { 487 + #[inline] 488 + fn next_back(&mut self) -> Option<T> { 489 + - if self.end == self.ptr { 490 + - None 491 + - } else if T::IS_ZST { 492 + - // See above for why 'ptr.offset' isn't used 493 + - self.end = self.end.wrapping_byte_sub(1); 494 + - 495 + - // Make up a value of this ZST. 496 + - Some(unsafe { mem::zeroed() }) 497 + + if T::IS_ZST { 498 + + if self.end as *mut _ == self.ptr.as_ptr() { 499 + + None 500 + + } else { 501 + + // See above for why 'ptr.offset' isn't used 502 + + self.end = self.end.wrapping_byte_sub(1); 503 + + 504 + + // Make up a value of this ZST. 505 + + Some(unsafe { mem::zeroed() }) 506 + + } 507 + } else { 508 + - self.end = unsafe { self.end.sub(1) }; 509 + + if non_null!(self.end, T) == self.ptr { 510 + + None 511 + + } else { 512 + + let new_end = unsafe { non_null!(self.end, T).sub(1) }; 513 + + *non_null!(mut self.end, T) = new_end; 514 + 515 + - Some(unsafe { ptr::read(self.end) }) 516 + + Some(unsafe { ptr::read(new_end.as_ptr()) }) 517 + + } 518 + } 519 + } 520 + 521 + @@ -333,7 +359,11 @@ impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> { 522 + #[stable(feature = "rust1", since = "1.0.0")] 523 + impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> { 524 + fn is_empty(&self) -> bool { 525 + - self.ptr == self.end 526 + + if T::IS_ZST { 527 + + self.ptr.as_ptr() == self.end as *mut _ 528 + + } else { 529 + + self.ptr == non_null!(self.end, T) 530 + + } 531 + } 532 + } 533 + 534 + diff --git a/rust/alloc/vec/mod.rs b/rust/alloc/vec/mod.rs 535 + index 220fb9d6f45b3f..0be27fff4554a1 100644 536 + --- a/rust/alloc/vec/mod.rs 537 + +++ b/rust/alloc/vec/mod.rs 538 + @@ -360,7 +360,7 @@ mod spec_extend; 539 + /// 540 + /// `vec![x; n]`, `vec![a, b, c, d]`, and 541 + /// [`Vec::with_capacity(n)`][`Vec::with_capacity`], will all produce a `Vec` 542 + -/// with exactly the requested capacity. If <code>[len] == [capacity]</code>, 543 + +/// with at least the requested capacity. If <code>[len] == [capacity]</code>, 544 + /// (as is the case for the [`vec!`] macro), then a `Vec<T>` can be converted to 545 + /// and from a [`Box<[T]>`][owned slice] without reallocating or moving the elements. 546 + /// 547 + @@ -447,7 +447,7 @@ impl<T> Vec<T> { 548 + /// 549 + /// # Panics 550 + /// 551 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 552 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 553 + /// 554 + /// # Examples 555 + /// 556 + @@ -690,7 +690,7 @@ impl<T, A: Allocator> Vec<T, A> { 557 + /// 558 + /// # Panics 559 + /// 560 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 561 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 562 + /// 563 + /// # Examples 564 + /// 565 + @@ -1013,7 +1013,7 @@ impl<T, A: Allocator> Vec<T, A> { 566 + /// 567 + /// # Panics 568 + /// 569 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 570 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 571 + /// 572 + /// # Examples 573 + /// 574 + @@ -1043,7 +1043,7 @@ impl<T, A: Allocator> Vec<T, A> { 575 + /// 576 + /// # Panics 577 + /// 578 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 579 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 580 + /// 581 + /// # Examples 582 + /// 583 + @@ -1140,8 +1140,11 @@ impl<T, A: Allocator> Vec<T, A> { 584 + 585 + /// Shrinks the capacity of the vector as much as possible. 586 + /// 587 + - /// It will drop down as close as possible to the length but the allocator 588 + - /// may still inform the vector that there is space for a few more elements. 589 + + /// The behavior of this method depends on the allocator, which may either shrink the vector 590 + + /// in-place or reallocate. The resulting vector might still have some excess capacity, just as 591 + + /// is the case for [`with_capacity`]. See [`Allocator::shrink`] for more details. 592 + + /// 593 + + /// [`with_capacity`]: Vec::with_capacity 594 + /// 595 + /// # Examples 596 + /// 597 + @@ -1191,10 +1194,10 @@ impl<T, A: Allocator> Vec<T, A> { 598 + 599 + /// Converts the vector into [`Box<[T]>`][owned slice]. 600 + /// 601 + - /// If the vector has excess capacity, its items will be moved into a 602 + - /// newly-allocated buffer with exactly the right capacity. 603 + + /// Before doing the conversion, this method discards excess capacity like [`shrink_to_fit`]. 604 + /// 605 + /// [owned slice]: Box 606 + + /// [`shrink_to_fit`]: Vec::shrink_to_fit 607 + /// 608 + /// # Examples 609 + /// 610 + @@ -2017,7 +2020,7 @@ impl<T, A: Allocator> Vec<T, A> { 611 + /// 612 + /// # Panics 613 + /// 614 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 615 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 616 + /// 617 + /// # Examples 618 + /// 619 + @@ -2133,7 +2136,7 @@ impl<T, A: Allocator> Vec<T, A> { 620 + } else { 621 + unsafe { 622 + self.len -= 1; 623 + - core::intrinsics::assume(self.len < self.capacity()); 624 + + core::hint::assert_unchecked(self.len < self.capacity()); 625 + Some(ptr::read(self.as_ptr().add(self.len()))) 626 + } 627 + } 628 + @@ -2143,7 +2146,7 @@ impl<T, A: Allocator> Vec<T, A> { 629 + /// 630 + /// # Panics 631 + /// 632 + - /// Panics if the new capacity exceeds `isize::MAX` bytes. 633 + + /// Panics if the new capacity exceeds `isize::MAX` _bytes_. 634 + /// 635 + /// # Examples 636 + /// 637 + @@ -2315,6 +2318,12 @@ impl<T, A: Allocator> Vec<T, A> { 638 + /// `[at, len)`. After the call, the original vector will be left containing 639 + /// the elements `[0, at)` with its previous capacity unchanged. 640 + /// 641 + + /// - If you want to take ownership of the entire contents and capacity of 642 + + /// the vector, see [`mem::take`] or [`mem::replace`]. 643 + + /// - If you don't need the returned vector at all, see [`Vec::truncate`]. 644 + + /// - If you want to take ownership of an arbitrary subslice, or you don't 645 + + /// necessarily want to store the removed items in a vector, see [`Vec::drain`]. 646 + + /// 647 + /// # Panics 648 + /// 649 + /// Panics if `at > len`. 650 + @@ -2346,14 +2355,6 @@ impl<T, A: Allocator> Vec<T, A> { 651 + assert_failed(at, self.len()); 652 + } 653 + 654 + - if at == 0 { 655 + - // the new vector can take over the original buffer and avoid the copy 656 + - return mem::replace( 657 + - self, 658 + - Vec::with_capacity_in(self.capacity(), self.allocator().clone()), 659 + - ); 660 + - } 661 + - 662 + let other_len = self.len - at; 663 + let mut other = Vec::with_capacity_in(other_len, self.allocator().clone()); 664 + 665 + @@ -3027,6 +3028,50 @@ impl<T, I: SliceIndex<[T]>, A: Allocator> IndexMut<I> for Vec<T, A> { 666 + } 667 + } 668 + 669 + +/// Collects an iterator into a Vec, commonly called via [`Iterator::collect()`] 670 + +/// 671 + +/// # Allocation behavior 672 + +/// 673 + +/// In general `Vec` does not guarantee any particular growth or allocation strategy. 674 + +/// That also applies to this trait impl. 675 + +/// 676 + +/// **Note:** This section covers implementation details and is therefore exempt from 677 + +/// stability guarantees. 678 + +/// 679 + +/// Vec may use any or none of the following strategies, 680 + +/// depending on the supplied iterator: 681 + +/// 682 + +/// * preallocate based on [`Iterator::size_hint()`] 683 + +/// * and panic if the number of items is outside the provided lower/upper bounds 684 + +/// * use an amortized growth strategy similar to `pushing` one item at a time 685 + +/// * perform the iteration in-place on the original allocation backing the iterator 686 + +/// 687 + +/// The last case warrants some attention. It is an optimization that in many cases reduces peak memory 688 + +/// consumption and improves cache locality. But when big, short-lived allocations are created, 689 + +/// only a small fraction of their items get collected, no further use is made of the spare capacity 690 + +/// and the resulting `Vec` is moved into a longer-lived structure, then this can lead to the large 691 + +/// allocations having their lifetimes unnecessarily extended which can result in increased memory 692 + +/// footprint. 693 + +/// 694 + +/// In cases where this is an issue, the excess capacity can be discarded with [`Vec::shrink_to()`], 695 + +/// [`Vec::shrink_to_fit()`] or by collecting into [`Box<[T]>`][owned slice] instead, which additionally reduces 696 + +/// the size of the long-lived struct. 697 + +/// 698 + +/// [owned slice]: Box 699 + +/// 700 + +/// ```rust 701 + +/// # use std::sync::Mutex; 702 + +/// static LONG_LIVED: Mutex<Vec<Vec<u16>>> = Mutex::new(Vec::new()); 703 + +/// 704 + +/// for i in 0..10 { 705 + +/// let big_temporary: Vec<u16> = (0..1024).collect(); 706 + +/// // discard most items 707 + +/// let mut result: Vec<_> = big_temporary.into_iter().filter(|i| i % 100 == 0).collect(); 708 + +/// // without this a lot of unused capacity might be moved into the global 709 + +/// result.shrink_to_fit(); 710 + +/// LONG_LIVED.lock().unwrap().push(result); 711 + +/// } 712 + +/// ``` 713 + #[cfg(not(no_global_oom_handling))] 714 + #[stable(feature = "rust1", since = "1.0.0")] 715 + impl<T> FromIterator<T> for Vec<T> { 716 + @@ -3069,14 +3114,8 @@ impl<T, A: Allocator> IntoIterator for Vec<T, A> { 717 + begin.add(me.len()) as *const T 718 + }; 719 + let cap = me.buf.capacity(); 720 + - IntoIter { 721 + - buf: NonNull::new_unchecked(begin), 722 + - phantom: PhantomData, 723 + - cap, 724 + - alloc, 725 + - ptr: begin, 726 + - end, 727 + - } 728 + + let buf = NonNull::new_unchecked(begin); 729 + + IntoIter { buf, phantom: PhantomData, cap, alloc, ptr: buf, end } 730 + } 731 + } 732 + } 733 + @@ -3598,8 +3637,10 @@ impl<T, A: Allocator> From<Box<[T], A>> for Vec<T, A> { 734 + impl<T, A: Allocator> From<Vec<T, A>> for Box<[T], A> { 735 + /// Convert a vector into a boxed slice. 736 + /// 737 + - /// If `v` has excess capacity, its items will be moved into a 738 + - /// newly-allocated buffer with exactly the right capacity. 739 + + /// Before doing the conversion, this method discards excess capacity like [`Vec::shrink_to_fit`]. 740 + + /// 741 + + /// [owned slice]: Box 742 + + /// [`Vec::shrink_to_fit`]: Vec::shrink_to_fit 743 + /// 744 + /// # Examples 745 + /// 746 + diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs 747 + index be68d5e567b1a1..71f95e5aa09abd 100644 748 + --- a/rust/kernel/lib.rs 749 + +++ b/rust/kernel/lib.rs 750 + @@ -16,7 +16,6 @@ 751 + #![feature(coerce_unsized)] 752 + #![feature(dispatch_from_dyn)] 753 + #![feature(new_uninit)] 754 + -#![feature(offset_of)] 755 + #![feature(receiver_trait)] 756 + #![feature(unsize)] 757 + 758 + @@ -78,7 +77,7 @@ pub trait Module: Sized + Sync { 759 + /// Equivalent to `THIS_MODULE` in the C API. 760 + /// 761 + /// C header: [`include/linux/export.h`](srctree/include/linux/export.h) 762 + -pub struct ThisModule(*mut bindings::module); 763 + +pub struct ThisModule(#[allow(dead_code)] *mut bindings::module); 764 + 765 + // SAFETY: `THIS_MODULE` may be used from all threads within a module. 766 + unsafe impl Sync for ThisModule {} 767 + diff --git a/scripts/Makefile.build b/scripts/Makefile.build 768 + index baf86c0880b6d7..367cfeea74c5f5 100644 769 + --- a/scripts/Makefile.build 770 + +++ b/scripts/Makefile.build 771 + @@ -263,7 +263,7 @@ $(obj)/%.lst: $(src)/%.c FORCE 772 + # Compile Rust sources (.rs) 773 + # --------------------------------------------------------------------------- 774 + 775 + -rust_allowed_features := new_uninit,offset_of 776 + +rust_allowed_features := new_uninit 777 + 778 + # `--out-dir` is required to avoid temporaries being created by `rustc` in the 779 + # current working directory, which may be not accessible in the out-of-tree 780 + diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh 781 + index 5927cc6b7de338..cc5141b67b4a71 100755 782 + --- a/scripts/min-tool-version.sh 783 + +++ b/scripts/min-tool-version.sh 784 + @@ -33,7 +33,7 @@ llvm) 785 + fi 786 + ;; 787 + rustc) 788 + - echo 1.76.0 789 + + echo 1.77.0 790 + ;; 791 + bindgen) 792 + echo 0.65.1
+2 -2
pkgs/os-specific/linux/kexec-tools/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kexec-tools"; 5 - version = "2.0.26"; 5 + version = "2.0.28"; 6 6 7 7 src = fetchurl { 8 8 urls = [ 9 9 "mirror://kernel/linux/utils/kernel/kexec/${pname}-${version}.tar.xz" 10 10 "http://horms.net/projects/kexec/kexec-tools/${pname}-${version}.tar.xz" 11 11 ]; 12 - sha256 = "sha256-f+NqBkEBzVxRXkGyvjk9zjyoitzlnW7maOCvfAxFcM0="; 12 + sha256 = "sha256-0vDvhy854v5LGwH+tisAATgyByObn4BB+YqVVkFh0FM="; 13 13 }; 14 14 15 15 patches = [
+2 -2
pkgs/os-specific/linux/libbpf/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "libbpf"; 17 - version = "1.3.0"; 17 + version = "1.4.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "libbpf"; 21 21 repo = "libbpf"; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-wVCBLJK9nlS1N9/DrQtogoZmgWW4ECqInSeQTjUFhcY="; 23 + sha256 = "sha256-3TCsIlr28vO6Zu9lDaEq6J4J+D5sHP7SSo1O/M0ZzUo="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ pkg-config ];
-3
pkgs/os-specific/linux/lxc/default.nix
··· 61 61 62 62 doCheck = true; 63 63 64 - # https://github.com/NixOS/nixpkgs/issues/300635 65 - postInstall = ''chmod -R u-s,g-s "$out"''; 66 - 67 64 passthru = { 68 65 tests = { 69 66 incus-legacy-init = nixosTests.incus.container-legacy-init;
+9
pkgs/os-specific/linux/pam/default.nix
··· 22 22 url = "https://github.com/linux-pam/linux-pam/commit/cc9d40b7cdbd3e15ccaa324a0dda1680ef9dea13.patch"; 23 23 hash = "sha256-tCnH2yPO4dBbJOZA0fP2gm1EavHRMEJyfzB5Vy7YjAA="; 24 24 }) 25 + 26 + # Resotre handling of empty passwords: 27 + # https://github.com/linux-pam/linux-pam/pull/784 28 + # TODO: drop upstreamed patch on 1.6.1 update. 29 + (fetchpatch { 30 + name = "revert-unconditional-helper.patch"; 31 + url = "https://github.com/linux-pam/linux-pam/commit/8d0c575336ad301cd14e16ad2fdec6fe621764b8.patch"; 32 + hash = "sha256-z9KfMxxqXQVnmNaixaVjLnQqaGsH8MBHhHbiP/8fvhE="; 33 + }) 25 34 ]; 26 35 27 36 # Case-insensitivity workaround for https://github.com/linux-pam/linux-pam/issues/569
+6 -1
pkgs/os-specific/linux/systemd/default.nix
··· 150 150 , withUserDb ? true 151 151 , withUtmp ? !stdenv.hostPlatform.isMusl 152 152 , withVmspawn ? true 153 + # kernel-install shouldn't usually be used on NixOS, but can be useful, e.g. for 154 + # building disk images for non-NixOS systems. To save users from trying to use it 155 + # on their live NixOS system, we disable it by default. 156 + , withKernelInstall ? false 153 157 # tests assume too much system access for them to be feasible for us right now 154 158 , withTests ? false 155 159 # build only libudev and libsystemd ··· 628 632 (lib.mesonBool "efi" withEfi) 629 633 (lib.mesonBool "utmp" withUtmp) 630 634 (lib.mesonBool "log-trace" withLogTrace) 635 + (lib.mesonBool "kernel-install" withKernelInstall) 631 636 (lib.mesonBool "quotacheck" false) 632 637 (lib.mesonBool "ldconfig" false) 633 638 (lib.mesonBool "install-sysconfdir" false) ··· 819 824 done 820 825 821 826 rm -rf $out/etc/rpm 822 - 827 + '' + lib.optionalString (!withKernelInstall) '' 823 828 # "kernel-install" shouldn't be used on NixOS. 824 829 find $out -name "*kernel-install*" -exec rm {} \; 825 830 '' + lib.optionalString (!withDocumentation) ''
+2 -7
pkgs/os-specific/linux/upower/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitLab 4 - , fetchpatch 5 4 , makeWrapper 6 5 , pkg-config 7 6 , libxslt ··· 33 32 34 33 stdenv.mkDerivation (finalAttrs: { 35 34 pname = "upower"; 36 - version = "1.90.2"; 35 + version = "1.90.4"; 37 36 38 37 outputs = [ "out" "dev" "installedTests" ] 39 38 ++ lib.optionals withDocs [ "devdoc" ]; ··· 43 42 owner = "upower"; 44 43 repo = "upower"; 45 44 rev = "v${finalAttrs.version}"; 46 - hash = "sha256-7WzMAJuf1czU8ZalsEU/NwCXYqTGvcqEqxFt5ocgt48="; 45 + hash = "sha256-5twHuDLisVF07Y5KYwlqWMi12+p6UpARJvoBN/+tX2o="; 47 46 }; 48 47 49 48 patches = lib.optionals (stdenv.hostPlatform.system == "i686-linux") [ ··· 52 51 ./i686-test-remove-battery-check.patch 53 52 ] ++ [ 54 53 ./installed-tests-path.patch 55 - (fetchpatch { 56 - url = "https://gitlab.freedesktop.org/upower/upower/-/merge_requests/207.diff"; 57 - hash = "sha256-ldr1bKbSAdYpwbbe/Iq9i0Q9zQrHWvIvBGym/F3+vxs="; 58 - }) 59 54 ]; 60 55 61 56 strictDeps = true;
+1 -1
pkgs/pkgs-lib/formats/hocon/default.nix
··· 107 107 generate = name: value: 108 108 let 109 109 # TODO: remove in 24.11 110 - # Backwards compatability for generators in the following locations: 110 + # Backwards compatibility for generators in the following locations: 111 111 # - nixos/modules/services/networking/jibri/default.nix (__hocon_envvar) 112 112 # - nixos/modules/services/networking/jicofo.nix (__hocon_envvar, __hocon_unquoted_string) 113 113 # - nixos/modules/services/networking/jitsi-videobridge.nix (__hocon_envvar)
+1 -4
pkgs/servers/dns/knot-resolver/default.nix
··· 53 53 echo 'os.exit(77)' > daemon/lua/trust_anchors.test/bootstrap.test.lua 54 54 sed -E '/^[[:blank:]]*test_(dstaddr|headers),?$/d' -i \ 55 55 tests/config/doh2.test.lua modules/http/http_doh.test.lua 56 - '' + /* FIXME: see PR #286822 */ '' 57 - sed '/doh2\.test\.lua/d' -i tests/config/meson.build 58 56 ''; 59 57 60 58 preConfigure = '' ··· 120 118 allowSubstitutes = false; 121 119 inherit (unwrapped) meta; 122 120 } 123 - (assert false; # FIXME: the http module won't work; see PR #286822 124 - '' 121 + ('' 125 122 mkdir -p "$out"/bin 126 123 makeWrapper '${unwrapped}/bin/kresd' "$out"/bin/kresd \ 127 124 --set LUA_PATH "$LUA_PATH" \
+1 -1
pkgs/servers/home-assistant/default.nix
··· 244 244 }; 245 245 246 246 nativeBuildInputs = with self; [ 247 - cython_3 247 + cython 248 248 setuptools 249 249 libxml2.dev 250 250 libxslt.dev
+2 -2
pkgs/servers/memcached/default.nix
··· 1 1 {lib, stdenv, fetchurl, cyrus_sasl, libevent, nixosTests }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "1.6.24"; 4 + version = "1.6.26"; 5 5 pname = "memcached"; 6 6 7 7 src = fetchurl { 8 8 url = "https://memcached.org/files/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-+QXsCzhDKoqAvM0E6Q501ey6mLj2R+XWHku1QIWnpCI="; 9 + sha256 = "sha256-yTnHhZo8HPYDA+ndCAxjrEo4fuKEbVlc1SY6PcrNwvc="; 10 10 }; 11 11 12 12 configureFlags = [
+1 -6
pkgs/servers/radicale/3.x.nix
··· 35 35 __darwinAllowLocalNetworking = true; 36 36 37 37 nativeCheckInputs = with python3.pkgs; [ 38 - pytestCheckHook 38 + pytest7CheckHook 39 39 waitress 40 - ]; 41 - 42 - pytestFlagsArray = [ 43 - # pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. 44 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 45 40 ]; 46 41 47 42 passthru.tests = {
+1 -1
pkgs/servers/sql/postgresql/ext/citus.nix
··· 38 38 ''; 39 39 40 40 meta = with lib; { 41 - # "Our soft policy for Postgres version compatibilty is to support Citus' 41 + # "Our soft policy for Postgres version compatibility is to support Citus' 42 42 # latest release with Postgres' 3 latest releases." 43 43 # https://www.citusdata.com/updates/v12-0/#deprecated_features 44 44 broken = versionOlder postgresql.version "14";
+1 -1
pkgs/servers/sql/postgresql/ext/pg_bigm.nix
··· 12 12 }; 13 13 14 14 patches = [ 15 - # Fix compatiblity with PostgreSQL 16. Remove with the next release. 15 + # Fix compatibility with PostgreSQL 16. Remove with the next release. 16 16 (fetchpatch { 17 17 url = "https://github.com/pgbigm/pg_bigm/commit/2a9d783c52a1d7a2eb414da6f091f6035da76edf.patch"; 18 18 hash = "sha256-LuMpSUPnT8cPChQfA9sJEKP4aGpsbN5crfTKLnDzMN8=";
+2 -2
pkgs/shells/bash/bash-completion/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "bash-completion"; 12 - version = "2.11"; 12 + version = "2.13.0"; 13 13 14 14 # Using fetchurl because fetchGithub or fetchzip will have trouble on 15 15 # e.g. APFS filesystems (macOS) because of non UTF-8 characters in some of the ··· 17 17 # See discussion in https://github.com/NixOS/nixpkgs/issues/107768 18 18 src = fetchurl { 19 19 url = "https://github.com/scop/${pname}/releases/download/${version}/${pname}-${version}.tar.xz"; 20 - sha256 = "1b0iz7da1sgifx1a5wdyx1kxbzys53v0kyk8nhxfipllmm5qka3k"; 20 + sha256 = "sha256-xfmaOeQPDRVMA/8VQ46H7OH1rGZjNqRFmJni/0vt89E="; 21 21 }; 22 22 23 23 strictDeps = true;
+11 -119
pkgs/stdenv/adapters.nix
··· 317 317 # `sdkVersion` can be any of the following: 318 318 # * A version string indicating the requested SDK version; or 319 319 # * An attrset consisting of either or both of the following fields: darwinSdkVersion and darwinMinVersion. 320 - overrideSDK = stdenv: sdkVersion: 321 - let 322 - inherit ( 323 - { inherit (stdenv.hostPlatform) darwinMinVersion darwinSdkVersion; } 324 - // (if lib.isAttrs sdkVersion then sdkVersion else { darwinSdkVersion = sdkVersion; }) 325 - ) darwinMinVersion darwinSdkVersion; 326 - 327 - sdk = pkgs.darwin."apple_sdk_${lib.replaceStrings [ "." ] [ "_" ] darwinSdkVersion}"; 328 - # TODO: Make this unconditional after #229210 has been merged, 329 - # and the 10.12 SDK is updated to follow the new structure. 330 - Libsystem = if darwinSdkVersion == "10.12" then pkgs.darwin.Libsystem else sdk.Libsystem; 331 - 332 - replacePropagatedFrameworks = pkg: 333 - let 334 - propagatedInputs = pkg.propagatedBuildInputs; 335 - mappedInputs = map mapPackageToSDK propagatedInputs; 336 - 337 - env = { 338 - inherit (pkg) outputs; 339 - # Map old frameworks to new ones and the package’s outputs to their original outPaths. 340 - # Also map any packages that have propagated frameworks to their proxy packages using 341 - # the requested SDK version. These mappings are rendered into tab-separated files to be 342 - # parsed and read back with `read`. 343 - dependencies = lib.concatMapStrings (pair: "${pair.fst}\t${pair.snd}\n") (lib.zipLists propagatedInputs mappedInputs); 344 - pkgOutputs = lib.concatMapStrings (output: "${output}\t${(lib.getOutput output pkg).outPath}\n") pkg.outputs; 345 - passAsFile = [ "dependencies" "pkgOutputs" ]; 346 - }; 347 - in 348 - # Only remap the package’s propagated inputs if there are any and if any of them were themselves remapped. 349 - if lib.length propagatedInputs > 0 && propagatedInputs != mappedInputs 350 - then pkgs.runCommand pkg.name env '' 351 - # Iterate over the outputs in the package being replaced to make sure the proxy is 352 - # a fully functional replacement. This is like `symlinkJoin` except for outputs and 353 - # the contents of `nix-support`, which will be customized for the requested SDK. 354 - while IFS=$'\t\n' read -r outputName pkgOutputPath; do 355 - mkdir -p "''${!outputName}" 356 - 357 - for targetPath in "$pkgOutputPath"/*; do 358 - targetName=$(basename "$targetPath") 359 - 360 - # `nix-support` is special-cased because any propagated inputs need their SDK 361 - # frameworks replaced with those from the requested SDK. 362 - if [ "$targetName" == "nix-support" ]; then 363 - mkdir "''${!outputName}/nix-support" 364 - 365 - for file in "$targetPath"/*; do 366 - fileName=$(basename "$file") 367 - 368 - if [ "$fileName" == "propagated-build-inputs" ]; then 369 - cp "$file" "''${!outputName}/nix-support/$fileName" 370 - 371 - while IFS=$'\t\n' read -r oldFramework newFramework; do 372 - substituteInPlace "''${!outputName}/nix-support/$fileName" \ 373 - --replace "$oldFramework" "$newFramework" 374 - done < "$dependenciesPath" 375 - fi 376 - done 377 - else 378 - ln -s "$targetPath" "''${!outputName}/$targetName" 379 - fi 380 - done 381 - done < "$pkgOutputsPath" 382 - '' 383 - else pkg; 384 - 385 - # Remap a framework from one SDK version to another. 386 - mapPackageToSDK = pkg: 387 - let 388 - name = lib.getName pkg; 389 - framework = lib.removePrefix "apple-framework-" name; 390 - in 391 - /**/ if pkg == null then pkg 392 - else if name != framework then sdk.frameworks."${framework}" 393 - else replacePropagatedFrameworks pkg; 394 - 395 - mapRuntimeToSDK = pkg: 396 - # Only remap xcbuild for now, which exports the SDK used to build it. 397 - if pkg != null && lib.isAttrs pkg && lib.getName pkg == "xcodebuild" 398 - then pkg.override { stdenv = overrideSDK stdenv { inherit darwinMinVersion darwinSdkVersion; }; } 399 - else pkg; 400 - 401 - mapInputsToSDK = inputs: args: 402 - let 403 - runsAtBuild = lib.flip lib.elem [ 404 - "depsBuildBuild" 405 - "depsBuildBuildPropagated" 406 - "nativeBuildInputs" 407 - "propagatedNativeBuildInputs" 408 - "depsBuildTarget" 409 - "depsBuildTargetPropagated" 410 - ]; 411 - atBuildInputs = lib.filter runsAtBuild inputs; 412 - atRuntimeInputs = lib.subtractLists atBuildInputs inputs; 413 - in 414 - lib.genAttrs atRuntimeInputs (input: map mapPackageToSDK (args."${input}" or [ ])) 415 - // lib.genAttrs atBuildInputs (input: map mapRuntimeToSDK (args."${input}" or [ ])); 416 - 417 - mkCC = cc: cc.override { 418 - bintools = cc.bintools.override { libc = Libsystem; }; 419 - libc = Libsystem; 420 - }; 421 - in 422 - # TODO: make this work across all input types and not just propagatedBuildInputs 423 - stdenv.override (old: { 424 - buildPlatform = old.buildPlatform // { inherit darwinMinVersion darwinSdkVersion; }; 425 - hostPlatform = old.hostPlatform // { inherit darwinMinVersion darwinSdkVersion; }; 426 - targetPlatform = old.targetPlatform // { inherit darwinMinVersion darwinSdkVersion; }; 427 - 428 - allowedRequisites = null; 429 - cc = mkCC old.cc; 430 - 431 - extraBuildInputs = [sdk.frameworks.CoreFoundation ]; 432 - mkDerivationFromStdenv = extendMkDerivationArgs old (mapInputsToSDK [ 433 - "buildInputs" 434 - "nativeBuildInputs" 435 - "propagatedNativeBuildInputs" 436 - "propagatedBuildInputs" 437 - ]); 438 - }); 320 + overrideSDK = import ./darwin/override-sdk.nix { 321 + inherit lib extendMkDerivationArgs; 322 + inherit (pkgs) 323 + stdenvNoCC 324 + pkgsBuildBuild 325 + pkgsBuildHost 326 + pkgsBuildTarget 327 + pkgsHostHost 328 + pkgsHostTarget 329 + pkgsTargetTarget; 330 + }; 439 331 440 332 withDefaultHardeningFlags = defaultHardeningFlags: stdenv: let 441 333 bintools = let
+20 -10
pkgs/stdenv/darwin/bootstrap-files/aarch64-apple-darwin.nix
··· 1 - let 2 - fetch = { file, sha256, executable ? true }: import <nix/fetchurl.nix> { 3 - url = "http://tarballs.nixos.org/stdenv-darwin/aarch64/20acd4c4f14040485f40e55c0a76c186aa8ca4f3/${file}"; 4 - inherit sha256 executable; 5 - }; in 1 + # Autogenerated by maintainers/scripts/bootstrap-files/refresh-tarballs.bash as: 2 + # $ ./refresh-tarballs.bash --targets=aarch64-apple-darwin 3 + # 4 + # Metadata: 5 + # - nixpkgs revision: d03a4482228d4d6dbd2d4b425b6dfcd49ebe765f 6 + # - hydra build: https://hydra.nixos.org/job/nixpkgs/trunk/stdenvBootstrapTools.aarch64-apple-darwin.build/latest 7 + # - resolved hydra build: https://hydra.nixos.org/build/255282138 8 + # - instantiated derivation: /nix/store/cahnprnkg9z2aij3hj4rkbkc4l8190mf-stdenv-bootstrap-tools.drv 9 + # - output directory: /nix/store/zxxcz7sza5ypy061rsg7cmr7h0a96hbb-stdenv-bootstrap-tools 10 + # - build time: Wed, 03 Apr 2024 07:59:44 +0000 6 11 { 7 - sh = fetch { file = "sh"; sha256 = "17m3xrlbl99j3vm7rzz3ghb47094dyddrbvs2a6jalczvmx7spnj"; }; 8 - bzip2 = fetch { file = "bzip2"; sha256 = "1khs8s5klf76plhlvlc1ma838r8pc1qigk9f5bdycwgbn0nx240q"; }; 9 - mkdir = fetch { file = "mkdir"; sha256 = "1m9nk90paazl93v43myv2ay68c1arz39pqr7lk5ddbgb177hgg8a"; }; 10 - cpio = fetch { file = "cpio"; sha256 = "17pxq61yjjvyd738fy9f392hc9cfzkl612sdr9rxr3v0dgvm8y09"; }; 11 - tarball = fetch { file = "bootstrap-tools.cpio.bz2"; sha256 = "1v2332k33akm6mrm4bj749rxnnmc2pkbgcslmd0bbkf76bz2ildy"; executable = false; }; 12 + bootstrapTools = import <nix/fetchurl.nix> { 13 + url = "http://tarballs.nixos.org/stdenv/aarch64-apple-darwin/d03a4482228d4d6dbd2d4b425b6dfcd49ebe765f/bootstrap-tools.tar.xz"; 14 + hash = "sha256-a37OgMdTHjFyKs4UTxoD7zx6Te3A7zsSjhbFHzbNxQ8="; 15 + }; 16 + unpack = import <nix/fetchurl.nix> { 17 + url = "http://tarballs.nixos.org/stdenv/aarch64-apple-darwin/d03a4482228d4d6dbd2d4b425b6dfcd49ebe765f/unpack.nar.xz"; 18 + hash = "sha256-XCVy6TMDJ1DKFnhIT1NHzdQUjY/TPKLV67Zi/ANIpms="; 19 + name = "unpack"; 20 + unpack = true; 21 + }; 12 22 }
+20 -10
pkgs/stdenv/darwin/bootstrap-files/x86_64-apple-darwin.nix
··· 1 - let 2 - fetch = { file, sha256, executable ? true }: import <nix/fetchurl.nix> { 3 - url = "http://tarballs.nixos.org/stdenv-darwin/x86_64/c253216595572930316f2be737dc288a1da22558/${file}"; 4 - inherit sha256 executable; 5 - }; in 1 + # Autogenerated by maintainers/scripts/bootstrap-files/refresh-tarballs.bash as: 2 + # $ ./refresh-tarballs.bash --targets=x86_64-apple-darwin 3 + # 4 + # Metadata: 5 + # - nixpkgs revision: d03a4482228d4d6dbd2d4b425b6dfcd49ebe765f 6 + # - hydra build: https://hydra.nixos.org/job/nixpkgs/trunk/stdenvBootstrapTools.x86_64-apple-darwin.build/latest 7 + # - resolved hydra build: https://hydra.nixos.org/build/255281731 8 + # - instantiated derivation: /nix/store/44wnr0ikrbcxkakfqhhm2cz6gsh6wjni-stdenv-bootstrap-tools.drv 9 + # - output directory: /nix/store/lsl9rl3zj9nr318w471vvmlvxzj21b2k-stdenv-bootstrap-tools 10 + # - build time: Wed, 03 Apr 2024 07:56:15 +0000 6 11 { 7 - sh = fetch { file = "sh"; sha256 = "sha256-igMAVEfumFv/LUNTGfNi2nSehgTNIP4Sg+f3L7u6SMA="; }; 8 - bzip2 = fetch { file = "bzip2"; sha256 = "sha256-K3rhkJZipudT1Jgh+l41Y/fNsMkrPtiAsNRDha/lpZI="; }; 9 - mkdir = fetch { file = "mkdir"; sha256 = "sha256-VddFELwLDJGNADKB1fWwWPBtIAlEUgJv2hXRmC4NEeM="; }; 10 - cpio = fetch { file = "cpio"; sha256 = "sha256-SWkwvLaFyV44kLKL2nx720SvcL4ej/p2V/bX3uqAGO0="; }; 11 - tarball = fetch { file = "bootstrap-tools.cpio.bz2"; sha256 = "sha256-kRC/bhCmlD4L7KAvJQgcukk7AinkMz4IwmG1rqlh5tA="; executable = false; }; 12 + bootstrapTools = import <nix/fetchurl.nix> { 13 + url = "http://tarballs.nixos.org/stdenv/x86_64-apple-darwin/d03a4482228d4d6dbd2d4b425b6dfcd49ebe765f/bootstrap-tools.tar.xz"; 14 + hash = "sha256-3OBigzlbu/Z6g8r7hsOWg95HTv7IJw9Nvbamwvw+88w="; 15 + }; 16 + unpack = import <nix/fetchurl.nix> { 17 + url = "http://tarballs.nixos.org/stdenv/x86_64-apple-darwin/d03a4482228d4d6dbd2d4b425b6dfcd49ebe765f/unpack.nar.xz"; 18 + hash = "sha256-93GK8LjjgUBknxsylfGVr0DG4AbWVIQEIWrwxhDW07k="; 19 + name = "unpack"; 20 + unpack = true; 21 + }; 12 22 }
+63 -34
pkgs/stdenv/darwin/default.nix
··· 52 52 inherit system; 53 53 54 54 name = "bootstrap-tools"; 55 - builder = bootstrapFiles.sh; # Not a filename! Attribute 'sh' on bootstrapFiles 56 - args = if localSystem.isAarch64 then [ ./unpack-bootstrap-tools-aarch64.sh ] else [ ./unpack-bootstrap-tools.sh ]; 55 + builder = "${bootstrapFiles.unpack}/bin/bash"; 56 + 57 + args = [ 58 + "${bootstrapFiles.unpack}/bootstrap-tools-unpack.sh" 59 + bootstrapFiles.bootstrapTools 60 + ]; 57 61 58 - inherit (bootstrapFiles) mkdir bzip2 cpio tarball; 62 + PATH = lib.makeBinPath [ 63 + (placeholder "out") 64 + bootstrapFiles.unpack 65 + ]; 59 66 60 67 __impureHostDeps = commonImpureHostDeps; 61 68 } // lib.optionalAttrs config.contentAddressedByDefault { ··· 128 135 hostPlatform = localSystem; 129 136 targetPlatform = localSystem; 130 137 131 - inherit config extraNativeBuildInputs; 138 + inherit config; 132 139 133 140 extraBuildInputs = [ prevStage.darwin.CF ]; 141 + extraNativeBuildInputs = extraNativeBuildInputs 142 + ++ [ prevStage.darwin.apple_sdk.sdkRoot ]; 134 143 135 144 preHook = lib.optionalString (!isBuiltByNixpkgsCompiler bash) '' 136 145 # Don't patch #!/interpreter because it leads to retained ··· 189 198 cpio = null; 190 199 191 200 darwin = { 201 + apple_sdk.sdkRoot = null; 192 202 binutils = null; 193 203 binutils-unwrapped = null; 194 204 cctools = null; ··· 223 233 ccWrapperStdenv = self.stdenv; 224 234 225 235 bash = bootstrapTools; 226 - 227 236 coreutils = bootstrapTools; 237 + cpio = bootstrapTools; 228 238 gnugrep = bootstrapTools; 229 - 230 - # Either pbzx or Libsystem is required from bootstrap tools (one is used building the other). 231 - pbzx = if localSystem.isAarch64 then bootstrapTools else super.pbzx; 232 - cpio = self.stdenv.mkDerivation { 233 - name = "bootstrap-stage0-cpio"; 234 - buildCommand = '' 235 - mkdir -p $out/bin 236 - ln -s ${bootstrapFiles.cpio} $out/bin/cpio 237 - ''; 238 - passthru.isFromBootstrapFiles = true; 239 - }; 239 + pbzx = bootstrapTools; 240 240 241 241 darwin = super.darwin.overrideScope (selfDarwin: superDarwin: { 242 242 # Prevent CF from being propagated to the initial stdenv. Packages that require it ··· 247 247 version = "boot"; 248 248 }; 249 249 250 - binutils = (import ../../build-support/bintools-wrapper) { 250 + binutils = super.wrapBintoolsWith { 251 251 name = "bootstrap-stage0-binutils-wrapper"; 252 252 253 253 nativeTools = false; ··· 438 438 }); 439 439 440 440 darwin = super.darwin.overrideScope (selfDarwin: superDarwin: { 441 + apple_sdk = superDarwin.apple_sdk // { 442 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 443 + }; 444 + 441 445 # Use this stage’s CF to build configd. It’s required but can’t be included in the stdenv. 442 446 configd = superDarwin.configd.overrideAttrs (old: { 443 447 buildInputs = old.buildInputs or [ ] ++ [ self.darwin.CF ]; ··· 503 507 assert lib.all isFromBootstrapFiles (with prevStage; [ coreutils gnugrep ]); 504 508 505 509 assert lib.all isBuiltByBootstrapFilesCompiler (with prevStage; [ 506 - autoconf automake bash binutils-unwrapped bison brotli cmake cpio curl cyrus_sasl db 510 + autoconf automake bash binutils-unwrapped bison brotli cmake cpio cyrus_sasl db 507 511 ed expat flex gettext gmp groff icu libedit libffi libiconv libidn2 libkrb5 libssh2 508 512 libtool libunistring libxml2 m4 ncurses nghttp2 ninja openldap openssh openssl 509 513 patchutils pbzx perl pkg-config.pkg-config python3 python3Minimal scons serf sqlite ··· 530 534 overrides = self: super: { 531 535 inherit (prevStage) ccWrapperStdenv 532 536 autoconf automake bash binutils binutils-unwrapped bison brotli cmake cmakeMinimal 533 - coreutils cpio curl cyrus_sasl db ed expat flex gettext gmp gnugrep groff icu 537 + coreutils cpio cyrus_sasl db ed expat flex gettext gmp gnugrep groff icu 534 538 libedit libffi libiconv libidn2 libkrb5 libssh2 libtool libunistring libxml2 m4 535 539 ncurses nghttp2 ninja openldap openssh openssl patchutils pbzx perl pkg-config 536 540 python3Minimal scons sed serf sharutils sqlite subversion texinfo unzip which xz ··· 561 565 562 566 darwin = super.darwin.overrideScope (_: superDarwin: { 563 567 inherit (prevStage.darwin) 564 - CF Libsystem binutils-unwrapped cctools cctools-port configd darwin-stubs dyld 568 + CF sdkRoot Libsystem binutils-unwrapped cctools cctools-port configd darwin-stubs dyld 565 569 launchd libclosure libdispatch libobjc locale objc4 postLinkSignHook 566 570 print-reexports rewrite-tbd signingUtils sigtool; 571 + 572 + apple_sdk = superDarwin.apple_sdk // { 573 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 574 + }; 567 575 }); 568 576 569 577 llvmPackages = super.llvmPackages // ( ··· 602 610 assert lib.all isFromBootstrapFiles (with prevStage; [ coreutils gnugrep ]); 603 611 604 612 assert lib.all isBuiltByBootstrapFilesCompiler (with prevStage; [ 605 - autoconf automake bash binutils-unwrapped bison brotli cmake cpio curl cyrus_sasl db 613 + autoconf automake bash binutils-unwrapped bison brotli cmake cpio cyrus_sasl db 606 614 ed expat flex gettext gmp groff icu libedit libffi libiconv libidn2 libkrb5 libssh2 607 615 libtool libunistring libxml2 m4 ncurses nghttp2 ninja openldap openssh openssl 608 616 patchutils pbzx perl pkg-config.pkg-config python3 python3Minimal scons serf sqlite ··· 630 638 overrides = self: super: { 631 639 inherit (prevStage) ccWrapperStdenv 632 640 autoconf automake bash binutils binutils-unwrapped bison brotli cmake cmakeMinimal 633 - cpio curl cyrus_sasl db ed expat flex gettext gmp groff icu libedit libffi libiconv 641 + cpio cyrus_sasl db ed expat flex gettext gmp groff icu libedit libffi libiconv 634 642 libidn2 libkrb5 libssh2 libtool libunistring libxml2 m4 ncurses nghttp2 ninja 635 643 openldap openssh openssl patchutils pbzx perl pkg-config python3 python3Minimal 636 644 scons sed serf sharutils sqlite subversion sysctl texinfo unzip which xz zlib zstd; ··· 641 649 CF Libsystem configd darwin-stubs dyld launchd libclosure libdispatch libobjc 642 650 locale objc4 postLinkSignHook print-reexports rewrite-tbd signingUtils sigtool; 643 651 652 + apple_sdk = superDarwin.apple_sdk // { 653 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 654 + }; 655 + 644 656 # Avoid building unnecessary Python dependencies due to building LLVM manpages. 645 657 cctools-llvm = superDarwin.cctools-llvm.override { enableManpages = false; }; 646 658 }); ··· 694 706 ]); 695 707 696 708 assert lib.all isBuiltByBootstrapFilesCompiler (with prevStage; [ 697 - brotli curl libffi libiconv libidn2 libkrb5 libssh2 libunistring libxml2 ncurses 709 + brotli libffi libiconv libidn2 libkrb5 libssh2 libunistring libxml2 ncurses 698 710 nghttp2 openssl zlib zstd 699 711 ]); 700 712 ··· 722 734 overrides = self: super: { 723 735 inherit (prevStage) ccWrapperStdenv 724 736 autoconf automake binutils-unwrapped bison brotli cmake cmakeMinimal coreutils 725 - cpio curl cyrus_sasl db ed expat flex gettext gmp gnugrep groff icu libedit libffi 737 + cpio cyrus_sasl db ed expat flex gettext gmp gnugrep groff icu libedit libffi 726 738 libiconv libidn2 libkrb5 libssh2 libtool libunistring libxml2 m4 ncurses nghttp2 727 739 ninja openbsm openldap openpam openssh openssl patchutils pbzx perl pkg-config 728 740 python3 python3Minimal scons serf sqlite subversion sysctl texinfo unzip which xz ··· 738 750 inherit (prevStage.darwin) 739 751 CF binutils-unwrapped cctools configd darwin-stubs launchd libobjc libtapi locale 740 752 objc4 print-reexports rewrite-tbd signingUtils sigtool; 753 + 754 + apple_sdk = superDarwin.apple_sdk // { 755 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 756 + }; 741 757 }); 742 758 743 759 llvmPackages = super.llvmPackages // ( ··· 776 792 ''; 777 793 }) 778 794 779 - # This stage rebuilds CF and compiler-rt. 795 + # This stage rebuilds CF, compiler-rt, and the sdkRoot derivation. 780 796 # 781 797 # CF requires: 782 798 # - aarch64-darwin: libobjc (due to being apple_sdk.frameworks.CoreFoundation instead of swift-corefoundation) ··· 785 801 # previous stage2-Libsystem stdenv: 786 802 assert lib.all isBuiltByBootstrapFilesCompiler (with prevStage; [ 787 803 autoconf automake binutils-unwrapped bison brotli cmake cmakeMinimal coreutils 788 - cpio curl cyrus_sasl db ed expat flex gettext gmp gnugrep groff icu libedit libidn2 804 + cpio cyrus_sasl db ed expat flex gettext gmp gnugrep groff icu libedit libidn2 789 805 libkrb5 libssh2 libtool libunistring m4 nghttp2 ninja openbsm openldap openpam openssh 790 806 openssl patchutils pbzx perl pkg-config.pkg-config python3 python3Minimal scons serf 791 807 sqlite subversion sysctl.provider texinfo unzip which xz zstd ··· 821 837 822 838 overrides = self: super: { 823 839 inherit (prevStage) ccWrapperStdenv 824 - autoconf automake bash bison brotli cmake cmakeMinimal coreutils cpio curl 840 + autoconf automake bash bison brotli cmake cmakeMinimal coreutils cpio 825 841 cyrus_sasl db ed expat flex gettext gmp gnugrep groff libedit libidn2 libkrb5 826 842 libssh2 libtool libunistring m4 ncurses nghttp2 ninja openbsm openldap openpam 827 843 openssh openssl patchutils pbzx perl pkg-config python3 python3Minimal scons serf ··· 908 924 (prevStage: 909 925 # previous stage2-CF stdenv: 910 926 assert lib.all isBuiltByBootstrapFilesCompiler (with prevStage; [ 911 - autoconf automake bison brotli cmake cmakeMinimal coreutils cpio curl cyrus_sasl 927 + autoconf automake bison brotli cmake cmakeMinimal coreutils cpio cyrus_sasl 912 928 db ed expat flex gettext gmp gnugrep groff libedit libidn2 libkrb5 libssh2 libtool 913 929 libunistring m4 ncurses nghttp2 ninja openbsm openldap openpam openssh openssl 914 930 patchutils pbzx perl pkg-config.pkg-config python3 python3Minimal scons serf sqlite ··· 945 961 overrides = self: super: { 946 962 inherit (prevStage) ccWrapperStdenv 947 963 autoconf automake bash binutils binutils-unwrapped bison brotli cmake cmakeMinimal 948 - coreutils cpio curl cyrus_sasl db ed expat flex gettext gmp gnugrep groff libedit 964 + coreutils cpio cyrus_sasl db ed expat flex gettext gmp gnugrep groff libedit 949 965 libidn2 libkrb5 libssh2 libtool libunistring m4 nghttp2 ninja openbsm openldap 950 966 openpam openssh openssl patchutils pbzx perl pkg-config python3 python3Minimal scons 951 967 sed serf sharutils sqlite subversion sysctl texinfo unzip which xz zstd ··· 961 977 CF Libsystem binutils binutils-unwrapped cctools cctools-llvm cctools-port configd 962 978 darwin-stubs dyld launchd libclosure libdispatch libobjc libtapi locale objc4 963 979 postLinkSignHook print-reexports rewrite-tbd signingUtils sigtool; 980 + 981 + apple_sdk = superDarwin.apple_sdk // { 982 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 983 + }; 964 984 }); 965 985 966 986 llvmPackages = super.llvmPackages // ( ··· 988 1008 (prevStage: 989 1009 # previous stage3 stdenv: 990 1010 assert lib.all isBuiltByBootstrapFilesCompiler (with prevStage; [ 991 - autoconf automake bison brotli cmake cmakeMinimal coreutils cpio curl cyrus_sasl 1011 + autoconf automake bison brotli cmake cmakeMinimal coreutils cpio cyrus_sasl 992 1012 db ed expat flex gettext gmp gnugrep groff libedit libidn2 libkrb5 libssh2 libtool 993 1013 libunistring m4 nghttp2 ninja openbsm openldap openpam openssh openssl patchutils pbzx 994 1014 perl pkg-config.pkg-config python3 python3Minimal scons serf sqlite subversion ··· 1038 1058 inherit (prevStage.darwin) dyld CF Libsystem darwin-stubs 1039 1059 # CF dependencies - don’t rebuild them. 1040 1060 libobjc objc4; 1061 + 1062 + apple_sdk = superDarwin.apple_sdk // { 1063 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 1064 + }; 1041 1065 1042 1066 signingUtils = superDarwin.signingUtils.override { 1043 1067 inherit (selfDarwin) sigtool; ··· 1156 1180 (prevStage: 1157 1181 # previous stage4 stdenv: 1158 1182 assert lib.all isBuiltByNixpkgsCompiler (with prevStage; [ 1159 - bash binutils-unwrapped brotli bzip2 cpio curl diffutils ed file findutils gawk 1183 + bash binutils-unwrapped brotli bzip2 cpio diffutils ed file findutils gawk 1160 1184 gettext gmp gnugrep gnumake gnused gnutar gzip icu libffi libiconv libidn2 libkrb5 1161 1185 libssh2 libunistring libxml2 libyaml ncurses nghttp2 openbsm openpam openssl patch 1162 1186 pbzx pcre python3Minimal xar xz zlib zstd ··· 1209 1233 1210 1234 extraNativeBuildInputs = lib.optionals localSystem.isAarch64 [ 1211 1235 prevStage.updateAutotoolsGnuConfigScriptsHook 1212 - ]; 1236 + ] ++ [ prevStage.darwin.apple_sdk.sdkRoot ]; 1213 1237 1214 1238 extraBuildInputs = [ prevStage.darwin.CF ]; 1215 1239 ··· 1296 1320 dyld 1297 1321 libtapi 1298 1322 locale 1323 + apple_sdk.sdkRoot 1299 1324 ] 1300 1325 ++ lib.optional useAppleSDKLibs [ objc4 ] 1301 1326 ++ lib.optionals doSign [ postLinkSignHook sigtool signingUtils ]); ··· 1305 1330 1306 1331 overrides = self: super: { 1307 1332 inherit (prevStage) 1308 - bash binutils brotli bzip2 coreutils cpio curl diffutils ed file findutils gawk 1333 + bash binutils brotli bzip2 coreutils cpio diffutils ed file findutils gawk 1309 1334 gettext gmp gnugrep gnumake gnused gnutar gzip icu libffi libiconv libidn2 libssh2 1310 1335 libunistring libxml2 libyaml ncurses nghttp2 openbsm openpam openssl patch pbzx 1311 1336 pcre python3Minimal xar xz zlib zstd; 1312 1337 1313 - darwin = super.darwin.overrideScope (_: _: { 1338 + darwin = super.darwin.overrideScope (_: superDarwin: { 1314 1339 inherit (prevStage.darwin) 1315 1340 CF ICU Libsystem darwin-stubs dyld locale libobjc libtapi rewrite-tbd xnu; 1341 + 1342 + apple_sdk = superDarwin.apple_sdk // { 1343 + inherit (prevStage.darwin.apple_sdk) sdkRoot; 1344 + }; 1316 1345 } // lib.optionalAttrs (super.stdenv.targetPlatform == localSystem) { 1317 1346 inherit (prevStage.darwin) binutils binutils-unwrapped cctools-llvm cctools-port; 1318 1347 });
+1 -3
pkgs/stdenv/darwin/make-bootstrap-tools.nix
··· 395 395 }; 396 396 397 397 # The ultimate test: bootstrap a whole stdenv from the tools specified above and get a package set out of it 398 - # TODO: uncomment once https://github.com/NixOS/nixpkgs/issues/222717 is resolved 399 - /* 398 + # eg: nix-build -A freshBootstrapTools.test-pkgs.stdenv 400 399 test-pkgs = import test-pkgspath { 401 400 # if the bootstrap tools are for another platform, we should be testing 402 401 # that platform. ··· 406 405 args' = args // { inherit bootstrapFiles; }; 407 406 in (import (test-pkgspath + "/pkgs/stdenv/darwin") args'); 408 407 }; 409 - */ 410 408 }
+437
pkgs/stdenv/darwin/override-sdk.nix
··· 1 + # The basic algorithm is to rewrite the propagated inputs of a package and any of its 2 + # own propagated inputs recursively to replace references from the default SDK with 3 + # those from the requested SDK version. This is done across all propagated inputs to 4 + # avoid making assumptions about how those inputs are being used. 5 + # 6 + # For example, packages may propagate target-target dependencies with the expectation that 7 + # they will be just build inputs when the package itself is used as a native build input. 8 + # 9 + # To support this use case and operate without regard to the original package set, 10 + # `overrideSDK` creates a mapping from the default SDK in all package categories to the 11 + # requested SDK. If the lookup fails, it is assumed the package is not part of the SDK. 12 + # Non-SDK packages are processed per the algorithm described above. 13 + { 14 + lib, 15 + stdenvNoCC, 16 + extendMkDerivationArgs, 17 + pkgsBuildBuild, 18 + pkgsBuildHost, 19 + pkgsBuildTarget, 20 + pkgsHostHost, 21 + pkgsHostTarget, 22 + pkgsTargetTarget, 23 + }@args: 24 + 25 + let 26 + # Takes a mapping from a package to its replacement and transforms it into a list of 27 + # mappings by output (e.g., a package with three outputs produces a list of size 3). 28 + expandOutputs = 29 + mapping: 30 + map (output: { 31 + name = builtins.unsafeDiscardStringContext (lib.getOutput output mapping.original); 32 + value = lib.getOutput output mapping.replacement; 33 + }) mapping.original.outputs; 34 + 35 + # Produces a list of mappings from the default SDK to the new SDK (`sdk`). 36 + # `attr` indicates which SDK path to remap (e.g., `libs` remaps `apple_sdk.libs`). 37 + # 38 + # TODO: Update once the SDKs have been refactored to a common pattern to better handle 39 + # frameworks that are not present in both SDKs. Currently, they’re dropped. 40 + mkMapping = 41 + attr: pkgs: sdk: 42 + lib.foldlAttrs ( 43 + mappings: name: pkg: 44 + let 45 + # Avoid evaluation failures due to missing or throwing 46 + # frameworks (such as QuickTime in the 11.0 SDK). 47 + maybeReplacement = builtins.tryEval sdk.${attr}.${name} or { success = false; }; 48 + in 49 + if maybeReplacement.success then 50 + mappings 51 + ++ expandOutputs { 52 + original = pkg; 53 + replacement = maybeReplacement.value; 54 + } 55 + else 56 + mappings 57 + ) [ ] pkgs.darwin.apple_sdk.${attr}; 58 + 59 + # Produces a list of overrides for the given package set, SDK, and version. 60 + # If you want to manually specify a mapping, this is where you should do it. 61 + mkOverrides = 62 + pkgs: sdk: version: 63 + lib.concatMap expandOutputs [ 64 + # Libsystem needs to match the one used by the SDK or weird errors happen. 65 + { 66 + original = pkgs.darwin.apple_sdk.Libsystem; 67 + replacement = sdk.Libsystem; 68 + } 69 + # Make sure darwin.CF is mapped to the correct version for the SDK. 70 + { 71 + original = pkgs.darwin.CF; 72 + replacement = sdk.frameworks.CoreFoundation; 73 + } 74 + # libobjc needs to be handled specially because it’s not actually in the SDK. 75 + { 76 + original = pkgs.darwin.libobjc; 77 + replacement = sdk.objc4; 78 + } 79 + # Unfortunately, this is not consistent between Darwin SDKs in nixpkgs, so 80 + # try both versions to map between them. 81 + { 82 + original = pkgs.darwin.apple_sdk.sdk or pkgs.darwin.apple_sdk.MacOSX-SDK; 83 + replacement = sdk.sdk or sdk.MacOSX-SDK; 84 + } 85 + # Remap the SDK root. This is used by clang to set the SDK version when 86 + # linking. This behavior is automatic by clang and can’t be overriden. 87 + # Otherwise, without the SDK root set, the SDK version will be inferred to 88 + # be the same as the deployment target, which is not usually what you want. 89 + { 90 + original = pkgs.darwin.apple_sdk.sdkRoot; 91 + replacement = sdk.sdkRoot; 92 + } 93 + # Override xcodebuild because it hardcodes the SDK version. 94 + # TODO: Make xcodebuild defer to the SDK root set in the stdenv. 95 + { 96 + original = pkgs.xcodebuild; 97 + replacement = pkgs.xcodebuild.override { 98 + # Do the override manually to avoid an infinite recursion. 99 + stdenv = pkgs.stdenv.override (old: { 100 + buildPlatform = mkPlatform version old.buildPlatform; 101 + hostPlatform = mkPlatform version old.hostPlatform; 102 + targetPlatform = mkPlatform version old.targetPlatform; 103 + 104 + allowedRequisites = null; 105 + cc = mkCC sdk.Libsystem old.cc; 106 + }); 107 + }; 108 + } 109 + ]; 110 + 111 + mkBintools = 112 + Libsystem: bintools: 113 + if bintools ? override then 114 + bintools.override { libc = Libsystem; } 115 + else 116 + let 117 + # `override` isn’t available, so bintools has to be rewrapped with the new libc. 118 + # Most of the required arguments can be recovered except for `postLinkSignHook` 119 + # and `signingUtils`, which have to be scrapped from the original’s `postFixup`. 120 + # This isn’t ideal, but it works. 121 + postFixup = lib.splitString "\n" bintools.postFixup; 122 + 123 + postLinkSignHook = lib.pipe postFixup [ 124 + (lib.findFirst (lib.hasPrefix "echo 'source") null) 125 + (builtins.match "^echo 'source (.*-post-link-sign-hook)' >> \\$out/nix-support/post-link-hook$") 126 + lib.head 127 + ]; 128 + 129 + signingUtils = lib.pipe postFixup [ 130 + (lib.findFirst (lib.hasPrefix "export signingUtils") null) 131 + (builtins.match "^export signingUtils=(.*)$") 132 + lib.head 133 + ]; 134 + 135 + newBintools = pkgsBuildTarget.wrapBintoolsWith { 136 + inherit (bintools) name; 137 + 138 + buildPackages = { }; 139 + libc = Libsystem; 140 + 141 + inherit lib; 142 + 143 + coreutils = bintools.coreutils_bin; 144 + gnugrep = bintools.gnugrep_bin; 145 + 146 + inherit (bintools) bintools; 147 + 148 + inherit postLinkSignHook signingUtils; 149 + }; 150 + in 151 + lib.getOutput bintools.outputName newBintools; 152 + 153 + mkCC = 154 + Libsystem: cc: 155 + if cc ? override then 156 + cc.override { 157 + bintools = mkBintools Libsystem cc.bintools; 158 + libc = Libsystem; 159 + } 160 + else 161 + builtins.throw "CC has no override: ${cc}"; 162 + 163 + mkPlatform = 164 + version: platform: 165 + platform 166 + // lib.optionalAttrs platform.isDarwin { inherit (version) darwinMinVersion darwinSdkVersion; }; 167 + 168 + # Creates a stub package. Unchanged files from the original package are symlinked 169 + # into the package. The contents of `nix-support` are updated to reference any 170 + # replaced packages. 171 + # 172 + # Note: `env` is an attrset containing `outputs` and `dependencies`. 173 + # `dependencies` is a regex passed to sed and must be `passAsFile`. 174 + mkProxyPackage = 175 + name: env: 176 + stdenvNoCC.mkDerivation { 177 + inherit name; 178 + 179 + inherit (env) outputs replacements sourceOutputs; 180 + 181 + # Take advantage of the fact that replacements and sourceOutputs will be passed 182 + # via JSON and parsed into environment variables. 183 + __structuredAttrs = true; 184 + 185 + buildCommand = '' 186 + # Map over the outputs in the package being replaced to make sure the proxy is 187 + # a fully functional replacement. This is like `symlinkJoin` except for 188 + # outputs and the contents of `nix-support`, which will be customized. 189 + function replacePropagatedInputs() { 190 + local sourcePath=$1 191 + local targetPath=$2 192 + 193 + mkdir -p "$targetPath" 194 + 195 + local sourceFile 196 + for sourceFile in "$sourcePath"/*; do 197 + local fileName=$(basename "$sourceFile") 198 + local targetFile="$targetPath/$fileName" 199 + 200 + if [ -d "$sourceFile" ]; then 201 + replacePropagatedInputs "$sourceFile" "$targetPath/$fileName" 202 + # Check to see if any of the files in the folder were replaced. 203 + # Otherwise, replace the folder with a symlink if none were changed. 204 + if [ "$(find -maxdepth 1 "$targetPath/$fileName" -not -type l)" = "" ]; then 205 + rm "$targetPath/$fileName"/* 206 + ln -s "$sourceFile" "$targetPath/$fileName" 207 + fi 208 + else 209 + cp "$sourceFile" "$targetFile" 210 + local original 211 + for original in "''${!replacements[@]}"; do 212 + substituteInPlace "$targetFile" \ 213 + --replace-quiet "$original" "''${replacements[$original]}" 214 + done 215 + if cmp -s "$sourceFile" "$targetFile"; then 216 + rm "$targetFile" 217 + ln -s "$sourceFile" "$targetFile" 218 + fi 219 + fi 220 + done 221 + } 222 + 223 + local outputName 224 + for outputName in "''${!outputs[@]}"; do 225 + local outPath=''${outputs[$outputName]} 226 + mkdir -p "$outPath" 227 + 228 + local sourcePath 229 + for sourcePath in "''${sourceOutputs[$outputName]}"/*; do 230 + sourceName=$(basename "$sourcePath") 231 + # `nix-support` is special-cased because any propagated inputs need their 232 + # SDK frameworks replaced with those from the requested SDK. 233 + if [ "$sourceName" == "nix-support" ]; then 234 + replacePropagatedInputs "$sourcePath" "$outPath/nix-support" 235 + else 236 + ln -s "$sourcePath" "$outPath/$sourceName" 237 + fi 238 + done 239 + done 240 + ''; 241 + }; 242 + 243 + # Gets all propagated inputs in a package. This does not recurse. 244 + getPropagatedInputs = 245 + pkg: 246 + lib.optionals (lib.isDerivation pkg) ( 247 + lib.concatMap (input: pkg.${input} or [ ]) [ 248 + "depsBuildBuildPropagated" 249 + "propagatedNativeBuildInputs" 250 + "depsBuildTargetPropagated" 251 + "depsHostHostPropagated" 252 + "propagatedBuildInputs" 253 + "depsTargetTargetPropagated" 254 + ] 255 + ); 256 + 257 + # Looks up the replacement for `pkg` in the `newPackages` mapping. If `pkg` is a 258 + # compiler (meaning it has a `libc` attribute), the compiler will be overriden. 259 + getReplacement = 260 + newPackages: pkg: 261 + let 262 + pkgOrCC = 263 + if pkg.libc or null != null then 264 + # Heuristic to determine whether package is a compiler or bintools. 265 + if pkg.wrapperName == "CC_WRAPPER" then 266 + mkCC (getReplacement newPackages pkg.libc) pkg 267 + else 268 + mkBintools (getReplacement newPackages pkg.libc) pkg 269 + else 270 + pkg; 271 + in 272 + if lib.isDerivation pkg then 273 + newPackages.${builtins.unsafeDiscardStringContext pkg} or pkgOrCC 274 + else 275 + pkg; 276 + 277 + # Replaces all packages propagated by `pkgs` using the `newPackages` mapping. 278 + # It is assumed that all possible overrides have already been incorporated into 279 + # the mapping. If any propagated packages are replaced, a proxy package will be 280 + # created with references to the old packages replaced in `nix-support`. 281 + replacePropagatedPackages = 282 + newPackages: pkg: 283 + let 284 + propagatedInputs = getPropagatedInputs pkg; 285 + env = { 286 + inherit (pkg) outputs; 287 + 288 + replacements = lib.pipe propagatedInputs [ 289 + (lib.filter (pkg: pkg != null)) 290 + (map (dep: { 291 + name = builtins.unsafeDiscardStringContext dep; 292 + value = getReplacement newPackages dep; 293 + })) 294 + (lib.filter (mapping: mapping.name != mapping.value)) 295 + lib.listToAttrs 296 + ]; 297 + 298 + sourceOutputs = lib.genAttrs pkg.outputs (output: lib.getOutput output pkg); 299 + }; 300 + in 301 + # Only remap the package’s propagated inputs if there are any and if any of them 302 + # had packages remapped (with frameworks or proxy packages). 303 + if propagatedInputs != [ ] && env.replacements != { } then mkProxyPackage pkg.name env else pkg; 304 + 305 + # Gets all propagated dependencies in a package in reverse order sorted topologically. 306 + # This takes advantage of the fact that items produced by `operator` are pushed to 307 + # the end of the working set, ensuring that dependencies always appear after their 308 + # parent in the list with leaf nodes at the end. 309 + topologicallyOrderedPropagatedDependencies = 310 + pkgs: 311 + let 312 + mapPackageDeps = lib.flip lib.pipe [ 313 + (lib.filter (pkg: pkg != null)) 314 + (map (pkg: { 315 + key = builtins.unsafeDiscardStringContext pkg; 316 + package = pkg; 317 + deps = getPropagatedInputs pkg; 318 + })) 319 + ]; 320 + in 321 + lib.genericClosure { 322 + startSet = mapPackageDeps pkgs; 323 + operator = { deps, ... }: mapPackageDeps deps; 324 + }; 325 + 326 + # Returns a package mapping based on remapping all propagated packages. 327 + getPackageMapping = 328 + baseMapping: input: 329 + let 330 + dependencies = topologicallyOrderedPropagatedDependencies input; 331 + in 332 + lib.foldr ( 333 + pkg: newPackages: 334 + let 335 + replacement = replacePropagatedPackages newPackages pkg.package; 336 + outPath = pkg.key; 337 + in 338 + if pkg.key == null || newPackages ? ${outPath} then 339 + newPackages 340 + else 341 + newPackages // { ${outPath} = replacement; } 342 + ) baseMapping dependencies; 343 + 344 + overrideSDK = 345 + stdenv: sdkVersion: 346 + let 347 + newVersion = { 348 + inherit (stdenv.hostPlatform) darwinMinVersion darwinSdkVersion; 349 + } // (if lib.isAttrs sdkVersion then sdkVersion else { darwinSdkVersion = sdkVersion; }); 350 + 351 + inherit (newVersion) darwinMinVersion darwinSdkVersion; 352 + 353 + # Used to get an SDK version corresponding to the requested `darwinSdkVersion`. 354 + # TODO: Treat `darwinSdkVersion` as a constraint rather than as an exact version. 355 + resolveSDK = pkgs: pkgs.darwin."apple_sdk_${lib.replaceStrings [ "." ] [ "_" ] darwinSdkVersion}"; 356 + 357 + # `newSdkPackages` is constructed based on the assumption that SDK packages only 358 + # propagate versioned packages from that SDK -- that they neither propagate 359 + # unversioned SDK packages nor propagate non-SDK packages (such as curl). 360 + # 361 + # Note: `builtins.unsafeDiscardStringContext` is used to allow the path from the 362 + # original package output to be mapped to the replacement. This is safe because 363 + # the value is not persisted anywhere and necessary because store paths are not 364 + # allowed as attrset names otherwise. 365 + baseSdkMapping = lib.pipe args [ 366 + (lib.flip removeAttrs [ 367 + "lib" 368 + "stdenvNoCC" 369 + "extendMkDerivationArgs" 370 + ]) 371 + (lib.filterAttrs (_: lib.hasAttr "darwin")) 372 + lib.attrValues 373 + (lib.concatMap ( 374 + pkgs: 375 + let 376 + newSDK = resolveSDK pkgs; 377 + 378 + frameworks = mkMapping "frameworks" pkgs newSDK; 379 + libs = mkMapping "libs" pkgs newSDK; 380 + overrides = mkOverrides pkgs newSDK newVersion; 381 + in 382 + frameworks ++ libs ++ overrides 383 + )) 384 + lib.listToAttrs 385 + ]; 386 + 387 + # Remaps all inputs given to the requested SDK version. The result is an attrset 388 + # that can be passed to `extendMkDerivationArgs`. 389 + mapInputsToSDK = 390 + inputs: args: 391 + lib.pipe inputs [ 392 + (lib.filter (input: args ? ${input})) 393 + (lib.flip lib.genAttrs ( 394 + inputName: 395 + let 396 + input = args.${inputName}; 397 + newPackages = getPackageMapping baseSdkMapping input; 398 + in 399 + map (getReplacement newPackages) input 400 + )) 401 + ]; 402 + in 403 + stdenv.override ( 404 + old: 405 + { 406 + buildPlatform = mkPlatform newVersion old.buildPlatform; 407 + hostPlatform = mkPlatform newVersion old.hostPlatform; 408 + targetPlatform = mkPlatform newVersion old.targetPlatform; 409 + } 410 + # Only perform replacements if the SDK version has changed. Changing only the 411 + # deployment target does not require replacing the libc or SDK dependencies. 412 + // lib.optionalAttrs (old.hostPlatform.darwinSdkVersion != darwinSdkVersion) { 413 + allowedRequisites = null; 414 + 415 + mkDerivationFromStdenv = extendMkDerivationArgs old (mapInputsToSDK [ 416 + "depsBuildBuild" 417 + "nativeBuildInputs" 418 + "depsBuildTarget" 419 + "depsHostHost" 420 + "buildInputs" 421 + "depsTargetTarget" 422 + "depsBuildBuildPropagated" 423 + "propagatedNativeBuildInputs" 424 + "depsBuildTargetPropagated" 425 + "depsHostHostPropagated" 426 + "propagatedBuildInputs" 427 + "depsTargetTargetPropagated" 428 + ]); 429 + 430 + cc = getReplacement baseSdkMapping old.cc; 431 + 432 + extraBuildInputs = map (getReplacement baseSdkMapping) stdenv.extraBuildInputs; 433 + extraNativeBuildInputs = map (getReplacement baseSdkMapping) stdenv.extraNativeBuildInputs; 434 + } 435 + ); 436 + in 437 + overrideSDK
-57
pkgs/stdenv/darwin/unpack-bootstrap-tools-aarch64.sh
··· 1 - set -euo pipefail 2 - 3 - # Unpack the bootstrap tools tarball. 4 - echo Unpacking the bootstrap tools... 5 - $mkdir $out 6 - $bzip2 -d < $tarball | (cd $out && $cpio -i) 7 - 8 - export PATH=$out/bin 9 - 10 - # Fix codesign wrapper paths 11 - sed -i \ 12 - -e "1c\ 13 - #!$out/bin/bash" \ 14 - -e "s|[^( ]*\bsigtool\b|$out/bin/sigtool|g" \ 15 - $out/bin/codesign 16 - 17 - updateInstallName() { 18 - local path="$1" 19 - 20 - cp "$path" "$path.new" 21 - install_name_tool -id "$path" "$path.new" 22 - # workaround for https://github.com/NixOS/nixpkgs/issues/294518 23 - # libc++.1.0.dylib contains wrong LC_RPATH 24 - if [[ ${path} == *libc++.1.0.dylib ]]; then 25 - install_name_tool -add_rpath @loader_path/.. "${path}.new" 26 - fi 27 - codesign -f -i "$(basename "$path")" -s - "$path.new" 28 - mv -f "$path.new" "$path" 29 - } 30 - 31 - find $out 32 - 33 - ln -s bash $out/bin/sh 34 - ln -s bzip2 $out/bin/bunzip2 35 - 36 - find $out/lib -type f -name '*.dylib' -print0 | while IFS= read -r -d $'\0' lib; do 37 - updateInstallName "$lib" 38 - done 39 - 40 - # Provide a gunzip script. 41 - cat > $out/bin/gunzip <<EOF 42 - #!$out/bin/sh 43 - exec $out/bin/gzip -d "\$@" 44 - EOF 45 - chmod +x $out/bin/gunzip 46 - 47 - # Provide fgrep/egrep. 48 - echo "#! $out/bin/sh" > $out/bin/egrep 49 - echo "exec $out/bin/grep -E \"\$@\"" >> $out/bin/egrep 50 - echo "#! $out/bin/sh" > $out/bin/fgrep 51 - echo "exec $out/bin/grep -F \"\$@\"" >> $out/bin/fgrep 52 - 53 - cat >$out/bin/dsymutil << EOF 54 - #!$out/bin/sh 55 - EOF 56 - 57 - chmod +x $out/bin/egrep $out/bin/fgrep $out/bin/dsymutil
-54
pkgs/stdenv/darwin/unpack-bootstrap-tools.sh
··· 1 - set -e 2 - 3 - # Unpack the bootstrap tools tarball. 4 - echo Unpacking the bootstrap tools... 5 - $mkdir $out 6 - $bzip2 -d < $tarball | (cd $out && $cpio -i) 7 - 8 - # Set the ELF interpreter / RPATH in the bootstrap binaries. 9 - echo Patching the tools... 10 - 11 - export PATH=$out/bin 12 - 13 - for i in $out/bin/*; do 14 - if ! test -L $i; then 15 - echo patching $i 16 - install_name_tool -add_rpath $out/lib $i || true 17 - fi 18 - done 19 - 20 - for i in $out/lib/*.dylib $out/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation; do 21 - if test ! -L "$i" -a "$i" != "$out/lib/libSystem*.dylib"; then 22 - echo "Patching $i" 23 - 24 - id=$(otool -D "$i" | tail -n 1) 25 - install_name_tool -id "$(dirname $i)/$(basename $id)" $i 26 - 27 - libs=$(otool -L "$i" | tail -n +2 | grep -v libSystem | cat) 28 - if [ -n "$libs" ]; then 29 - install_name_tool -add_rpath $out/lib $i 30 - fi 31 - fi 32 - done 33 - 34 - ln -s bash $out/bin/sh 35 - ln -s bzip2 $out/bin/bunzip2 36 - 37 - # Provide a gunzip script. 38 - cat > $out/bin/gunzip <<EOF 39 - #!$out/bin/sh 40 - exec $out/bin/gzip -d "\$@" 41 - EOF 42 - chmod +x $out/bin/gunzip 43 - 44 - # Provide fgrep/egrep. 45 - echo "#! $out/bin/sh" > $out/bin/egrep 46 - echo "exec $out/bin/grep -E \"\$@\"" >> $out/bin/egrep 47 - echo "#! $out/bin/sh" > $out/bin/fgrep 48 - echo "exec $out/bin/grep -F \"\$@\"" >> $out/bin/fgrep 49 - 50 - cat >$out/bin/dsymutil << EOF 51 - #!$out/bin/sh 52 - EOF 53 - 54 - chmod +x $out/bin/egrep $out/bin/fgrep $out/bin/dsymutil
+4 -3
pkgs/stdenv/generic/setup.sh
··· 1069 1069 # disregard the error code from the xz invocation. Otherwise, 1070 1070 # it can happen that tar exits earlier, causing xz to fail 1071 1071 # from a SIGPIPE. 1072 - (XZ_OPT="--threads=$NIX_BUILD_CORES" xz -d < "$fn"; true) | tar xf - --warning=no-timestamp 1072 + (XZ_OPT="--threads=$NIX_BUILD_CORES" xz -d < "$fn"; true) | tar xf - --mode=+w --warning=no-timestamp 1073 1073 ;; 1074 1074 *.tar | *.tar.* | *.tgz | *.tbz2 | *.tbz) 1075 1075 # GNU tar can automatically select the decompression method 1076 1076 # (info "(tar) gzip"). 1077 - tar xf "$fn" --warning=no-timestamp 1077 + tar xf "$fn" --mode=+w --warning=no-timestamp 1078 1078 ;; 1079 1079 *) 1080 1080 return 1 ··· 1421 1421 # Make sure everything is writable so "strip" et al. work. 1422 1422 local output 1423 1423 for output in $(getAllOutputNames); do 1424 - if [ -e "${!output}" ]; then chmod -R u+w "${!output}"; fi 1424 + # for set*id bits see #300635 1425 + if [ -e "${!output}" ]; then chmod -R u+w,u-s,g-s "${!output}"; fi 1425 1426 done 1426 1427 1427 1428 runHook preFixup
+3
pkgs/tools/X11/xdg-utils/default.nix
··· 180 180 "$MV" = true; 181 181 "$XPROP" = true; 182 182 }; 183 + execer = [ 184 + "cannot:${perl}/bin/perl" 185 + ]; 183 186 prologue = "${writeText "xdg-screensaver-prologue" '' 184 187 export PERL5LIB=${with perlPackages; makePerlPath [ NetDBus XMLTwig XMLParser X11Protocol ]} 185 188 export PATH=$PATH:${coreutils}/bin
+1 -1
pkgs/tools/bootloaders/refind/default.nix
··· 129 129 computers, such as all Intel-based Macs and recent (most 2011 130 130 and later) PCs. rEFInd presents a boot menu showing all the EFI 131 131 boot loaders on the EFI-accessible partitions, and optionally 132 - BIOS-bootable partitions on Macs. EFI-compatbile OSes, including 132 + BIOS-bootable partitions on Macs. EFI-compatible OSes, including 133 133 Linux, provide boot loaders that rEFInd can detect and 134 134 launch. rEFInd can launch Linux EFI boot loaders such as ELILO, 135 135 GRUB Legacy, GRUB 2, and 3.3.0 and later kernels with EFI stub
+2 -2
pkgs/tools/compression/zstd/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "zstd"; 24 - version = "1.5.5"; 24 + version = "1.5.6"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "facebook"; 28 28 repo = "zstd"; 29 29 rev = "v${version}"; 30 - sha256 = "sha256-tHHHIsQU7vJySrVhJuMKUSq11MzkmC+Pcsj00uFJdnQ="; 30 + hash = "sha256-qcd92hQqVBjMT3hyntjcgk29o9wGQsg5Hg7HE5C0UNc="; 31 31 }; 32 32 33 33 nativeBuildInputs = [ cmake ]
+2 -2
pkgs/tools/filesystems/ceph/default.nix
··· 239 239 inherit version; 240 240 hash = "sha256-hBSYub7GFiOxtsR+u8AjZ8B9YODhlfGXkIF/EMyNsLc="; 241 241 }; 242 - pytestFlagsArray = [ 243 - "-W" "ignore::pytest.PytestRemovedIn8Warning" 242 + disabledTests = old.disabledTests or [ ] ++ [ 243 + "test_export_md5_digest" 244 244 ]; 245 245 }); 246 246
+8 -2
pkgs/tools/misc/coreutils/default.nix
··· 32 32 in 33 33 stdenv.mkDerivation rec { 34 34 pname = "coreutils" + (optionalString (!minimal) "-full"); 35 - version = "9.4"; 35 + version = "9.5"; 36 36 37 37 src = fetchurl { 38 38 url = "mirror://gnu/coreutils/coreutils-${version}.tar.xz"; 39 - hash = "sha256-6mE6TPRGEjJukXIBu7zfvTAd4h/8O1m25cB+BAsnXlI="; 39 + hash = "sha256-zTKO3qyS9qZl3p8yPJO3Eq8YWLwuDYjz9xAEaUcKG4o="; 40 40 }; 41 41 42 42 postPatch = '' ··· 45 45 sed '2i echo Skipping du threshold test && exit 77' -i ./tests/du/threshold.sh 46 46 sed '2i echo Skipping cp reflink-auto test && exit 77' -i ./tests/cp/reflink-auto.sh 47 47 sed '2i echo Skipping cp sparse test && exit 77' -i ./tests/cp/sparse.sh 48 + sed '2i echo Skipping env test && exit 77' -i ./tests/env/env.sh 48 49 sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh 49 50 sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh 50 51 ··· 66 67 sed '2i echo Skipping chgrp && exit 77' -i "$f" 67 68 done 68 69 for f in gnulib-tests/{test-chown.c,test-fchownat.c,test-lchown.c}; do 70 + echo "int main() { return 77; }" > "$f" 71 + done 72 + 73 + # We don't have localtime in the sandbox 74 + for f in gnulib-tests/{test-localtime_r.c,test-localtime_r-mt.c}; do 69 75 echo "int main() { return 77; }" > "$f" 70 76 done 71 77
+2 -2
pkgs/tools/misc/man-db/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "man-db"; 19 - version = "2.12.0"; 19 + version = "2.12.1"; 20 20 21 21 src = fetchurl { 22 22 url = "mirror://savannah/man-db/man-db-${version}.tar.xz"; 23 - hash = "sha256-QVpihKInZK0i/w9mcQ2FO+d5DdRRzXFDbj0lx02ZapU="; 23 + hash = "sha256-3e4kna63jPkrq3lMzQacyLV1mSJl6iDiOeiHFW6IAmU="; 24 24 }; 25 25 26 26 outputs = [ "out" "doc" ];
-3
pkgs/tools/misc/plocate/default.nix
··· 33 33 "-Ddbpath=locatedb" 34 34 ]; 35 35 36 - # https://github.com/NixOS/nixpkgs/issues/300635 37 - postInstall = ''chmod -R u-s,g-s "$out"''; 38 - 39 36 meta = with lib; { 40 37 description = "Much faster locate"; 41 38 homepage = "https://plocate.sesse.net/";
+2 -2
pkgs/tools/misc/thefuck/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, buildPythonApplication 2 2 , colorama, decorator, psutil, pyte, six 3 - , go, mock, pytestCheckHook, pytest-mock, pytest_7 3 + , go, mock, pytest7CheckHook, pytest-mock 4 4 }: 5 5 6 6 buildPythonApplication rec { ··· 16 16 17 17 propagatedBuildInputs = [ colorama decorator psutil pyte six ]; 18 18 19 - nativeCheckInputs = [ go mock (pytestCheckHook.override { pytest = pytest_7; }) pytest-mock ]; 19 + nativeCheckInputs = [ go mock pytest7CheckHook pytest-mock ]; 20 20 21 21 disabledTests = lib.optionals stdenv.isDarwin [ 22 22 "test_settings_defaults"
+4 -3
pkgs/tools/networking/curl/default.nix
··· 49 49 50 50 stdenv.mkDerivation (finalAttrs: { 51 51 pname = "curl"; 52 - version = "8.6.0"; 52 + version = "8.7.1"; 53 53 54 54 src = fetchurl { 55 55 urls = [ 56 56 "https://curl.haxx.se/download/curl-${finalAttrs.version}.tar.xz" 57 57 "https://github.com/curl/curl/releases/download/curl-${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}/curl-${finalAttrs.version}.tar.xz" 58 58 ]; 59 - hash = "sha256-PM1V2Rr5UWU534BiX4GMc03G8uz5utozx2dl6ZEh2xU="; 59 + hash = "sha256-b+oqrGpGEPvQQAr7C83b5yWKZMY/H2jlhV68DGWXEM0="; 60 60 }; 61 61 62 62 postPatch = '' ··· 196 196 # nginx-http3 = useThisCurl nixosTests.nginx-http3; 197 197 nginx-http3 = nixosTests.nginx-http3; 198 198 pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 199 + } // lib.optionalAttrs (stdenv.hostPlatform.system != "x86_64-darwin") { 199 200 static = pkgsStatic.curl; 200 201 } // lib.optionalAttrs (!stdenv.isDarwin) { 201 202 fetchpatch = tests.fetchpatch.simple.override { fetchpatch = (fetchpatch.override { fetchurl = useThisCurl fetchurl; }) // { version = 1; }; }; ··· 210 211 maintainers = with maintainers; [ lovek323 ]; 211 212 platforms = platforms.all; 212 213 # Fails to link against static brotli or gss 213 - broken = stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport); 214 + broken = (stdenv.hostPlatform.isStatic && (brotliSupport || gssSupport || stdenv.hostPlatform.system == "x86_64-darwin")) || rustlsSupport; 214 215 pkgConfigModules = [ "libcurl" ]; 215 216 mainProgram = "curl"; 216 217 };
+2 -27
pkgs/tools/networking/unbound/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , openssl 6 5 , nettle 7 6 , expat ··· 51 50 52 51 stdenv.mkDerivation (finalAttrs: { 53 52 pname = "unbound"; 54 - version = "1.19.2"; 53 + version = "1.19.3"; 55 54 56 55 src = fetchurl { 57 56 url = "https://nlnetlabs.nl/downloads/unbound/unbound-${finalAttrs.version}.tar.gz"; 58 - hash = "sha256-zFYNNFc0ImwbOecadpeX5/3eImXLt3685UJwS7pInlU="; 57 + hash = "sha256-OuMivn3C+DFgPksDkUNVM61YYcIyLjSnYAap+2XrVrk="; 59 58 }; 60 - 61 - 62 - # Cherry pick some already merged upstream patches for configure 63 - patches = [ 64 - # Search for protobuf-c with pkg-config 65 - # https://github.com/NLnetLabs/unbound/pull/999 66 - (fetchpatch { 67 - url = "https://github.com/NLnetLabs/unbound/commit/59d98b9ef64e597c331c27160715d7a1b40c8638.patch"; 68 - hash = "sha256-DvYoYBTXOwbR8Z0GRgt724WqX3dbIEOdICU2/VMRSVQ="; 69 - }) 70 - # Fix for previous patch 71 - # https://github.com/NLnetLabs/unbound/issues/1006 72 - (fetchpatch { 73 - url = "https://github.com/NLnetLabs/unbound/commit/93490a0fc1bf9e62e6edcd6b69f1463c7ac410e9.patch"; 74 - hash = "sha256-mBo63ZlayD3YkOgIoQN0dG+xuFq/BxcjBmSo1vapiYA="; 75 - excludes = [ "doc/Changelog" ]; 76 - }) 77 - # Fix for previous patch 78 - # https://github.com/NLnetLabs/unbound/commit/3f5175584b0bb9ff7d417bc195ec6e4316ae58d3 79 - (fetchpatch { 80 - url = "https://github.com/NLnetLabs/unbound/commit/3f5175584b0bb9ff7d417bc195ec6e4316ae58d3.patch"; 81 - hash = "sha256-DcWfvmk+4K3c9Z+4grwzEGIkEBYNpbTK3xuBqRI33fY="; 82 - }) 83 - ]; 84 59 85 60 outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB 86 61
+1 -1
pkgs/tools/package-management/rpm/default.nix
··· 44 44 45 45 # rpm/rpmlib.h includes popt.h, and then the pkg-config file mentions these as linkage requirements 46 46 propagatedBuildInputs = [ popt nss db bzip2 libarchive libbfd ] 47 - ++ lib.optional stdenv.isLinux elfutils; 47 + ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform elfutils) elfutils; 48 48 49 49 env.NIX_CFLAGS_COMPILE = "-I${nspr.dev}/include/nspr -I${nss.dev}/include/nss"; 50 50
+1 -1
pkgs/tools/security/gnupg/24.nix
··· 50 50 "--with-libgcrypt-prefix=${libgcrypt.dev}" 51 51 "--with-libassuan-prefix=${libassuan.dev}" 52 52 "--with-ksba-prefix=${libksba.dev}" 53 - "--with-npth-prefix=${npth}" 53 + "GPGRT_CONFIG=${lib.getDev libgpg-error}/bin/gpgrt-config" 54 54 ] 55 55 ++ lib.optional guiSupport "--with-pinentry-pgm=${pinentry}/${pinentry.binaryPath or "bin/pinentry"}" 56 56 ++ lib.optional withTpm2Tss "--with-tss=intel"
+4 -1
pkgs/tools/security/onlykey-cli/default.nix
··· 10 10 sha256 = "sha256-ZmQnyZx9YlIIxMMdZ0U2zb+QANfcwrtG7iR1LpgzmBQ="; 11 11 }; 12 12 13 + build-system = with python3Packages; [ 14 + cython 15 + ]; 16 + 13 17 propagatedBuildInputs = with python3Packages; [ 14 18 aenum 15 - cython 16 19 ecdsa 17 20 hidapi 18 21 onlykey-solo-python
+2 -2
pkgs/tools/system/pciutils/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "pciutils"; 10 - version = "3.11.1"; # with release-date database 10 + version = "3.12.0"; # with release-date database 11 11 12 12 src = fetchurl { 13 13 url = "mirror://kernel/software/utils/pciutils/pciutils-${version}.tar.xz"; 14 - hash = "sha256-P0cq2GRHPeW6F/dlzJbvXzPhtzCRjTrdpvlFoqkpDfQ="; 14 + hash = "sha256-8YXRFtX/mbeXSX786PGfHujMxaZouXoVnj0TRy9nQVQ="; 15 15 }; 16 16 17 17 nativeBuildInputs = [ pkg-config ];
+1 -1
pkgs/tools/virtualization/cloud-init/default.nix
··· 71 71 ]; 72 72 73 73 nativeCheckInputs = with python3.pkgs; [ 74 - (pytestCheckHook.override { pytest = pytest_7; }) 74 + pytest7CheckHook 75 75 httpretty 76 76 dmidecode 77 77 # needed for tests; at runtime we rather want the setuid wrapper
+5 -8
pkgs/top-level/all-packages.nix
··· 15625 15625 15626 15626 default-gcc-version = 15627 15627 if (with stdenv.targetPlatform; isVc4 || libc == "relibc") then 6 15628 - else if stdenv.buildPlatform.isDarwin then 12 # unable to test 15629 15628 else 13; 15630 15629 gcc = pkgs.${"gcc${toString default-gcc-version}"}; 15631 15630 gccFun = callPackage ../development/compilers/gcc; ··· 16694 16693 wrapRustcWith = { rustc-unwrapped, ... } @ args: callPackage ../build-support/rust/rustc-wrapper args; 16695 16694 wrapRustc = rustc-unwrapped: wrapRustcWith { inherit rustc-unwrapped; }; 16696 16695 16697 - rust_1_76 = callPackage ../development/compilers/rust/1_76.nix { 16696 + rust_1_77 = callPackage ../development/compilers/rust/1_77.nix { 16698 16697 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 16699 16698 llvm_17 = llvmPackages_17.libllvm; 16700 16699 }; 16701 - rust = rust_1_76; 16700 + rust = rust_1_77; 16702 16701 16703 16702 mrustc = callPackage ../development/compilers/mrustc { }; 16704 16703 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; ··· 16706 16705 openssl = openssl_1_1; 16707 16706 }; 16708 16707 16709 - rustPackages_1_76 = rust_1_76.packages.stable; 16710 - rustPackages = rustPackages_1_76; 16708 + rustPackages_1_77 = rust_1_77.packages.stable; 16709 + rustPackages = rustPackages_1_77; 16711 16710 16712 16711 inherit (rustPackages) cargo cargo-auditable cargo-auditable-cargo-wrapper clippy rustc rustPlatform; 16713 16712 ··· 22957 22956 stdenv = gccStdenv; # Required for darwin 22958 22957 }) libprom libpromhttp; 22959 22958 22960 - libproxy = callPackage ../development/libraries/libproxy { 22961 - inherit (darwin.apple_sdk.frameworks) SystemConfiguration CoreFoundation JavaScriptCore; 22962 - }; 22959 + libproxy = callPackage ../development/libraries/libproxy { }; 22963 22960 22964 22961 libpseudo = callPackage ../development/libraries/libpseudo { }; 22965 22962
+1 -1
pkgs/top-level/config.nix
··· 76 76 Whether to expose old attribute names for compatibility. 77 77 78 78 The recommended setting is to enable this, as it 79 - improves backward compatibity, easing updates. 79 + improves backward compatibility, easing updates. 80 80 81 81 The only reason to disable aliases is for continuous 82 82 integration purposes. For instance, Nixpkgs should
+2
pkgs/top-level/linux-kernels.nix
··· 192 192 kernelPatches.request_key_helper 193 193 kernelPatches.rust_1_75 194 194 kernelPatches.rust_1_76 195 + kernelPatches.rust_1_77-6_8 195 196 ]; 196 197 }; 197 198 ··· 203 204 kernelPatches = [ 204 205 kernelPatches.bridge_stp_helper 205 206 kernelPatches.request_key_helper 207 + kernelPatches.rust_1_77-6_9 206 208 ]; 207 209 }; 208 210 latest = packageAliases.linux_latest.kernel;
+3 -8
pkgs/top-level/python-packages.nix
··· 2640 2640 2641 2641 cython = callPackage ../development/python-modules/cython { }; 2642 2642 2643 - cython_3 = self.cython.overridePythonAttrs (old: rec { 2644 - version = "3.0.9"; 2645 - src = old.src.override { 2646 - inherit version; 2647 - hash = "sha256-otNU8FnR8FXTTPqmLFtovHisLOq2QHFI1H+1CM87pPM="; 2648 - }; 2649 - patches = [ ]; 2650 - }); 2643 + cython_0 = callPackage ../development/python-modules/cython/0.nix { }; 2651 2644 2652 2645 cython-test-exception-raiser = callPackage ../development/python-modules/cython-test-exception-raiser { }; 2653 2646 ··· 11881 11874 pytest = callPackage ../development/python-modules/pytest { }; 11882 11875 11883 11876 pytest_7 = callPackage ../development/python-modules/pytest/7.nix { }; 11877 + 11878 + pytest7CheckHook = pytestCheckHook.override { pytest = pytest_7; }; 11884 11879 11885 11880 pytest-aio = callPackage ../development/python-modules/pytest-aio { }; 11886 11881