From c81b99951d81d3a3673a865a2904ce40b73aa00a Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Sun, 17 Mar 2024 13:51:53 +0000 Subject: [PATCH 01/69] cargo-pio: init at 0.25.6 --- pkgs/by-name/ca/cargo-pio/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ca/cargo-pio/package.nix diff --git a/pkgs/by-name/ca/cargo-pio/package.nix b/pkgs/by-name/ca/cargo-pio/package.nix new file mode 100644 index 0000000000000..5942627f4aec0 --- /dev/null +++ b/pkgs/by-name/ca/cargo-pio/package.nix @@ -0,0 +1,27 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: +rustPlatform.buildRustPackage rec { + pname = "cargo-pio"; + version = "0.25.6"; + + src = fetchFromGitHub { + owner = "esp-rs"; + repo = "embuild"; + rev = "cargo-pio-v${version}"; + hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k="; + }; + + cargoHash = "sha256-41ZDe7yP4C9JcX5trcDxcqdgZ+SnhDIIq51hM0Viv9w="; + + buildAndTestSubdir = "cargo-pio"; + + meta = with lib; { + description = "Build Rust embedded projects with PlatformIO"; + homepage = "https://github.com/esp-rs/embuild/tree/master/cargo-pio"; + license = with lib.licenses; [ asl20 mit ]; + maintainers = with maintainers; [ dannixon ]; + mainProgram = "cargo-pio"; + }; +} From 2c72efd1311450c62723bfd8639e67a06a004c73 Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Thu, 14 Mar 2024 21:37:55 +0000 Subject: [PATCH 02/69] github-markdown-toc-go: init at 1.4.0 --- .../gi/github-markdown-toc-go/package.nix | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/by-name/gi/github-markdown-toc-go/package.nix diff --git a/pkgs/by-name/gi/github-markdown-toc-go/package.nix b/pkgs/by-name/gi/github-markdown-toc-go/package.nix new file mode 100644 index 0000000000000..809664c90d1db --- /dev/null +++ b/pkgs/by-name/gi/github-markdown-toc-go/package.nix @@ -0,0 +1,25 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: +buildGoModule rec { + pname = "github-markdown-toc-go"; + version = "1.4.0"; + + src = fetchFromGitHub { + owner = "ekalinin"; + repo = "github-markdown-toc.go"; + rev = "v${version}"; + hash = "sha256-tZGAvbC9lrNhtRubCJUkQShRsfCsaAeI6XHhSp4FkS0="; + }; + + vendorHash = "sha256-K5yb7bnW6eS5UESK9wgNEUwGjB63eJk6+B0jFFiFero="; + + meta = { + homepage = "https://github.com/ekalinin/github-markdown-toc.go"; + description = "Easy TOC creation for GitHub README.md (in go)"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dannixon ]; + mainProgram = "gh-md-toc"; + }; +} From 1873dac3aab8706760685b614782c09582931aff Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Mon, 30 Sep 2024 20:46:05 +0200 Subject: [PATCH 03/69] rubyPackages.puma: 6.4.2 -> 6.4.3 Fixes CVE-2024-45614. https://github.com/puma/puma/security/advisories/GHSA-9hf4-67fc-4vf4 https://github.com/puma/puma/releases/tag/v6.4.3 --- pkgs/top-level/ruby-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/ruby-packages.nix b/pkgs/top-level/ruby-packages.nix index 05a7be580b0e4..82e2543273f58 100644 --- a/pkgs/top-level/ruby-packages.nix +++ b/pkgs/top-level/ruby-packages.nix @@ -2796,10 +2796,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0i2vaww6qcazj0ywva1plmjnj6rk23b01szswc5jhcq7s2cikd1y"; + sha256 = "sha256-JKRkXABoEdg/JIAFfR9UqW52J7a5DhyZsmC53GMOtD4="; type = "gem"; }; - version = "6.4.2"; + version = "6.4.3"; }; pwntools = { dependencies = ["crabstone" "dentaku" "elftools" "keystone-engine" "method_source" "one_gadget" "rainbow" "ruby2ruby" "rubyserial"]; From dc8b17f4029f7c41ee016fe69b0c218b792b3879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Ker=C3=A4nen?= Date: Tue, 8 Oct 2024 20:08:05 +0300 Subject: [PATCH 04/69] cbqn: 0.7.0 -> 0.8.0 Also other sources were updated: - cbqn-bytecode: 0-unstable-2024-05-22 -> 0-unstable-2024-09-15 - replxx: didn't change - singeli: 0-unstable-2024-02-26 -> 0-unstable-2024-09-29 --- .../interpreters/bqn/cbqn/sources.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/interpreters/bqn/cbqn/sources.nix b/pkgs/development/interpreters/bqn/cbqn/sources.nix index 3b9ca78533e36..48470c50e1ba2 100644 --- a/pkgs/development/interpreters/bqn/cbqn/sources.nix +++ b/pkgs/development/interpreters/bqn/cbqn/sources.nix @@ -10,13 +10,13 @@ cbqn = let self = { pname = "cbqn"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "dzaima"; repo = "CBQN"; rev = "v${self.version}"; - hash = "sha256-TUK0HrJ1IyiVi9Y3S1IrK/d4/EZxdRdWyxsAwj79KEc="; + hash = "sha256-vmd7CX0jgozysmjKK0p5GM4Qd3vY71q1kcKwfr+6fkw="; }; }; in @@ -24,13 +24,13 @@ cbqn-bytecode = { pname = "cbqn-bytecode"; - version = "0-unstable-2024-05-22"; + version = "0-unstable-2024-09-15"; src = fetchFromGitHub { owner = "dzaima"; repo = "cbqnBytecode"; - rev = "c5674783c11d7569e5a4d166600ffcde2409331d"; - hash = "sha256-y7gqHzUxVUUVryutlq3Upuso8r3ZRSyF7ydMg1OVlwA="; + rev = "c7d83937710889591bad3525077afc30a21e5148"; + hash = "sha256-bEHyiJusddBuTk7MZX1NGvkj66WeOJv5qxBQV6Uhs1E="; }; }; @@ -48,13 +48,13 @@ singeli = { pname = "singeli"; - version = "0-unstable-2024-02-26"; + version = "0-unstable-2024-09-29"; src = fetchFromGitHub { owner = "mlochbaum"; repo = "Singeli"; - rev = "ce6ef5d06d35777f0016bbfe0c6c1cf6a9c1b48e"; - hash = "sha256-dDoWoq4LYMD2CKyPxXDAwoeH2E+f0FDyvngtWPEr67w="; + rev = "b43f3999b0c5a40b43ceee258fbe6bb8245d06af"; + hash = "sha256-tf5mYIV368Y2cgYJ0U4OZQxuN6kldHUKi9oSjAHbA4Y="; }; }; } From 780f641fb2a388d706dc751ca5458f261d393bbd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 15 Oct 2024 05:17:26 +0000 Subject: [PATCH 05/69] pgpool: 4.5.2 -> 4.5.4 --- pkgs/servers/sql/pgpool/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/pgpool/default.nix b/pkgs/servers/sql/pgpool/default.nix index b4f5724bcf779..21105ea723ca5 100644 --- a/pkgs/servers/sql/pgpool/default.nix +++ b/pkgs/servers/sql/pgpool/default.nix @@ -10,12 +10,12 @@ stdenv.mkDerivation rec { pname = "pgpool-II"; - version = "4.5.2"; + version = "4.5.4"; src = fetchurl { url = "https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-${version}.tar.gz"; name = "pgpool-II-${version}.tar.gz"; - hash = "sha256-SArCPwHNfWyFayk4a/F6hIcS+0tAV9TIq9XIv4Gb3wY="; + hash = "sha256-0TkudM4oB/iuYohyyxq3kUJJkhGA3JnfQKHWAmR6EP0="; }; buildInputs = [ From d7f1bc95bc8f648be701e6f62f4c73d556840f8e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 15 Oct 2024 10:04:56 -0500 Subject: [PATCH 06/69] fyne: 2.5.1 -> 2.5.2 --- pkgs/by-name/fy/fyne/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fy/fyne/package.nix b/pkgs/by-name/fy/fyne/package.nix index fafe2a36a3bee..6411c84d22b09 100644 --- a/pkgs/by-name/fy/fyne/package.nix +++ b/pkgs/by-name/fy/fyne/package.nix @@ -17,16 +17,16 @@ buildGoModule rec { pname = "fyne"; - version = "2.5.1"; + version = "2.5.2"; src = fetchFromGitHub { owner = "fyne-io"; repo = "fyne"; rev = "refs/tags/v${version}"; - hash = "sha256-21/52Uub5+l0TcuWZ9QSyckgR1kKNfDvro1CF5QuZWA="; + hash = "sha256-XaD7t1hSv5plDa6QHDTyoWgzvSFMRezvHl47YphXoig="; }; - vendorHash = "sha256-+g11BRf9xRXjtF8InzdTHGOGOf8lJgLKEdBR5DcpEmo="; + vendorHash = "sha256-uV+pbGxAV/uuHV0xl2vPZpgGYRj9/E0rhFtLfCV5rnE="; nativeBuildInputs = [ pkg-config ]; From 4d51d5c799c0f17197433a8e9cd1d575d29eb987 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 16 Oct 2024 21:06:52 +0200 Subject: [PATCH 07/69] limesurvey: 6.4.1+240108 -> 6.6.5+240924 Fixes CVE-2024-28709, CVE-2024-28710 and CVE-2024-42903. Changes: https://github.com/LimeSurvey/LimeSurvey/blob/6.6.5%2B240924/docs/release_notes.txt --- pkgs/servers/limesurvey/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/limesurvey/default.nix b/pkgs/servers/limesurvey/default.nix index 9f7db0b916b6d..ecffaa1fe27d6 100644 --- a/pkgs/servers/limesurvey/default.nix +++ b/pkgs/servers/limesurvey/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "limesurvey"; - version = "6.4.1+240108"; + version = "6.6.5+240924"; src = fetchFromGitHub { owner = "LimeSurvey"; repo = "LimeSurvey"; rev = version; - hash = "sha256-Cpf8X6igF7LdRbFihGudFmx/8aY0Kf0BE7jHnEF1DYA="; + hash = "sha256-CuuTFCDY7jnF2njZdyB6e8/nRf0n0ybKgZ0QscC2IAI="; }; phpConfig = writeText "config.php" '' From 305e7a4434985e0e9c7bc9cec006515366050a4d Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Sun, 13 Oct 2024 18:52:39 -0700 Subject: [PATCH 08/69] mattermost: 9.5.9 -> 9.11.3 --- pkgs/by-name/ma/mattermost/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ma/mattermost/package.nix b/pkgs/by-name/ma/mattermost/package.nix index d1d1a278ffdc9..04c53fd8a1e9c 100644 --- a/pkgs/by-name/ma/mattermost/package.nix +++ b/pkgs/by-name/ma/mattermost/package.nix @@ -12,13 +12,13 @@ buildGoModule rec { # See https://docs.mattermost.com/upgrade/extended-support-release.html # When a new ESR version is available (e.g. 8.1.x -> 9.5.x), update # the version regex in passthru.updateScript as well. - version = "9.5.11"; + version = "9.11.3"; src = fetchFromGitHub { owner = "mattermost"; repo = "mattermost"; rev = "v${version}"; - hash = "sha256-kPsBQjBMHxh5EGTFPNceE51nSEKSu6ieifIAV8PjpAc="; + hash = "sha256-CuFkydl1ZZUAWmrDIV1Jp9S6jIKYmglAe5XW2lTRgtQ="; }; # Needed because buildGoModule does not support go workspaces yet. @@ -34,14 +34,14 @@ buildGoModule rec { webapp = fetchurl { url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz"; - hash = "sha256-dRB0CqUoEIkCDlH/vcn/S1TLlhz9iWp61WM2kk+ToZk="; + hash = "sha256-4JzhL2+G3T98pNFgKugs/eoSrbm7QSk5grVlprrIKEI="; }; # Makes nix-update-script pick up the fetchurl for the webapp. # https://github.com/Mic92/nix-update/blob/1.3.1/nix_update/eval.py#L179 offlineCache = webapp; - vendorHash = "sha256-3IiW5ZAMX0bbN65iFgD2CH3BmXd1Uv2HgcCqY8VQgrA="; + vendorHash = "sha256-Gwv6clnq7ihoFC8ox8iEM5xp/us9jWUrcmqA9/XbxBE="; modRoot = "./server"; preBuild = '' @@ -73,7 +73,7 @@ buildGoModule rec { passthru = { updateScript = nix-update-script { - extraArgs = [ "--version-regex" "^v(9\.5\.[0-9]+)$" ]; + extraArgs = [ "--version-regex" "^v(9\.11\.[0-9]+)$" ]; }; tests.mattermost = nixosTests.mattermost; }; From 727d2592843ff2f0786ce2b95dafff858a1fd5b7 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Sun, 13 Oct 2024 18:55:34 -0700 Subject: [PATCH 09/69] mattermost: add release-notes entry --- nixos/doc/manual/release-notes/rl-2411.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 3815475f9f709..8fdee36e2260d 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -701,6 +701,8 @@ - The arguments from [](#opt-services.postgresql.initdbArgs) now get shell-escaped. +- Mattermost has been updated from 9.5 to 9.11 ESR. See the [changelog](https://docs.mattermost.com/about/mattermost-v9-changelog.html#release-v9-11-extended-support-release) for more details. + - `cargo-tauri.hook` was introduced to help users build [Tauri](https://tauri.app/) projects. It is meant to be used alongside `rustPlatform.buildRustPackage` and Node hooks such as `npmConfigHook`, `pnpm.configHook`, and the new `yarnConfig` From 07986989b1f092aca2ab701179637fee9416a5b8 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Thu, 17 Oct 2024 18:36:39 +0200 Subject: [PATCH 10/69] fakeroot: 1.32.2 -> 1.36 --- pkgs/tools/system/fakeroot/default.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/pkgs/tools/system/fakeroot/default.nix b/pkgs/tools/system/fakeroot/default.nix index 518d54898d9b3..3e805834bd35a 100644 --- a/pkgs/tools/system/fakeroot/default.nix +++ b/pkgs/tools/system/fakeroot/default.nix @@ -13,7 +13,7 @@ }: stdenv.mkDerivation (finalAttrs: { - version = "1.32.2"; + version = "1.36"; pname = "fakeroot"; src = fetchFromGitLab { @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { repo = "fakeroot"; rev = "upstream/${finalAttrs.version}"; domain = "salsa.debian.org"; - hash = "sha256-j1qSMPNCtAxClqYqWkRNQmtxkitYi7g/9KtQ5XqcX3w="; + hash = "sha256-QNScrkX2Vffsj/I5EJO8qs5AHQ9b5s6nHLHQKUdRzLE="; }; patches = lib.optionals stdenv.hostPlatform.isLinux [ @@ -29,22 +29,11 @@ stdenv.mkDerivation (finalAttrs: { # patches needed for musl libc, borrowed from alpine packaging. # it is applied regardless of the environment to prevent patchrot - (fetchpatch { - name = "do-not-redefine-id_t.patch"; - url = "https://git.alpinelinux.org/aports/plain/main/fakeroot/do-not-redefine-id_t.patch?id=f68c541324ad07cc5b7f5228501b5f2ce4b36158"; - sha256 = "sha256-i9PoWriSrQ7kLZzbvZT3Kq1oXzK9mTyBqq808BGepOw="; - }) (fetchpatch { name = "fakeroot-no64.patch"; url = "https://git.alpinelinux.org/aports/plain/main/fakeroot/fakeroot-no64.patch?id=f68c541324ad07cc5b7f5228501b5f2ce4b36158"; sha256 = "sha256-NCDaB4nK71gvz8iQxlfaQTazsG0SBUQ/RAnN+FqwKkY="; }) - ] ++ [ - (fetchpatch { - name = "addendum-charset-conversion.patch"; - url = "https://salsa.debian.org/clint/fakeroot/-/commit/b769fb19fd89d696a5e0fd70b974f833f6a0655a.patch"; - hash = "sha256-3z1g+xzlyTpa055kpsoumP/E8srDlZss6B7Fv5A0QkU="; - }) ]; nativeBuildInputs = [ autoreconfHook po4a ]; From 6d820f61d5ffd1c5761afa205ba5ef2f962aaf03 Mon Sep 17 00:00:00 2001 From: lucastso10 Date: Tue, 15 Oct 2024 12:30:24 -0300 Subject: [PATCH 11/69] granian: 1.6.0 -> 1.6.1 --- pkgs/by-name/gr/granian/Cargo.lock | 1421 --------------------------- pkgs/by-name/gr/granian/package.nix | 13 +- 2 files changed, 6 insertions(+), 1428 deletions(-) delete mode 100644 pkgs/by-name/gr/granian/Cargo.lock diff --git a/pkgs/by-name/gr/granian/Cargo.lock b/pkgs/by-name/gr/granian/Cargo.lock deleted file mode 100644 index f6a3c5cd67369..0000000000000 --- a/pkgs/by-name/gr/granian/Cargo.lock +++ /dev/null @@ -1,1421 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aes" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - -[[package]] -name = "anyhow" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" - -[[package]] -name = "arc-swap" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - -[[package]] -name = "autocfg" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" - -[[package]] -name = "backtrace" -version = "0.3.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "base64ct" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" - -[[package]] -name = "bitflags" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block-padding" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" -dependencies = [ - "generic-array", -] - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "bytes" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" - -[[package]] -name = "cbc" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" -dependencies = [ - "cipher", -] - -[[package]] -name = "cc" -version = "1.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" -dependencies = [ - "shlex", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "cpufeatures" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad" -dependencies = [ - "libc", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "data-encoding" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" - -[[package]] -name = "der" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", - "subtle", -] - -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "futures" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-executor" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "futures-macro" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" - -[[package]] -name = "futures-task" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" - -[[package]] -name = "futures-util" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "gimli" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" - -[[package]] -name = "granian" -version = "1.6.0" -dependencies = [ - "anyhow", - "crossbeam-channel", - "futures", - "http-body-util", - "hyper", - "hyper-util", - "itertools", - "log", - "mimalloc", - "pem", - "percent-encoding", - "pin-project", - "pkcs8", - "pyo3", - "pyo3-log", - "rustls-pemfile", - "socket2", - "tikv-jemallocator", - "tls-listener", - "tokio", - "tokio-stream", - "tokio-tungstenite", - "tokio-util", -] - -[[package]] -name = "h2" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" -dependencies = [ - "atomic-waker", - "bytes", - "fnv", - "futures-core", - "futures-sink", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest", -] - -[[package]] -name = "http" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" -dependencies = [ - "bytes", - "http", -] - -[[package]] -name = "http-body-util" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" -dependencies = [ - "bytes", - "futures-util", - "http", - "http-body", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" - -[[package]] -name = "httpdate" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[package]] -name = "hyper" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "smallvec", - "tokio", -] - -[[package]] -name = "hyper-util" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9" -dependencies = [ - "bytes", - "futures-util", - "http", - "http-body", - "hyper", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "indexmap" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "indoc" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "block-padding", - "generic-array", -] - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "libc" -version = "0.2.158" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" - -[[package]] -name = "libmimalloc-sys" -version = "0.1.39" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "memoffset" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -dependencies = [ - "autocfg", -] - -[[package]] -name = "mimalloc" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633" -dependencies = [ - "libmimalloc-sys", -] - -[[package]] -name = "miniz_oxide" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" -dependencies = [ - "hermit-abi", - "libc", - "wasi", - "windows-sys", -] - -[[package]] -name = "object" -version = "0.36.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[package]] -name = "parking_lot" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets", -] - -[[package]] -name = "pbkdf2" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" -dependencies = [ - "digest", - "hmac", -] - -[[package]] -name = "pem" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" -dependencies = [ - "base64", - "serde", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pin-project" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkcs5" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e847e2c91a18bfa887dd028ec33f2fe6f25db77db3619024764914affe8b69a6" -dependencies = [ - "aes", - "cbc", - "der", - "pbkdf2", - "scrypt", - "sha2", - "spki", -] - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der", - "pkcs5", - "rand_core", - "spki", -] - -[[package]] -name = "portable-atomic" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" - -[[package]] -name = "ppv-lite86" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "proc-macro2" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "pyo3" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433" -dependencies = [ - "anyhow", - "cfg-if", - "indoc", - "libc", - "memoffset", - "once_cell", - "portable-atomic", - "pyo3-build-config", - "pyo3-ffi", - "pyo3-macros", - "unindent", -] - -[[package]] -name = "pyo3-build-config" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8" -dependencies = [ - "once_cell", - "python3-dll-a", - "target-lexicon", -] - -[[package]] -name = "pyo3-ffi" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6" -dependencies = [ - "libc", - "pyo3-build-config", -] - -[[package]] -name = "pyo3-log" -version = "0.11.0" -source = "git+https://github.com/vorner/pyo3-log?rev=b62a250533#b62a250533f0a85e245dfcd189cadb368b1c73fc" -dependencies = [ - "arc-swap", - "log", - "pyo3", -] - -[[package]] -name = "pyo3-macros" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206" -dependencies = [ - "proc-macro2", - "pyo3-macros-backend", - "quote", - "syn", -] - -[[package]] -name = "pyo3-macros-backend" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372" -dependencies = [ - "heck", - "proc-macro2", - "pyo3-build-config", - "quote", - "syn", -] - -[[package]] -name = "python3-dll-a" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0b78171a90d808b319acfad166c4790d9e9759bbc14ac8273fe133673dd41b" -dependencies = [ - "cc", -] - -[[package]] -name = "quote" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "redox_syscall" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" -dependencies = [ - "bitflags", -] - -[[package]] -name = "ring" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" -dependencies = [ - "cc", - "cfg-if", - "getrandom", - "libc", - "spin", - "untrusted", - "windows-sys", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[package]] -name = "rustls" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" -dependencies = [ - "log", - "ring", - "rustls-pki-types", - "rustls-webpki", - "subtle", - "zeroize", -] - -[[package]] -name = "rustls-pemfile" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425" -dependencies = [ - "base64", - "rustls-pki-types", -] - -[[package]] -name = "rustls-pki-types" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" - -[[package]] -name = "rustls-webpki" -version = "0.102.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" -dependencies = [ - "ring", - "rustls-pki-types", - "untrusted", -] - -[[package]] -name = "salsa20" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" -dependencies = [ - "cipher", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "scrypt" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" -dependencies = [ - "pbkdf2", - "salsa20", - "sha2", -] - -[[package]] -name = "serde" -version = "1.0.209" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.209" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "socket2" -version = "0.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "subtle" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "syn" -version = "2.0.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "target-lexicon" -version = "0.12.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" - -[[package]] -name = "thiserror" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tikv-jemalloc-sys" -version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "tikv-jemallocator" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cec5ff18518d81584f477e9bfdf957f5bb0979b0bac3af4ca30b5b3ae2d2865" -dependencies = [ - "libc", - "tikv-jemalloc-sys", -] - -[[package]] -name = "tls-listener" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a296135fdab7b3a1f708c338c50bab570bcd77d44080cde9341df45c0c6d73" -dependencies = [ - "futures-util", - "pin-project-lite", - "thiserror", - "tokio", - "tokio-rustls", -] - -[[package]] -name = "tokio" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" -dependencies = [ - "backtrace", - "bytes", - "libc", - "mio", - "parking_lot", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys", -] - -[[package]] -name = "tokio-macros" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio-rustls" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" -dependencies = [ - "rustls", - "rustls-pki-types", - "tokio", -] - -[[package]] -name = "tokio-stream" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" -dependencies = [ - "futures-util", - "log", - "tokio", - "tungstenite", -] - -[[package]] -name = "tokio-util" -version = "0.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "pin-project-lite", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", -] - -[[package]] -name = "tungstenite" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" -dependencies = [ - "byteorder", - "bytes", - "data-encoding", - "http", - "httparse", - "log", - "rand", - "sha1", - "thiserror", - "utf-8", -] - -[[package]] -name = "typenum" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unindent" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" - -[[package]] -name = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - -[[package]] -name = "utf-8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "zerocopy" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" -dependencies = [ - "byteorder", - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "zeroize" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" diff --git a/pkgs/by-name/gr/granian/package.nix b/pkgs/by-name/gr/granian/package.nix index ce2b033f2773f..2462ba964cf6d 100644 --- a/pkgs/by-name/gr/granian/package.nix +++ b/pkgs/by-name/gr/granian/package.nix @@ -8,21 +8,20 @@ python3Packages.buildPythonApplication rec { pname = "granian"; - version = "1.6.0"; + version = "1.6.1"; pyproject = true; src = fetchFromGitHub { owner = "emmett-framework"; repo = "granian"; rev = "v${version}"; - hash = "sha256-ZIwZrLl7goweYUj3t5e0yaOqeppFHXvK9PL3chNZZRw="; + hash = "sha256-Cuojg2Ko+KH/279z7HGYEthrMAqLgmnoHGjZ8HL7unw="; }; - cargoDeps = rustPlatform.importCargoLock { - lockFile = ./Cargo.lock; - outputHashes = { - "pyo3-log-0.11.0" = "sha256-UU8064vM7cf20lwfifyPC205CY4tIgif0slDz/Pjf9Q="; - }; + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + name = "${pname}-${version}"; + hash = "sha256-dRBjN0/EmQlGtQ1iGvSPE30KOHVlkWpjpMU2lpIGUdA="; }; nativeBuildInputs = with rustPlatform; [ From 0339c33aa053a06c374011b37111a7a06817f8ff Mon Sep 17 00:00:00 2001 From: Emilio Barradas Date: Wed, 23 Oct 2024 21:40:53 -0400 Subject: [PATCH 12/69] vscode-extensions.svelte.svelte-vscode: 108.3.3 -> 109.1.0 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 6faa812d44232..b0748b34fa851 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -4585,8 +4585,8 @@ let mktplcRef = { name = "svelte-vscode"; publisher = "svelte"; - version = "108.3.3"; - hash = "sha256-q7w8DPzBLpD+13v7RnyDdC3ocDKAihHBVt3pnwSTwio="; + version = "109.1.0"; + hash = "sha256-ozD9k/zfklwBJtc1WdC52hgJckxBgVRmcZOwSYboACM="; }; meta = { changelog = "https://github.com/sveltejs/language-tools/releases"; From 722bf93b6a1cb855c5ebf015991fa270ede6e1c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 24 Oct 2024 04:12:09 +0000 Subject: [PATCH 13/69] nf-test: 0.9.0 -> 0.9.1 --- pkgs/by-name/nf/nf-test/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/nf/nf-test/package.nix b/pkgs/by-name/nf/nf-test/package.nix index ceea014962fa7..b04c4c08e35b2 100644 --- a/pkgs/by-name/nf/nf-test/package.nix +++ b/pkgs/by-name/nf/nf-test/package.nix @@ -10,11 +10,11 @@ stdenv.mkDerivation rec { pname = "nf-test"; - version = "0.9.0"; + version = "0.9.1"; src = fetchurl { url = "https://github.com/askimed/nf-test/releases/download/v${version}/nf-test-${version}.tar.gz"; - hash = "sha256-PhI866NrbokMsSrU6YeSv03S1+VcNqVJsocI3xPfDcc="; + hash = "sha256-NjmB6bL9j6p4CWeVWU9q+aAe+dgH6lwUNZYARm41p8M="; }; sourceRoot = "."; From 9067c29c9a6f22bf6280fc0edc36c8703eeb23cb Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Mon, 16 Sep 2024 12:51:21 +0200 Subject: [PATCH 14/69] qgis: add server support --- nixos/tests/all-tests.nix | 4 +- nixos/tests/qgis.nix | 62 +++++++++++++++++++- pkgs/applications/gis/qgis/default.nix | 2 + pkgs/applications/gis/qgis/ltr.nix | 2 + pkgs/applications/gis/qgis/unwrapped-ltr.nix | 6 +- pkgs/applications/gis/qgis/unwrapped.nix | 6 +- 6 files changed, 75 insertions(+), 7 deletions(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index fb85df8808f1e..3ada88e32f5af 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -845,8 +845,8 @@ in { qemu-vm-volatile-root = runTest ./qemu-vm-volatile-root.nix; qemu-vm-external-disk-image = runTest ./qemu-vm-external-disk-image.nix; qemu-vm-store = runTest ./qemu-vm-store.nix; - qgis = handleTest ./qgis.nix { qgisPackage = pkgs.qgis; }; - qgis-ltr = handleTest ./qgis.nix { qgisPackage = pkgs.qgis-ltr; }; + qgis = handleTest ./qgis.nix { package = pkgs.qgis; }; + qgis-ltr = handleTest ./qgis.nix { package = pkgs.qgis-ltr; }; qownnotes = handleTest ./qownnotes.nix {}; qtile = handleTestOn ["x86_64-linux" "aarch64-linux"] ./qtile/default.nix {}; quake3 = handleTest ./quake3.nix {}; diff --git a/nixos/tests/qgis.nix b/nixos/tests/qgis.nix index 7706b8c077471..e8149e4885627 100644 --- a/nixos/tests/qgis.nix +++ b/nixos/tests/qgis.nix @@ -1,5 +1,6 @@ -import ./make-test-python.nix ({ pkgs, lib, qgisPackage, ... }: +import ./make-test-python.nix ({ pkgs, lib, package, ... }: let + qgisPackage = package.override { withServer = true; }; testScript = pkgs.writeTextFile { name = "qgis-test.py"; text = (builtins.readFile ../../pkgs/applications/gis/qgis/test.py); @@ -12,19 +13,74 @@ import ./make-test-python.nix ({ pkgs, lib, qgisPackage, ... }: }; nodes = { - machine = { pkgs, ... }: { + machine = { config, pkgs, ... }: + + let + qgisServerUser = config.services.nginx.user; + qgisServerSocket = "/run/qgis_mapserv.socket"; + in + { virtualisation.diskSize = 2 * 1024; imports = [ ./common/x11.nix ]; - environment.systemPackages = [ qgisPackage ]; + environment.systemPackages = [ + qgisPackage + ]; + + systemd.sockets.qgis-server = { + listenStreams = [ qgisServerSocket ]; + socketConfig = { + Accept = false; + SocketUser = qgisServerUser; + SocketMode = 0600; + }; + wantedBy = ["sockets.target" "qgis-server.service"]; + before = [ "qgis-server.service" ]; + }; + + systemd.services.qgis-server = { + description = "QGIS server"; + serviceConfig = { + User = qgisServerUser; + StandardOutput = "null"; + StandardError = "journal"; + StandardInput = "socket"; + Environment = [ + "QT_QPA_PLATFORM_PLUGIN_PATH=${pkgs.libsForQt5.qt5.qtbase}/${pkgs.libsForQt5.qt5.qtbase.qtPluginPrefix}/platforms" + "QGIS_SERVER_LOG_LEVEL=0" + "QGIS_SERVER_LOG_STDERR=1" + ]; + ExecStart = "${qgisPackage}/lib/cgi-bin/qgis_mapserv.fcgi"; + }; + after = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + }; + services.nginx = { + enable = true; + virtualHosts."qgis" = { + locations."~".extraConfig = '' + gzip off; + include ${pkgs.nginx}/conf/fastcgi_params; + include ${pkgs.nginx}/conf/fastcgi.conf; + fastcgi_pass unix:${qgisServerSocket}; + ''; + }; + }; }; }; testScript = '' start_all() + # test desktop machine.succeed("${qgisPackage}/bin/qgis --version | grep 'QGIS ${qgisPackage.version}'") machine.succeed("${qgisPackage}/bin/qgis --code ${testScript}") + + # test server + machine.succeed("${qgisPackage}/bin/qgis_mapserver --version | grep 'QGIS ${qgisPackage.version}'") + + machine.succeed("curl --head http://localhost | grep 'Server:.*${qgisPackage.version}'") + machine.succeed("curl http://localhost/index.json | grep 'Landing page as JSON'") ''; }) diff --git a/pkgs/applications/gis/qgis/default.nix b/pkgs/applications/gis/qgis/default.nix index 06e2cbef1f242..d7a65bb7b7a42 100644 --- a/pkgs/applications/gis/qgis/default.nix +++ b/pkgs/applications/gis/qgis/default.nix @@ -8,11 +8,13 @@ # unwrapped package parameters , withGrass ? false +, withServer ? false , withWebKit ? false }: let qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix { withGrass = withGrass; + withServer = withServer; withWebKit = withWebKit; }; in symlinkJoin rec { diff --git a/pkgs/applications/gis/qgis/ltr.nix b/pkgs/applications/gis/qgis/ltr.nix index a588ac6dbd6a7..596347a97e3f2 100644 --- a/pkgs/applications/gis/qgis/ltr.nix +++ b/pkgs/applications/gis/qgis/ltr.nix @@ -8,11 +8,13 @@ # unwrapped package parameters , withGrass ? false +, withServer ? false , withWebKit ? false }: let qgis-ltr-unwrapped = libsForQt5.callPackage ./unwrapped-ltr.nix { withGrass = withGrass; + withServer = withServer; withWebKit = withWebKit; }; in symlinkJoin rec { diff --git a/pkgs/applications/gis/qgis/unwrapped-ltr.nix b/pkgs/applications/gis/qgis/unwrapped-ltr.nix index 98caf348ae805..bc807b7e10749 100644 --- a/pkgs/applications/gis/qgis/unwrapped-ltr.nix +++ b/pkgs/applications/gis/qgis/unwrapped-ltr.nix @@ -7,6 +7,7 @@ , wrapQtAppsHook , withGrass +, withServer , withWebKit , bison @@ -155,7 +156,10 @@ in mkDerivation rec { "-DWITH_PDAL=True" "-DENABLE_TESTS=False" ] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF" - ++ lib.optional withGrass (let + ++ lib.optional withServer [ + "-DWITH_SERVER=True" + "-DQGIS_CGIBIN_SUBDIR=${placeholder "out"}/lib/cgi-bin" + ] ++ lib.optional withGrass (let gmajor = lib.versions.major grass.version; gminor = lib.versions.minor grass.version; in "-DGRASS_PREFIX${gmajor}=${grass}/grass${gmajor}${gminor}" diff --git a/pkgs/applications/gis/qgis/unwrapped.nix b/pkgs/applications/gis/qgis/unwrapped.nix index 49d0fd5b366ec..577dfdf5e17f4 100644 --- a/pkgs/applications/gis/qgis/unwrapped.nix +++ b/pkgs/applications/gis/qgis/unwrapped.nix @@ -7,6 +7,7 @@ , wrapQtAppsHook , withGrass +, withServer , withWebKit , bison @@ -157,7 +158,10 @@ in mkDerivation rec { "-DENABLE_TESTS=False" "-DQT_PLUGINS_DIR=${qtbase}/${qtbase.qtPluginPrefix}" ] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF" - ++ lib.optional withGrass (let + ++ lib.optional withServer [ + "-DWITH_SERVER=True" + "-DQGIS_CGIBIN_SUBDIR=${placeholder "out"}/lib/cgi-bin" + ] ++ lib.optional withGrass (let gmajor = lib.versions.major grass.version; gminor = lib.versions.minor grass.version; in "-DGRASS_PREFIX${gmajor}=${grass}/grass${gmajor}${gminor}" From 9936b66b96ce5507333b14188b042e631739d0f6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 25 Oct 2024 11:25:43 +0000 Subject: [PATCH 15/69] pytr: 0.2.5 -> 0.3.0 --- pkgs/by-name/py/pytr/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/py/pytr/package.nix b/pkgs/by-name/py/pytr/package.nix index 4e6d13cd7189c..8cbf214d5b702 100644 --- a/pkgs/by-name/py/pytr/package.nix +++ b/pkgs/by-name/py/pytr/package.nix @@ -8,14 +8,14 @@ python3Packages.buildPythonApplication rec { pname = "pytr"; - version = "0.2.5"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "pytr-org"; repo = "pytr"; rev = "refs/tags/v${version}"; - hash = "sha256-9FKG4QgRBU+DaaYJIDMDqqxFMCAguv5iRUUrQr6RMz8="; + hash = "sha256-sMDWL0lA5iJ2v2dhUIhMgSZ1vk7LjkNMYZGiJRpd3XY="; }; build-system = with python3Packages; [ From b24c50ea7af98d35abd619f92cd8d520feaea43b Mon Sep 17 00:00:00 2001 From: guttermonk Date: Thu, 3 Oct 2024 20:27:11 -0500 Subject: [PATCH 16/69] libinput-gestures: 2.76 -> 2.77 --- pkgs/tools/inputmethods/libinput-gestures/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/libinput-gestures/default.nix b/pkgs/tools/inputmethods/libinput-gestures/default.nix index bb466e38ba53a..401a298957b9b 100644 --- a/pkgs/tools/inputmethods/libinput-gestures/default.nix +++ b/pkgs/tools/inputmethods/libinput-gestures/default.nix @@ -5,13 +5,13 @@ }: stdenv.mkDerivation rec { pname = "libinput-gestures"; - version = "2.76"; + version = "2.77"; src = fetchFromGitHub { owner = "bulletmark"; repo = "libinput-gestures"; rev = version; - sha256 = "sha256-Tb/gQ/2Ul4JzEiLEUPJBj9T6ZAqzMSPdgiofdnDj73Q="; + hash = "sha256-eMXNlSgQSuN+/5SXJQjsylC1ygHS87sIEmnVGFk3pzA="; }; patches = [ ./0001-hardcode-name.patch From b5ef9e476298ee01973739249e0743fa0489ad61 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sat, 26 Oct 2024 23:03:07 +0530 Subject: [PATCH 17/69] libinput-gestures: nixfmt-rfc-style replace -> replace-fail in substituteInPlace rec -> finalAttrs --- .../libinput-gestures/default.nix | 72 ++++++++++--------- 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/pkgs/tools/inputmethods/libinput-gestures/default.nix b/pkgs/tools/inputmethods/libinput-gestures/default.nix index 401a298957b9b..d8439d6c14689 100644 --- a/pkgs/tools/inputmethods/libinput-gestures/default.nix +++ b/pkgs/tools/inputmethods/libinput-gestures/default.nix @@ -1,16 +1,23 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, - libinput, wmctrl, python3, - coreutils, xdotool ? null, - extraUtilsPath ? lib.optional (xdotool != null) xdotool +{ + lib, + stdenv, + fetchFromGitHub, + makeWrapper, + libinput, + wmctrl, + python3, + coreutils, + xdotool ? null, + extraUtilsPath ? lib.optional (xdotool != null) xdotool, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "libinput-gestures"; version = "2.77"; src = fetchFromGitHub { owner = "bulletmark"; repo = "libinput-gestures"; - rev = version; + rev = "ref/tags/${finalAttrs.version}"; hash = "sha256-eMXNlSgQSuN+/5SXJQjsylC1ygHS87sIEmnVGFk3pzA="; }; patches = [ @@ -21,36 +28,35 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; buildInputs = [ python3 ]; - postPatch = - '' - substituteInPlace libinput-gestures-setup --replace /usr/ / + postPatch = '' + substituteInPlace libinput-gestures-setup --replace-fail /usr/ / - substituteInPlace libinput-gestures \ - --replace /etc "$out/etc" \ - --subst-var-by libinput "${libinput}/bin/libinput" \ - --subst-var-by wmctrl "${wmctrl}/bin/wmctrl" - ''; - installPhase = - '' - runHook preInstall - ${stdenv.shell} libinput-gestures-setup -d "$out" install - runHook postInstall - ''; - postFixup = - '' - rm "$out/bin/libinput-gestures-setup" - substituteInPlace "$out/share/systemd/user/libinput-gestures.service" --replace "/usr" "$out" - substituteInPlace "$out/share/applications/libinput-gestures.desktop" --replace "/usr" "$out" - chmod +x "$out/share/applications/libinput-gestures.desktop" - wrapProgram "$out/bin/libinput-gestures" --prefix PATH : "${lib.makeBinPath ([coreutils] ++ extraUtilsPath)}" - ''; + substituteInPlace libinput-gestures \ + --replace-fail /etc "$out/etc" \ + --subst-var-by libinput "${libinput}/bin/libinput" \ + --subst-var-by wmctrl "${wmctrl}/bin/wmctrl" + ''; + installPhase = '' + runHook preInstall + ${stdenv.shell} libinput-gestures-setup -d "$out" install + runHook postInstall + ''; + postFixup = '' + rm "$out/bin/libinput-gestures-setup" + substituteInPlace "$out/share/systemd/user/libinput-gestures.service" --replace "/usr" "$out" + substituteInPlace "$out/share/applications/libinput-gestures.desktop" --replace "/usr" "$out" + chmod +x "$out/share/applications/libinput-gestures.desktop" + wrapProgram "$out/bin/libinput-gestures" --prefix PATH : "${ + lib.makeBinPath ([ coreutils ] ++ extraUtilsPath) + }" + ''; - meta = with lib; { + meta = { homepage = "https://github.com/bulletmark/libinput-gestures"; description = "Gesture mapper for libinput"; mainProgram = "libinput-gestures"; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ teozkr ]; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ teozkr ]; }; -} +}) From 22d17194fdf9ba6340c31876078c977994e9bac6 Mon Sep 17 00:00:00 2001 From: Mario Rogic Date: Sun, 27 Oct 2024 18:30:57 +1000 Subject: [PATCH 18/69] Lamdera 1.3.1 --- .../compilers/elm/packages/lamdera/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/elm/packages/lamdera/default.nix b/pkgs/development/compilers/elm/packages/lamdera/default.nix index 989d2a7732255..1ab5497276639 100644 --- a/pkgs/development/compilers/elm/packages/lamdera/default.nix +++ b/pkgs/development/compilers/elm/packages/lamdera/default.nix @@ -8,16 +8,16 @@ let arch = if stdenv.hostPlatform.isAarch64 then "arm64" else "x86_64"; hashes = { - "x86_64-linux" = "1v596zi4zmx88r4axrp7pmci3w9c6f1kz4izrbj65c7ch6wwa7f2"; - "aarch64-linux" = "0xf6lqm9xgph8q95h6smq6dzn5549nfsnayny5nyvm56nbmv5iw9"; - "x86_64-darwin" = "0kijrjfbr7hn469x67yya6ndfwj901m54gd96sq3yiay0jvmapga"; - "aarch64-darwin" = "1iigsd4ac0cbb1q2g02zxjxpcma6yyd7ms72ri8g2vq8i90zys9n"; + "x86_64-linux" = "8534ff055073490719ed05be847bebef46250ebb7af1d72bdaa4fc115c6dcea3"; + "aarch64-linux" = "01397ce50cb0ad1dac18e4e0f7ab490bbf41a1c23d06a1946eec689e7811085b"; + "x86_64-darwin" = "46305fb0de9fd7685fdf7cf175ad965d5320f76d4b5f2de2f9dc8403c8127d52"; + "aarch64-darwin" = "b1e3d7bd624cdff0522bd71dc5825fa98b4eed1eae064df55a86a40b554ce0d1"; }; in stdenv.mkDerivation rec { pname = "lamdera"; - version = "1.3.0"; + version = "1.3.1"; src = fetchurl { url = "https://static.lamdera.com/bin/lamdera-${version}-${os}-${arch}"; From 82d4e2936d97de6aac10042b642ba6b4031823d6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 09:32:47 +0100 Subject: [PATCH 19/69] git-filter-repo: refactor --- .../python-modules/git-filter-repo/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/git-filter-repo/default.nix b/pkgs/development/python-modules/git-filter-repo/default.nix index 5591d87dd5a3d..af9b80ad38b6f 100644 --- a/pkgs/development/python-modules/git-filter-repo/default.nix +++ b/pkgs/development/python-modules/git-filter-repo/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { docs_version = "71d71d4be238628bf9cb9b27be79b8bb824ed1a9"; pyproject = true; - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.9"; src = fetchPypi { pname = "git_filter_repo"; @@ -34,10 +34,9 @@ buildPythonPackage rec { installManPage ${docs}/man1/git-filter-repo.1 ''; - nativeBuildInputs = [ - setuptools-scm - installShellFiles - ]; + build-system = [ setuptools-scm ]; + + nativeBuildInputs = [ installShellFiles ]; # Project has no tests doCheck = false; From 834d5b1ad3654c53e2bbc904f2bed12d33d9ad1a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 09:35:17 +0100 Subject: [PATCH 20/69] python312Packages.django-modelcluster: refactor - add changelog to meta - update disabled - enable all tests - remove superfluous commets --- .../django-modelcluster/default.nix | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/django-modelcluster/default.nix b/pkgs/development/python-modules/django-modelcluster/default.nix index acb7fd370429c..ed4f3a05a764e 100644 --- a/pkgs/development/python-modules/django-modelcluster/default.nix +++ b/pkgs/development/python-modules/django-modelcluster/default.nix @@ -1,27 +1,22 @@ { lib, buildPythonPackage, - fetchFromGitHub, - pythonOlder, - - # dependencies - django, - pytz, - - # optionals django-taggit, - - # tests + django, + fetchFromGitHub, pytest-django, pytestCheckHook, + pythonOlder, + pytz, + setuptools, }: buildPythonPackage rec { pname = "django-modelcluster"; version = "6.3"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "wagtail"; @@ -30,7 +25,9 @@ buildPythonPackage rec { hash = "sha256-AUVl2aidjW7Uu//3HlAod7pxzj6Gs1Xd0uTt3NrrqAU="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ django pytz ]; @@ -44,14 +41,12 @@ buildPythonPackage rec { pytestCheckHook ] ++ optional-dependencies.taggit; - # https://github.com/wagtail/django-modelcluster/issues/173 - disabledTests = lib.optionals (lib.versionAtLeast django.version "4.2") [ - "test_formfield_callback" - ]; + pythonImportsCheck = [ "modelcluster" ]; meta = with lib; { description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database"; homepage = "https://github.com/torchbox/django-modelcluster/"; + changelog = "https://github.com/wagtail/django-modelcluster/blob/v${version}/CHANGELOG.txt"; license = licenses.bsd2; maintainers = with maintainers; [ desiderius ]; }; From 8319914edb92b986a5fc86e325af9d907b5740d2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 13:10:20 +0100 Subject: [PATCH 21/69] stayrtr: 0.5.1 -> 0.6.1 Diff: https://github.com/bgp/stayrtr/compare/refs/tags/v0.5.1...v0.6.1 Changelog: https://github.com/bgp/stayrtr/releases/tag/v0.6.1 --- pkgs/servers/stayrtr/default.nix | 28 ++++++++++++++-------------- pkgs/servers/stayrtr/go.mod.patch | 30 ------------------------------ 2 files changed, 14 insertions(+), 44 deletions(-) delete mode 100644 pkgs/servers/stayrtr/go.mod.patch diff --git a/pkgs/servers/stayrtr/default.nix b/pkgs/servers/stayrtr/default.nix index a372f8ff7bb20..eeaffd7eaaecc 100644 --- a/pkgs/servers/stayrtr/default.nix +++ b/pkgs/servers/stayrtr/default.nix @@ -1,30 +1,28 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, stayrtr -, testers +{ + lib, + fetchFromGitHub, + buildGoModule, + stayrtr, + testers, }: buildGoModule rec { pname = "stayrtr"; - version = "0.5.1"; + version = "0.6.1"; src = fetchFromGitHub { owner = "bgp"; repo = "stayrtr"; - rev = "v${version}"; - hash = "sha256-/KwL/SEnHquFhPcYXpvQs71W4K1BrbqTPakatTNF47Q="; + rev = "refs/tags/v${version}"; + hash = "sha256-uNZe3g8hs9c0uXrkWSTA+e/gziOpWqx5oFIJ2ZPgEzU="; }; - vendorHash = "sha256-ndMME9m3kbv/c1iKlU2Pn/YoiRQy7jfVQri3M+qhujk="; - patches = [ - ./go.mod.patch - ]; + vendorHash = "sha256-0PtQzwBhUoASUMnAAVZ4EIDmqIEaH0nct2ngyIkR+Qg="; ldflags = [ "-s" "-w" - "-X main.version=${version}" + "-X=main.version=${version}" ]; passthru.tests.version = testers.testVersion { @@ -32,9 +30,11 @@ buildGoModule rec { }; meta = with lib; { - description = "Simple RPKI-To-Router server. (Hard fork of GoRTR)"; + description = "Simple RPKI-To-Router server"; homepage = "https://github.com/bgp/stayrtr/"; + changelog = "https://github.com/bgp/stayrtr/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ _0x4A6F ]; + mainProgram = "stayrtr"; }; } diff --git a/pkgs/servers/stayrtr/go.mod.patch b/pkgs/servers/stayrtr/go.mod.patch deleted file mode 100644 index 54c80cbb6b535..0000000000000 --- a/pkgs/servers/stayrtr/go.mod.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/go.mod b/go.mod -index 0116218..3e31f0e 100644 ---- a/go.mod -+++ b/go.mod -@@ -1,6 +1,6 @@ - module github.com/bgp/stayrtr - --go 1.16 -+go 1.17 - - require ( - github.com/google/go-cmp v0.5.6 -@@ -10,3 +10,17 @@ require ( - golang.org/x/crypto v0.6.0 - golang.org/x/sys v0.5.0 - ) -+ -+require ( -+ github.com/beorn7/perks v1.0.1 // indirect -+ github.com/cespare/xxhash/v2 v2.1.1 // indirect -+ github.com/davecgh/go-spew v1.1.1 // indirect -+ github.com/golang/protobuf v1.4.3 // indirect -+ github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect -+ github.com/pmezard/go-difflib v1.0.0 // indirect -+ github.com/prometheus/client_model v0.2.0 // indirect -+ github.com/prometheus/common v0.26.0 // indirect -+ github.com/prometheus/procfs v0.6.0 // indirect -+ google.golang.org/protobuf v1.26.0-rc.1 // indirect -+ gopkg.in/yaml.v2 v2.3.0 // indirect -+) From 2483405e0d8094e0d3bfa407439179dadaac0738 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 13:42:49 +0100 Subject: [PATCH 22/69] python312Packages.fyta-cli: 0.6.7 -> 0.6.10 Diff: https://github.com/dontinelli/fyta_cli/compare/refs/tags/v0.6.7...v0.6.10 Changelog: https://github.com/dontinelli/fyta_cli/releases/tag/v0.6.10 --- pkgs/development/python-modules/fyta-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fyta-cli/default.nix b/pkgs/development/python-modules/fyta-cli/default.nix index b5199a74ca28a..ad3a255e58c0f 100644 --- a/pkgs/development/python-modules/fyta-cli/default.nix +++ b/pkgs/development/python-modules/fyta-cli/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "fyta-cli"; - version = "0.6.7"; + version = "0.6.10"; pyproject = true; disabled = pythonOlder "3.11"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "dontinelli"; repo = "fyta_cli"; rev = "refs/tags/v${version}"; - hash = "sha256-KdrDRiPpkG8SDPWtGKU7A14WtQuuA4823t47uWHdGko="; + hash = "sha256-sPbN6gMPtNzYTYQ5F8w59m5DKobx/TV6v5v8Q9u1rXQ="; }; build-system = [ hatchling ]; From dd5286e26ee012dbc655685229f80cf162312fa7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 13:45:06 +0100 Subject: [PATCH 23/69] python312Packages.aiocoap: 0.4.10 -> 0.4.11 Diff: https://github.com/chrysn/aiocoap/compare/refs/tags/0.4.10...0.4.11 Changelog: https://github.com/chrysn/aiocoap/blob/0.4.11/NEWS --- pkgs/development/python-modules/aiocoap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiocoap/default.nix b/pkgs/development/python-modules/aiocoap/default.nix index 00592ed89516f..4cc00dd93d2bd 100644 --- a/pkgs/development/python-modules/aiocoap/default.nix +++ b/pkgs/development/python-modules/aiocoap/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "aiocoap"; - version = "0.4.10"; + version = "0.4.11"; pyproject = true; disabled = pythonOlder "3.7"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "chrysn"; repo = "aiocoap"; rev = "refs/tags/${version}"; - hash = "sha256-sKDkbv8OyPewfQpunFxezP0wjy3EAQxsQ0UfUm0REPM="; + hash = "sha256-a2qhMDFkRbMK4+xvPc140i0lPaWbTWeFlpvdLaNtOxA="; }; build-system = [ setuptools ]; From d88011ab4d73752232374976ac7f3ee9d35f111c Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sat, 26 Oct 2024 15:10:44 +0200 Subject: [PATCH 24/69] gradle: 8.10 -> 8.10.2 --- pkgs/development/tools/build-managers/gradle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/build-managers/gradle/default.nix b/pkgs/development/tools/build-managers/gradle/default.nix index 351c3804bba29..52800a8694f02 100644 --- a/pkgs/development/tools/build-managers/gradle/default.nix +++ b/pkgs/development/tools/build-managers/gradle/default.nix @@ -180,8 +180,8 @@ rec { # https://docs.gradle.org/current/userguide/compatibility.html gradle_8 = gen { - version = "8.10"; - hash = "sha256-W5xes/n8LJSrrqV9kL14dHyhF927+WyFnTdBGBoSvyo="; + version = "8.10.2"; + hash = "sha256-McVXE+QCM6gwOCfOtCykikcmegrUurkXcSMSHnFSTCY="; defaultJava = jdk21; }; From 379857baf5b5b6a7e0ccadc4eef48975d275b2c7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 14:19:13 +0100 Subject: [PATCH 25/69] python312Packages.zipfile2: 0.0.12 -> 0.0.12-unstable-2024-09-28 - enable tests - enable for Python 3.12 --- .../python-modules/zipfile2/default.nix | 34 +++++++++++++------ 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/zipfile2/default.nix b/pkgs/development/python-modules/zipfile2/default.nix index 2d611e912c045..68b1af2e79bd8 100644 --- a/pkgs/development/python-modules/zipfile2/default.nix +++ b/pkgs/development/python-modules/zipfile2/default.nix @@ -1,31 +1,43 @@ { + lib, buildPythonPackage, fetchFromGitHub, - lib, - pythonAtLeast, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "zipfile2"; - version = "0.0.12"; - format = "setuptools"; + version = "0.0.12-unstable-2024-09-28"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "cournape"; - repo = pname; - rev = "v${version}"; - hash = "sha256-BwcEgW4XrQqz0Jmtbyxf8q0mWTJXv2dL3Tk7N/IYuMI="; + repo = "zipfile2"; + #rev = "refs/tags/v${version}"; + rev = "8823f7253772e5c5811343306a591c00c764c6d0"; + hash = "sha256-jDOyIj0sQS1dIsar4nyk5V2mme3Zc6VTms49/4n93ho="; }; - patches = [ ./no-setuid.patch ]; + build-system = [ setuptools ]; + + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "zipfile2" ]; + disabledTests = [ + # PermissionError: [Errno 1] Operation not ... + "test_extract" + ]; + meta = with lib; { - homepage = "https://github.com/cournape/zipfile2"; description = "Backwards-compatible improved zipfile class"; - maintainers = with maintainers; [ genericnerdyusername ]; + homepage = "https://github.com/cournape/zipfile2"; + changelog = "https://github.com/itziakos/zipfile2/releases/tag/v${version}"; license = licenses.psfl; - broken = pythonAtLeast "3.12"; # tests are failing because the signature of ZipInfo._decodeExtra changed + maintainers = with maintainers; [ genericnerdyusername ]; }; } From 15cfb56406c8ab4c04dccd4deb5a498b3a309680 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 14:28:31 +0100 Subject: [PATCH 26/69] python312Packages.okonomiyaki: 1.4.0 -> 2.0.0 Changelog: https://github.com/enthought/okonomiyaki/releases/tag/2.0.0 --- .../python-modules/okonomiyaki/default.nix | 80 ++++++++++++------- 1 file changed, 51 insertions(+), 29 deletions(-) diff --git a/pkgs/development/python-modules/okonomiyaki/default.nix b/pkgs/development/python-modules/okonomiyaki/default.nix index d8b909b9a5710..bdcddc59c7a74 100644 --- a/pkgs/development/python-modules/okonomiyaki/default.nix +++ b/pkgs/development/python-modules/okonomiyaki/default.nix @@ -1,64 +1,86 @@ { - buildPythonPackage, - stdenv, - fetchFromGitHub, lib, + stdenv, attrs, + buildPythonPackage, distro, + fetchFromGitHub, + parameterized, jsonschema, - six, - zipfile2, - hypothesis, mock, packaging, + pytestCheckHook, + pythonOlder, + setuptools, testfixtures, - pythonAtLeast, + zipfile2, }: buildPythonPackage rec { pname = "okonomiyaki"; - version = "1.4.0"; - format = "setuptools"; + version = "2.0.0"; + pyproject = true; + + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "enthought"; - repo = pname; + repo = "okonomiyaki"; rev = "refs/tags/${version}"; - hash = "sha256-MEll1H7l41m8uz2/WK/Ilm7Dubg0uqYwe+ZgakO1aXQ="; + hash = "sha256-JQZhw0H4iSdxoyS6ODICJz1vAZsOISQitX7wTgSS1xc="; + }; + + postPatch = '' + # Fixed for >= 2.0.0 + substituteInPlace setup.cfg \ + --replace-fail "long_description_content_type = rst" "long_description_content_type = text/x-rst" + ''; + + build-system = [ setuptools ]; + + optional-dependencies = { + all = [ + attrs + distro + jsonschema + zipfile2 + ]; + platforms = [ + attrs + distro + ]; + formats = [ + attrs + distro + jsonschema + zipfile2 + ]; }; - propagatedBuildInputs = [ - distro - attrs - jsonschema - six - zipfile2 - ]; + nativeCheckInputs = [ + packaging + parameterized + pytestCheckHook + testfixtures + ] ++ lib.flatten (builtins.attrValues optional-dependencies); preCheck = '' substituteInPlace okonomiyaki/runtimes/tests/test_runtime.py \ - --replace 'runtime_info = PythonRuntime.from_running_python()' 'raise unittest.SkipTest() #' + --replace-fail 'runtime_info = PythonRuntime.from_running_python()' 'raise unittest.SkipTest() #' '' + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace okonomiyaki/platforms/tests/test_pep425.py \ - --replace 'self.assertEqual(platform_tag, self.tag.platform)' 'raise unittest.SkipTest()' + --replace-fail 'self.assertEqual(platform_tag, self.tag.platform)' 'raise unittest.SkipTest()' ''; - checkInputs = [ - hypothesis - mock - packaging - testfixtures - ]; - pythonImportsCheck = [ "okonomiyaki" ]; meta = with lib; { - homepage = "https://github.com/enthought/okonomiyaki"; description = "Experimental library aimed at consolidating a lot of low-level code used for Enthought's eggs"; + homepage = "https://github.com/enthought/okonomiyaki"; + changelog = "https://github.com/enthought/okonomiyaki/releases/tag/${version}"; maintainers = with maintainers; [ genericnerdyusername ]; license = licenses.bsd3; - broken = pythonAtLeast "3.12"; # multiple tests are failing }; } From 7acd467a6c454e310eb3f4a1f38b04b5cd71a04f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 14:44:44 +0100 Subject: [PATCH 27/69] python312Packages.simplesat: 0.9.0 -> 0.9.1 Diff: https://github.com/enthought/sat-solver/compare/refs/tags/v0.9.0...v0.9.1 Changelog: https://github.com/enthought/sat-solver/blob/v0.9.1/CHANGES.rst --- .../python-modules/simplesat/default.nix | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/simplesat/default.nix b/pkgs/development/python-modules/simplesat/default.nix index 3f81b311c811d..35359c29396d5 100644 --- a/pkgs/development/python-modules/simplesat/default.nix +++ b/pkgs/development/python-modules/simplesat/default.nix @@ -1,42 +1,34 @@ { - buildPythonPackage, - fetchFromGitHub, - writeText, lib, attrs, + buildPythonPackage, + fetchFromGitHub, mock, okonomiyaki, pytestCheckHook, + pythonOlder, pyyaml, setuptools, six, }: -let - version = "0.9.0"; - versionFile = writeText "simplesat_ver" '' - version = '${version}' - full_version = '${version}' - git_revision = '0000000000000000000000000000000000000000' - is_released = True - msi_version = '${version}.000' - version_info = (${lib.versions.major version}, ${lib.versions.minor version}, ${lib.versions.patch version}, 'final', 0) - ''; -in buildPythonPackage rec { pname = "simplesat"; - inherit version; + version = "0.9.1"; pyproject = true; + disabled = pythonOlder "3.9"; + src = fetchFromGitHub { owner = "enthought"; repo = "sat-solver"; rev = "refs/tags/v${version}"; - hash = "sha256-8sUOV42MLM3otG3EKvVzKKGAUpSlaTj850QZxZa62bE="; + hash = "sha256-/fBnpf1DtaF+wQYZztcB8Y20/ZMYxrF3fH5qRsMucL0="; }; - preConfigure = '' - cp ${versionFile} simplesat/_version.py + postPatch = '' + substituteInPlace setup.cfg \ + --replace-fail "version = file: VERSION" "version = ${version}" ''; build-system = [ setuptools ]; @@ -47,20 +39,26 @@ buildPythonPackage rec { six ]; - pythonImportsCheck = [ "simplesat" ]; - nativeCheckInputs = [ mock pytestCheckHook pyyaml ]; + pythonImportsCheck = [ "simplesat" ]; + + preCheck = '' + substituteInPlace simplesat/tests/test_pool.py \ + --replace-fail "assertRaisesRegexp" "assertRaisesRegex" + ''; + pytestFlagsArray = [ "simplesat/tests" ]; meta = with lib; { - homepage = "https://github.com/enthought/sat-solver"; description = "Prototype for SAT-based dependency handling"; - maintainers = with maintainers; [ genericnerdyusername ]; + homepage = "https://github.com/enthought/sat-solver"; + changelog = "https://github.com/enthought/sat-solver/blob/v${version}/CHANGES.rst"; license = licenses.bsd3; + maintainers = with maintainers; [ genericnerdyusername ]; }; } From e6d024f186fb7cde022764946f1a445c2d1a2a30 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 27 Oct 2024 15:37:12 +0000 Subject: [PATCH 28/69] python312Packages.pylint-venv: 3.0.3 -> 3.0.4 --- pkgs/development/python-modules/pylint-venv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pylint-venv/default.nix b/pkgs/development/python-modules/pylint-venv/default.nix index 47d294f15317c..40c5f3d98f1b2 100644 --- a/pkgs/development/python-modules/pylint-venv/default.nix +++ b/pkgs/development/python-modules/pylint-venv/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pylint-venv"; - version = "3.0.3"; + version = "3.0.4"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "jgosmann"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-dsVEHJawsTNKVCVmeOa61wOU5GPeyzAU/eUDFrK9PPg="; + hash = "sha256-dJWVfltze4zT0CowBZSn3alqR2Y8obKUCmO8Nfw+ahs="; }; nativeBuildInputs = [ poetry-core ]; From 1089c8df7aff83f1580d9df5142755f345367d24 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 27 Oct 2024 16:15:45 +0000 Subject: [PATCH 29/69] tun2proxy: 0.5.4 -> 0.6.0 --- pkgs/by-name/tu/tun2proxy/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tu/tun2proxy/package.nix b/pkgs/by-name/tu/tun2proxy/package.nix index deb3760965ae4..6e36e81940a5c 100644 --- a/pkgs/by-name/tu/tun2proxy/package.nix +++ b/pkgs/by-name/tu/tun2proxy/package.nix @@ -5,16 +5,16 @@ }: rustPlatform.buildRustPackage rec { pname = "tun2proxy"; - version = "0.5.4"; + version = "0.6.0"; src = fetchFromGitHub { owner = "tun2proxy"; repo = "tun2proxy"; rev = "v${version}"; - hash = "sha256-EeSXEPg4TxbjQXoM2jx8T9+VOT7VndBnxhy7pwwQ8Kk="; + hash = "sha256-LY7vVD85GVFqARYOBDeb4fS6rL2PwPXYXIAJtwm2goo="; }; - cargoHash = "sha256-WwCUSnXSlSrO+YfqpZlC9WWsX/pM6ixYlqU1pZY4e5o="; + cargoHash = "sha256-o/zQjWR9qNs0XVL/dcRiMHgj+8Xvl6vVl/Yw5iLhroI="; cargoPatches = [ ./Cargo.lock.patch From 22b78d5fd660068d556eeaac8b463c8826cd0863 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 17:40:17 +0100 Subject: [PATCH 30/69] tun2proxy: add changelog to meta --- pkgs/by-name/tu/tun2proxy/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/tu/tun2proxy/package.nix b/pkgs/by-name/tu/tun2proxy/package.nix index 6e36e81940a5c..984cafc2d9fa8 100644 --- a/pkgs/by-name/tu/tun2proxy/package.nix +++ b/pkgs/by-name/tu/tun2proxy/package.nix @@ -3,6 +3,7 @@ rustPlatform, fetchFromGitHub, }: + rustPlatform.buildRustPackage rec { pname = "tun2proxy"; version = "0.6.0"; @@ -10,7 +11,7 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "tun2proxy"; repo = "tun2proxy"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-LY7vVD85GVFqARYOBDeb4fS6rL2PwPXYXIAJtwm2goo="; }; @@ -23,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://github.com/tun2proxy/tun2proxy"; description = "Tunnel (TUN) interface for SOCKS and HTTP proxies"; + changelog = "https://github.com/tun2proxy/tun2proxy/releases/tag/v${version}"; license = lib.licenses.mit; platforms = lib.platforms.linux; mainProgram = "tun2proxy-bin"; From bcdb0251927d604096129f8f18d29fd22d0dd26e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 27 Oct 2024 17:01:26 +0000 Subject: [PATCH 31/69] python312Packages.knocki: 0.3.5 -> 0.4.1 --- pkgs/development/python-modules/knocki/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/knocki/default.nix b/pkgs/development/python-modules/knocki/default.nix index c5c5442fdfe77..2992e5ce0fc96 100644 --- a/pkgs/development/python-modules/knocki/default.nix +++ b/pkgs/development/python-modules/knocki/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "knocki"; - version = "0.3.5"; + version = "0.4.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "swan-solutions"; repo = "knocki-homeassistant"; rev = "refs/tags/v${version}"; - hash = "sha256-Fb3skFttY5gtm80k1LCUQ4Z7/TQGClCNcWt1k6bLQoI="; + hash = "sha256-Eh/ykTbR2NMZ9Mjgcc53OU3+2EsX6FWV93DmwCDvsRg="; }; postPatch = '' From 86c5aae2bc45ea634a185541e31fc46a627c2170 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 18:18:35 +0100 Subject: [PATCH 32/69] python312Packages.knocki: add changelog to meta --- pkgs/development/python-modules/knocki/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/knocki/default.nix b/pkgs/development/python-modules/knocki/default.nix index 2992e5ce0fc96..bcdc986033e8c 100644 --- a/pkgs/development/python-modules/knocki/default.nix +++ b/pkgs/development/python-modules/knocki/default.nix @@ -54,6 +54,7 @@ buildPythonPackage rec { meta = with lib; { description = "Asynchronous Python client for Knocki vibration / door sensors"; homepage = "https://github.com/swan-solutions/knocki-homeassistant"; + changelog = "https://github.com/swan-solutions/knocki-homeassistant/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mindstorms6 ]; }; From 67aae7e576fdbbdf664cac748dec1a80f6337b48 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 18:44:38 +0100 Subject: [PATCH 33/69] python312Packages.pylint-venv: refactor --- pkgs/development/python-modules/pylint-venv/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pylint-venv/default.nix b/pkgs/development/python-modules/pylint-venv/default.nix index 40c5f3d98f1b2..de5daa466fdf4 100644 --- a/pkgs/development/python-modules/pylint-venv/default.nix +++ b/pkgs/development/python-modules/pylint-venv/default.nix @@ -9,18 +9,18 @@ buildPythonPackage rec { pname = "pylint-venv"; version = "3.0.4"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "jgosmann"; - repo = pname; + repo = "pylint-venv"; rev = "refs/tags/v${version}"; hash = "sha256-dJWVfltze4zT0CowBZSn3alqR2Y8obKUCmO8Nfw+ahs="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; # Module has no tests doCheck = false; @@ -31,7 +31,7 @@ buildPythonPackage rec { description = "Module to make pylint respect virtual environments"; homepage = "https://github.com/jgosmann/pylint-venv/"; changelog = "https://github.com/jgosmann/pylint-venv/blob/v${version}/CHANGES.md"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } From 7c7da0f2294e00f34e1cc3ab51209964aafc1a0c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 27 Oct 2024 18:24:04 +0000 Subject: [PATCH 34/69] wiremock: 3.9.1 -> 3.9.2 --- pkgs/by-name/wi/wiremock/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/wi/wiremock/package.nix b/pkgs/by-name/wi/wiremock/package.nix index 75e4c30f64b40..615da7a453601 100644 --- a/pkgs/by-name/wi/wiremock/package.nix +++ b/pkgs/by-name/wi/wiremock/package.nix @@ -10,11 +10,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "wiremock"; - version = "3.9.1"; + version = "3.9.2"; src = fetchurl { url = "mirror://maven/org/wiremock/wiremock-standalone/${finalAttrs.version}/wiremock-standalone-${finalAttrs.version}.jar"; - hash = "sha256-cjqIDVDTsKFFrw3wfleMLLhed/6yIx5pkcmhNmkmkSw="; + hash = "sha256-d7iNxBwyaOPOOR8/7yIrDNBpbyhtP8NahLoi/8uHcBI="; }; dontUnpack = true; From e4a2ef5611b62ebc89b050a9bea31b355aac3f79 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sat, 26 Oct 2024 12:30:00 +0200 Subject: [PATCH 35/69] i2pd: remove unused USE_AVX flag Since release 2.35 that flag has been removed. Therefore we remove it to avoid confusion. https://github.com/PurpleI2P/i2pd/releases/tag/2.35.0 --- pkgs/tools/networking/i2pd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/tools/networking/i2pd/default.nix b/pkgs/tools/networking/i2pd/default.nix index 2504ca0ff14aa..5debcf29896fb 100644 --- a/pkgs/tools/networking/i2pd/default.nix +++ b/pkgs/tools/networking/i2pd/default.nix @@ -3,7 +3,6 @@ , boost, zlib, openssl , upnpSupport ? true, miniupnpc , aesniSupport ? stdenv.hostPlatform.aesSupport -, avxSupport ? stdenv.hostPlatform.avxSupport }: stdenv.mkDerivation rec { @@ -27,7 +26,6 @@ stdenv.mkDerivation rec { makeFlags = let ynf = a: b: a + "=" + (if b then "yes" else "no"); in [ (ynf "USE_AESNI" aesniSupport) - (ynf "USE_AVX" avxSupport) (ynf "USE_UPNP" upnpSupport) ]; From a178d8dd730a0071573944226b6125aa1117492d Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sun, 27 Oct 2024 19:45:00 +0100 Subject: [PATCH 36/69] i2pd: mark as broken on darwin Currently fails with error: ``` libi2pd/FS.h:21:10: error: 'TARGET_OS_SIMULATOR' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_] ^ 1 error generated. ``` --- pkgs/tools/networking/i2pd/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/networking/i2pd/default.nix b/pkgs/tools/networking/i2pd/default.nix index 5debcf29896fb..260ce8a79b142 100644 --- a/pkgs/tools/networking/i2pd/default.nix +++ b/pkgs/tools/networking/i2pd/default.nix @@ -44,5 +44,6 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ edwtjo ]; platforms = platforms.unix; mainProgram = "i2pd"; + broken = stdenv.hostPlatform.isDarwin; }; } From 6cb661ed93f8ed278bacf88b983cb53acf448ee8 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 24 Oct 2024 09:42:05 -0500 Subject: [PATCH 37/69] _1password-cli: rename from _1password Upstream uses the 1password-cli in reference to the application, while the actual desktop application is just 1password. --- pkgs/by-name/_1/{_1password => _1password-cli}/package.nix | 0 pkgs/by-name/_1/{_1password => _1password-cli}/update.sh | 0 pkgs/top-level/aliases.nix | 3 +++ 3 files changed, 3 insertions(+) rename pkgs/by-name/_1/{_1password => _1password-cli}/package.nix (100%) rename pkgs/by-name/_1/{_1password => _1password-cli}/update.sh (100%) diff --git a/pkgs/by-name/_1/_1password/package.nix b/pkgs/by-name/_1/_1password-cli/package.nix similarity index 100% rename from pkgs/by-name/_1/_1password/package.nix rename to pkgs/by-name/_1/_1password-cli/package.nix diff --git a/pkgs/by-name/_1/_1password/update.sh b/pkgs/by-name/_1/_1password-cli/update.sh similarity index 100% rename from pkgs/by-name/_1/_1password/update.sh rename to pkgs/by-name/_1/_1password-cli/update.sh diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b5959ee8630f3..beeb8fac5f1ee 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -60,6 +60,9 @@ mapAliases { forceSystem = system: _: (import self.path { localSystem = { inherit system; }; }); + ### _ ### + _1password = lib.warn "_1password has been renamed to _1password-cli to better follow upstream name usage" _1password-cli; # Added 2024-10-24 + ### A ### AusweisApp2 = ausweisapp; # Added 2023-11-08 From 3580012bef425ee0decdbb5c2cf45e23aef213a7 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 24 Oct 2024 09:45:01 -0500 Subject: [PATCH 38/69] modules/_1password: _1password -> _1password-cli package name --- nixos/modules/programs/_1password.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/_1password.nix b/nixos/modules/programs/_1password.nix index 5dff199341b94..28ddb3b1a43ee 100644 --- a/nixos/modules/programs/_1password.nix +++ b/nixos/modules/programs/_1password.nix @@ -17,7 +17,7 @@ in enable = lib.mkEnableOption "the 1Password CLI tool"; package = lib.mkPackageOption pkgs "1Password CLI" { - default = [ "_1password" ]; + default = [ "_1password-cli" ]; }; }; }; From 7d43e37b44de4ba902fe12cfcf2ef16089ac732a Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sun, 27 Oct 2024 12:19:14 +0100 Subject: [PATCH 39/69] nixos/uwsm: enable display manager by default UWSM is not usable if wayland-sessions are not linked. So `services.displayManager.enable` should be true if UWSM is used. `services.graphical-desktop.enable` is implied by `services.displayManager.enable`. See nixos/modules/services/misc/graphical-desktop.nix Signed-off-by: Sefa Eyeoglu --- nixos/modules/programs/wayland/uwsm.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/nixos/modules/programs/wayland/uwsm.nix b/nixos/modules/programs/wayland/uwsm.nix index 5497cc269ebe9..18e7fdc1f64ae 100644 --- a/nixos/modules/programs/wayland/uwsm.nix +++ b/nixos/modules/programs/wayland/uwsm.nix @@ -108,18 +108,19 @@ in systemd.packages = [ cfg.package ]; environment.pathsToLink = [ "/share/uwsm" ]; - services.graphical-desktop.enable = true; - # UWSM recommends dbus broker for better compatibility services.dbus.implementation = "broker"; - services.displayManager.sessionPackages = lib.mapAttrsToList ( - name: value: - mk_uwsm_desktop_entry { - inherit name; - inherit (value) prettyName comment binPath; - } - ) cfg.waylandCompositors; + services.displayManager = { + enable = true; + sessionPackages = lib.mapAttrsToList ( + name: value: + mk_uwsm_desktop_entry { + inherit name; + inherit (value) prettyName comment binPath; + } + ) cfg.waylandCompositors; + }; }; meta.maintainers = with lib.maintainers; [ From fcc872d5a39ffc3e4435101032a7153030bb9960 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Oct 2024 20:34:25 +0100 Subject: [PATCH 40/69] python312Packages.okta: refactor - disable failing test - relax aenum --- pkgs/development/python-modules/okta/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/okta/default.nix b/pkgs/development/python-modules/okta/default.nix index 42d459d562305..dc75dfd84b56c 100644 --- a/pkgs/development/python-modules/okta/default.nix +++ b/pkgs/development/python-modules/okta/default.nix @@ -18,6 +18,7 @@ python-jose, pythonOlder, pyyaml, + setuptools, xmltodict, yarl, }: @@ -25,7 +26,7 @@ buildPythonPackage rec { pname = "okta"; version = "2.9.8"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -34,7 +35,11 @@ buildPythonPackage rec { hash = "sha256-RDnRiPsc4p5yI9jFzOtRI+r00tvska8x4uCSjl+cWvo="; }; - propagatedBuildInputs = [ + pythonRelaxDeps = [ "aenum" ]; + + build-system = [ setuptools ]; + + dependencies = [ aenum aiohttp flatdict @@ -66,6 +71,7 @@ buildPythonPackage rec { "test_update_org_contact_user" "test_get_role_subscription" "test_subscribe_unsubscribe" + "test_client_invalid_url" ]; pythonImportsCheck = [ From 54a8b0ec15e8930c2a85f1a9e3890b3a888de24f Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 27 Oct 2024 16:39:02 -0500 Subject: [PATCH 41/69] vimPlugins.sqlite-lua: fix defs.lua substitution Path not wrapped in string --- pkgs/applications/editors/vim/plugins/overrides.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index ffea81bcf232c..a961274bd342c 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -2015,7 +2015,7 @@ in in '' substituteInPlace lua/sqlite/defs.lua \ - --replace "path = vim.g.sqlite_clib_path" "path = vim.g.sqlite_clib_path or ${lib.escapeShellArg libsqlite}" + --replace-fail "path = vim.g.sqlite_clib_path" "path = vim.g.sqlite_clib_path or '${lib.escapeShellArg libsqlite}'" ''; passthru = oa.passthru // { From 20c46323e270b5a67e56c111d6640456e8788e87 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 27 Oct 2024 16:40:58 -0500 Subject: [PATCH 42/69] vimPlugins.sqlite-lua: add nvimRequireCheck --- pkgs/applications/editors/vim/plugins/overrides.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index a961274bd342c..455454a058a89 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -2021,6 +2021,7 @@ in passthru = oa.passthru // { initLua = ''vim.g.sqlite_clib_path = "${sqlite.out}/lib/libsqlite3${stdenv.hostPlatform.extensions.sharedLibrary}"''; }; + nvimRequireCheck = "sqlite"; }); ssr = super.ssr-nvim.overrideAttrs { From ed85bb43e8956df994528a0f57fd59a4fec5792d Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 27 Oct 2024 17:11:13 -0500 Subject: [PATCH 43/69] vimPlugins.sqlite-lua: remove redundant definition We currently declare the same path a couple times in this small definition, re-use the variable for both scopes. --- .../editors/vim/plugins/overrides.nix | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 455454a058a89..65a44e4467d5c 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -2008,21 +2008,23 @@ in meta.homepage = "https://github.com/ackyshake/Spacegray.vim/"; }; - sqlite-lua = super.sqlite-lua.overrideAttrs (oa: { - postPatch = - let - libsqlite = "${sqlite.out}/lib/libsqlite3${stdenv.hostPlatform.extensions.sharedLibrary}"; - in - '' + sqlite-lua = super.sqlite-lua.overrideAttrs ( + oa: + let + libsqlite = "${sqlite.out}/lib/libsqlite3${stdenv.hostPlatform.extensions.sharedLibrary}"; + in + { + postPatch = '' substituteInPlace lua/sqlite/defs.lua \ --replace-fail "path = vim.g.sqlite_clib_path" "path = vim.g.sqlite_clib_path or '${lib.escapeShellArg libsqlite}'" ''; - passthru = oa.passthru // { - initLua = ''vim.g.sqlite_clib_path = "${sqlite.out}/lib/libsqlite3${stdenv.hostPlatform.extensions.sharedLibrary}"''; - }; - nvimRequireCheck = "sqlite"; - }); + passthru = oa.passthru // { + initLua = ''vim.g.sqlite_clib_path = "${libsqlite}"''; + }; + nvimRequireCheck = "sqlite"; + } + ); ssr = super.ssr-nvim.overrideAttrs { dependencies = with self; [ nvim-treesitter ]; From b3f127854de5a93899464e58eee6a5a905fba877 Mon Sep 17 00:00:00 2001 From: Stephen Huan Date: Mon, 1 Apr 2024 05:24:48 -0400 Subject: [PATCH 44/69] python311Packages.distrax: fix type errors --- .../python-modules/distrax/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/distrax/default.nix b/pkgs/development/python-modules/distrax/default.nix index 83a4a16d650ee..bae7ef5ffb93b 100644 --- a/pkgs/development/python-modules/distrax/default.nix +++ b/pkgs/development/python-modules/distrax/default.nix @@ -74,6 +74,20 @@ buildPythonPackage rec { "distrax/_src/distributions/transformed_test.py" "distrax/_src/distributions/uniform_test.py" "distrax/_src/utils/transformations_test.py" + # https://github.com/google-deepmind/distrax/pull/270 + "distrax/_src/distributions/deterministic_test.py" + "distrax/_src/distributions/epsilon_greedy_test.py" + "distrax/_src/distributions/gamma_test.py" + "distrax/_src/distributions/greedy_test.py" + "distrax/_src/distributions/gumbel_test.py" + "distrax/_src/distributions/logistic_test.py" + "distrax/_src/distributions/log_stddev_normal_test.py" + "distrax/_src/distributions/mvn_diag_test.py" + "distrax/_src/distributions/mvn_full_covariance_test.py" + "distrax/_src/distributions/mvn_tri_test.py" + "distrax/_src/distributions/one_hot_categorical_test.py" + "distrax/_src/distributions/softmax_test.py" + "distrax/_src/utils/hmm_test.py" ]; meta = with lib; { @@ -81,8 +95,5 @@ buildPythonPackage rec { homepage = "https://github.com/deepmind/distrax"; license = licenses.asl20; maintainers = with maintainers; [ onny ]; - # Several tests fail with: - # AssertionError: [Chex] Assertion assert_type failed: Error in type compatibility check - broken = true; }; } From c59e45ce4254d0ec97072629958980b4693d24e7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 27 Oct 2024 23:22:07 +0000 Subject: [PATCH 45/69] apacheHttpdPackages.php: 8.2.24 -> 8.2.25 --- pkgs/development/interpreters/php/8.2.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/php/8.2.nix b/pkgs/development/interpreters/php/8.2.nix index 50f70617fe1cd..e1b8d2201e577 100644 --- a/pkgs/development/interpreters/php/8.2.nix +++ b/pkgs/development/interpreters/php/8.2.nix @@ -2,8 +2,8 @@ let base = callPackage ./generic.nix (_args // { - version = "8.2.24"; - hash = "sha256-TMduxkTu6X0XySv+jQ6EcU/t8pmlOLffrcBjndDcQy8="; + version = "8.2.25"; + hash = "sha256-B7QcXpbGDAllEORfAvgYQU0RvdDV2htoQN26K6colAE="; }); in base.withExtensions ({ all, ... }: with all; ([ From 2f5813b702ebe4fca94efec34286fe73bf6d449d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 27 Oct 2024 18:41:02 -0700 Subject: [PATCH 46/69] pytr: update meta.changelog --- pkgs/by-name/py/pytr/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/py/pytr/package.nix b/pkgs/by-name/py/pytr/package.nix index 8cbf214d5b702..6c1e92a9419a3 100644 --- a/pkgs/by-name/py/pytr/package.nix +++ b/pkgs/by-name/py/pytr/package.nix @@ -49,7 +49,7 @@ python3Packages.buildPythonApplication rec { pythonImportsCheck = [ "pytr" ]; meta = { - changelog = "https://github.com/pytr-org/pytr/releases/tag/${version}"; + changelog = "https://github.com/pytr-org/pytr/releases/tag/${lib.removePrefix "refs/tags/" src.rev}"; description = "Use TradeRepublic in terminal and mass download all documents"; homepage = "https://github.com/pytr-org/pytr"; license = lib.licenses.mit; From 7ca8478368dce240a69ad0a6b154256198123157 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 24 Oct 2024 18:58:57 +0200 Subject: [PATCH 47/69] =?UTF-8?q?ocamlPackages.otr:=200.3.10=20=E2=86=92?= =?UTF-8?q?=201.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../instant-messengers/jackline/default.nix | 1 + pkgs/development/ocaml-modules/otr/default.nix | 13 ++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/jackline/default.nix b/pkgs/applications/networking/instant-messengers/jackline/default.nix index b5fe07ef71407..c015c9ac06f68 100644 --- a/pkgs/applications/networking/instant-messengers/jackline/default.nix +++ b/pkgs/applications/networking/instant-messengers/jackline/default.nix @@ -51,5 +51,6 @@ buildDunePackage rec { mainProgram = "jackline"; license = licenses.bsd2; maintainers = with maintainers; [ sternenseemann ]; + broken = true; # Not compatible with mirage-crypto ≥ 1.0 }; } diff --git a/pkgs/development/ocaml-modules/otr/default.nix b/pkgs/development/ocaml-modules/otr/default.nix index 033e4a2127e5a..ef4743be9ac93 100644 --- a/pkgs/development/ocaml-modules/otr/default.nix +++ b/pkgs/development/ocaml-modules/otr/default.nix @@ -1,19 +1,19 @@ { lib, fetchurl, buildDunePackage -, cstruct, sexplib0, mirage-crypto, mirage-crypto-pk, astring, base64 +, digestif, sexplib0, mirage-crypto, mirage-crypto-pk, astring, base64 }: buildDunePackage rec { pname = "otr"; - version = "0.3.10"; + version = "1.0.0"; - minimalOCamlVersion = "4.08"; + minimalOCamlVersion = "4.13"; src = fetchurl { - url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-v${version}.tbz"; - hash = "sha256:0dssc7p6s7z53n0mddyipjghzr8ld8bb7alaxqrx9gdpspwab1gq"; + url = "https://github.com/hannesm/ocaml-otr/releases/download/v${version}/otr-${version}.tbz"; + hash = "sha256-/CcVqLbdylB+LqpKNETkpvQ8SEAIcEFCO1MZqvdmJWU="; }; - propagatedBuildInputs = [ cstruct sexplib0 mirage-crypto mirage-crypto-pk + propagatedBuildInputs = [ digestif sexplib0 mirage-crypto mirage-crypto-pk astring base64 ]; doCheck = true; @@ -23,6 +23,5 @@ buildDunePackage rec { description = "Off-the-record messaging protocol, purely in OCaml"; license = licenses.bsd2; maintainers = with maintainers; [ sternenseemann ]; - broken = true; # Not compatible with mirage-crypto ≥ 1.0 }; } From fc7f8bb8e6d0bac7e98b1d25ca7734d432d98ff1 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 14 Oct 2024 14:42:29 +0200 Subject: [PATCH 48/69] =?UTF-8?q?coqPackages.mathcomp-analysis:=201.4.0=20?= =?UTF-8?q?=E2=86=92=201.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit coqPackages.mathcomp-infotheo: 0.7.2 → 0.7.3 --- pkgs/development/coq-modules/mathcomp-analysis/default.nix | 3 ++- pkgs/development/coq-modules/mathcomp-infotheo/default.nix | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/coq-modules/mathcomp-analysis/default.nix b/pkgs/development/coq-modules/mathcomp-analysis/default.nix index f3d4694202f93..d3494bf2a1632 100644 --- a/pkgs/development/coq-modules/mathcomp-analysis/default.nix +++ b/pkgs/development/coq-modules/mathcomp-analysis/default.nix @@ -9,6 +9,7 @@ let repo = "analysis"; owner = "math-comp"; + release."1.5.0".sha256 = "sha256-EWogrkr5TC5F9HjQJwO3bl4P8mij8U7thUGJNNI+k88="; release."1.4.0".sha256 = "sha256-eDggeuEU0fMK7D5FbxvLkbAgpLw5lwL/Rl0eLXAnJeg="; release."1.2.0".sha256 = "sha256-w6BivDM4dF4Iv4rUTy++2feweNtMAJxgGExPfYGhXxo="; release."1.1.0".sha256 = "sha256-wl4kZf4mh9zbFfGcqaFEgWRyp0Bj511F505mYodpS6o="; @@ -33,7 +34,7 @@ let defaultVersion = let inherit (lib.versions) range; in lib.switch [ coq.version mathcomp.version ] [ - { cases = [ (range "8.19" "8.20") (range "2.1.0" "2.2.0") ]; out = "1.4.0"; } + { cases = [ (range "8.19" "8.20") (range "2.1.0" "2.2.0") ]; out = "1.5.0"; } { cases = [ (range "8.17" "8.20") (range "2.0.0" "2.2.0") ]; out = "1.1.0"; } { cases = [ (range "8.17" "8.19") (range "1.17.0" "1.19.0") ]; out = "0.7.0"; } { cases = [ (range "8.17" "8.18") (range "1.15.0" "1.18.0") ]; out = "0.6.7"; } diff --git a/pkgs/development/coq-modules/mathcomp-infotheo/default.nix b/pkgs/development/coq-modules/mathcomp-infotheo/default.nix index 028d32c5af5f8..ba42a24720c6e 100644 --- a/pkgs/development/coq-modules/mathcomp-infotheo/default.nix +++ b/pkgs/development/coq-modules/mathcomp-infotheo/default.nix @@ -7,12 +7,14 @@ inherit version; defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp-analysis.version] [ + { cases = [ (range "8.18" "8.20") (isGe "1.5") ]; out = "0.7.3"; } { cases = [ (range "8.18" "8.19") (isGe "1.2") ]; out = "0.7.2"; } { cases = [ (range "8.17" "8.19") (isGe "1.0") ]; out = "0.7.1"; } { cases = [ (isGe "8.17") (range "0.6.6" "0.7.0") ]; out = "0.6.1"; } { cases = [ (range "8.17" "8.18") (range "0.6.0" "0.6.7") ]; out = "0.5.2"; } { cases = [ (range "8.15" "8.16") (range "0.5.4" "0.6.5") ]; out = "0.5.1"; } ] null; + release."0.7.3".sha256 = "sha256-7+qPtE1KfDmo9ZsQtWMzoR2MYnFpTjFHK/yZYVm+GxA="; release."0.7.2".sha256 = "sha256-dekrdVmuTcqXXmKhIb831EKtMhbPrXHJZhzmGb9rdRo="; release."0.7.1".sha256 = "sha256-/4Elb35SmscG6EjEcHYDo+AmWrpBUlygZL0WhaD+fcY="; release."0.6.1".sha256 = "sha256-tFB5lrwRPIlHkP+ebgcJwu03Cc9yVaOINOAo8Bf2LT4="; From e8e62357978f564ee96cc1a59cedaf47d2424f3a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 28 Oct 2024 07:16:35 +0100 Subject: [PATCH 49/69] ocamlPackages.kdf: init at 1.0.0 --- .../development/ocaml-modules/kdf/default.nix | 30 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/ocaml-modules/kdf/default.nix diff --git a/pkgs/development/ocaml-modules/kdf/default.nix b/pkgs/development/ocaml-modules/kdf/default.nix new file mode 100644 index 0000000000000..8bd7f3bf306f7 --- /dev/null +++ b/pkgs/development/ocaml-modules/kdf/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildDunePackage +, fetchurl +, digestif +, mirage-crypto +, alcotest +, ohex +}: + +buildDunePackage rec { + pname = "kdf"; + version = "1.0.0"; + + src = fetchurl { + url = "https://github.com/robur-coop/kdf/releases/download/v${version}/kdf-${version}.tbz"; + hash = "sha256-0WFYKw7+ZtlY3WuMnCEGjp9kVM4hg3fWz4eCPexi4M4="; + }; + + propagatedBuildInputs = [ digestif mirage-crypto ]; + + checkInputs = [ alcotest ohex ]; + doCheck = true; + + meta = { + description = "Key Derivation Functions: HKDF RFC 5869, PBKDF RFC 2898, SCRYPT RFC 7914"; + homepage = "https://github.com/robur-coop/kdf"; + license = lib.licenses.bsd2; + maintainers = [ lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index ef556b0f52e39..2f0ce2558934f 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -913,6 +913,8 @@ let kcas = callPackage ../development/ocaml-modules/kcas { }; + kdf = callPackage ../development/ocaml-modules/kdf { }; + ke = callPackage ../development/ocaml-modules/ke { }; kicadsch = callPackage ../development/ocaml-modules/kicadsch { }; From 28f03c1e830fa2a8a9e3a6630f185e5b8dfa05a2 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 28 Oct 2024 07:16:41 +0100 Subject: [PATCH 50/69] =?UTF-8?q?ocamlPackages.tls:=201.0.1=20=E2=86=92=20?= =?UTF-8?q?1.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/tls/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/tls/default.nix b/pkgs/development/ocaml-modules/tls/default.nix index 9fc0656be1625..7953e817e245e 100644 --- a/pkgs/development/ocaml-modules/tls/default.nix +++ b/pkgs/development/ocaml-modules/tls/default.nix @@ -1,16 +1,16 @@ { lib, fetchurl, buildDunePackage -, domain-name, fmt, logs, hkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-crypto-rng, ptime, x509 +, domain-name, fmt, logs, kdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-crypto-rng, x509 , ipaddr , alcotest, ounit2 }: buildDunePackage rec { pname = "tls"; - version = "1.0.1"; + version = "1.0.2"; src = fetchurl { url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-${version}.tbz"; - hash = "sha256-2uS1/8gD6ILphIBCWP+KrKe4N9hVbeaEABldpccKjYM="; + hash = "sha256-ohdRIAyzFG/+FUf11t4Ye1FH6O5r7RKwnVLAAtQrP+s="; }; minimalOCamlVersion = "4.08"; @@ -19,12 +19,11 @@ buildDunePackage rec { domain-name fmt logs - hkdf + kdf mirage-crypto mirage-crypto-ec mirage-crypto-pk mirage-crypto-rng - ptime x509 ipaddr ]; From ad7da5d0408cd5b9b211057935114d322826722c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 28 Oct 2024 07:16:46 +0100 Subject: [PATCH 51/69] =?UTF-8?q?jackline:=202024-02-28=20=E2=86=92=202024?= =?UTF-8?q?-10-21?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../networking/instant-messengers/jackline/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/jackline/default.nix b/pkgs/applications/networking/instant-messengers/jackline/default.nix index c015c9ac06f68..fd830858ea7bc 100644 --- a/pkgs/applications/networking/instant-messengers/jackline/default.nix +++ b/pkgs/applications/networking/instant-messengers/jackline/default.nix @@ -4,15 +4,15 @@ with ocamlPackages; buildDunePackage rec { pname = "jackline"; - version = "unstable-2024-02-28"; + version = "unstable-2024-10-21"; - minimalOCamlVersion = "4.08"; + minimalOCamlVersion = "4.13"; src = fetchFromGitHub { owner = "hannesm"; repo = "jackline"; - rev = "31b90275a5f848cfc8c4f5b75e7d1933bec37852"; - hash = "sha256-G2jjsc/i9Qgo0TP+ZE4gB/1cjuZ9l8R7e59K2DGD5GY="; + rev = "cf6b26e37e37b0b48be9fd2e74fc563375f757f0"; + hash = "sha256-6QZZ77C1G3x/GOJsUEQMrCatVsyyxNjq36ez/TgeHSY="; }; nativeBuildInputs = [ @@ -39,7 +39,6 @@ buildDunePackage rec { uuseg uutf dns-client - cstruct base64 happy-eyeballs-lwt ppx_sexp_conv @@ -51,6 +50,5 @@ buildDunePackage rec { mainProgram = "jackline"; license = licenses.bsd2; maintainers = with maintainers; [ sternenseemann ]; - broken = true; # Not compatible with mirage-crypto ≥ 1.0 }; } From 865b69dd7a646316ca7b95578fa096ae1ccb0d5c Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 27 Oct 2024 08:21:19 +0100 Subject: [PATCH 52/69] svtplay-dl: 4.97.1 -> 4.101 --- pkgs/tools/misc/svtplay-dl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/svtplay-dl/default.nix b/pkgs/tools/misc/svtplay-dl/default.nix index e0a0cfe9804c8..c39b98f1627d4 100644 --- a/pkgs/tools/misc/svtplay-dl/default.nix +++ b/pkgs/tools/misc/svtplay-dl/default.nix @@ -21,7 +21,7 @@ let requests-mock ; - version = "4.97.1"; + version = "4.101"; in @@ -34,7 +34,7 @@ buildPythonApplication { owner = "spaam"; repo = "svtplay-dl"; rev = version; - hash = "sha256-9h3hHRRL7DKeCpEXL5w72hYi1nTS+a+x5e9ArMmVgYQ="; + hash = "sha256-bHUrpkGBguI8oZB1h1ToFkFsGiMeyV7TyDtgJ8+2TzI="; }; build-system = [ setuptools ]; From b6b90562f7698ae015471fc4ff5d45399cc6622a Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 23 Oct 2024 09:55:28 -0400 Subject: [PATCH 53/69] calibre-server: add extraFlags and openFirewall options This allows users to pass extra flags to the calibre-server command and open the necessary ports in the firewall for the Calibre Server API. --- .../modules/services/misc/calibre-server.nix | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/calibre-server.nix b/nixos/modules/services/misc/calibre-server.nix index 5fa3c11a48aa7..160a1c1e53c4a 100644 --- a/nixos/modules/services/misc/calibre-server.nix +++ b/nixos/modules/services/misc/calibre-server.nix @@ -12,7 +12,7 @@ let "--port" = cfg.port; "--auth-mode" = cfg.auth.mode; "--userdb" = cfg.auth.userDb; - }) ++ [(lib.optionalString (cfg.auth.enable == true) "--enable-auth")]) + }) ++ [ (lib.optionalString (cfg.auth.enable == true) "--enable-auth") ] ++ cfg.extraFlags) ); in @@ -42,6 +42,15 @@ in ''; }; + extraFlags = lib.mkOption { + type = lib.types.listOf lib.types.str; + default = [ ]; + description = '' + Extra flags to pass to the calibre-server command. + See the [calibre-server documentation](${generatedDocumentationLink}) for details. + ''; + }; + user = lib.mkOption { type = lib.types.str; default = "calibre-server"; @@ -73,6 +82,13 @@ in ''; }; + openFirewall = lib.mkOption { + type = lib.types.bool; + default = false; + description = + "Open ports in the firewall for the Calibre Server web interface."; + }; + auth = { enable = lib.mkOption { type = lib.types.bool; @@ -137,6 +153,9 @@ in }; }; + networking.firewall = + lib.mkIf cfg.openFirewall { allowedTCPPorts = [ cfg.port ]; }; + }; meta.maintainers = with lib.maintainers; [ gaelreyrol ]; From c6e6d1edd60e4b92941151ac06e007da3665d06e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 27 Oct 2024 18:55:18 +0100 Subject: [PATCH 54/69] flatpak: enable debug info --- pkgs/by-name/fl/flatpak/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fl/flatpak/package.nix b/pkgs/by-name/fl/flatpak/package.nix index 231b682cc2cbb..4eec7288bf856 100644 --- a/pkgs/by-name/fl/flatpak/package.nix +++ b/pkgs/by-name/fl/flatpak/package.nix @@ -74,6 +74,8 @@ stdenv.mkDerivation (finalAttrs: { "installedTests" ]; + separateDebugInfo = true; + src = fetchurl { url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz"; hash = "sha256-a73HkIEnNQrYWkpH1wKSyi9MRul3sysf0jHCpxnYIc0="; From d2e4b94d8af8e6a4b389a2ab6a824e4d628a51f5 Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Sat, 26 Oct 2024 17:38:15 +0200 Subject: [PATCH 55/69] nixos documentation: Suggest pkgs.testers.runNixOSTest `pkgs.testers.runNixOSTest` is the latest and best way to run NixOS Tests outside of nixpkgs as it also improves evaluation performance by injecting the host pkgs into all the guests. It seems no one uses it because it is not mentioned at the right places. --- .../manual/development/writing-nixos-tests.section.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/doc/manual/development/writing-nixos-tests.section.md b/nixos/doc/manual/development/writing-nixos-tests.section.md index 3ce12f41c60fe..bd588e2ba80bd 100644 --- a/nixos/doc/manual/development/writing-nixos-tests.section.md +++ b/nixos/doc/manual/development/writing-nixos-tests.section.md @@ -71,20 +71,20 @@ nix-build -A nixosTests.hostname ### Testing outside the NixOS project {#sec-call-nixos-test-outside-nixos} -Outside the `nixpkgs` repository, you can instantiate the test by first importing the NixOS library, +Outside the `nixpkgs` repository, you can use the `runNixOSTest` function from +`pkgs.testers`: ```nix -let nixos-lib = import (nixpkgs + "/nixos/lib") { }; +let pkgs = import {}; in -nixos-lib.runTest { +pkgs.testers.runNixOSTest { imports = [ ./test.nix ]; - hostPkgs = pkgs; # the Nixpkgs package set used outside the VMs defaults.services.foo.package = mypkg; } ``` -`runTest` returns a derivation that runs the test. +`runNixOSTest` returns a derivation that runs the test. ## Configuring the nodes {#sec-nixos-test-nodes} From 744000f1f7d39d33024ab5b985331441d00b1ec6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 28 Oct 2024 01:00:06 +0000 Subject: [PATCH 56/69] terraform-providers.artifactory: 12.2.0 -> 12.3.1 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 14efee3771380..4bfa52359cc46 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -81,13 +81,13 @@ "vendorHash": "sha256-0UM4I/oxIsWIP1G93KJsJxYofXrO4Yy86PEk0FnB1DE=" }, "artifactory": { - "hash": "sha256-6VwEQ6fGZ1V5AkI5FvQwuFipjREduVkZePGwQqpyxig=", + "hash": "sha256-ehwskBqWAlbv+3ULOic8792kWulKuJ8v9/UmPngooRY=", "homepage": "https://registry.terraform.io/providers/jfrog/artifactory", "owner": "jfrog", "repo": "terraform-provider-artifactory", - "rev": "v12.2.0", + "rev": "v12.3.1", "spdx": "Apache-2.0", - "vendorHash": "sha256-HAZZ/P7zDbHs/xkIY69QbbcxwgPHEZOqeKCX8jIZTQE=" + "vendorHash": "sha256-detefSJ3hVIk2xXsAB16XiQkaOAiBkGTnaIku7veFQU=" }, "auth0": { "hash": "sha256-5drMyf+jymrKb6cxB2eCnvVE9hPo9aDGaloZVlOeRlI=", From 2cac9abfbb998d0e07df42d1086e0db4946ec987 Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:52:27 +0100 Subject: [PATCH 57/69] Revert "stayrtr: 0.5.1 -> 0.6.1" --- pkgs/servers/stayrtr/default.nix | 28 ++++++++++++++-------------- pkgs/servers/stayrtr/go.mod.patch | 30 ++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 14 deletions(-) create mode 100644 pkgs/servers/stayrtr/go.mod.patch diff --git a/pkgs/servers/stayrtr/default.nix b/pkgs/servers/stayrtr/default.nix index eeaffd7eaaecc..a372f8ff7bb20 100644 --- a/pkgs/servers/stayrtr/default.nix +++ b/pkgs/servers/stayrtr/default.nix @@ -1,28 +1,30 @@ -{ - lib, - fetchFromGitHub, - buildGoModule, - stayrtr, - testers, +{ lib +, fetchFromGitHub +, buildGoModule +, stayrtr +, testers }: buildGoModule rec { pname = "stayrtr"; - version = "0.6.1"; + version = "0.5.1"; src = fetchFromGitHub { owner = "bgp"; repo = "stayrtr"; - rev = "refs/tags/v${version}"; - hash = "sha256-uNZe3g8hs9c0uXrkWSTA+e/gziOpWqx5oFIJ2ZPgEzU="; + rev = "v${version}"; + hash = "sha256-/KwL/SEnHquFhPcYXpvQs71W4K1BrbqTPakatTNF47Q="; }; + vendorHash = "sha256-ndMME9m3kbv/c1iKlU2Pn/YoiRQy7jfVQri3M+qhujk="; - vendorHash = "sha256-0PtQzwBhUoASUMnAAVZ4EIDmqIEaH0nct2ngyIkR+Qg="; + patches = [ + ./go.mod.patch + ]; ldflags = [ "-s" "-w" - "-X=main.version=${version}" + "-X main.version=${version}" ]; passthru.tests.version = testers.testVersion { @@ -30,11 +32,9 @@ buildGoModule rec { }; meta = with lib; { - description = "Simple RPKI-To-Router server"; + description = "Simple RPKI-To-Router server. (Hard fork of GoRTR)"; homepage = "https://github.com/bgp/stayrtr/"; - changelog = "https://github.com/bgp/stayrtr/releases/tag/v${version}"; license = licenses.bsd3; maintainers = with maintainers; [ _0x4A6F ]; - mainProgram = "stayrtr"; }; } diff --git a/pkgs/servers/stayrtr/go.mod.patch b/pkgs/servers/stayrtr/go.mod.patch new file mode 100644 index 0000000000000..54c80cbb6b535 --- /dev/null +++ b/pkgs/servers/stayrtr/go.mod.patch @@ -0,0 +1,30 @@ +diff --git a/go.mod b/go.mod +index 0116218..3e31f0e 100644 +--- a/go.mod ++++ b/go.mod +@@ -1,6 +1,6 @@ + module github.com/bgp/stayrtr + +-go 1.16 ++go 1.17 + + require ( + github.com/google/go-cmp v0.5.6 +@@ -10,3 +10,17 @@ require ( + golang.org/x/crypto v0.6.0 + golang.org/x/sys v0.5.0 + ) ++ ++require ( ++ github.com/beorn7/perks v1.0.1 // indirect ++ github.com/cespare/xxhash/v2 v2.1.1 // indirect ++ github.com/davecgh/go-spew v1.1.1 // indirect ++ github.com/golang/protobuf v1.4.3 // indirect ++ github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect ++ github.com/pmezard/go-difflib v1.0.0 // indirect ++ github.com/prometheus/client_model v0.2.0 // indirect ++ github.com/prometheus/common v0.26.0 // indirect ++ github.com/prometheus/procfs v0.6.0 // indirect ++ google.golang.org/protobuf v1.26.0-rc.1 // indirect ++ gopkg.in/yaml.v2 v2.3.0 // indirect ++) From 40e35fa25fde2f922859ce4d3c517e6230c6953f Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 28 Oct 2024 10:53:34 +0100 Subject: [PATCH 58/69] nodejs_22: 22.9.0 -> 22.10.0 (#349157) --- pkgs/development/web/nodejs/v22.nix | 36 +++-------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/pkgs/development/web/nodejs/v22.nix b/pkgs/development/web/nodejs/v22.nix index dc4f10b7454d3..6a71b0056bf76 100644 --- a/pkgs/development/web/nodejs/v22.nix +++ b/pkgs/development/web/nodejs/v22.nix @@ -5,14 +5,11 @@ let inherit openssl; python = python3; }; - - gypPatches = callPackage ./gyp-patches.nix { } ++ [ - ]; in buildNodejs { inherit enableNpm; - version = "22.9.0"; - sha256 = "a55aeb368dee93432f610127cf94ce682aac07b93dcbbaadd856df122c9239df"; + version = "22.10.0"; + sha256 = "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0"; patches = [ ./configure-emulator.patch ./configure-armv6-vfpv2.patch @@ -21,32 +18,5 @@ buildNodejs { ./node-npm-build-npm-package-logic.patch ./use-correct-env-in-tests.patch ./bin-sh-node-run-v22.patch - - # Patches for OpenSSL 3.2 - # Patches not yet released - (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/f8b7a171463e775da304bccf4cf165e634525c7e.patch?full_index=1"; - hash = "sha256-imptUwt2oG8pPGKD3V6m5NQXuahis71UpXiJm4C0E6o="; - }) - (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/6dfa3e46d3d2f8cfba7da636d48a5c41b0132cd7.patch?full_index=1"; - hash = "sha256-ITtGsvZI6fliirCKvbMH9N2Xoy3001bz+hS3NPoqvzg="; - }) - (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/29b9c72b05786061cde58a5ae11cfcb580ab6c28.patch?full_index=1"; - hash = "sha256-xaqtwsrOIyRV5zzccab+nDNG8kUgO6AjrVYJNmjeNP0="; - }) - (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/cfe58cfdc488da71e655d3da709292ce6d9ddb58.patch?full_index=1"; - hash = "sha256-9GblpbQcYfoiE5R7fETsdW7v1Mm2Xdr4+xRNgUpLO+8="; - }) - (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/2cec716c48cea816dcd5bf4997ae3cdf1fe4cd90.patch?full_index=1"; - hash = "sha256-ExIkAj8yRJEK39OfV6A53HiuZsfQOm82/Tvj0nCaI8A="; - }) - (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/0f7bdcc17fbc7098b89f238f4bd8ecad9367887b.patch?full_index=1"; - hash = "sha256-lXx6QyD2anlY9qAwjNMFM2VcHckBshghUF1NaMoaNl4="; - }) - ] ++ gypPatches; + ]; } From 77804e950a3ef6ad8eac0926e9aba8d77df521bb Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Thu, 24 Oct 2024 12:13:35 +0200 Subject: [PATCH 59/69] gitlab: 17.2.9 -> 17.3.6 --- .../version-management/gitlab/data.json | 16 +- .../gitlab/gitaly/default.nix | 6 +- .../version-management/gitlab/gitaly/git.nix | 4 +- .../gitlab-container-registry/default.nix | 6 +- .../gitlab/gitlab-pages/default.nix | 6 +- .../gitlab/gitlab-shell/default.nix | 6 +- .../gitlab/gitlab-workhorse/default.nix | 4 +- .../version-management/gitlab/rubyEnv/Gemfile | 109 ++-- .../gitlab/rubyEnv/Gemfile.lock | 311 ++++++------ .../gitlab/rubyEnv/gemset.nix | 472 +++++++++--------- 10 files changed, 492 insertions(+), 448 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json index 033870a4e4212..42f2c2dc47566 100644 --- a/pkgs/applications/version-management/gitlab/data.json +++ b/pkgs/applications/version-management/gitlab/data.json @@ -1,15 +1,15 @@ { - "version": "17.2.9", - "repo_hash": "060d5rzbcnhr1fsvbaiirgjm5rjr5c5r6yi601lxvksffyn5hmxw", - "yarn_hash": "10y540bxwaz355p9r4q34199aibadrd5p4d9ck2y3n6735k0hm74", + "version": "17.3.6", + "repo_hash": "1dysv5xblm33z4vlnkz2s43w6cqrhmzq1729sab3x0zznyaa5vks", + "yarn_hash": "1g5xqggdbrxz6ablav119jw8a2v8qdd2cwlbvpygablbcxqak41l", "owner": "gitlab-org", "repo": "gitlab", - "rev": "v17.2.9-ee", + "rev": "v17.3.6-ee", "passthru": { - "GITALY_SERVER_VERSION": "17.2.9", - "GITLAB_PAGES_VERSION": "17.2.9", - "GITLAB_SHELL_VERSION": "14.37.0", + "GITALY_SERVER_VERSION": "17.3.6", + "GITLAB_PAGES_VERSION": "17.3.6", + "GITLAB_SHELL_VERSION": "14.38.0", "GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.2.0", - "GITLAB_WORKHORSE_VERSION": "17.2.9" + "GITLAB_WORKHORSE_VERSION": "17.3.6" } } diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix index 45f5914852db9..dd6e8b6b0b346 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/default.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix @@ -6,7 +6,7 @@ }: let - version = "17.2.9"; + version = "17.3.6"; package_version = "v${lib.versions.major version}"; gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; @@ -20,10 +20,10 @@ let owner = "gitlab-org"; repo = "gitaly"; rev = "v${version}"; - hash = "sha256-UgNQtM3NdAUJVP+vvTHtZWSjCmVzsHlEtXQroxKorIY="; + hash = "sha256-nXblQfr9ml6F5nNz64haN7ub+cuN3eao14N0Y2d3n0Y="; }; - vendorHash = "sha256-FqnGVRldhevJgBBvJcvGXzRaYWqSHzZiXIQmCNzJv+4="; + vendorHash = "sha256-spfSOOe+9NGu+2ZbEGb93X3HnANEXYbvP73DD6neIXQ="; ldflags = [ "-X ${gitaly_package}/internal/version.version=${version}" "-X ${gitaly_package}/internal/version.moduleVersion=${version}" ]; diff --git a/pkgs/applications/version-management/gitlab/gitaly/git.nix b/pkgs/applications/version-management/gitlab/gitaly/git.nix index a6d272b2fbb7a..2610c39ca711f 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/git.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/git.nix @@ -9,14 +9,14 @@ stdenv.mkDerivation rec { pname = "gitaly-git"; - version = "2.44.2.gl1"; + version = "2.45.2"; # `src` attribute for nix-update src = fetchFromGitLab { owner = "gitlab-org"; repo = "git"; rev = "v${version}"; - hash = "sha256-VIffbZZEbGjVW1No8zojSQlX/ciJ2DJnaogNlQtc77o="; + hash = "sha256-R4K5b4d1DQw+pwoOCAK4EJtVPXQDPossTUmVv0LJtUs="; }; # we actually use the gitaly build system diff --git a/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix b/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix index 202944412ca32..5cd236a468abc 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "gitlab-container-registry"; - version = "4.10.0"; + version = "4.11.0"; rev = "v${version}-gitlab"; # nixpkgs-update: no auto update @@ -10,10 +10,10 @@ buildGoModule rec { owner = "gitlab-org"; repo = "container-registry"; inherit rev; - hash = "sha256-9OiuA0TqRfnZKfAeLbIcPUw5qH6twWKqt0IP8roaWNg="; + hash = "sha256-wUypldxi3O5sm4i9v2HiZjqUy/JwtcRPvCCmINCk4YU="; }; - vendorHash = "sha256-Bzhg5coOrs3JO6Qslr9csUIrnCMJiG89Fio8ziJjH9k="; + vendorHash = "sha256-Ed+WvdWpEU5c9v14eM1PdCcT3qRnaRF/XeUKedPmaSU="; postPatch = '' # Disable flaky inmemory storage driver test diff --git a/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix b/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix index 7fb674689237a..f0fb34deeb91c 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix @@ -2,17 +2,17 @@ buildGoModule rec { pname = "gitlab-pages"; - version = "17.2.9"; + version = "17.3.6"; # nixpkgs-update: no auto update src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-pages"; rev = "v${version}"; - hash = "sha256-ggfPZ/PMjgfRzzPZdVCVydd/4mdCfh2xh7QWGjp5U/0="; + hash = "sha256-yieOM9QQuQQ4RkfjASpcEvIKwbYMT9LkkJPHAYhY7uY="; }; - vendorHash = "sha256-yNHeM8MExcLwv2Ga4vtBmPFBt/Rj7Gd4QQYDlnAIo+c="; + vendorHash = "sha256-O8kWiOpgVCUD6DdM95F1b+j4Gv9LTLRdBjByqXWV7Pk="; subPackages = [ "." ]; meta = with lib; { diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix index eaaba0d4bd320..53614d3a39e99 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "gitlab-shell"; - version = "14.37.0"; + version = "14.38.0"; # nixpkgs-update: no auto update src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-shell"; rev = "v${version}"; - hash = "sha256-to4ZIFKEiM4FCznoLrvHua9/hIqiHcviALzfay+1rb8="; + hash = "sha256-oYvsSjdzfJn4ujy1qbMmqZyEQFbYTSke8t3KBqjr/Vc="; }; buildInputs = [ ruby libkrb5 ]; @@ -18,7 +18,7 @@ buildGoModule rec { ./remove-hardcoded-locations.patch ]; - vendorHash = "sha256-TbjpCCo/ZdFP+yE2h8B8kwS08iUilXNgBT2F5Si7/dc="; + vendorHash = "sha256-YOShgZv0zdfXgKi//IENt6wE2m0S1Kqa+2ndvCwKDLQ="; postInstall = '' cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix index 235ddbf54aed5..7386a939817f9 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix @@ -5,7 +5,7 @@ in buildGoModule rec { pname = "gitlab-workhorse"; - version = "17.2.9"; + version = "17.3.6"; # nixpkgs-update: no auto update src = fetchFromGitLab { @@ -17,7 +17,7 @@ buildGoModule rec { sourceRoot = "${src.name}/workhorse"; - vendorHash = "sha256-ZWpuJTlGCsjjURa8iYTaGMKulx99uyYJ+dr2cL9hiwo="; + vendorHash = "sha256-sLr9kFKRNYOlCj9bmP+J7/Iu/OfFTEjAm64BUni+eiY="; buildInputs = [ git ]; ldflags = [ "-X main.Version=${version}" ]; doCheck = false; diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile index 2bb3d4092ed85..56051fbe4876a 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile +++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile @@ -1,5 +1,9 @@ # frozen_string_literal: true +def next? + File.basename(__FILE__) == "Gemfile.next" +end + source 'https://rubygems.org' if ENV.fetch('BUNDLER_CHECKSUM_VERIFICATION_OPT_IN', 'false') != 'false' # this verification is still experimental @@ -24,7 +28,12 @@ gem 'bundler-checksum', '~> 0.1.0', path: 'vendor/gems/bundler-checksum', requir # https://gitlab.com/gitlab-org/gitlab/-/issues/375713 # # See https://docs.gitlab.com/ee/development/gemfile.html#upgrade-rails for guidelines when upgrading Rails -gem 'rails', '~> 7.0.8.4' # rubocop:todo Gemfile/MissingFeatureCategory + +if next? + gem 'rails', '~> 7.1.3.4', feature_category: :shared +else + gem 'rails', '~> 7.0.8.4', feature_category: :shared +end gem 'activerecord-gitlab', path: 'gems/activerecord-gitlab' # rubocop:todo Gemfile/MissingFeatureCategory @@ -50,7 +59,7 @@ gem 'responders', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'sprockets', '~> 3.7.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'sprockets-rails', '~> 3.5.1' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'view_component', '~> 3.12.1' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'view_component', '~> 3.13.0' # rubocop:todo Gemfile/MissingFeatureCategory # Supported DBs gem 'pg', '~> 1.5.6', feature_category: :database @@ -59,7 +68,11 @@ gem 'neighbor', '~> 0.3.2', feature_category: :duo_chat gem 'rugged', '~> 1.6' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'faraday', '~> 1.10.3' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'faraday', '~> 2', feature_category: :shared +gem 'faraday-retry', '~> 2', feature_category: :shared +# Logger is a dependency of Faraday, but Logger 1.6.0 does not work with Chef. +gem 'logger', '~> 1.5.3' # rubocop:todo Gemfile/MissingFeatureCategory + gem 'marginalia', '~> 1.11.1' # rubocop:todo Gemfile/MissingFeatureCategory # Authorization @@ -75,8 +88,8 @@ gem 'bcrypt', '~> 3.1', '>= 3.1.14' # rubocop:todo Gemfile/MissingFeatureCategor gem 'doorkeeper', '~> 5.6', '>= 5.6.6' # rubocop:todo Gemfile/MissingFeatureCategory gem 'doorkeeper-openid_connect', '~> 1.8', '>= 1.8.7' # rubocop:todo Gemfile/MissingFeatureCategory gem 'doorkeeper-device_authorization_grant', '~> 1.0.0', feature_category: :system_access -gem 'rexml', '~> 3.2.6' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'ruby-saml', '~> 1.17.0', feature_category: :system_access +gem 'rexml', '~> 3.3.2' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'ruby-saml', '~> 1.17.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth', '~> 2.1.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-auth0', '~> 3.1' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-azure-activedirectory-v2', '~> 2.0' # rubocop:todo Gemfile/MissingFeatureCategory @@ -85,16 +98,16 @@ gem 'omniauth-github', '2.0.1' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-gitlab', '~> 4.0.0', path: 'vendor/gems/omniauth-gitlab' # See vendor/gems/omniauth-gitlab/README.md # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-google-oauth2', '~> 1.1' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-oauth2-generic', '~> 0.2.2' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'omniauth-saml', '~> 2.2.1', feature_category: :system_access +gem 'omniauth-saml', '~> 2.2.1' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-shibboleth-redux', '~> 2.0', require: 'omniauth-shibboleth' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth_crowd', '~> 2.4.0', path: 'vendor/gems/omniauth_crowd' # See vendor/gems/omniauth_crowd/README.md # rubocop:todo Gemfile/MissingFeatureCategory -gem 'omniauth_openid_connect', '~> 0.6.1' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'omniauth_openid_connect', '~> 0.8.0' # rubocop:todo Gemfile/MissingFeatureCategory # Locked until Ruby 3.0 upgrade since upgrading will pull in an updated net-smtp gem. # See https://docs.gitlab.com/ee/development/emails.html#rationale. -gem 'openid_connect', '= 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'openid_connect', '~> 2.3.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-salesforce', '~> 1.0.5', path: 'vendor/gems/omniauth-salesforce' # See gem README.md # rubocop:todo Gemfile/MissingFeatureCategory gem 'omniauth-atlassian-oauth2', '~> 0.2.0' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'rack-oauth2', '~> 1.21.3' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'rack-oauth2', '~> 2.2.1' # rubocop:todo Gemfile/MissingFeatureCategory gem 'jwt', '~> 2.5' # rubocop:todo Gemfile/MissingFeatureCategory # Kerberos authentication. EE-only @@ -116,7 +129,7 @@ gem 'attr_encrypted', '~> 3.2.4', path: 'vendor/gems/attr_encrypted' # rubocop:t gem 'validates_hostname', '~> 1.0.13' # rubocop:todo Gemfile/MissingFeatureCategory gem 'rubyzip', '~> 2.3.2', require: 'zip' # rubocop:todo Gemfile/MissingFeatureCategory # GitLab Pages letsencrypt support -gem 'acme-client', '~> 2.0' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'acme-client', '~> 2.0.18' # rubocop:todo Gemfile/MissingFeatureCategory # Browser detection gem 'browser', '~> 5.3.1' # rubocop:todo Gemfile/MissingFeatureCategory @@ -146,7 +159,17 @@ gem 'graphql', '~> 2.3.5', feature_category: :api gem 'graphql-docs', '~> 5.0.0', group: [:development, :test], feature_category: :api gem 'graphiql-rails', '~> 1.10', feature_category: :api gem 'apollo_upload_server', '~> 2.1.6', feature_category: :api -gem 'graphlient', '~> 0.6.0', feature_category: :importers # Used by BulkImport feature (group::import) +gem 'graphlient', '~> 0.8.0', feature_category: :importers # Used by BulkImport feature (group::import) + +# Cells +gem 'gitlab-topology-service-client', '~> 0.1', + path: 'vendor/gems/gitlab-topology-service-client', + feature_category: :cell + +# Duo Workflow +gem 'gitlab-duo-workflow-service-client', '~> 0.1', + path: 'vendor/gems/gitlab-duo-workflow-service-client', + feature_category: :duo_workflow # Generate Fake data gem 'ffaker', '~> 2.23' # rubocop:todo Gemfile/MissingFeatureCategory @@ -177,7 +200,7 @@ gem 'fog-local', '~> 0.8' # rubocop:todo Gemfile/MissingFeatureCategory # We may want to update this dependency if this is ever addressed upstream, e.g. via # https://github.com/aliyun/aliyun-oss-ruby-sdk/pull/93 gem 'fog-aliyun', '~> 0.4' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'gitlab-fog-azure-rm', '~> 1.9.1', require: 'fog/azurerm' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'gitlab-fog-azure-rm', '~> 2.0.1', require: 'fog/azurerm', feature_category: :shared # for Google storage @@ -205,14 +228,16 @@ gem 'google-cloud-compute-v1', '~> 2.6.0', feature_category: :shared gem 'seed-fu', '~> 2.3.7' # rubocop:todo Gemfile/MissingFeatureCategory # Search -gem 'elasticsearch-model', '~> 7.2' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'elasticsearch-api', '7.13.3' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'aws-sdk-core', '~> 3.199.0' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'elasticsearch-model', '~> 7.2', feature_category: :global_search +gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation', feature_category: :global_search +gem 'elasticsearch-api', '7.17.11', feature_category: :global_search +gem 'aws-sdk-core', '~> 3.201.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'aws-sdk-cloudformation', '~> 1' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'aws-sdk-s3', '~> 1.154.0' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'faraday_middleware-aws-sigv4', '~>0.3.0' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'typhoeus', '~> 1.4.0' # Used with Elasticsearch to support http keep-alive connections # rubocop:todo Gemfile/MissingFeatureCategory +gem 'aws-sdk-s3', '~> 1.157.0' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'faraday-typhoeus', '~> 1.1', feature_category: :global_search +gem 'faraday_middleware-aws-sigv4', '~> 1.0.1', feature_category: :global_search +# Used with Elasticsearch to support http keep-alive connections +gem 'typhoeus', '~> 1.4.0', feature_category: :global_search # Markdown and HTML processing gem 'html-pipeline', '~> 2.14.3', feature_category: :team_planning @@ -253,9 +278,6 @@ end # State machine gem 'state_machines-activerecord', '~> 0.8.0' # rubocop:todo Gemfile/MissingFeatureCategory -# CI domain tags -gem 'acts-as-taggable-on', '~> 10.0' # rubocop:todo Gemfile/MissingFeatureCategory - # Background jobs gem 'sidekiq', '~> 7.1.6', feature_category: :scalability gem 'sidekiq-cron', '~> 1.12.0', feature_category: :scalability @@ -331,9 +353,7 @@ gem 'loofah', '~> 2.22.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'licensee', '~> 9.16' # rubocop:todo Gemfile/MissingFeatureCategory # Detect and convert string character encoding -# We forked charlock_holmes at https://gitlab.com/gitlab-org/ruby/gems/charlock_holmes -# but changed it's name to 'static_holmes' in the gemspec file. -gem 'static_holmes', '~> 0.7.11', require: 'charlock_holmes', feature_category: :shared +gem 'charlock_holmes', '~> 0.7.9', feature_category: :shared # Detect mime content type from content gem 'ruby-magic', '~> 0.6' # rubocop:todo Gemfile/MissingFeatureCategory @@ -347,7 +367,7 @@ gem 'gitlab_chronic_duration', '~> 0.12' # rubocop:todo Gemfile/MissingFeatureCa gem 'rack-proxy', '~> 0.7.7' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'cssbundling-rails', '1.4.0', feature_category: :shared +gem 'cssbundling-rails', '1.4.1', feature_category: :shared gem 'terser', '1.0.2' # rubocop:todo Gemfile/MissingFeatureCategory gem 'click_house-client', path: 'gems/click_house-client', require: 'click_house/client' # rubocop:todo Gemfile/MissingFeatureCategory @@ -363,9 +383,9 @@ gem 'gitlab-license', '~> 2.5', feature_category: :shared gem 'rack-attack', '~> 6.7.0' # rubocop:todo Gemfile/MissingFeatureCategory # Sentry integration -gem 'sentry-ruby', '~> 5.17.3', feature_category: :error_tracking -gem 'sentry-rails', '~> 5.17.3', feature_category: :error_tracking -gem 'sentry-sidekiq', '~> 5.17.3', feature_category: :error_tracking +gem 'sentry-ruby', '~> 5.18.0', feature_category: :error_tracking +gem 'sentry-rails', '~> 5.18.0', feature_category: :error_tracking +gem 'sentry-sidekiq', '~> 5.18.0', feature_category: :error_tracking # PostgreSQL query parsing # @@ -404,7 +424,8 @@ gem 'webrick', '~> 1.8.1', require: false # rubocop:todo Gemfile/MissingFeatureC gem 'prometheus-client-mmap', '~> 1.1', '>= 1.1.1', require: 'prometheus/client' # rubocop:todo Gemfile/MissingFeatureCategory # Event-driven reactor for Ruby -gem 'async', '~> 2.12.1' # rubocop:disable Gemfile/MissingFeatureCategory -- This is general utility gem +# Required manually in config/initializers/require_async_gem +gem 'async', '~> 2.12.1', require: false # rubocop:disable Gemfile/MissingFeatureCategory -- This is general utility gem # OpenTelemetry group :opentelemetry do @@ -472,7 +493,7 @@ group :development, :test do gem 'awesome_print', require: false # rubocop:todo Gemfile/MissingFeatureCategory - gem 'database_cleaner-active_record', '~> 2.1.0', feature_category: :database + gem 'database_cleaner-active_record', '~> 2.2.0', feature_category: :database gem 'rspec-rails', '~> 6.1.1', feature_category: :shared gem 'factory_bot_rails', '~> 6.4.3', feature_category: :tooling @@ -494,7 +515,7 @@ group :development, :test do # Profiling data from CI/CD pipelines gem 'influxdb-client', '~> 3.1', require: false, feature_category: :tooling - gem 'knapsack', '~> 1.22.0', feature_category: :tooling + gem 'knapsack', '~> 4.0.0', feature_category: :tooling gem 'crystalball', '~> 0.7.0', require: false, feature_category: :tooling gem 'test_file_finder', '~> 0.3.1', feature_category: :tooling @@ -511,7 +532,7 @@ group :development, :test do # For now we only use vite in development / test, and not for production builds # See: https://gitlab.com/gitlab-org/frontend/rfcs/-/issues/106 gem 'vite_rails', '~> 3.0.17', feature_category: :shared - gem 'vite_ruby', '~> 3.5.0', feature_category: :shared + gem 'vite_ruby', '~> 3.7.0', feature_category: :shared gem 'gitlab-housekeeper', path: 'gems/gitlab-housekeeper', feature_category: :tooling end @@ -524,7 +545,7 @@ group :development, :test, :coverage do gem 'simplecov', '~> 0.22', require: false, feature_category: :tooling gem 'simplecov-lcov', '~> 0.8.0', require: false, feature_category: :tooling gem 'simplecov-cobertura', '~> 2.1.0', require: false, feature_category: :tooling - gem 'undercover', '~> 0.4.4', require: false, feature_category: :tooling + gem 'undercover', '~> 0.5.0', require: false, feature_category: :tooling end # Gems required in omnibus-gitlab pipeline @@ -565,17 +586,19 @@ group :test do # Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527 gem 'derailed_benchmarks', require: false # rubocop:todo Gemfile/MissingFeatureCategory - gem 'gitlab_quality-test_tooling', '~> 1.31.0', require: false, feature_category: :tooling + gem 'gitlab_quality-test_tooling', '~> 1.33.0', require: false, feature_category: :tooling end gem 'octokit', '~> 9.0', feature_category: :importers +# Needed by octokit: https://github.com/octokit/octokit.rb/pull/1688 +gem 'faraday-multipart', '~> 1.0', feature_category: :importers gem 'gitlab-mail_room', '~> 0.0.24', require: 'mail_room', feature_category: :shared gem 'email_reply_trimmer', '~> 0.1' # rubocop:todo Gemfile/MissingFeatureCategory gem 'html2text' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'stackprof', '~> 0.2.25', require: false # rubocop:todo Gemfile/MissingFeatureCategory +gem 'stackprof', '~> 0.2.26', require: false, feature_category: :shared gem 'rbtrace', '~> 0.4', require: false # rubocop:todo Gemfile/MissingFeatureCategory gem 'memory_profiler', '~> 1.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory gem 'activerecord-explain-analyze', '~> 0.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory @@ -600,12 +623,16 @@ gem 'ssh_data', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory gem 'spamcheck', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory # Gitaly GRPC protocol definitions -gem 'gitaly', '~> 17.1.0', feature_category: :gitaly +gem 'gitaly', '~> 17.2.0', feature_category: :gitaly # KAS GRPC protocol definitions -gem 'kas-grpc', '~> 0.5.0', feature_category: :deployment_management +gem 'kas-grpc', '~> 0.6.0', feature_category: :deployment_management -gem 'grpc', '~> 1.63', feature_category: :shared +# Lock the version before issues below are resolved: +# https://gitlab.com/gitlab-org/gitlab/-/issues/473169#note_2028352939 +# Or we can upgrade to a more recent version as long as we can confirm +# that it doesn't have the same issues. +gem 'grpc', '= 1.63.0', feature_category: :shared gem 'google-protobuf', '~> 3.25', '>= 3.25.3' # rubocop:todo Gemfile/MissingFeatureCategory @@ -654,7 +681,7 @@ gem 'valid_email', '~> 0.1' # rubocop:todo Gemfile/MissingFeatureCategory # JSON gem 'jsonb_accessor', '~> 1.3.10' # rubocop:todo Gemfile/MissingFeatureCategory gem 'json', '~> 2.7.2', feature_category: :shared -gem 'json_schemer', '~> 0.2.18' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'json_schemer', '~> 2.3.0', feature_category: :shared gem 'oj', '~> 3.13.21' # rubocop:todo Gemfile/MissingFeatureCategory gem 'oj-introspect', '~> 0.7' # rubocop:todo Gemfile/MissingFeatureCategory gem 'multi_json', '~> 1.14.1' # rubocop:todo Gemfile/MissingFeatureCategory @@ -702,3 +729,5 @@ gem 'net-http', '= 0.4.1', feature_category: :shared gem 'duo_api', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory gem 'gitlab-sdk', '~> 0.3.0', feature_category: :application_instrumentation + +gem 'openbao_client', path: 'gems/openbao_client' # rubocop:todo Gemfile/MissingFeatureCategory diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock index 681d70b50896a..034a7d66fe5ca 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock +++ b/pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock @@ -27,7 +27,9 @@ PATH remote: gems/gitlab-backup-cli specs: gitlab-backup-cli (0.0.1) - activesupport (~> 7.0.8) + activesupport (< 7.2) + google-cloud-storage_transfer (~> 1.2.0) + googleauth (~> 1.8.1) rainbow (~> 3.0) thor (~> 1.3) @@ -104,6 +106,12 @@ PATH diffy (~> 3.4) oj (~> 3.13.16) +PATH + remote: gems/openbao_client + specs: + openbao_client (1.0.0) + typhoeus (~> 1.0, >= 1.0.1) + PATH remote: vendor/gems/attr_encrypted specs: @@ -137,6 +145,18 @@ PATH specs: diff_match_patch (0.1.0) +PATH + remote: vendor/gems/gitlab-duo-workflow-service-client + specs: + gitlab-duo-workflow-service-client (0.1) + grpc + +PATH + remote: vendor/gems/gitlab-topology-service-client + specs: + gitlab-topology-service-client (0.1) + grpc + PATH remote: vendor/gems/mail-smtp_pool specs: @@ -186,9 +206,9 @@ GEM CFPropertyList (3.0.5) rexml RedCloth (4.3.3) - acme-client (2.0.11) + acme-client (2.0.18) faraday (>= 1.0, < 3.0.0) - faraday-retry (~> 1.0) + faraday-retry (>= 1.0, < 3.0.0) actioncable (7.0.8.4) actionpack (= 7.0.8.4) activesupport (= 7.0.8.4) @@ -257,8 +277,6 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - acts-as-taggable-on (10.0.0) - activerecord (>= 6.1, < 7.2) addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) aes_key_wrap (1.1.0) @@ -291,7 +309,7 @@ GEM io-event (~> 1.6, >= 1.6.5) atlassian-jwt (0.2.1) jwt (~> 2.1) - attr_required (1.0.1) + attr_required (1.0.2) awesome_print (1.9.2) awrence (1.2.1) aws-eventstream (1.3.0) @@ -299,7 +317,7 @@ GEM aws-sdk-cloudformation (1.41.0) aws-sdk-core (~> 3, >= 3.99.0) aws-sigv4 (~> 1.1) - aws-sdk-core (3.199.0) + aws-sdk-core (3.201.4) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -307,10 +325,10 @@ GEM aws-sdk-kms (1.76.0) aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.154.0) - aws-sdk-core (~> 3, >= 3.199.0) + aws-sdk-s3 (1.157.0) + aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.8) + aws-sigv4 (~> 1.5) aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) axe-core-api (4.9.1) @@ -324,14 +342,6 @@ GEM descendants_tracker (~> 0.0.4) ice_nine (~> 0.11.0) thread_safe (~> 0.3, >= 0.3.1) - azure-storage-blob (2.0.3) - azure-storage-common (~> 2.0) - nokogiri (~> 1, >= 1.10.8) - azure-storage-common (2.0.4) - faraday (~> 1.0) - faraday_middleware (~> 1.0, >= 1.0.0.rc1) - net-http-persistent (~> 4.0) - nokogiri (~> 1, >= 1.10.8) babosa (2.0.0) backport (1.2.0) base32 (0.3.2) @@ -353,7 +363,7 @@ GEM bindata (2.4.11) binding_of_caller (1.0.0) debug_inspector (>= 0.0.1) - bootsnap (1.18.3) + bootsnap (1.18.4) msgpack (~> 1.2) browser (5.3.1) builder (3.2.4) @@ -383,6 +393,7 @@ GEM ssrf_filter (~> 1.0, < 1.1.0) cbor (0.5.9.8) character_set (1.8.0) + charlock_holmes (0.7.9) chef-config (18.3.0) addressable chef-utils (= 18.3.0) @@ -429,7 +440,7 @@ GEM git css_parser (1.14.0) addressable - cssbundling-rails (1.4.0) + cssbundling-rails (1.4.1) railties (>= 6.0.0) cvss-suite (3.0.1) danger (9.4.2) @@ -448,7 +459,7 @@ GEM danger-gitlab (8.0.0) danger gitlab (~> 4.2, >= 4.2.0) - database_cleaner-active_record (2.1.0) + database_cleaner-active_record (2.2.0) activerecord (>= 5.a) database_cleaner-core (~> 2.0.0) database_cleaner-core (2.0.1) @@ -525,27 +536,28 @@ GEM dumb_delegator (1.0.0) duo_api (1.3.0) e2mmap (0.1.0) - ecma-re-validator (0.3.0) - regexp_parser (~> 2.0) ed25519 (1.3.0) - elasticsearch (7.13.3) - elasticsearch-api (= 7.13.3) - elasticsearch-transport (= 7.13.3) - elasticsearch-api (7.13.3) + elasticsearch (7.17.11) + elasticsearch-api (= 7.17.11) + elasticsearch-transport (= 7.17.11) + elasticsearch-api (7.17.11) multi_json - elasticsearch-model (7.2.0) + elasticsearch-model (7.2.1) activesupport (> 3) elasticsearch (~> 7) hashie elasticsearch-rails (7.2.1) - elasticsearch-transport (7.13.3) - faraday (~> 1) + elasticsearch-transport (7.17.11) + base64 + faraday (>= 1, < 3) multi_json email_reply_trimmer (0.1.6) email_spec (2.2.0) htmlentities (~> 4.3.3) launchy (~> 2.1) mail (~> 2.7) + email_validator (2.2.4) + activemodel encryptor (3.0.0) erubi (1.12.0) escape_utils (1.3.0) @@ -565,36 +577,28 @@ GEM factory_bot_rails (6.4.3) factory_bot (~> 6.4) railties (>= 5.0.0) - faraday (1.10.3) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0) - faraday-multipart (~> 1.0) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.0) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - faraday-retry (~> 1.0) - ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-follow_redirects (0.3.0) + faraday (>= 1, < 3) faraday-http-cache (2.5.0) faraday (>= 0.8) - faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) - faraday-retry (1.0.3) - faraday_middleware (1.2.0) - faraday (~> 1.0) - faraday_middleware-aws-sigv4 (0.3.0) + faraday-net_http (3.1.0) + net-http + faraday-net_http_persistent (2.1.0) + faraday (~> 2.5) + net-http-persistent (~> 4.0) + faraday-retry (2.2.1) + faraday (~> 2.0) + faraday-typhoeus (1.1.0) + faraday (~> 2.0) + typhoeus (~> 1.4) + faraday_middleware-aws-sigv4 (1.0.1) aws-sigv4 (~> 1.0) - faraday (>= 0.15) + faraday (>= 2.0, < 3) fast_blank (1.0.1) fast_gettext (2.3.0) ffaker (2.23.0) @@ -688,7 +692,7 @@ GEM git (1.18.0) addressable (~> 2.8) rchardet (~> 1.8) - gitaly (17.1.2) + gitaly (17.2.0) grpc (~> 1.0) gitlab (4.19.0) httparty (~> 0.20) @@ -702,12 +706,15 @@ GEM gitlab-experiment (0.9.1) activesupport (>= 3.0) request_store (>= 1.0) - gitlab-fog-azure-rm (1.9.1) - azure-storage-blob (~> 2.0) - azure-storage-common (~> 2.0) + gitlab-fog-azure-rm (2.0.1) + faraday (~> 2.0) + faraday-follow_redirects (~> 0.3.0) + faraday-net_http_persistent (~> 2.0) fog-core (~> 2.1) fog-json (~> 1.2) mime-types + net-http-persistent (~> 4.0) + nokogiri (~> 1, >= 1.10.8) gitlab-glfm-markdown (0.0.17) rb_sys (= 0.9.94) gitlab-labkit (0.36.1) @@ -745,7 +752,7 @@ GEM omniauth (>= 1.3, < 3) pyu-ruby-sasl (>= 0.0.3.3, < 0.1) rubyntlm (~> 0.5) - gitlab_quality-test_tooling (1.31.0) + gitlab_quality-test_tooling (1.33.0) activesupport (>= 7.0, < 7.2) amatch (~> 0.4.1) gitlab (~> 4.19) @@ -833,7 +840,13 @@ GEM google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - google-protobuf (3.25.3) + google-cloud-storage_transfer (1.2.0) + google-cloud-core (~> 1.6) + google-cloud-storage_transfer-v1 (>= 0.5, < 2.a) + google-cloud-storage_transfer-v1 (0.8.0) + gapic-common (>= 0.20.0, < 2.a) + google-cloud-errors (~> 1.0) + google-protobuf (3.25.4) googleapis-common-protos (1.4.0) google-protobuf (~> 3.14) googleapis-common-protos-types (~> 1.2) @@ -874,9 +887,8 @@ GEM rack graphiql-rails (1.10.0) railties - graphlient (0.6.0) - faraday (>= 1.0) - faraday_middleware + graphlient (0.8.0) + faraday (~> 2.0) graphql-client graphlyte (1.0.0) graphql (2.3.5) @@ -985,16 +997,18 @@ GEM regexp_parser (~> 2.5) regexp_property_values (~> 1.0) json (2.7.2) - json-jwt (1.15.3) + json-jwt (1.16.6) activesupport (>= 4.2) aes_key_wrap + base64 bindata - httpclient - json_schemer (0.2.18) - ecma-re-validator (~> 0.3) + faraday (~> 2.0) + faraday-follow_redirects + json_schemer (2.3.0) + bigdecimal hana (~> 1.3) regexp_parser (~> 2.0) - uri_template (~> 0.7) + simpleidn (~> 0.2) jsonb_accessor (1.3.10) activerecord (>= 5.0) activesupport (>= 5.0) @@ -1014,9 +1028,9 @@ GEM activerecord kaminari-core (= 1.2.2) kaminari-core (1.2.2) - kas-grpc (0.5.0) + kas-grpc (0.6.0) grpc (~> 1.0) - knapsack (1.22.0) + knapsack (4.0.0) rake kramdown (2.3.2) rexml @@ -1060,7 +1074,7 @@ GEM rake (~> 13.0) locale (2.1.3) lockbox (1.3.0) - logger (1.6.0) + logger (1.5.3) lograge (0.11.2) actionpack (>= 4) activesupport (>= 4) @@ -1212,21 +1226,24 @@ GEM ruby-saml (~> 1.17) omniauth-shibboleth-redux (2.0.0) omniauth (>= 2.0.0) - omniauth_openid_connect (0.6.1) + omniauth_openid_connect (0.8.0) omniauth (>= 1.9, < 3) - openid_connect (~> 1.1) + openid_connect (~> 2.2) open4 (1.3.4) - openid_connect (1.3.0) + openid_connect (2.3.0) activemodel attr_required (>= 1.0.0) - json-jwt (>= 1.5.0) - rack-oauth2 (>= 1.6.1) - swd (>= 1.0.0) + email_validator + faraday (~> 2.0) + faraday-follow_redirects + json-jwt (>= 1.16) + mail + rack-oauth2 (~> 2.2) + swd (~> 2.0) tzinfo - validate_email validate_url - webfinger (>= 1.0.1) - openssl (3.1.0) + webfinger (~> 2.0) + openssl (3.2.0) openssl-signature_algorithm (1.3.0) openssl (> 2.0) opentelemetry-api (1.2.5) @@ -1241,6 +1258,10 @@ GEM opentelemetry-semantic_conventions opentelemetry-helpers-sql-obfuscation (0.1.0) opentelemetry-common (~> 0.20) + opentelemetry-instrumentation-action_mailer (0.1.0) + opentelemetry-api (~> 1.0) + opentelemetry-instrumentation-active_support (~> 0.1) + opentelemetry-instrumentation-base (~> 0.22.1) opentelemetry-instrumentation-action_pack (0.9.0) opentelemetry-api (~> 1.0) opentelemetry-instrumentation-base (~> 0.22.1) @@ -1305,8 +1326,9 @@ GEM opentelemetry-api (~> 1.0) opentelemetry-common (~> 0.21.0) opentelemetry-instrumentation-base (~> 0.22.1) - opentelemetry-instrumentation-rails (0.30.1) + opentelemetry-instrumentation-rails (0.30.2) opentelemetry-api (~> 1.0) + opentelemetry-instrumentation-action_mailer (~> 0.1.0) opentelemetry-instrumentation-action_pack (~> 0.9.0) opentelemetry-instrumentation-action_view (~> 0.7.0) opentelemetry-instrumentation-active_job (~> 0.7.0) @@ -1419,10 +1441,11 @@ GEM rack (>= 1.0, < 4) rack-cors (2.0.2) rack (>= 2.0.0) - rack-oauth2 (1.21.3) + rack-oauth2 (2.2.1) activesupport attr_required - httpclient + faraday (~> 2.0) + faraday-follow_redirects json-jwt (>= 1.11.0) rack (>= 2.1.0) rack-protection (2.2.2) @@ -1505,7 +1528,7 @@ GEM redis-rack (3.0.0) rack-session (>= 0.2.0) redis-store (>= 1.2, < 2) - redis-store (1.10.0) + redis-store (1.11.0) redis (>= 4, < 6) regexp_parser (2.6.0) regexp_property_values (1.0.0) @@ -1526,7 +1549,8 @@ GEM retriable (3.1.2) reverse_markdown (1.4.0) nokogiri - rexml (3.2.6) + rexml (3.3.2) + strscan rinku (2.0.0) rotp (6.3.0) rouge (4.3.0) @@ -1618,8 +1642,8 @@ GEM prism (>= 0.29.0, < 0.31) rbs (>= 3, < 4) sorbet-runtime (>= 0.5.10782) - ruby-lsp-rails (0.3.7) - ruby-lsp (>= 0.17.0, < 0.18.0) + ruby-lsp-rails (0.3.8) + ruby-lsp (>= 0.17.2, < 0.18.0) ruby-lsp-rspec (0.1.12) ruby-lsp (~> 0.17.0) ruby-magic (0.6.0) @@ -1655,24 +1679,25 @@ GEM seed-fu (2.3.7) activerecord (>= 3.1) activesupport (>= 3.1) - selenium-webdriver (4.21.1) + selenium-webdriver (4.23.0) base64 (~> 0.2) + logger (~> 1.4) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - semver_dialects (3.4.0) + semver_dialects (3.4.3) deb_version (~> 1.0.1) pastel (~> 0.8.0) thor (~> 1.3) tty-command (~> 0.10.1) - sentry-rails (5.17.3) + sentry-rails (5.18.2) railties (>= 5.0) - sentry-ruby (~> 5.17.3) - sentry-ruby (5.17.3) + sentry-ruby (~> 5.18.2) + sentry-ruby (5.18.2) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) - sentry-sidekiq (5.17.3) - sentry-ruby (~> 5.17.3) + sentry-sidekiq (5.18.2) + sentry-ruby (~> 5.18.2) sidekiq (>= 3.0) sexp_processor (4.17.1) shellany (0.0.1) @@ -1704,6 +1729,7 @@ GEM simplecov-html (0.12.3) simplecov-lcov (0.8.0) simplecov_json_formatter (0.1.4) + simpleidn (0.2.3) singleton (0.1.1) sixarm_ruby_unaccent (1.2.0) slack-messenger (2.3.6) @@ -1743,7 +1769,7 @@ GEM sprockets (>= 3.0.0) ssh_data (1.3.0) ssrf_filter (1.0.8) - stackprof (0.2.25) + stackprof (0.2.26) state_machines (0.5.0) state_machines-activemodel (0.8.0) activemodel (>= 5.1) @@ -1751,16 +1777,17 @@ GEM state_machines-activerecord (0.8.0) activerecord (>= 5.1) state_machines-activemodel (>= 0.8.0) - static_holmes (0.7.11) strings (0.2.1) strings-ansi (~> 0.2) unicode-display_width (>= 1.5, < 3.0) unicode_utils (~> 1.4) strings-ansi (0.2.0) - swd (1.3.0) + strscan (3.1.0) + swd (2.0.3) activesupport (>= 3) attr_required (>= 0.0.5) - httpclient (>= 2.4) + faraday (~> 2.0) + faraday-follow_redirects sync (0.5.0) sys-filesystem (1.4.3) ffi (~> 1.1) @@ -1778,7 +1805,7 @@ GEM unicode-display_width (>= 1.1.1, < 3) terser (1.0.2) execjs (>= 0.3.0, < 3) - test-prof (1.3.3) + test-prof (1.3.3.1) test_file_finder (0.3.1) faraday (>= 1.0, < 3.0, != 2.0.0) text (1.3.1) @@ -1827,15 +1854,16 @@ GEM tty-screen (~> 0.8) wisper (~> 2.0) tty-screen (0.8.1) - typhoeus (1.4.0) + typhoeus (1.4.1) ethon (>= 0.9.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - undercover (0.4.6) + undercover (0.5.0) + bigdecimal imagen (>= 0.1.8) rainbow (>= 2.1, < 4.0) - rugged (>= 0.27, < 1.7) + rugged (>= 0.27, < 1.8) unf (0.1.4) unf_ext unf_ext (0.0.8.2) @@ -1848,13 +1876,9 @@ GEM diff-lcs (~> 1.3) parser (>= 3.2.0) uri (0.13.0) - uri_template (0.7.0) valid_email (0.1.3) activemodel mail (>= 2.6.1) - validate_email (0.1.6) - activemodel (>= 3.0) - mail (>= 2.2.5) validate_url (1.0.15) activemodel (>= 3.0.0) public_suffix @@ -1863,7 +1887,7 @@ GEM activesupport (>= 3.0) version_gem (1.1.0) version_sorter (2.3.0) - view_component (3.12.1) + view_component (3.13.0) activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) @@ -1874,7 +1898,7 @@ GEM vite_rails (3.0.17) railties (>= 5.1, < 8) vite_ruby (~> 3.0, >= 3.2.2) - vite_ruby (3.5.0) + vite_ruby (3.7.0) dry-cli (>= 0.7, < 2) rack-proxy (~> 0.6, >= 0.6.1) zeitwerk (~> 2.2) @@ -1891,9 +1915,10 @@ GEM openssl (>= 2.2) safety_net_attestation (~> 0.4.0) tpm-key_attestation (~> 0.12.0) - webfinger (1.2.0) + webfinger (2.1.3) activesupport - httpclient (>= 2.4) + faraday (~> 2.0) + faraday-follow_redirects webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) @@ -1924,10 +1949,9 @@ PLATFORMS DEPENDENCIES CFPropertyList (~> 3.0.0) RedCloth (~> 4.3.3) - acme-client (~> 2.0) + acme-client (~> 2.0.18) activerecord-explain-analyze (~> 0.1) activerecord-gitlab! - acts-as-taggable-on (~> 10.0) addressable (~> 2.8) akismet (~> 3.0) apollo_upload_server (~> 2.1.6) @@ -1942,8 +1966,8 @@ DEPENDENCIES attr_encrypted (~> 3.2.4)! awesome_print aws-sdk-cloudformation (~> 1) - aws-sdk-core (~> 3.199.0) - aws-sdk-s3 (~> 1.154.0) + aws-sdk-core (~> 3.201.0) + aws-sdk-s3 (~> 1.157.0) axe-core-rspec (~> 4.9.0) babosa (~> 2.0) base32 (~> 0.3.0) @@ -1960,6 +1984,7 @@ DEPENDENCIES capybara (~> 3.40) capybara-screenshot (~> 1.0.26) carrierwave (~> 1.3) + charlock_holmes (~> 0.7.9) circuitbox (= 2.0.0) click_house-client! cloud_profiler_agent (~> 0.0.0)! @@ -1970,10 +1995,10 @@ DEPENDENCIES coverband (= 6.1.2) creole (~> 0.5.0) crystalball (~> 0.7.0) - cssbundling-rails (= 1.4.0) + cssbundling-rails (= 1.4.1) csv_builder! cvss-suite (~> 3.0.1) - database_cleaner-active_record (~> 2.1.0) + database_cleaner-active_record (~> 2.2.0) deckar01-task_list (= 2.3.4) declarative_policy (~> 1.1.0) deprecation_toolkit (~> 1.5.1) @@ -1991,15 +2016,18 @@ DEPENDENCIES doorkeeper-openid_connect (~> 1.8, >= 1.8.7) duo_api (~> 1.3) ed25519 (~> 1.3.0) - elasticsearch-api (= 7.13.3) + elasticsearch-api (= 7.17.11) elasticsearch-model (~> 7.2) elasticsearch-rails (~> 7.2) email_reply_trimmer (~> 0.1) email_spec (~> 2.2.0) error_tracking_open_api! factory_bot_rails (~> 6.4.3) - faraday (~> 1.10.3) - faraday_middleware-aws-sigv4 (~> 0.3.0) + faraday (~> 2) + faraday-multipart (~> 1.0) + faraday-retry (~> 2) + faraday-typhoeus (~> 1.1) + faraday_middleware-aws-sigv4 (~> 1.0.1) fast_blank (~> 1.0.1) ffaker (~> 2.23) flipper (~> 0.26.2) @@ -2015,12 +2043,13 @@ DEPENDENCIES gdk-toogle (~> 0.9, >= 0.9.5) gettext (~> 3.4, >= 3.4.9) gettext_i18n_rails (~> 1.12.0) - gitaly (~> 17.1.0) + gitaly (~> 17.2.0) gitlab-backup-cli! gitlab-chronic (~> 0.10.5) gitlab-dangerfiles (~> 4.8.0) + gitlab-duo-workflow-service-client (~> 0.1)! gitlab-experiment (~> 0.9.1) - gitlab-fog-azure-rm (~> 1.9.1) + gitlab-fog-azure-rm (~> 2.0.1) gitlab-glfm-markdown (~> 0.0.17) gitlab-housekeeper! gitlab-http! @@ -2037,10 +2066,11 @@ DEPENDENCIES gitlab-secret_detection! gitlab-sidekiq-fetcher! gitlab-styles (~> 12.0.1) + gitlab-topology-service-client (~> 0.1)! gitlab-utils! gitlab_chronic_duration (~> 0.12) gitlab_omniauth-ldap (~> 2.2.0) - gitlab_quality-test_tooling (~> 1.31.0) + gitlab_quality-test_tooling (~> 1.33.0) gon (~> 6.4.0) google-apis-androidpublisher_v3 (~> 0.34.0) google-apis-cloudbilling_v1 (~> 0.21.0) @@ -2066,11 +2096,11 @@ DEPENDENCIES grape-swagger-entity (~> 0.5.1) grape_logging (~> 1.8, >= 1.8.4) graphiql-rails (~> 1.10) - graphlient (~> 0.6.0) + graphlient (~> 0.8.0) graphlyte (~> 1.0.0) graphql (~> 2.3.5) graphql-docs (~> 5.0.0) - grpc (~> 1.63) + grpc (= 1.63.0) gssapi (~> 1.3.1) guard-rspec haml_lint (~> 0.58) @@ -2089,12 +2119,12 @@ DEPENDENCIES jira-ruby (~> 2.3.0) js_regex (~> 3.8) json (~> 2.7.2) - json_schemer (~> 0.2.18) + json_schemer (~> 2.3.0) jsonb_accessor (~> 1.3.10) jwt (~> 2.5) kaminari (~> 1.2.2) - kas-grpc (~> 0.5.0) - knapsack (~> 1.22.0) + kas-grpc (~> 0.6.0) + knapsack (~> 4.0.0) kramdown (~> 2.3.1) kubeclient (~> 4.11.0) lefthook (~> 1.6.8) @@ -2103,6 +2133,7 @@ DEPENDENCIES licensee (~> 9.16) listen (~> 3.7) lockbox (~> 1.3.0) + logger (~> 1.5.3) lograge (~> 0.5) loofah (~> 2.22.0) lookbook (~> 2.3) @@ -2139,8 +2170,9 @@ DEPENDENCIES omniauth-saml (~> 2.2.1) omniauth-shibboleth-redux (~> 2.0) omniauth_crowd (~> 2.4.0)! - omniauth_openid_connect (~> 0.6.1) - openid_connect (= 1.3.0) + omniauth_openid_connect (~> 0.8.0) + openbao_client! + openid_connect (~> 2.3.0) openssl (~> 3.0) opentelemetry-exporter-otlp opentelemetry-instrumentation-action_pack @@ -2184,7 +2216,7 @@ DEPENDENCIES rack (~> 2.2.9) rack-attack (~> 6.7.0) rack-cors (~> 2.0.1) - rack-oauth2 (~> 1.21.3) + rack-oauth2 (~> 2.2.1) rack-proxy (~> 0.7.7) rack-timeout (~> 0.7.0) rails (~> 7.0.8.4) @@ -2201,7 +2233,7 @@ DEPENDENCIES request_store (~> 1.5.1) responders (~> 3.0) retriable (~> 3.1.2) - rexml (~> 3.2.6) + rexml (~> 3.3.2) rouge (~> 4.3.0) rqrcode (~> 2.2) rspec-benchmark (~> 0.6.0) @@ -2226,9 +2258,9 @@ DEPENDENCIES seed-fu (~> 2.3.7) selenium-webdriver (~> 4.21, >= 4.21.1) semver_dialects (~> 3.0) - sentry-rails (~> 5.17.3) - sentry-ruby (~> 5.17.3) - sentry-sidekiq (~> 5.17.3) + sentry-rails (~> 5.18.0) + sentry-ruby (~> 5.18.0) + sentry-sidekiq (~> 5.18.0) shoulda-matchers (~> 5.1.0) sidekiq (~> 7.1.6) sidekiq-cron (~> 1.12.0) @@ -2247,9 +2279,8 @@ DEPENDENCIES sprockets (~> 3.7.0) sprockets-rails (~> 3.5.1) ssh_data (~> 1.3) - stackprof (~> 0.2.25) + stackprof (~> 0.2.26) state_machines-activerecord (~> 0.8.0) - static_holmes (~> 0.7.11) sys-filesystem (~> 1.4.3) tanuki_emoji (~> 0.9) telesignenterprise (~> 2.2) @@ -2262,14 +2293,14 @@ DEPENDENCIES truncato (~> 0.7.12) tty-prompt (~> 0.23) typhoeus (~> 1.4.0) - undercover (~> 0.4.4) + undercover (~> 0.5.0) unleash (~> 3.2.2) valid_email (~> 0.1) validates_hostname (~> 1.0.13) version_sorter (~> 2.3) - view_component (~> 3.12.1) + view_component (~> 3.13.0) vite_rails (~> 3.0.17) - vite_ruby (~> 3.5.0) + vite_ruby (~> 3.7.0) vmstat (~> 2.3.0) warning (~> 1.3.0) webauthn (~> 3.0) diff --git a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix index 741336ca72115..d032f8bf0ba9e 100644 --- a/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix +++ b/pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix @@ -6,10 +6,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1pl901hwqbx7sa058i006l7addvqg6wv73kkqsq3mgjx7jgxmxpd"; + sha256 = "0xgj5r8b7q242f3p9rr17v0q10dd9nx53gmscpmidz3gj90v7siz"; type = "gem"; }; - version = "2.0.11"; + version = "2.0.18"; }; actioncable = { dependencies = ["actionpack" "activesupport" "nio4r" "websocket-driver"]; @@ -153,17 +153,6 @@ src: }; version = "7.0.8.4"; }; - acts-as-taggable-on = { - dependencies = ["activerecord"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "10yvdqrmykjpfjchnbh7q85vm5fgz20g9ip5iwphl0922rpyjq6k"; - type = "gem"; - }; - version = "10.0.0"; - }; addressable = { dependencies = ["public_suffix"]; groups = ["danger" "default" "development" "test"]; @@ -349,10 +338,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1g22axmi2rhhy7w8c3x6gppsawxqavbrnxpnmphh22fk7cwi0kh2"; + sha256 = "16fbwr6nmsn97n0a6k1nwbpyz08zpinhd6g7196lz1syndbgrszh"; type = "gem"; }; - version = "1.0.1"; + version = "1.0.2"; }; awesome_print = { groups = ["development" "test"]; @@ -411,10 +400,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1lb21zc9fax6c97dq17h7bllm2cg39ms6hi9ya9z88lsdz8sgnj6"; + sha256 = "0b7qc3pfhiv052fgw8dj4fj7fwm9rp7mc627ax2nkq5zbbbqs6sz"; type = "gem"; }; - version = "3.199.0"; + version = "3.201.4"; }; aws-sdk-kms = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -433,10 +422,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "035d5q3csa1ac51xmxs2cqqibiifhm9sfdh71xjh0yrxnywdwqbh"; + sha256 = "1479h0jpjfkyj26h9hv8d6q8b9iw7v1x5yd0yk6af477d2icgq71"; type = "gem"; }; - version = "1.154.0"; + version = "1.157.0"; }; aws-sigv4 = { dependencies = ["aws-eventstream"]; @@ -482,28 +471,6 @@ src: }; version = "0.1.1"; }; - azure-storage-blob = { - dependencies = ["azure-storage-common" "nokogiri"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0qq3knsy7nj7a0r8m19spg2bgzns9b3j5vjbs9mpg49whhc63dv1"; - type = "gem"; - }; - version = "2.0.3"; - }; - azure-storage-common = { - dependencies = ["faraday" "faraday_middleware" "net-http-persistent" "nokogiri"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0swmsvvpmy8cdcl305p3dl2pi7m3dqjd7zywfcxmhsz0n2m4v3v0"; - type = "gem"; - }; - version = "2.0.4"; - }; babosa = { groups = ["default"]; platforms = []; @@ -673,10 +640,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1srlq3gqirzdkhv12ljpnp5cb0f8jfrl3n8xs9iivyz2c7khvdyp"; + sha256 = "0mdgj9yw1hmx3xh2qxyjc31y8igmxzd9h0c245ay2zkz76pl4k5c"; type = "gem"; }; - version = "1.18.3"; + version = "1.18.4"; }; browser = { groups = ["default"]; @@ -808,6 +775,16 @@ src: }; version = "1.8.0"; }; + charlock_holmes = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1c1dws56r7p8y363dhyikg7205z59a3bn4amnv2y488rrq8qm7ml"; + type = "gem"; + }; + version = "0.7.9"; + }; chef-config = { dependencies = ["addressable" "chef-utils" "fuzzyurl" "mixlib-config" "mixlib-shellout" "tomlrb"]; groups = ["default"]; @@ -1080,10 +1057,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1nzp4j1ll6llgbrvqk81gkz6fqgk33sx4k1fcvbm7v7h79jk8808"; + sha256 = "1qbwdksjq9lw2h4xs2lb7lvp94pwgv38hp0mm46qj8bvc8yjf8ab"; type = "gem"; }; - version = "1.4.0"; + version = "1.4.1"; }; csv_builder = { groups = ["default"]; @@ -1132,10 +1109,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12hdsqnws9gyc9sxiyc8pjiwr0xa7136m1qbhmd1pk3vsrrvk13k"; + sha256 = "1iz1hv2b1z7509dxvxdwzay1hhs24glxls5ldbyh688zxkcdca1j"; type = "gem"; }; - version = "2.1.0"; + version = "2.2.0"; }; database_cleaner-core = { groups = ["default" "development" "test"]; @@ -1501,17 +1478,6 @@ src: }; version = "0.1.0"; }; - ecma-re-validator = { - dependencies = ["regexp_parser"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1mz0nsl2093jd94nygw8qs13rwfwl1ax76xz3ypinr5hqbc5pab6"; - type = "gem"; - }; - version = "0.3.0"; - }; ed25519 = { groups = ["default"]; platforms = []; @@ -1528,10 +1494,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0havyxmvl157a653prspnbhgdchlx44xqxl170v1im5ggxwavcaq"; + sha256 = "11pw5x7kg6f6m8rqy2kpbzdlnvijjpmbqkj2gz8237wkbl40y27d"; type = "gem"; }; - version = "7.13.3"; + version = "7.17.11"; }; elasticsearch-api = { dependencies = ["multi_json"]; @@ -1539,10 +1505,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0bmssarkk7lqkjdn8c9j7jvxcnn4hg1zcmhsky8bfvc99k33b3w8"; + sha256 = "01wi43a3zylrq2vca08vir5va142g5m3jcsak3rprjck8jvggn7y"; type = "gem"; }; - version = "7.13.3"; + version = "7.17.11"; }; elasticsearch-model = { dependencies = ["activesupport" "elasticsearch" "hashie"]; @@ -1550,10 +1516,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ivcz5pcrp0760j26590bm3jvwc8548wcy7z7v2274k18l583h9c"; + sha256 = "02x2wvd22wwi2v6pps7y4advzkyfbhxn0fgsai49zcjbcrblnp4b"; type = "gem"; }; - version = "7.2.0"; + version = "7.2.1"; }; elasticsearch-rails = { groups = ["default"]; @@ -1566,15 +1532,15 @@ src: version = "7.2.1"; }; elasticsearch-transport = { - dependencies = ["faraday" "multi_json"]; + dependencies = ["base64" "faraday" "multi_json"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0blfii8qvj0m6bg9sbfynxc40in7zfmw2wpi4clv7d9gclk053db"; + sha256 = "00qgyyvjyyv7z22qjd408pby1h7902gdwkh8h3z3jk2y57amg06i"; type = "gem"; }; - version = "7.13.3"; + version = "7.17.11"; }; email_reply_trimmer = { groups = ["default"]; @@ -1597,6 +1563,17 @@ src: }; version = "2.2.0"; }; + email_validator = { + dependencies = ["activemodel"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0106y8xakq6frv2xc68zz76q2l2cqvhfjc7ji69yyypcbc4kicjs"; + type = "gem"; + }; + version = "2.2.4"; + }; encryptor = { groups = ["default"]; platforms = []; @@ -1734,45 +1711,26 @@ src: version = "6.4.3"; }; faraday = { - dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"]; + dependencies = ["faraday-net_http" "logger"]; groups = ["danger" "default" "development" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1c760q0ks4vj4wmaa7nh1dgvgqiwaw0mjr7v8cymy7i3ffgjxx90"; + sha256 = "104s7n9505488p923cs0pl3jlgn4naam28clkm2885hrysizpjbb"; type = "gem"; }; - version = "1.10.3"; - }; - faraday-em_http = { - groups = ["danger" "default" "development" "test"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "12cnqpbak4vhikrh2cdn94assh3yxza8rq2p9w2j34bqg5q4qgbs"; - type = "gem"; - }; - version = "1.0.0"; - }; - faraday-em_synchrony = { - groups = ["danger" "default" "development" "test"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1vgrbhkp83sngv6k4mii9f2s9v5lmp693hylfxp2ssfc60fas3a6"; - type = "gem"; - }; - version = "1.0.0"; + version = "2.10.1"; }; - faraday-excon = { - groups = ["danger" "default" "development" "test"]; + faraday-follow_redirects = { + dependencies = ["faraday"]; + groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0h09wkb0k0bhm6dqsd47ac601qiaah8qdzjh8gvxfd376x1chmdh"; + sha256 = "1y87p3yk15bjbk0z9mf01r50lzxvp7agr56lbm9gxiz26mb9fbfr"; type = "gem"; }; - version = "1.1.0"; + version = "0.3.0"; }; faraday-http-cache = { dependencies = ["faraday"]; @@ -1785,16 +1743,6 @@ src: }; version = "2.5.0"; }; - faraday-httpclient = { - groups = ["danger" "default" "development" "test"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0fyk0jd3ks7fdn8nv3spnwjpzx2lmxmg2gh4inz3by1zjzqg33sc"; - type = "gem"; - }; - version = "1.0.1"; - }; faraday-multipart = { dependencies = ["multipart-post"]; groups = ["danger" "default" "development" "test"]; @@ -1807,65 +1755,48 @@ src: version = "1.0.4"; }; faraday-net_http = { + dependencies = ["net-http"]; groups = ["danger" "default" "development" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1fi8sda5hc54v1w3mqfl5yz09nhx35kglyx72w7b8xxvdr0cwi9j"; + sha256 = "17w51yk4rrm9rpnbc3x509s619kba0jga3qrj4b17l30950vw9qn"; type = "gem"; }; - version = "1.0.1"; + version = "3.1.0"; }; faraday-net_http_persistent = { - groups = ["danger" "default" "development" "test"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0dc36ih95qw3rlccffcb0vgxjhmipsvxhn6cw71l7ffs0f7vq30b"; - type = "gem"; - }; - version = "1.2.0"; - }; - faraday-patron = { - groups = ["danger" "default" "development" "test"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "19wgsgfq0xkski1g7m96snv39la3zxz6x7nbdgiwhg5v82rxfb6w"; - type = "gem"; - }; - version = "1.0.0"; - }; - faraday-rack = { - groups = ["danger" "default" "development" "test"]; + dependencies = ["faraday" "net-http-persistent"]; + groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1h184g4vqql5jv9s9im6igy00jp6mrah2h14py6mpf9bkabfqq7g"; + sha256 = "02yydasm9qlq59dnj3dldaqd0xidxyx59pnr2iqygnjn7yqj05xl"; type = "gem"; }; - version = "1.0.0"; + version = "2.1.0"; }; faraday-retry = { - groups = ["danger" "default" "development" "test"]; + dependencies = ["faraday"]; + groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "153i967yrwnswqgvnnajgwp981k9p50ys1h80yz3q94rygs59ldd"; + sha256 = "023ncwlagnf2irx2ckyj1pg1f1x436jgr4a5y45mih298p8zwij1"; type = "gem"; }; - version = "1.0.3"; + version = "2.2.1"; }; - faraday_middleware = { - dependencies = ["faraday"]; + faraday-typhoeus = { + dependencies = ["faraday" "typhoeus"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1bw8mfh4yin2xk7138rg3fhb2p5g2dlmdma88k82psah9mbmvlfy"; + sha256 = "1rwhd2f78vqj0wkkdah395apx6igp5xf82n5xgixs61q45y19ii4"; type = "gem"; }; - version = "1.2.0"; + version = "1.1.0"; }; faraday_middleware-aws-sigv4 = { dependencies = ["aws-sigv4" "faraday"]; @@ -1873,10 +1804,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1gk2qakcvvbgfvvfd8cgf13sligv5mp816ykmra9llqmbfym8ikl"; + sha256 = "13xym8pfjh1j2pf63r45ybdy6p4hjrqn4algml5wd8bwd17yl0d0"; type = "gem"; }; - version = "0.3.0"; + version = "1.0.1"; }; fast_blank = { groups = ["default"]; @@ -2225,10 +2156,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0prcxb5ahqpxdswg2957d24k6w74rlnm0x7qlv5p0dr4qzp51x6y"; + sha256 = "0rg8rkwjbm51kvnbmkmy6dyf7krr6iaf8hxvxn7jzfs37j4fivj8"; type = "gem"; }; - version = "17.1.2"; + version = "17.2.0"; }; gitlab = { dependencies = ["httparty" "terminal-table"]; @@ -2242,7 +2173,7 @@ src: version = "4.19.0"; }; gitlab-backup-cli = { - dependencies = ["activesupport" "rainbow" "thor"]; + dependencies = ["activesupport" "google-cloud-storage_transfer" "googleauth" "rainbow" "thor"]; groups = ["default"]; platforms = []; source = { @@ -2273,6 +2204,16 @@ src: }; version = "4.8.0"; }; + gitlab-duo-workflow-service-client = { + dependencies = ["grpc"]; + groups = ["default"]; + platforms = []; + source = { + path = "${src}/vendor/gems/gitlab-duo-workflow-service-client"; + type = "path"; + }; + version = "0.1"; + }; gitlab-experiment = { dependencies = ["activesupport" "request_store"]; groups = ["default"]; @@ -2285,15 +2226,15 @@ src: version = "0.9.1"; }; gitlab-fog-azure-rm = { - dependencies = ["azure-storage-blob" "azure-storage-common" "fog-core" "fog-json" "mime-types"]; + dependencies = ["faraday" "faraday-follow_redirects" "faraday-net_http_persistent" "fog-core" "fog-json" "mime-types" "net-http-persistent" "nokogiri"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0dsg53f6gfhf9rs6wslragagl3ysi429p45iy4dkq664i8c8wsq2"; + sha256 = "09brm889i4xmr2ba8jyqk91yhya13qfa0kn16p3ipilcm6gh9k31"; type = "gem"; }; - version = "1.9.1"; + version = "2.0.1"; }; gitlab-glfm-markdown = { dependencies = ["rb_sys"]; @@ -2460,6 +2401,16 @@ src: }; version = "12.0.1"; }; + gitlab-topology-service-client = { + dependencies = ["grpc"]; + groups = ["default"]; + platforms = []; + source = { + path = "${src}/vendor/gems/gitlab-topology-service-client"; + type = "path"; + }; + version = "0.1"; + }; gitlab-utils = { dependencies = ["actionview" "activesupport" "addressable" "rake"]; groups = ["monorepo"]; @@ -2498,10 +2449,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ljg28wf9vmi6bc639fcf19abx5i4a3h04bjvdwr2ih1pbr3hgf1"; + sha256 = "0dfsv3aqfmq318dirln6nlmxx8n1z4ncy03w2yi965nm2rwjf58y"; type = "gem"; }; - version = "1.31.0"; + version = "1.33.0"; }; globalid = { dependencies = ["activesupport"]; @@ -2788,15 +2739,37 @@ src: }; version = "1.45.0"; }; + google-cloud-storage_transfer = { + dependencies = ["google-cloud-core" "google-cloud-storage_transfer-v1"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0n0nxy4l2kzcmcgx7j8mppyw9gwc8331fqcf6w6jmq4913sh2a8k"; + type = "gem"; + }; + version = "1.2.0"; + }; + google-cloud-storage_transfer-v1 = { + dependencies = ["gapic-common" "google-cloud-errors"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0xk1i7wg5alcgd9v4f0y3mjgxbsrcp53jhdjdc26wmfvfl1giglx"; + type = "gem"; + }; + version = "0.8.0"; + }; google-protobuf = { groups = ["default" "development" "opentelemetry" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1mnxzcq8kmyfb9bkzqnp019d1hx1vprip3yzdkkha6b3qz5rgg9r"; + sha256 = "03pg19m15aqw33q6an777735x4x8643xg17rb3jr9j4rkp599id1"; type = "gem"; }; - version = "3.25.3"; + version = "3.25.4"; }; googleapis-common-protos = { dependencies = ["google-protobuf" "googleapis-common-protos-types" "grpc"]; @@ -2920,15 +2893,15 @@ src: version = "1.10.0"; }; graphlient = { - dependencies = ["faraday" "faraday_middleware" "graphql-client"]; + dependencies = ["faraday" "graphql-client"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1h652p91zdbdigb155vhdlh0lnq4ia8wlg5y5h0ibhlf9i5ndn5q"; + sha256 = "1cbwirpx8hclxyrxfbjz5c62l7i6nsqg6x72yplm8d083pd0ii4q"; type = "gem"; }; - version = "0.6.0"; + version = "0.8.0"; }; graphlyte = { groups = ["test"]; @@ -3416,26 +3389,26 @@ src: version = "2.7.2"; }; json-jwt = { - dependencies = ["activesupport" "aes_key_wrap" "bindata" "httpclient"]; + dependencies = ["activesupport" "aes_key_wrap" "base64" "bindata" "faraday" "faraday-follow_redirects"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "04315mf4p9qa97grdfqv922paghzdfrbb982ap0p99rqwla4znv6"; + sha256 = "0v16kd05ijdmw1q8avpfsjkdiha6c2070hbz2g2fqg3lv2f1yidb"; type = "gem"; }; - version = "1.15.3"; + version = "1.16.6"; }; json_schemer = { - dependencies = ["ecma-re-validator" "hana" "regexp_parser" "uri_template"]; + dependencies = ["bigdecimal" "hana" "regexp_parser" "simpleidn"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rkb7gz819g82n3xshb5g8kgv1nvgwg1lm2fk7715pggzcgc4qik"; + sha256 = "0dgbrps0ydiyxcgj5n4dny0cmzwj125x1s792l7m5jjrp1rs27wz"; type = "gem"; }; - version = "0.2.18"; + version = "2.3.0"; }; jsonb_accessor = { dependencies = ["activerecord" "activesupport" "pg"]; @@ -3518,10 +3491,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0dffbnw10hld4vpack6xw14n590b9fgqv5cxgap3f7qzzdd6yybc"; + sha256 = "0ydgam2c0c43wpzziz3hxif2xwj8nsdniqd4dilxal2xyi63dxs3"; type = "gem"; }; - version = "0.5.0"; + version = "0.6.0"; }; knapsack = { dependencies = ["rake"]; @@ -3529,10 +3502,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1jqs9shqg3nd6j3kzbh8gxv7ix1n877y64kdjzbrwjgz6ksqs9mx"; + sha256 = "1f42akjbdkrg1ihwvls9pkkvz8vikaapzgxl82dd128rfn42chm9"; type = "gem"; }; - version = "1.22.0"; + version = "4.0.0"; }; kramdown = { dependencies = ["rexml"]; @@ -3695,14 +3668,14 @@ src: version = "1.3.0"; }; logger = { - groups = ["default" "development"]; + groups = ["danger" "default" "development" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0gpg8gzi0xwymw4aaq2iafcbx31i3xzkg3fb30mdxn1d4qhc3dqa"; + sha256 = "0yyn64c92wx8c37dqh1b080rqc80idq56g2plfqls9f9q8l32i7d"; type = "gem"; }; - version = "1.6.0"; + version = "1.5.3"; }; lograge = { dependencies = ["actionpack" "activesupport" "railties" "request_store"]; @@ -4460,10 +4433,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08yl0x203k6nrshc70zawfqh79ap1c3fyka9zwwy61cvn7sih4sz"; + sha256 = "099xg7s6450wlfzs77mbdx78g3dp0glx5q6f44i78akf7283hbqz"; type = "gem"; }; - version = "0.6.1"; + version = "0.8.0"; }; open4 = { groups = ["default" "development"]; @@ -4475,26 +4448,36 @@ src: }; version = "1.3.4"; }; + openbao_client = { + dependencies = ["typhoeus"]; + groups = ["default"]; + platforms = []; + source = { + path = "${src}/gems/openbao_client"; + type = "path"; + }; + version = "1.0.0"; + }; openid_connect = { - dependencies = ["activemodel" "attr_required" "json-jwt" "rack-oauth2" "swd" "tzinfo" "validate_email" "validate_url" "webfinger"]; + dependencies = ["activemodel" "attr_required" "email_validator" "faraday" "faraday-follow_redirects" "json-jwt" "mail" "rack-oauth2" "swd" "tzinfo" "validate_url" "webfinger"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0w474bz3s1hqhilvrddr33l2nkyikypaczp3808w0345jr88b5m7"; + sha256 = "0k3l4ak1mawrw74qy4xfh81hdfxvamijcjb3f1gadq0ixgprrfqd"; type = "gem"; }; - version = "1.3.0"; + version = "2.3.0"; }; openssl = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0c649921vg2l939z5cc3jwd8p1v49099pdhxfk7sb9qqx5wi5873"; + sha256 = "054d6ybgjdzxw567m7rbnd46yp6gkdbc5ihr536vxd3p15vbhjrw"; type = "gem"; }; - version = "3.1.0"; + version = "3.2.0"; }; openssl-signature_algorithm = { dependencies = ["openssl"]; @@ -4550,6 +4533,17 @@ src: }; version = "0.1.0"; }; + opentelemetry-instrumentation-action_mailer = { + dependencies = ["opentelemetry-api" "opentelemetry-instrumentation-active_support" "opentelemetry-instrumentation-base"]; + groups = ["default" "opentelemetry"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1afibmwprdiqnkin7lb6zdxng36rqa7qbl5fl9wx0lchpc039zjj"; + type = "gem"; + }; + version = "0.1.0"; + }; opentelemetry-instrumentation-action_pack = { dependencies = ["opentelemetry-api" "opentelemetry-instrumentation-base" "opentelemetry-instrumentation-rack"]; groups = ["opentelemetry"]; @@ -4749,15 +4743,15 @@ src: version = "0.24.4"; }; opentelemetry-instrumentation-rails = { - dependencies = ["opentelemetry-api" "opentelemetry-instrumentation-action_pack" "opentelemetry-instrumentation-action_view" "opentelemetry-instrumentation-active_job" "opentelemetry-instrumentation-active_record" "opentelemetry-instrumentation-active_support" "opentelemetry-instrumentation-base"]; + dependencies = ["opentelemetry-api" "opentelemetry-instrumentation-action_mailer" "opentelemetry-instrumentation-action_pack" "opentelemetry-instrumentation-action_view" "opentelemetry-instrumentation-active_job" "opentelemetry-instrumentation-active_record" "opentelemetry-instrumentation-active_support" "opentelemetry-instrumentation-base"]; groups = ["opentelemetry"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0hiihby0lndwvny1alba1mvvag48z55vjjrwbjppb700prv0q1kk"; + sha256 = "04isc412xin2xw11lccdxcg7i2yf4m8jsw9jlq7gcld5mwix1pa2"; type = "gem"; }; - version = "0.30.1"; + version = "0.30.2"; }; opentelemetry-instrumentation-rake = { dependencies = ["opentelemetry-api" "opentelemetry-instrumentation-base"]; @@ -5218,15 +5212,15 @@ src: version = "2.0.2"; }; rack-oauth2 = { - dependencies = ["activesupport" "attr_required" "httpclient" "json-jwt" "rack"]; + dependencies = ["activesupport" "attr_required" "faraday" "faraday-follow_redirects" "json-jwt" "rack"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1fknwsxz4429w1hndl6y30cmm2n34wmmaaj2hhp6jrm8ssfsfwjf"; + sha256 = "19fi42hi9l474ki89y6cs8vrpfmc1h8zpd02iwjy4hw0a1yahfn7"; type = "gem"; }; - version = "1.21.3"; + version = "2.2.1"; }; rack-protection = { dependencies = ["rack"]; @@ -5566,10 +5560,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "17mhr1g3lmacrgjndbmrklngy32g55165n53111q70kykx7qjn7j"; + sha256 = "197d1088jw3wl3lfcdj4w4c4da13wsqyd12mj3czvlfw77ig7i7d"; type = "gem"; }; - version = "1.10.0"; + version = "1.11.0"; }; regexp_parser = { groups = ["default" "development" "test"]; @@ -5657,14 +5651,15 @@ src: version = "1.4.0"; }; rexml = { + dependencies = ["strscan"]; groups = ["coverage" "danger" "default" "development" "omnibus" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; + sha256 = "0zr5qpa8lampaqzhdcjcvyqnrqcjl7439mqjlkjz43wdhmpnh4s5"; type = "gem"; }; - version = "3.2.6"; + version = "3.3.2"; }; rinku = { groups = ["default"]; @@ -5975,10 +5970,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1w4vvhy8nyffj7bp17842kg6szhfz27w8pni0a7haam78hb86b1r"; + sha256 = "0xd9d1h7m0bw05jykf0sx6sds01ymf0dffpb3j1r99ril703lzc4"; type = "gem"; }; - version = "0.3.7"; + version = "0.3.8"; }; ruby-lsp-rspec = { dependencies = ["ruby-lsp"]; @@ -6181,15 +6176,15 @@ src: version = "2.3.7"; }; selenium-webdriver = { - dependencies = ["base64" "rexml" "rubyzip" "websocket"]; + dependencies = ["base64" "logger" "rexml" "rubyzip" "websocket"]; groups = ["test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0qrjr30qs01b27km6ipzc2zasdlzhdgri5q7qrb53z1j8l0n82y3"; + sha256 = "00dq3450kadsvxh1lpndasy0bab0ilrjhrnvlicfmkvrx3gfs2j9"; type = "gem"; }; - version = "4.21.1"; + version = "4.23.0"; }; semver_dialects = { dependencies = ["deb_version" "pastel" "thor" "tty-command"]; @@ -6197,10 +6192,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ndbdsac42sl6ldh6jji7k0agc85v6d28wfd3jb3awyl7hsgs9cn"; + sha256 = "10ncp5pl9jsm81kj89gwyhsilbqhgh0j2cfz66q3ls86g2gsjgmf"; type = "gem"; }; - version = "3.4.0"; + version = "3.4.3"; }; sentry-rails = { dependencies = ["railties" "sentry-ruby"]; @@ -6208,10 +6203,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ncl8br0k6fas4n6c4xw4wr59kq5s2liqn1s4790m73k5p272xq1"; + sha256 = "09qfh3pgjg92cjsn83zkp1vc234gm2j66rld09lfhlviavkzdbad"; type = "gem"; }; - version = "5.17.3"; + version = "5.18.2"; }; sentry-ruby = { dependencies = ["bigdecimal" "concurrent-ruby"]; @@ -6219,10 +6214,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1z5v5zzasy04hbgxbj9n8bb39ayllvps3snfgbc5rydh1d5ilyb1"; + sha256 = "168dq5i95aaps8bppc402qgd8xpxisdpx9z4cqr3zcn6s0dwn9fz"; type = "gem"; }; - version = "5.17.3"; + version = "5.18.2"; }; sentry-sidekiq = { dependencies = ["sentry-ruby" "sidekiq"]; @@ -6230,10 +6225,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0n1cr9g15hp08jsqabprd6q34ap61r71f33x28w1xr4ri4hllwfh"; + sha256 = "0qajyyiwd035rwnxd2zdhh9y2rdx00812ya247nhqb6kqw1s7ml6"; type = "gem"; }; - version = "5.17.3"; + version = "5.18.2"; }; sexp_processor = { groups = ["default" "test"]; @@ -6371,6 +6366,16 @@ src: }; version = "0.1.4"; }; + simpleidn = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0a9c1mdy12y81ck7mcn9f9i2s2wwzjh1nr92ps354q517zq9dkh8"; + type = "gem"; + }; + version = "0.2.3"; + }; singleton = { groups = ["default" "development"]; platforms = []; @@ -6533,10 +6538,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0bhdgfb0pmw9mav1kw9fn0ka012sa0i3h5ppvqssw5xq48nhxnr8"; + sha256 = "1gdqqwnampxmc54nf6zfy9apkmkpdavzipvfssmjlhnrrjy8qh7f"; type = "gem"; }; - version = "0.2.25"; + version = "0.2.26"; }; state_machines = { groups = ["default"]; @@ -6570,16 +6575,6 @@ src: }; version = "0.8.0"; }; - static_holmes = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1frj0w4bmqpih40sxxig3055rm2ijnw6jkdvnbh5crlq6pnv6p63"; - type = "gem"; - }; - version = "0.7.11"; - }; strings = { dependencies = ["strings-ansi" "unicode-display_width" "unicode_utils"]; groups = ["default" "development" "test"]; @@ -6601,16 +6596,26 @@ src: }; version = "0.2.0"; }; + strscan = { + groups = ["coverage" "danger" "default" "development" "omnibus" "test"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0mamrl7pxacbc79ny5hzmakc9grbjysm3yy6119ppgsg44fsif01"; + type = "gem"; + }; + version = "3.1.0"; + }; swd = { - dependencies = ["activesupport" "attr_required" "httpclient"]; + dependencies = ["activesupport" "attr_required" "faraday" "faraday-follow_redirects"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12b3q2sw42nnilfb51nlqdv07f31vdv2j595kd99asnkw4cjlf5w"; + sha256 = "0m86fzmwgw0vc8p6fwvnsdbldpgbqdz9cbp2zj9z06bc4jjf5nsc"; type = "gem"; }; - version = "1.3.0"; + version = "2.0.3"; }; sync = { groups = ["default" "development" "test"]; @@ -6733,10 +6738,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0rwnq67qm2ngz066sncvg0dv65bsk29qz3xarbv8qan2hi7yw0qg"; + sha256 = "0lxik4ngvbphivyhss9i59c67zxkc0z7k0r683qshw1gdkfxzd8f"; type = "gem"; }; - version = "1.3.3"; + version = "1.3.3.1"; }; test_file_finder = { dependencies = ["faraday"]; @@ -6974,10 +6979,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1m22yrkmbj81rzhlny81j427qdvz57yk5wbcf3km0nf3bl6qiygz"; + sha256 = "0z7gamf6s83wy0yqms3bi4srirn3fc0lc7n65lqanidxcj1xn5qw"; type = "gem"; }; - version = "1.4.0"; + version = "1.4.1"; }; tzinfo = { dependencies = ["concurrent-ruby"]; @@ -7001,15 +7006,15 @@ src: version = "0.1.0"; }; undercover = { - dependencies = ["imagen" "rainbow" "rugged"]; + dependencies = ["bigdecimal" "imagen" "rainbow" "rugged"]; groups = ["coverage" "development" "test"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1bp644b1mxwhbkjlm8bmwv8sxkkwkpc7chqxff9a8yxy0n99ambj"; + sha256 = "1blz21yzd3s2ax75lnhlf4gvh273k9jry6fd7yqnyip5id3si6gg"; type = "gem"; }; - version = "0.4.6"; + version = "0.5.0"; }; unf = { dependencies = ["unf_ext"]; @@ -7094,16 +7099,6 @@ src: }; version = "0.13.0"; }; - uri_template = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0p8qbxlpmg3msw0ihny6a3gsn0yvydx9ksh5knn8dnq06zhqyb1i"; - type = "gem"; - }; - version = "0.7.0"; - }; valid_email = { dependencies = ["activemodel" "mail"]; groups = ["default"]; @@ -7115,17 +7110,6 @@ src: }; version = "0.1.3"; }; - validate_email = { - dependencies = ["activemodel" "mail"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1r1fz29l699arka177c9xw7409d1a3ff95bf7a6pmc97slb91zlx"; - type = "gem"; - }; - version = "0.1.6"; - }; validate_url = { dependencies = ["activemodel" "public_suffix"]; groups = ["default"]; @@ -7174,10 +7158,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12xi88jvx49p15nx2168wm0r00g90mb4cxzzsjxz92akjk92mkpj"; + sha256 = "0yqq8srliv2w960gxnfr5sn8dmcppcyd6wmkgq71d1qkymwn8vii"; type = "gem"; }; - version = "3.12.1"; + version = "3.13.0"; }; virtus = { dependencies = ["axiom-types" "coercible" "descendants_tracker"]; @@ -7207,10 +7191,10 @@ src: platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0wza7pnwz8ym92gw0x4zr1icialhlw0l032kn4f86vw1vlzxmrd3"; + sha256 = "0fgpwlvmasj10kx5929xyb4fysqlfb3iixbci68170k6bslssd2a"; type = "gem"; }; - version = "3.5.0"; + version = "3.7.0"; }; vmstat = { groups = ["default"]; @@ -7255,15 +7239,15 @@ src: version = "3.0.0"; }; webfinger = { - dependencies = ["activesupport" "httpclient"]; + dependencies = ["activesupport" "faraday" "faraday-follow_redirects"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "18jj50b44a471ig7hw1ax90wxaaz40acmrf6cm7m2iyshlffy53q"; + sha256 = "0p39802sfnm62r4x5hai8vn6d1wqbxsxnmbynsk8rcvzwyym4yjn"; type = "gem"; }; - version = "1.2.0"; + version = "2.1.3"; }; webmock = { dependencies = ["addressable" "crack" "hashdiff"]; From b5315bf732a6dbf3f4c915271772e9847dfa2291 Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Thu, 24 Oct 2024 11:05:49 +0200 Subject: [PATCH 60/69] gitaly: Embed git binaries gitaly now embeds git binaries in itself during the build https://gitlab.com/gitlab-org/gitaly/-/blob/10fd91391a7c30ca54ec81eea881740cfdee8b0a/packed_binaries.go#L22 These are meant to be built by the `Makefile` target `install-bundled-git` but this produces binaries with different names, and we're also referring to this version of git throughout the NixOS module, so we hack this by copying over the binaries from the deprecated `git` target with which we're building gitaly-git. --- pkgs/applications/version-management/gitlab/gitaly/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix index dd6e8b6b0b346..a826ba55b0806 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/default.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix @@ -46,6 +46,9 @@ buildGoModule ({ preConfigure = '' mkdir -p _build/bin cp -r ${auxBins}/bin/* _build/bin + for f in ${git}/bin/git-*; do + cp "$f" "_build/bin/gitaly-$(basename $f)"; + done ''; outputs = [ "out" ]; From 90f24ad0237af5cc625a3fec0d0d4843a44f3de2 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 27 Oct 2024 18:29:54 +0000 Subject: [PATCH 61/69] nim-unwrapped-2_2: move to pkgs/by-name from nim-unwrapped-2 --- .../ni/nim-unwrapped-2_2/NIM_CONFIG_DIR.patch | 23 +++ .../nim-unwrapped-2_2/extra-mangling-2.patch | 48 +++++ .../ni/nim-unwrapped-2_2/nixbuild.patch | 40 ++++ .../ni/nim-unwrapped-2_2}/openssl.patch | 0 pkgs/by-name/ni/nim-unwrapped-2_2/package.nix | 187 ++++++++++++++++++ pkgs/development/compilers/nim/default.nix | 159 +-------------- pkgs/top-level/all-packages.nix | 4 +- 7 files changed, 303 insertions(+), 158 deletions(-) create mode 100644 pkgs/by-name/ni/nim-unwrapped-2_2/NIM_CONFIG_DIR.patch create mode 100644 pkgs/by-name/ni/nim-unwrapped-2_2/extra-mangling-2.patch create mode 100644 pkgs/by-name/ni/nim-unwrapped-2_2/nixbuild.patch rename pkgs/{development/compilers/nim => by-name/ni/nim-unwrapped-2_2}/openssl.patch (100%) create mode 100644 pkgs/by-name/ni/nim-unwrapped-2_2/package.nix diff --git a/pkgs/by-name/ni/nim-unwrapped-2_2/NIM_CONFIG_DIR.patch b/pkgs/by-name/ni/nim-unwrapped-2_2/NIM_CONFIG_DIR.patch new file mode 100644 index 0000000000000..61e05b791cf8c --- /dev/null +++ b/pkgs/by-name/ni/nim-unwrapped-2_2/NIM_CONFIG_DIR.patch @@ -0,0 +1,23 @@ +diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim +index a470179bd..73cfa1a23 100644 +--- a/compiler/nimconf.nim ++++ b/compiler/nimconf.nim +@@ -225,10 +225,15 @@ proc getUserConfigPath*(filename: RelativeFile): AbsoluteFile = + proc getSystemConfigPath*(conf: ConfigRef; filename: RelativeFile): AbsoluteFile = + # try standard configuration file (installation did not distribute files + # the UNIX way) +- let p = getPrefixDir(conf) +- result = p / RelativeDir"config" / filename ++ let ++ prefix = getPrefixDir(conf) ++ env = getEnv("NIM_CONFIG_PATH") ++ if env != "": ++ result = env.toAbsoluteDir / filename ++ else: ++ result = prefix / RelativeDir"config" / filename + when defined(unix): +- if not fileExists(result): result = p / RelativeDir"etc/nim" / filename ++ if not fileExists(result): result = prefix / RelativeDir"etc/nim" / filename + if not fileExists(result): result = AbsoluteDir"/etc/nim" / filename + + proc loadConfigs*(cfg: RelativeFile; cache: IdentCache; conf: ConfigRef) = diff --git a/pkgs/by-name/ni/nim-unwrapped-2_2/extra-mangling-2.patch b/pkgs/by-name/ni/nim-unwrapped-2_2/extra-mangling-2.patch new file mode 100644 index 0000000000000..dfee7d8675cef --- /dev/null +++ b/pkgs/by-name/ni/nim-unwrapped-2_2/extra-mangling-2.patch @@ -0,0 +1,48 @@ +diff --git a/compiler/modulepaths.nim b/compiler/modulepaths.nim +index c9e6060e5..acb289498 100644 +--- a/compiler/modulepaths.nim ++++ b/compiler/modulepaths.nim +@@ -79,6 +79,13 @@ proc checkModuleName*(conf: ConfigRef; n: PNode; doLocalError=true): FileIndex = + else: + result = fileInfoIdx(conf, fullPath) + ++proc rot13(result: var string) = ++ for i, c in result: ++ case c ++ of 'a'..'m', 'A'..'M': result[i] = char(c.uint8 + 13) ++ of 'n'..'z', 'N'..'Z': result[i] = char(c.uint8 - 13) ++ else: discard ++ + proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string = + ## Mangle a relative module path to avoid path and symbol collisions. + ## +@@ -87,9 +94,11 @@ proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string = + ## + ## Example: + ## `foo-#head/../bar` becomes `@foo-@hhead@s..@sbar` +- "@m" & relativeTo(path, conf.projectPath).string.multiReplace( ++ result = "@m" & relativeTo(path, conf.projectPath).string.multiReplace( + {$os.DirSep: "@s", $os.AltSep: "@s", "#": "@h", "@": "@@", ":": "@c"}) ++ rot13(result) + + proc demangleModuleName*(path: string): string = + ## Demangle a relative module path. + result = path.multiReplace({"@@": "@", "@h": "#", "@s": "/", "@m": "", "@c": ":"}) ++ rot13(result) +diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim +index 77762d23a..59dd8903a 100644 +--- a/compiler/modulegraphs.nim ++++ b/compiler/modulegraphs.nim +@@ -503,7 +503,11 @@ proc uniqueModuleName*(conf: ConfigRef; m: PSym): string = + for i in 0..> config/nim.cfg + runHook postConfigure + ''; + + kochArgs = + [ + "--cpu:${nimHost.cpu}" + "--os:${nimHost.os}" + "-d:release" + "-d:useGnuReadline" + ] + ++ lib.optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isLinux) "-d:nativeStacktrace"; + + preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + substituteInPlace makefile \ + --replace "aarch64" "arm64" + ''; + + buildPhase = '' + runHook preBuild + local HOME=$TMPDIR + ./bin/nim c --parallelBuild:$NIX_BUILD_CORES koch + ./koch boot $kochArgs --parallelBuild:$NIX_BUILD_CORES + ./koch toolsNoExternal $kochArgs --parallelBuild:$NIX_BUILD_CORES + ./bin/nim js -d:release tools/dochack/dochack.nim + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + install -Dt $out/bin bin/* + ln -sf $out/nim/bin/nim $out/bin/nim + ln -sf $out/nim/lib $out/lib + ./install.sh $out + cp -a tools dist $out/nim/ + runHook postInstall + ''; + + passthru = { + inherit nimHost nimTarget; + }; + + meta = with lib; { + description = "Statically typed, imperative programming language"; + homepage = "https://nim-lang.org/"; + license = licenses.mit; + mainProgram = "nim"; + maintainers = with maintainers; [ + ehmry + eveeifyeve + ]; + }; + +}) diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix index 88d21c75a9817..9a4155f6974af 100644 --- a/pkgs/development/compilers/nim/default.nix +++ b/pkgs/development/compilers/nim/default.nix @@ -6,164 +6,9 @@ , nim-unwrapped-2, nim-unwrapped-1, nim }: let - parseCpu = platform: - with platform; - # Derive a Nim CPU identifier - if isAarch32 then - "arm" - else if isAarch64 then - "arm64" - else if isAlpha then - "alpha" - else if isAvr then - "avr" - else if isMips && is32bit then - "mips" - else if isMips && is64bit then - "mips64" - else if isMsp430 then - "msp430" - else if isPower && is32bit then - "powerpc" - else if isPower && is64bit then - "powerpc64" - else if isRiscV && is64bit then - "riscv64" - else if isSparc then - "sparc" - else if isx86_32 then - "i386" - else if isx86_64 then - "amd64" - else - abort "no Nim CPU support known for ${config}"; - - parseOs = platform: - with platform; - # Derive a Nim OS identifier - if isAndroid then - "Android" - else if isDarwin then - "MacOSX" - else if isFreeBSD then - "FreeBSD" - else if isGenode then - "Genode" - else if isLinux then - "Linux" - else if isNetBSD then - "NetBSD" - else if isNone then - "Standalone" - else if isOpenBSD then - "OpenBSD" - else if isWindows then - "Windows" - else if isiOS then - "iOS" - else - abort "no Nim OS support known for ${config}"; - - parsePlatform = p: { - cpu = parseCpu p; - os = parseOs p; - }; - - nimHost = parsePlatform stdenv.hostPlatform; - nimTarget = parsePlatform stdenv.targetPlatform; - + inherit (nim-unwrapped-2.passthru) nimHost nimTarget; in { - nim-unwrapped-2 = stdenv.mkDerivation (finalAttrs: { - pname = "nim-unwrapped"; - version = "2.2.0"; - strictDeps = true; - - src = fetchurl { - url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz"; - hash = "sha256-zphChJyXYOSH7N0c2t98DyhEyvrmBUAcfHKuJXZEiTw="; - }; - - buildInputs = [ boehmgc openssl pcre readline sqlite ] - ++ lib.optional stdenv.hostPlatform.isDarwin Security; - - patches = [ - ./NIM_CONFIG_DIR.patch - # Override compiler configuration via an environmental variable - - ./nixbuild.patch - # Load libraries at runtime by absolute path - - ./extra-mangling-2.patch - # Mangle store paths of modules to prevent runtime dependence. - - ./openssl.patch - # dlopen is widely used by Python, Ruby, Perl, ... what you're really telling me here is that your OS is fundamentally broken. That might be news for you, but it isn't for me. - ]; - - configurePhase = let - bootstrapCompiler = stdenv.mkDerivation { - pname = "nim-bootstrap"; - inherit (finalAttrs) version src preBuild; - enableParallelBuilding = true; - installPhase = '' - runHook preInstall - install -Dt $out/bin bin/nim - runHook postInstall - ''; - }; - in '' - runHook preConfigure - cp ${bootstrapCompiler}/bin/nim bin/ - echo 'define:nixbuild' >> config/nim.cfg - runHook postConfigure - ''; - - kochArgs = [ - "--cpu:${nimHost.cpu}" - "--os:${nimHost.os}" - "-d:release" - "-d:useGnuReadline" - ] ++ lib.optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isLinux) "-d:nativeStacktrace"; - - preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' - substituteInPlace makefile \ - --replace "aarch64" "arm64" - ''; - - buildPhase = '' - runHook preBuild - local HOME=$TMPDIR - ./bin/nim c --parallelBuild:$NIX_BUILD_CORES koch - ./koch boot $kochArgs --parallelBuild:$NIX_BUILD_CORES - ./koch toolsNoExternal $kochArgs --parallelBuild:$NIX_BUILD_CORES - ./bin/nim js -d:release tools/dochack/dochack.nim - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - install -Dt $out/bin bin/* - ln -sf $out/nim/bin/nim $out/bin/nim - ln -sf $out/nim/lib $out/lib - ./install.sh $out - cp -a tools dist $out/nim/ - runHook postInstall - ''; - - passthru = { - updateScript.command = [ ./update.sh ]; - }; - - meta = with lib; { - description = "Statically typed, imperative programming language"; - homepage = "https://nim-lang.org/"; - license = licenses.mit; - mainProgram = "nim"; - maintainers = with maintainers; [ ehmry eveeifyeve ]; - }; - }); - nim-unwrapped-1 = nim-unwrapped-2.overrideAttrs (finalAttrs: prevAttrs: { version = "1.6.20"; src = fetchurl { @@ -313,7 +158,7 @@ in { in { nim2 = wrapNim { - nim' = buildPackages.nim-unwrapped-2; + nim' = buildPackages.nim-unwrapped-2_2; patches = [ ./nim2.cfg.patch ]; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d8c91ae92e68d..20b9edb0e07ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15325,8 +15325,10 @@ with pkgs; inherit (callPackages ../development/compilers/nim { inherit (darwin) Security; } - ) nim-unwrapped-1 nim-unwrapped-2 nim1 nim2; + ) nim-unwrapped-1 nim1 nim2; nim = nim2; + nim-unwrapped = nim-unwrapped-2_2; + nim-unwrapped-2 = nim-unwrapped-2_2; buildNimPackage = callPackage ../development/compilers/nim/build-nim-package.nix { }; nimOverrides = callPackage ./nim-overrides.nix { }; From 1e1bc01db7c2eb0370c92e3e24a115f0a1caaa20 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 27 Oct 2024 18:41:20 +0000 Subject: [PATCH 62/69] nim-2_2: move to pkgs/by-name from nim2 --- .../nim => by-name/ni/nim-2_2}/nim2.cfg.patch | 0 pkgs/by-name/ni/nim-2_2/package.nix | 156 ++++++++++++++++++ pkgs/development/compilers/nim/default.nix | 7 +- .../compilers/nim/extra-mangling-2.patch | 48 ------ pkgs/development/compilers/nim/update.sh | 25 --- pkgs/top-level/all-packages.nix | 5 +- 6 files changed, 161 insertions(+), 80 deletions(-) rename pkgs/{development/compilers/nim => by-name/ni/nim-2_2}/nim2.cfg.patch (100%) create mode 100644 pkgs/by-name/ni/nim-2_2/package.nix delete mode 100644 pkgs/development/compilers/nim/extra-mangling-2.patch delete mode 100644 pkgs/development/compilers/nim/update.sh diff --git a/pkgs/development/compilers/nim/nim2.cfg.patch b/pkgs/by-name/ni/nim-2_2/nim2.cfg.patch similarity index 100% rename from pkgs/development/compilers/nim/nim2.cfg.patch rename to pkgs/by-name/ni/nim-2_2/nim2.cfg.patch diff --git a/pkgs/by-name/ni/nim-2_2/package.nix b/pkgs/by-name/ni/nim-2_2/package.nix new file mode 100644 index 0000000000000..f97506eb624a3 --- /dev/null +++ b/pkgs/by-name/ni/nim-2_2/package.nix @@ -0,0 +1,156 @@ +# When updating this package please check that all other versions of Nim +# evaluate because they reuse definitions from the latest compiler. +{ + lib, + stdenv, + buildPackages, + darwin, + makeWrapper, + openssl, + pcre, + nim-unwrapped-2_2 ? buildPackages.nim-unwrapped-2_2, + Security ? darwin.Security, +}: + +let + wrapNim = + { nimUnwrapped, patches }: + let + targetPlatformConfig = stdenv.targetPlatform.config; + in + stdenv.mkDerivation (finalAttrs: { + name = "${targetPlatformConfig}-nim-wrapper-${nimUnwrapped.version}"; + inherit (nimUnwrapped) version; + preferLocalBuild = true; + strictDeps = true; + + nativeBuildInputs = [ makeWrapper ]; + + # Needed for any nim package that uses the standard library's + # 'std/sysrand' module. + depsTargetTargetPropagated = lib.optional stdenv.hostPlatform.isDarwin Security; + + inherit patches; + + unpackPhase = '' + runHook preUnpack + tar xf ${nimUnwrapped.src} nim-$version/config + cd nim-$version + runHook postUnpack + ''; + + dontConfigure = true; + + buildPhase = + # Configure the Nim compiler to use $CC and $CXX as backends + # The compiler is configured by two configuration files, each with + # a different DSL. The order of evaluation matters and that order + # is not documented, so duplicate the configuration across both files. + '' + runHook preBuild + cat >> config/config.nims << WTF + + switch("os", "${nimUnwrapped.passthru.nimTarget.os}") + switch("cpu", "${nimUnwrapped.passthru.nimTarget.cpu}") + switch("define", "nixbuild") + + # Configure the compiler using the $CC set by Nix at build time + import strutils + let cc = getEnv"CC" + if cc.contains("gcc"): + switch("cc", "gcc") + elif cc.contains("clang"): + switch("cc", "clang") + WTF + + mv config/nim.cfg config/nim.cfg.old + cat > config/nim.cfg << WTF + os = "${nimUnwrapped.passthru.nimTarget.os}" + cpu = "${nimUnwrapped.passthru.nimTarget.cpu}" + define:"nixbuild" + WTF + + cat >> config/nim.cfg < config/nim.cfg.old + rm config/nim.cfg.old + + cat >> config/nim.cfg << WTF + + clang.cpp.exe %= "\$CXX" + clang.cpp.linkerexe %= "\$CXX" + clang.exe %= "\$CC" + clang.linkerexe %= "\$CC" + gcc.cpp.exe %= "\$CXX" + gcc.cpp.linkerexe %= "\$CXX" + gcc.exe %= "\$CC" + gcc.linkerexe %= "\$CC" + WTF + + runHook postBuild + ''; + + wrapperArgs = lib.optionals (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) [ + "--prefix PATH : ${lib.makeBinPath [ buildPackages.gdb ]}:${placeholder "out"}/bin" + # Used by nim-gdb + + "--prefix LD_LIBRARY_PATH : ${ + lib.makeLibraryPath [ + openssl + pcre + ] + }" + # These libraries may be referred to by the standard library. + # This is broken for cross-compilation because the package + # set will be shifted back by nativeBuildInputs. + + "--set NIM_CONFIG_PATH ${placeholder "out"}/etc/nim" + # Use the custom configuration + ]; + + installPhase = + '' + runHook preInstall + + mkdir -p $out/bin $out/etc + + cp -r config $out/etc/nim + + for binpath in ${nimUnwrapped}/bin/nim?*; do + local binname=`basename $binpath` + makeWrapper \ + $binpath $out/bin/${targetPlatformConfig}-$binname \ + $wrapperArgs + ln -s $out/bin/${targetPlatformConfig}-$binname $out/bin/$binname + done + + makeWrapper \ + ${nimUnwrapped}/nim/bin/nim $out/bin/${targetPlatformConfig}-nim \ + --set-default CC $(command -v $CC) \ + --set-default CXX $(command -v $CXX) \ + $wrapperArgs + ln -s $out/bin/${targetPlatformConfig}-nim $out/bin/nim + + makeWrapper \ + ${nimUnwrapped}/bin/testament $out/bin/${targetPlatformConfig}-testament \ + $wrapperArgs + ln -s $out/bin/${targetPlatformConfig}-testament $out/bin/testament + + '' + + '' + runHook postInstall + ''; + + passthru = nimUnwrapped.passthru // { + inherit wrapNim; + nim = nimUnwrapped; + }; + + meta = nimUnwrapped.meta // { + description = nimUnwrapped.meta.description + " (${targetPlatformConfig} wrapper)"; + platforms = with lib.platforms; unix ++ genode ++ windows; + }; + }); +in +wrapNim { + nimUnwrapped = nim-unwrapped-2_2; + patches = [ ./nim2.cfg.patch ]; +} diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix index 9a4155f6974af..cbef7efb1d196 100644 --- a/pkgs/development/compilers/nim/default.nix +++ b/pkgs/development/compilers/nim/default.nix @@ -3,7 +3,7 @@ { lib, callPackage, buildPackages, stdenv, fetchurl, fetchgit , makeWrapper, openssl, pcre, readline, boehmgc, sqlite, Security -, nim-unwrapped-2, nim-unwrapped-1, nim }: +, nim-unwrapped-2, nim-unwrapped-1 }: let inherit (nim-unwrapped-2.passthru) nimHost nimTarget; @@ -157,11 +157,6 @@ in { }); in { - nim2 = wrapNim { - nim' = buildPackages.nim-unwrapped-2_2; - patches = [ ./nim2.cfg.patch ]; - }; - nim1 = wrapNim { nim' = buildPackages.nim-unwrapped-1; patches = [ ./nim.cfg.patch ]; diff --git a/pkgs/development/compilers/nim/extra-mangling-2.patch b/pkgs/development/compilers/nim/extra-mangling-2.patch deleted file mode 100644 index dfee7d8675cef..0000000000000 --- a/pkgs/development/compilers/nim/extra-mangling-2.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/compiler/modulepaths.nim b/compiler/modulepaths.nim -index c9e6060e5..acb289498 100644 ---- a/compiler/modulepaths.nim -+++ b/compiler/modulepaths.nim -@@ -79,6 +79,13 @@ proc checkModuleName*(conf: ConfigRef; n: PNode; doLocalError=true): FileIndex = - else: - result = fileInfoIdx(conf, fullPath) - -+proc rot13(result: var string) = -+ for i, c in result: -+ case c -+ of 'a'..'m', 'A'..'M': result[i] = char(c.uint8 + 13) -+ of 'n'..'z', 'N'..'Z': result[i] = char(c.uint8 - 13) -+ else: discard -+ - proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string = - ## Mangle a relative module path to avoid path and symbol collisions. - ## -@@ -87,9 +94,11 @@ proc mangleModuleName*(conf: ConfigRef; path: AbsoluteFile): string = - ## - ## Example: - ## `foo-#head/../bar` becomes `@foo-@hhead@s..@sbar` -- "@m" & relativeTo(path, conf.projectPath).string.multiReplace( -+ result = "@m" & relativeTo(path, conf.projectPath).string.multiReplace( - {$os.DirSep: "@s", $os.AltSep: "@s", "#": "@h", "@": "@@", ":": "@c"}) -+ rot13(result) - - proc demangleModuleName*(path: string): string = - ## Demangle a relative module path. - result = path.multiReplace({"@@": "@", "@h": "#", "@s": "/", "@m": "", "@c": ":"}) -+ rot13(result) -diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim -index 77762d23a..59dd8903a 100644 ---- a/compiler/modulegraphs.nim -+++ b/compiler/modulegraphs.nim -@@ -503,7 +503,11 @@ proc uniqueModuleName*(conf: ConfigRef; m: PSym): string = - for i in 0../dev/null && pwd)" - -curl_github() { - curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} "$@" -} - - -case "$UPDATE_NIX_ATTR_PATH" in -nim) - latestTag=$(curl_github https://api.github.com/repos/nim-lang/Nim/releases/latest | jq -r ".tag_name") - latestVersion="$(expr "$latestTag" : 'v\(.*\)')" - - echo "Updating Nim" - nix-update --version "$latestVersion" \ - --override-filename "$SCRIPT_DIR/default.nix" \ - nim -*) - echo "Unknown attr path $UPDATE_NIX_ATTR_PATH" - ;; -esac diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20b9edb0e07ad..e7fa059de8ab8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15325,10 +15325,13 @@ with pkgs; inherit (callPackages ../development/compilers/nim { inherit (darwin) Security; } - ) nim-unwrapped-1 nim1 nim2; + ) nim1; + nim = nim2; + nim2 = nim-2_2; nim-unwrapped = nim-unwrapped-2_2; nim-unwrapped-2 = nim-unwrapped-2_2; + buildNimPackage = callPackage ../development/compilers/nim/build-nim-package.nix { }; nimOverrides = callPackage ./nim-overrides.nix { }; From 68347d55426bfa006e5ab29c799999b4debc71e1 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 27 Oct 2024 18:58:44 +0000 Subject: [PATCH 63/69] nim-unwrapped-1_0: move to pkgs/by-name from nim-unwrapped-1 --- .../nim-unwrapped-1_0}/extra-mangling.patch | 0 pkgs/by-name/ni/nim-unwrapped-1_0/package.nix | 30 ++++++++++++++ .../ni/nim-unwrapped-1_0}/toLocation.patch | 0 .../compilers/nim/NIM_CONFIG_DIR.patch | 23 ----------- pkgs/development/compilers/nim/default.nix | 32 +++------------ pkgs/development/compilers/nim/nixbuild.patch | 40 ------------------- pkgs/top-level/all-packages.nix | 1 + 7 files changed, 36 insertions(+), 90 deletions(-) rename pkgs/{development/compilers/nim => by-name/ni/nim-unwrapped-1_0}/extra-mangling.patch (100%) create mode 100644 pkgs/by-name/ni/nim-unwrapped-1_0/package.nix rename pkgs/{development/compilers/nim => by-name/ni/nim-unwrapped-1_0}/toLocation.patch (100%) delete mode 100644 pkgs/development/compilers/nim/NIM_CONFIG_DIR.patch delete mode 100644 pkgs/development/compilers/nim/nixbuild.patch diff --git a/pkgs/development/compilers/nim/extra-mangling.patch b/pkgs/by-name/ni/nim-unwrapped-1_0/extra-mangling.patch similarity index 100% rename from pkgs/development/compilers/nim/extra-mangling.patch rename to pkgs/by-name/ni/nim-unwrapped-1_0/extra-mangling.patch diff --git a/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix b/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix new file mode 100644 index 0000000000000..09b50753bcfe8 --- /dev/null +++ b/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix @@ -0,0 +1,30 @@ +{ + lib, + stdenv, + fetchurl, + nim-unwrapped-2, +}: + +nim-unwrapped-2.overrideAttrs ( + finalAttrs: prevAttrs: { + version = "1.6.20"; + src = fetchurl { + url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz"; + hash = "sha256-/+0EdQTR/K9hDw3Xzz4Ce+kaKSsMnFEWFQTC87mE/7k="; + }; + + patches = + builtins.filter ( + p: + builtins.elem (builtins.baseNameOf p) [ + "NIM_CONFIG_DIR.patch" + "nixbuild.patch" + ] + ) nim-unwrapped-2.patches + ++ [ + ./extra-mangling.patch + # Mangle store paths of modules to prevent runtime dependence. + ] + ++ lib.optional (!stdenv.hostPlatform.isWindows) ./toLocation.patch; + } +) diff --git a/pkgs/development/compilers/nim/toLocation.patch b/pkgs/by-name/ni/nim-unwrapped-1_0/toLocation.patch similarity index 100% rename from pkgs/development/compilers/nim/toLocation.patch rename to pkgs/by-name/ni/nim-unwrapped-1_0/toLocation.patch diff --git a/pkgs/development/compilers/nim/NIM_CONFIG_DIR.patch b/pkgs/development/compilers/nim/NIM_CONFIG_DIR.patch deleted file mode 100644 index 61e05b791cf8c..0000000000000 --- a/pkgs/development/compilers/nim/NIM_CONFIG_DIR.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim -index a470179bd..73cfa1a23 100644 ---- a/compiler/nimconf.nim -+++ b/compiler/nimconf.nim -@@ -225,10 +225,15 @@ proc getUserConfigPath*(filename: RelativeFile): AbsoluteFile = - proc getSystemConfigPath*(conf: ConfigRef; filename: RelativeFile): AbsoluteFile = - # try standard configuration file (installation did not distribute files - # the UNIX way) -- let p = getPrefixDir(conf) -- result = p / RelativeDir"config" / filename -+ let -+ prefix = getPrefixDir(conf) -+ env = getEnv("NIM_CONFIG_PATH") -+ if env != "": -+ result = env.toAbsoluteDir / filename -+ else: -+ result = prefix / RelativeDir"config" / filename - when defined(unix): -- if not fileExists(result): result = p / RelativeDir"etc/nim" / filename -+ if not fileExists(result): result = prefix / RelativeDir"etc/nim" / filename - if not fileExists(result): result = AbsoluteDir"/etc/nim" / filename - - proc loadConfigs*(cfg: RelativeFile; cache: IdentCache; conf: ConfigRef) = diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix index cbef7efb1d196..5d9717d1bd2a1 100644 --- a/pkgs/development/compilers/nim/default.nix +++ b/pkgs/development/compilers/nim/default.nix @@ -1,34 +1,12 @@ # https://nim-lang.github.io/Nim/packaging.html # https://nim-lang.org/docs/nimc.html -{ lib, callPackage, buildPackages, stdenv, fetchurl, fetchgit -, makeWrapper, openssl, pcre, readline, boehmgc, sqlite, Security -, nim-unwrapped-2, nim-unwrapped-1 }: +{ lib, callPackage, buildPackages, stdenv +, makeWrapper, openssl, pcre, Security +, nim-unwrapped-1 }: let - inherit (nim-unwrapped-2.passthru) nimHost nimTarget; -in { - - nim-unwrapped-1 = nim-unwrapped-2.overrideAttrs (finalAttrs: prevAttrs: { - version = "1.6.20"; - src = fetchurl { - url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz"; - hash = "sha256-/+0EdQTR/K9hDw3Xzz4Ce+kaKSsMnFEWFQTC87mE/7k="; - }; - - patches = [ - ./NIM_CONFIG_DIR.patch - # Override compiler configuration via an environmental variable - - ./nixbuild.patch - # Load libraries at runtime by absolute path - - ./extra-mangling.patch - # Mangle store paths of modules to prevent runtime dependence. - ] ++ lib.optional (!stdenv.hostPlatform.isWindows) ./toLocation.patch; - }); - -} // (let + inherit (nim-unwrapped-1.passthru) nimHost nimTarget; wrapNim = { nim', patches }: let targetPlatformConfig = stdenv.targetPlatform.config; in stdenv.mkDerivation (finalAttrs: { @@ -162,4 +140,4 @@ in { patches = [ ./nim.cfg.patch ]; }; -}) +} diff --git a/pkgs/development/compilers/nim/nixbuild.patch b/pkgs/development/compilers/nim/nixbuild.patch deleted file mode 100644 index 59e54ca780c63..0000000000000 --- a/pkgs/development/compilers/nim/nixbuild.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/lib/pure/dynlib.nim b/lib/pure/dynlib.nim -index f31ae94dd..debed9c07 100644 ---- a/lib/pure/dynlib.nim -+++ b/lib/pure/dynlib.nim -@@ -56,6 +56,9 @@ - - import strutils - -+when defined(nixbuild) and not defined(windows): -+ import os -+ - type - LibHandle* = pointer ## a handle to a dynamically loaded library - -@@ -95,6 +98,25 @@ proc libCandidates*(s: string, dest: var seq[string]) = - libCandidates(prefix & middle & suffix, dest) - else: - add(dest, s) -+ when defined(nixbuild) and not defined(windows): -+ # Nix doesn't have a global library directory so -+ # load libraries using an absolute path if one -+ # can be derived from NIX_LDFLAGS. -+ # -+ # During Nix/NixOS packaging the line "define:nixbuild" -+ # should be appended to the ../../config/nim.cfg file -+ # to enable this behavior by default. -+ # -+ var libDirs = split(getEnv("LD_LIBRARY_PATH"), ':') -+ for flag in split(replace(getEnv("NIX_LDFLAGS"), "\\ ", " ")): -+ if flag.startsWith("-L"): -+ libDirs.add(flag[2..flag.high]) -+ for lib in dest: -+ for dir in libDirs: -+ let abs = dir / lib -+ if existsFile(abs): -+ dest = @[abs] -+ return - - proc loadLibPattern*(pattern: string, globalSymbols = false): LibHandle = - ## loads a library with name matching `pattern`, similar to what `dlimport` diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e7fa059de8ab8..1b808b49a016b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15330,6 +15330,7 @@ with pkgs; nim = nim2; nim2 = nim-2_2; nim-unwrapped = nim-unwrapped-2_2; + nim-unwrapped-1 = nim-unwrapped-1_0; nim-unwrapped-2 = nim-unwrapped-2_2; buildNimPackage = callPackage ../development/compilers/nim/build-nim-package.nix { }; From 9c7030ae57349259dc27d67c041c2bb770435980 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 27 Oct 2024 19:30:22 +0000 Subject: [PATCH 64/69] nim-1_0: move to pkgs/by-name from nim1 --- .../nim => by-name/ni/nim-1_0}/nim.cfg.patch | 0 pkgs/by-name/ni/nim-1_0/package.nix | 12 ++ pkgs/development/compilers/nim/default.nix | 143 ------------------ pkgs/top-level/all-packages.nix | 5 +- 4 files changed, 13 insertions(+), 147 deletions(-) rename pkgs/{development/compilers/nim => by-name/ni/nim-1_0}/nim.cfg.patch (100%) create mode 100644 pkgs/by-name/ni/nim-1_0/package.nix delete mode 100644 pkgs/development/compilers/nim/default.nix diff --git a/pkgs/development/compilers/nim/nim.cfg.patch b/pkgs/by-name/ni/nim-1_0/nim.cfg.patch similarity index 100% rename from pkgs/development/compilers/nim/nim.cfg.patch rename to pkgs/by-name/ni/nim-1_0/nim.cfg.patch diff --git a/pkgs/by-name/ni/nim-1_0/package.nix b/pkgs/by-name/ni/nim-1_0/package.nix new file mode 100644 index 0000000000000..48b067ef463b1 --- /dev/null +++ b/pkgs/by-name/ni/nim-1_0/package.nix @@ -0,0 +1,12 @@ +{ + lib, + stdenv, + fetchurl, + nim-unwrapped-1, + nim, +}: + +nim.passthru.wrapNim { + nimUnwrapped = nim-unwrapped-1; + patches = [ ./nim.cfg.patch ]; +} diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix deleted file mode 100644 index 5d9717d1bd2a1..0000000000000 --- a/pkgs/development/compilers/nim/default.nix +++ /dev/null @@ -1,143 +0,0 @@ -# https://nim-lang.github.io/Nim/packaging.html -# https://nim-lang.org/docs/nimc.html - -{ lib, callPackage, buildPackages, stdenv -, makeWrapper, openssl, pcre, Security -, nim-unwrapped-1 }: - -let - inherit (nim-unwrapped-1.passthru) nimHost nimTarget; - wrapNim = { nim', patches }: - let targetPlatformConfig = stdenv.targetPlatform.config; - in stdenv.mkDerivation (finalAttrs: { - name = "${targetPlatformConfig}-nim-wrapper-${nim'.version}"; - inherit (nim') version; - preferLocalBuild = true; - strictDeps = true; - - nativeBuildInputs = [ makeWrapper ]; - - # Needed for any nim package that uses the standard library's - # 'std/sysrand' module. - depsTargetTargetPropagated = lib.optional stdenv.hostPlatform.isDarwin Security; - - inherit patches; - - unpackPhase = '' - runHook preUnpack - tar xf ${nim'.src} nim-$version/config - cd nim-$version - runHook postUnpack - ''; - - dontConfigure = true; - - buildPhase = - # Configure the Nim compiler to use $CC and $CXX as backends - # The compiler is configured by two configuration files, each with - # a different DSL. The order of evaluation matters and that order - # is not documented, so duplicate the configuration across both files. - '' - runHook preBuild - cat >> config/config.nims << WTF - - switch("os", "${nimTarget.os}") - switch("cpu", "${nimTarget.cpu}") - switch("define", "nixbuild") - - # Configure the compiler using the $CC set by Nix at build time - import strutils - let cc = getEnv"CC" - if cc.contains("gcc"): - switch("cc", "gcc") - elif cc.contains("clang"): - switch("cc", "clang") - WTF - - mv config/nim.cfg config/nim.cfg.old - cat > config/nim.cfg << WTF - os = "${nimTarget.os}" - cpu = "${nimTarget.cpu}" - define:"nixbuild" - WTF - - cat >> config/nim.cfg < config/nim.cfg.old - rm config/nim.cfg.old - - cat >> config/nim.cfg << WTF - - clang.cpp.exe %= "\$CXX" - clang.cpp.linkerexe %= "\$CXX" - clang.exe %= "\$CC" - clang.linkerexe %= "\$CC" - gcc.cpp.exe %= "\$CXX" - gcc.cpp.linkerexe %= "\$CXX" - gcc.exe %= "\$CC" - gcc.linkerexe %= "\$CC" - WTF - - runHook postBuild - ''; - - wrapperArgs = lib.optionals (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) [ - "--prefix PATH : ${lib.makeBinPath [ buildPackages.gdb ]}:${ - placeholder "out" - }/bin" - # Used by nim-gdb - - "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl pcre ]}" - # These libraries may be referred to by the standard library. - # This is broken for cross-compilation because the package - # set will be shifted back by nativeBuildInputs. - - "--set NIM_CONFIG_PATH ${placeholder "out"}/etc/nim" - # Use the custom configuration - ]; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin $out/etc - - cp -r config $out/etc/nim - - for binpath in ${nim'}/bin/nim?*; do - local binname=`basename $binpath` - makeWrapper \ - $binpath $out/bin/${targetPlatformConfig}-$binname \ - $wrapperArgs - ln -s $out/bin/${targetPlatformConfig}-$binname $out/bin/$binname - done - - makeWrapper \ - ${nim'}/nim/bin/nim $out/bin/${targetPlatformConfig}-nim \ - --set-default CC $(command -v $CC) \ - --set-default CXX $(command -v $CXX) \ - $wrapperArgs - ln -s $out/bin/${targetPlatformConfig}-nim $out/bin/nim - - makeWrapper \ - ${nim'}/bin/testament $out/bin/${targetPlatformConfig}-testament \ - $wrapperArgs - ln -s $out/bin/${targetPlatformConfig}-testament $out/bin/testament - - '' + '' - runHook postInstall - ''; - - passthru = { nim = nim'; }; - - meta = nim'.meta // { - description = nim'.meta.description - + " (${targetPlatformConfig} wrapper)"; - platforms = with lib.platforms; unix ++ genode ++ windows; - }; - }); -in { - - nim1 = wrapNim { - nim' = buildPackages.nim-unwrapped-1; - patches = [ ./nim.cfg.patch ]; - }; - -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1b808b49a016b..6f847269cd8d5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15323,11 +15323,8 @@ with pkgs; muonlang = callPackage ../development/compilers/muonlang { }; - inherit (callPackages ../development/compilers/nim - { inherit (darwin) Security; } - ) nim1; - nim = nim2; + nim1 = nim-1_0; nim2 = nim-2_2; nim-unwrapped = nim-unwrapped-2_2; nim-unwrapped-1 = nim-unwrapped-1_0; From 4ad5948e8a824e17047fe203332f447964a3ca24 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 27 Oct 2024 19:45:37 +0000 Subject: [PATCH 65/69] nim-2_0: init at 2.0.10 Fix 350913 --- pkgs/by-name/ni/nim-2_0/package.nix | 12 +++++++++ pkgs/by-name/ni/nim-unwrapped-2_0/package.nix | 27 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/by-name/ni/nim-2_0/package.nix create mode 100644 pkgs/by-name/ni/nim-unwrapped-2_0/package.nix diff --git a/pkgs/by-name/ni/nim-2_0/package.nix b/pkgs/by-name/ni/nim-2_0/package.nix new file mode 100644 index 0000000000000..c03953527578e --- /dev/null +++ b/pkgs/by-name/ni/nim-2_0/package.nix @@ -0,0 +1,12 @@ +{ + lib, + stdenv, + fetchurl, + nim-unwrapped-2_0, + nim-2_2, +}: + +nim-2_2.passthru.wrapNim { + nimUnwrapped = nim-unwrapped-2_0; + inherit (nim-2_2) patches; +} diff --git a/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix b/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix new file mode 100644 index 0000000000000..232d4dcbfac75 --- /dev/null +++ b/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix @@ -0,0 +1,27 @@ +{ + lib, + fetchurl, + nim-unwrapped-1, + nim-unwrapped-2_2, +}: + +nim-unwrapped-2_2.overrideAttrs ( + finalAttrs: previousAttrs: { + version = "2.0.10"; + src = fetchurl { + url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz"; + hash = "sha256-8UVDwjOpLHub0np9mEx4yfnBvXMyAwrBa+fFQMdbDqA="; + }; + patches = lib.lists.unique ( + builtins.filter ( + p: + builtins.elem (builtins.baseNameOf p) [ + "NIM_CONFIG_DIR.patch" + "nixbuild.patch" + "extra-mangling.patch" + "openssl.patch" + ] + ) (nim-unwrapped-1.patches ++ nim-unwrapped-2_2.patches) + ); + } +) From a85cffa8e5dba2d754bdf7184c9d7eb3ef9fd6f5 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 27 Oct 2024 19:52:00 +0000 Subject: [PATCH 66/69] nimlsp: build with Nim 2.0.x --- pkgs/by-name/ni/nimlsp/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ni/nimlsp/package.nix b/pkgs/by-name/ni/nimlsp/package.nix index 36b9b3d3af015..d9eaa838f7f01 100644 --- a/pkgs/by-name/ni/nimlsp/package.nix +++ b/pkgs/by-name/ni/nimlsp/package.nix @@ -1,6 +1,12 @@ -{ lib, buildNimPackage, fetchFromGitHub, srcOnly, nim-unwrapped-2 }: +{ lib, buildNimPackage, fetchFromGitHub, srcOnly, nim-2_0, nim-unwrapped-2_0 }: -buildNimPackage (finalAttrs: { +let + buildNimPackage' = buildNimPackage.override { + # Do not build with Nim-2.2.x. + nim2 = nim-2_0; + }; +in +buildNimPackage' (finalAttrs: { pname = "nimlsp"; version = "0.4.6"; @@ -27,7 +33,7 @@ buildNimPackage (finalAttrs: { nimFlags = [ "--threads:on" - "-d:explicitSourcePath=${srcOnly nim-unwrapped-2}" + "-d:explicitSourcePath=${srcOnly nim-unwrapped-2_0}" "-d:tempDir=/tmp" ]; From da6da7189e85a403396cef07fe5825a7144b0d84 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Mon, 28 Oct 2024 09:55:38 +0000 Subject: [PATCH 67/69] buildNimPackage: move into /pkgs/build-support, tidy OWNERS --- .github/labeler.yml | 6 +++--- ci/OWNERS | 4 +++- .../compilers/nim => build-support}/build-nim-package.nix | 0 pkgs/top-level/all-packages.nix | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) rename pkgs/{development/compilers/nim => build-support}/build-nim-package.nix (100%) diff --git a/.github/labeler.yml b/.github/labeler.yml index 1d70faf6423b2..2a22d38cff169 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -217,9 +217,9 @@ - changed-files: - any-glob-to-any-file: - doc/languages-frameworks/nim.section.md - - pkgs/development/compilers/nim/* - - pkgs/development/nim-packages/**/* - - pkgs/top-level/nim-packages.nix + - pkgs/build-support/build-nim-package.nix + - pkgs/by-name/ni/nim* + - pkgs/top-level/nim-overrides.nix "6.topic: nodejs": - any: diff --git a/ci/OWNERS b/ci/OWNERS index e906b3281f300..cf2e1a86d36fa 100644 --- a/ci/OWNERS +++ b/ci/OWNERS @@ -339,7 +339,9 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt /pkgs/by-name/ne/nemo-* @mkg20001 # nim -/pkgs/development/compilers/nim @ehmry +/doc/languages-frameworks/nim.section.md @ehmry +/pkgs/build-support/build-nim-package.nix @ehmry +/pkgs/top-level/nim-overrides.nix @ehmry # terraform providers /pkgs/applications/networking/cluster/terraform-providers @zowoq diff --git a/pkgs/development/compilers/nim/build-nim-package.nix b/pkgs/build-support/build-nim-package.nix similarity index 100% rename from pkgs/development/compilers/nim/build-nim-package.nix rename to pkgs/build-support/build-nim-package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6f847269cd8d5..d953648137844 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15330,7 +15330,7 @@ with pkgs; nim-unwrapped-1 = nim-unwrapped-1_0; nim-unwrapped-2 = nim-unwrapped-2_2; - buildNimPackage = callPackage ../development/compilers/nim/build-nim-package.nix { }; + buildNimPackage = callPackage ../build-support/build-nim-package.nix { }; nimOverrides = callPackage ./nim-overrides.nix { }; neko = callPackage ../development/compilers/neko { }; From e1db15f31fcac1f9c81a5870d0917bed6265e192 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 28 Oct 2024 03:35:08 +0000 Subject: [PATCH 68/69] python312Packages.django-otp-webauthn: 0.3.0 -> 0.4.0 --- .../python-modules/django-otp-webauthn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-otp-webauthn/default.nix b/pkgs/development/python-modules/django-otp-webauthn/default.nix index 304d6f543ae42..ba7df273d6151 100644 --- a/pkgs/development/python-modules/django-otp-webauthn/default.nix +++ b/pkgs/development/python-modules/django-otp-webauthn/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "django-otp-webauthn"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; src = fetchPypi { inherit version; pname = "django_otp_webauthn"; - hash = "sha256-+Y46/PDeXL9zayoZykaU63faQmnLHzYPmqJJeRBx+hs="; + hash = "sha256-BXwIjQjynTjFK+bNML5i35qxQ7TJeb4Xc+duS6Y+5Fk="; }; build-system = [ hatchling ]; From 79e953a9d8cc26c71e1f60621f2b772ab544ae8c Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Mon, 28 Oct 2024 12:12:29 +0100 Subject: [PATCH 69/69] gollum: update ruby dependencies to address https://github.com/NixOS/nixpkgs/issues/351833 --- pkgs/applications/misc/gollum/Gemfile.lock | 30 ++++----- pkgs/applications/misc/gollum/gemset.nix | 75 +++++++++++----------- 2 files changed, 52 insertions(+), 53 deletions(-) diff --git a/pkgs/applications/misc/gollum/Gemfile.lock b/pkgs/applications/misc/gollum/Gemfile.lock index 302c0b17727a2..90fe5379264a0 100644 --- a/pkgs/applications/misc/gollum/Gemfile.lock +++ b/pkgs/applications/misc/gollum/Gemfile.lock @@ -5,7 +5,7 @@ GEM asciidoctor (2.0.23) base64 (0.2.0) builder (3.3.0) - concurrent-ruby (1.3.3) + concurrent-ruby (1.3.4) crass (1.0.6) creole (0.5.0) expression_parser (0.9.0) @@ -43,36 +43,38 @@ GEM mime-types (~> 3.4) rugged (~> 1.5) htmlentities (4.3.4) - i18n (1.14.5) + i18n (1.14.6) concurrent-ruby (~> 1.0) - json (2.7.2) + json (2.7.4) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - loofah (2.22.0) + logger (1.6.1) + loofah (2.23.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) - mime-types (3.5.2) + mime-types (3.6.0) + logger mime-types-data (~> 3.2015) - mime-types-data (3.2024.0702) + mime-types-data (3.2024.1001) mini_portile2 (2.8.7) multi_json (1.15.0) mustache (1.1.1) mustache-sinatra (2.0.0) mustache (~> 1.0) - mustermann (3.0.0) + mustermann (3.0.3) ruby2_keywords (~> 0.0.1) nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) - octicons (19.11.0) + octicons (19.12.0) org-ruby (0.9.12) rubypants (~> 0.2) psych (5.1.2) stringio - racc (1.8.0) - rack (3.1.7) + racc (1.8.1) + rack (3.1.8) rack-protection (4.0.0) base64 (>= 0.1.0) rack (>= 3.0.0, < 4) @@ -83,10 +85,9 @@ GEM webrick (~> 1.8) rdoc (6.7.0) psych (>= 4.0.0) - rexml (3.3.2) - strscan + rexml (3.3.9) rouge (3.30.0) - rss (0.3.0) + rss (0.3.1) rexml ruby2_keywords (0.0.5) rubypants (0.7.1) @@ -109,7 +110,6 @@ GEM sprockets-helpers (1.4.0) sprockets (>= 2.2) stringio (3.1.1) - strscan (3.1.0) therubyrhino (2.1.2) therubyrhino_jar (>= 1.7.4, < 1.7.9) therubyrhino_jar (1.7.8) @@ -120,7 +120,7 @@ GEM unf_ext unf_ext (0.0.9.1) useragent (0.16.10) - webrick (1.8.1) + webrick (1.8.2) wikicloth (0.8.3) builder expression_parser diff --git a/pkgs/applications/misc/gollum/gemset.nix b/pkgs/applications/misc/gollum/gemset.nix index e9948188e149d..c45f4c3672519 100644 --- a/pkgs/applications/misc/gollum/gemset.nix +++ b/pkgs/applications/misc/gollum/gemset.nix @@ -34,10 +34,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0skwdasxq7mnlcccn6aqabl7n9r3jd7k19ryzlzzip64cn4x572g"; + sha256 = "0chwfdq2a6kbj6xz9l6zrdfnyghnh32si82la1dnpa5h75ir5anl"; type = "gem"; }; - version = "1.3.3"; + version = "1.3.4"; }; crass = { groups = ["default"]; @@ -139,20 +139,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ffix518y7976qih9k1lgnc17i3v6yrlh0a3mckpxdb4wc2vrp16"; + sha256 = "0k31wcgnvcvd14snz0pfqj976zv6drfsnq6x8acz10fiyms9l8nw"; type = "gem"; }; - version = "1.14.5"; + version = "1.14.6"; }; json = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0b4qsi8gay7ncmigr0pnbxyb17y3h8kavdyhsh7nrlqwr35vb60q"; + sha256 = "1klf2mnfilzjqwcjdi5qb1zl3ghrifz1amcnvwjvsfnx9a5jb9ly"; type = "gem"; }; - version = "2.7.2"; + version = "2.7.4"; }; kramdown = { dependencies = ["rexml"]; @@ -176,37 +176,47 @@ }; version = "1.1.0"; }; + logger = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0lwncq2rf8gm79g2rcnnyzs26ma1f4wnfjm6gs4zf2wlsdz5in9s"; + type = "gem"; + }; + version = "1.6.1"; + }; loofah = { dependencies = ["crass" "nokogiri"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1zkjqf37v2d7s11176cb35cl83wls5gm3adnfkn2zcc61h3nxmqh"; + sha256 = "0ppp2cgli5avzk0z3dwnah6y65ymyr793yja28p2fs9vrci7986h"; type = "gem"; }; - version = "2.22.0"; + version = "2.23.1"; }; mime-types = { - dependencies = ["mime-types-data"]; + dependencies = ["logger" "mime-types-data"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1r64z0m5zrn4k37wabfnv43wa6yivgdfk6cf2rpmmirlz889yaf1"; + sha256 = "0r34mc3n7sxsbm9mzyzy8m3dvq7pwbryyc8m452axkj0g2axnwbg"; type = "gem"; }; - version = "3.5.2"; + version = "3.6.0"; }; mime-types-data = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "104r7glqjal9fgvnv49wjzp4ssai9hmyn3npkari51s2ska3jnr0"; + sha256 = "06dbn0j13jwdrmlvrjd50mxqrjlkh3lvxp0afh4glyzbliqvqpsd"; type = "gem"; }; - version = "3.2024.0702"; + version = "3.2024.1001"; }; mini_portile2 = { groups = ["default"]; @@ -255,10 +265,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0rwbq20s2gdh8dljjsgj5s6wqqfmnbclhvv2c2608brv7jm6jdbd"; + sha256 = "123ycmq6pkivv29bqbv79jv2cs04xakzd0fz1lalgvfs5nxfky6i"; type = "gem"; }; - version = "3.0.0"; + version = "3.0.3"; }; nokogiri = { dependencies = ["mini_portile2" "racc"]; @@ -276,10 +286,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "07nb9i9yl3xk6dr7aacxx3dfrrslrw9cn9a55gn9rrhgckb3pymy"; + sha256 = "00ld13van1xiayr24gwpbxfb63zbw44fx25xs9cp29g6cdzi5hrp"; type = "gem"; }; - version = "19.11.0"; + version = "19.12.0"; }; org-ruby = { dependencies = ["rubypants"]; @@ -308,20 +318,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "021s7maw0c4d9a6s07vbmllrzqsj2sgmrwimlh8ffkvwqdjrld09"; + sha256 = "0byn0c9nkahsl93y9ln5bysq4j31q8xkf2ws42swighxd4lnjzsa"; type = "gem"; }; - version = "1.8.0"; + version = "1.8.1"; }; rack = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12z55b90vvr4sh93az2yfr3fg91jivsag8lcg0k360d99vdq568f"; + sha256 = "1cd13019gnnh2c0a3kj27ij5ibk72v0bmpypqv4l6ayw8g5cpyyk"; type = "gem"; }; - version = "3.1.7"; + version = "3.1.8"; }; rack-protection = { dependencies = ["base64" "rack"]; @@ -378,15 +388,14 @@ version = "4.3.4"; }; rexml = { - dependencies = ["strscan"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0zr5qpa8lampaqzhdcjcvyqnrqcjl7439mqjlkjz43wdhmpnh4s5"; + sha256 = "1j9p66pmfgxnzp76ksssyfyqqrg7281dyi3xyknl3wwraaw7a66p"; type = "gem"; }; - version = "3.3.2"; + version = "3.3.9"; }; rouge = { groups = ["default"]; @@ -404,10 +413,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1wv27axi39hhr0nmaffdl5bdjqiafcvp9xhfgnsgfczsblja50sn"; + sha256 = "0dv74a07j3ih5ykyszs1k2cjvgs5c1pzrvcb1wc2bfai8p038qml"; type = "gem"; }; - version = "0.3.0"; + version = "0.3.1"; }; ruby2_keywords = { groups = ["default"]; @@ -493,16 +502,6 @@ }; version = "3.1.1"; }; - strscan = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0mamrl7pxacbc79ny5hzmakc9grbjysm3yy6119ppgsg44fsif01"; - type = "gem"; - }; - version = "3.1.0"; - }; therubyrhino = { dependencies = ["therubyrhino_jar"]; groups = ["default"]; @@ -581,10 +580,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "13qm7s0gr2pmfcl7dxrmq38asaza4w0i2n9my4yzs499j731wh8r"; + sha256 = "089gy5494j560b242vi173wnbj2913hwlwnjkpzld58r96ilc5s3"; type = "gem"; }; - version = "1.8.1"; + version = "1.8.2"; }; wikicloth = { dependencies = ["builder" "expression_parser" "htmlentities" "nokogiri" "twitter-text"];