From 6999242e0a36abd18ffed2d866a45fe7d6903f62 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 22 May 2024 13:36:17 +0200 Subject: [PATCH 01/56] castxml: fix build on darwin (cherry picked from commit 94490fd53141d1be123d2ca0dfe1fdac0487a2da) --- pkgs/by-name/ca/castxml/package.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ca/castxml/package.nix b/pkgs/by-name/ca/castxml/package.nix index 2b0a255bbdc8..684d868be686 100644 --- a/pkgs/by-name/ca/castxml/package.nix +++ b/pkgs/by-name/ca/castxml/package.nix @@ -37,13 +37,10 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ - libclang libffi libxml2 zlib - ]; - - propagatedBuildInputs = [ + ] ++ lib.optionals (!stdenv.isDarwin) [ libclang ]; @@ -51,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeOptionType "path" "CLANG_RESOURCE_DIR" "${lib.getDev libclang}") (lib.cmakeBool "SPHINX_HTML" withHTML) (lib.cmakeBool "SPHINX_MAN" withManual) + ] ++ lib.optionals stdenv.isDarwin [ + (lib.cmakeOptionType "path" "Clang_DIR" "${lib.getDev libclang}/lib/cmake/clang") ]; # 97% tests passed, 97 tests failed out of 2881 From d4b0f039041ff39bb591d92925db61d5064e0f2c Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 20 May 2024 12:10:14 +0200 Subject: [PATCH 02/56] nixos/tests/stalwart-mail: Add test for server version >= 0.7 (cherry picked from commit 4c626c52b7e07d1827d4a84228d372359791bc22) --- nixos/tests/stalwart-mail.nix | 227 +++++++++++++++++++--------------- 1 file changed, 126 insertions(+), 101 deletions(-) diff --git a/nixos/tests/stalwart-mail.nix b/nixos/tests/stalwart-mail.nix index 581090cd70f4..4075b32e2c1f 100644 --- a/nixos/tests/stalwart-mail.nix +++ b/nixos/tests/stalwart-mail.nix @@ -1,122 +1,147 @@ # Rudimentary test checking that the Stalwart email server can: # - receive some message through SMTP submission, then # - serve this message through IMAP. +{ + system ? builtins.currentSystem, + config ? { }, + pkgs ? import ../../.. { inherit system config; }, + lib ? pkgs.lib, +}: let certs = import ./common/acme/server/snakeoil-certs.nix; domain = certs.domain; + makeTest = import ./make-test-python.nix; + mkTestName = + pkg: "${pkg.pname}_${pkg.version}"; + stalwartPackages = { + inherit (pkgs) stalwart-mail_0_6 stalwart-mail; + }; + stalwartAtLeast = lib.versionAtLeast; + makeStalwartTest = + { + package, + name ? mkTestName package, + }: + makeTest { + inherit name; + meta.maintainers = with lib.maintainers; [ + happysalada pacien onny + ]; -in import ./make-test-python.nix ({ lib, ... }: { - name = "stalwart-mail"; + nodes.machine = { lib, ... }: { - nodes.main = { pkgs, ... }: { - security.pki.certificateFiles = [ certs.ca.cert ]; + security.pki.certificateFiles = [ certs.ca.cert ]; - services.stalwart-mail = { - enable = true; - settings = { - server.hostname = domain; - - certificate."snakeoil" = { - cert = "file://${certs.${domain}.cert}"; - private-key = "file://${certs.${domain}.key}"; - }; - - server.tls = { - certificate = "snakeoil"; + services.stalwart-mail = { enable = true; - implicit = false; - }; + inherit package; + settings = { + server.hostname = domain; - server.listener = { - "smtp-submission" = { - bind = [ "[::]:587" ]; - protocol = "smtp"; - }; + # TODO: Remove backwards compatibility as soon as we drop legacy version 0.6.0 + certificate."snakeoil" = let + certPath = if stalwartAtLeast package.version "0.7.0" then "%{file://${certs.${domain}.cert}}%" else "file://${certs.${domain}.cert}"; + keyPath = if stalwartAtLeast package.version "0.7.0" then "%{file:${certs.${domain}.key}}%" else "file://${certs.${domain}.key}"; + in { + cert = certPath; + private-key = keyPath; + }; - "imap" = { - bind = [ "[::]:143" ]; - protocol = "imap"; + server.tls = { + certificate = "snakeoil"; + enable = true; + implicit = false; + }; + + server.listener = { + "smtp-submission" = { + bind = [ "[::]:587" ]; + protocol = "smtp"; + }; + + "imap" = { + bind = [ "[::]:143" ]; + protocol = "imap"; + }; + }; + + session.auth.mechanisms = "[plain]"; + session.auth.directory = "'in-memory'"; + storage.directory = "in-memory"; + + session.rcpt.directory = "'in-memory'"; + queue.outbound.next-hop = "'local'"; + + directory."in-memory" = { + type = "memory"; + # TODO: Remove backwards compatibility as soon as we drop legacy version 0.6.0 + principals = let + condition = if stalwartAtLeast package.version "0.7.0" then "class" else "type"; + in builtins.map (p: p // { ${condition} = "individual"; }) [ + { + name = "alice"; + secret = "foobar"; + email = [ "alice@${domain}" ]; + } + { + name = "bob"; + secret = "foobar"; + email = [ "bob@${domain}" ]; + } + ]; + }; }; }; - resolver.public-suffix = [ ]; # do not fetch from web in sandbox + environment.systemPackages = [ + (pkgs.writers.writePython3Bin "test-smtp-submission" { } '' + from smtplib import SMTP - session.auth.mechanisms = "[plain]"; - session.auth.directory = "'in-memory'"; - storage.directory = "in-memory"; + with SMTP('localhost', 587) as smtp: + smtp.starttls() + smtp.login('alice', 'foobar') + smtp.sendmail( + 'alice@${domain}', + 'bob@${domain}', + """ + From: alice@${domain} + To: bob@${domain} + Subject: Some test message - session.rcpt.directory = "'in-memory'"; - queue.outbound.next-hop = "'local'"; + This is a test message. + """.strip() + ) + '') + + (pkgs.writers.writePython3Bin "test-imap-read" { } '' + from imaplib import IMAP4 + + with IMAP4('localhost') as imap: + imap.starttls() + status, [caps] = imap.login('bob', 'foobar') + assert status == 'OK' + imap.select() + status, [ref] = imap.search(None, 'ALL') + assert status == 'OK' + [msgId] = ref.split() + status, msg = imap.fetch(msgId, 'BODY[TEXT]') + assert status == 'OK' + assert msg[0][1].strip() == b'This is a test message.' + '') + ]; - directory."in-memory" = { - type = "memory"; - principals = [ - { - type = "individual"; - name = "alice"; - secret = "foobar"; - email = [ "alice@${domain}" ]; - } - { - type = "individual"; - name = "bob"; - secret = "foobar"; - email = [ "bob@${domain}" ]; - } - ]; - }; }; + + testScript = '' + start_all() + machine.wait_for_unit("stalwart-mail.service") + machine.wait_for_open_port(587) + machine.wait_for_open_port(143) + + machine.succeed("test-smtp-submission") + machine.succeed("test-imap-read") + ''; }; - - environment.systemPackages = [ - (pkgs.writers.writePython3Bin "test-smtp-submission" { } '' - from smtplib import SMTP - - with SMTP('localhost', 587) as smtp: - smtp.starttls() - smtp.login('alice', 'foobar') - smtp.sendmail( - 'alice@${domain}', - 'bob@${domain}', - """ - From: alice@${domain} - To: bob@${domain} - Subject: Some test message - - This is a test message. - """.strip() - ) - '') - - (pkgs.writers.writePython3Bin "test-imap-read" { } '' - from imaplib import IMAP4 - - with IMAP4('localhost') as imap: - imap.starttls() - status, [caps] = imap.login('bob', 'foobar') - assert status == 'OK' - imap.select() - status, [ref] = imap.search(None, 'ALL') - assert status == 'OK' - [msgId] = ref.split() - status, msg = imap.fetch(msgId, 'BODY[TEXT]') - assert status == 'OK' - assert msg[0][1].strip() == b'This is a test message.' - '') - ]; - }; - - testScript = /* python */ '' - main.wait_for_unit("stalwart-mail.service") - main.wait_for_open_port(587) - main.wait_for_open_port(143) - - main.succeed("test-smtp-submission") - main.succeed("test-imap-read") - ''; - - meta = { - maintainers = with lib.maintainers; [ happysalada pacien ]; - }; -}) +in +lib.mapAttrs (_: package: makeStalwartTest { inherit package; }) stalwartPackages From 61f5ee69f56df0026df3f8489b36111879b50787 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 21 May 2024 21:06:46 +0200 Subject: [PATCH 03/56] nixos/stalwart-mail: use publicsuffix-list package Co-authored-by: shawn8901 (cherry picked from commit 2c4128ea01c48cdd3e0adce10aaffd7c44495ea7) --- nixos/modules/services/mail/stalwart-mail.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/stalwart-mail.nix b/nixos/modules/services/mail/stalwart-mail.nix index c69a2ca400ba..06b48c86907c 100644 --- a/nixos/modules/services/mail/stalwart-mail.nix +++ b/nixos/modules/services/mail/stalwart-mail.nix @@ -70,7 +70,9 @@ in { storage.lookup = mkDefault "db"; storage.blob = mkDefault "blob"; resolver.type = mkDefault "system"; - resolver.public-suffix = mkDefault ["https://publicsuffix.org/list/public_suffix_list.dat"]; + resolver.public-suffix = lib.mkDefault [ + "file://${pkgs.publicsuffix-list}/share/publicsuffix/public_suffix_list.dat" + ]; }; systemd.services.stalwart-mail = { From dffe95877588395649bd19db35001e0549a9b650 Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Fri, 17 May 2024 20:17:17 +0200 Subject: [PATCH 04/56] nitrokey-app2: 2.2.2 -> 2.3.0, unpin pynitrokey https://github.com/Nitrokey/nitrokey-app2/releases/tag/v2.3.0 (cherry picked from commit 4488f0a15ce3ebf18f2c4015a97372faa38410fc) --- pkgs/tools/security/nitrokey-app2/default.nix | 34 ++++--------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/pkgs/tools/security/nitrokey-app2/default.nix b/pkgs/tools/security/nitrokey-app2/default.nix index 8e97ce02af4c..5477a603d4af 100644 --- a/pkgs/tools/security/nitrokey-app2/default.nix +++ b/pkgs/tools/security/nitrokey-app2/default.nix @@ -1,49 +1,27 @@ { lib , stdenv , python3 -, fetchPypi , fetchFromGitHub , wrapQtAppsHook , qtbase , qtwayland }: -let - python = python3.override { - packageOverrides = self: super: { - pynitrokey = super.pynitrokey.overridePythonAttrs (old: rec { - version = "0.4.45"; - src = fetchPypi { - inherit (old) pname; - inherit version; - hash = "sha256-iY4ThrmXP7pEjTYYU4lePVAbuJGTdHX3iKswXzuf7W8="; - }; - }); - }; - }; -in python.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "nitrokey-app2"; - version = "2.2.2"; + version = "2.3.0"; pyproject = true; - disabled = python.pythonOlder "3.9"; + disabled = python3.pythonOlder "3.9"; src = fetchFromGitHub { owner = "Nitrokey"; repo = "nitrokey-app2"; rev = "v${version}"; - hash = "sha256-MiyfmsrKZRoe7YMEjR1LHPesfJh6+dcSydoEAgrALJ8="; + hash = "sha256-BSq3ezNt6btQUO1hMVw9bN3VCyUOUhfRFJcHDGkIm6Q="; }; - # https://github.com/Nitrokey/nitrokey-app2/issues/152 - # - # pythonRelaxDepsHook does not work here, because it runs in postBuild and - # only modifies the dependencies in the built distribution. - postPatch = '' - substituteInPlace pyproject.toml --replace 'pynitrokey = "' 'pynitrokey = ">=' - ''; - - nativeBuildInputs = with python.pkgs; [ + nativeBuildInputs = with python3.pkgs; [ poetry-core wrapQtAppsHook ]; @@ -52,7 +30,7 @@ in python.pkgs.buildPythonApplication rec { qtwayland ]; - propagatedBuildInputs = with python.pkgs; [ + propagatedBuildInputs = with python3.pkgs; [ pynitrokey pyudev pyside6 From af49c243b2cafbefc055edbb73e91d029a65eb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 23 May 2024 13:09:39 +0200 Subject: [PATCH 05/56] python311Packages.python-ironicclient: fix dependencies after #310075 (cherry picked from commit fd374e94e971ed243840c4425fd715e67eb8561c) --- .../python-modules/python-ironicclient/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/python-ironicclient/default.nix b/pkgs/development/python-modules/python-ironicclient/default.nix index 703be62e3051..5fc6e9365ad7 100644 --- a/pkgs/development/python-modules/python-ironicclient/default.nix +++ b/pkgs/development/python-modules/python-ironicclient/default.nix @@ -2,8 +2,6 @@ lib, buildPythonPackage, fetchPypi, - pbr, - appdirs, cliff, dogpile-cache, jsonschema, @@ -11,12 +9,14 @@ openstacksdk, osc-lib, oslo-utils, + oslotest, + pbr, + platformdirs, pyyaml, requests, - stevedore, - stestr, requests-mock, - oslotest, + stestr, + stevedore, }: buildPythonPackage rec { @@ -30,8 +30,6 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ - pbr - appdirs cliff dogpile-cache jsonschema @@ -39,6 +37,8 @@ buildPythonPackage rec { openstacksdk osc-lib oslo-utils + pbr + platformdirs pyyaml requests stevedore From 2f5f46ea97c3bae1b9cc84554bb109d234f9e164 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 21 May 2024 13:18:44 +0900 Subject: [PATCH 06/56] python311Packages.amazon-kclpy: 2.1.3 -> 2.1.4 Diff: https://github.com/awslabs/amazon-kinesis-client-python/compare/refs/tags/v2.1.3...v2.1.4 (cherry picked from commit b5b9716c08de14d667057ea61b094f14f89239ae) --- .../python-modules/amazon-kclpy/default.nix | 43 ++++++++++--------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/amazon-kclpy/default.nix b/pkgs/development/python-modules/amazon-kclpy/default.nix index 4a95e7860311..194533084a0d 100644 --- a/pkgs/development/python-modules/amazon-kclpy/default.nix +++ b/pkgs/development/python-modules/amazon-kclpy/default.nix @@ -2,45 +2,48 @@ lib, buildPythonPackage, fetchFromGitHub, - python, + fetchpatch, + setuptools, mock, - boto, - pytest, + boto3, + pytestCheckHook, }: buildPythonPackage rec { pname = "amazon-kclpy"; - version = "2.1.3"; - format = "setuptools"; + version = "2.1.4"; + pyproject = true; src = fetchFromGitHub { owner = "awslabs"; repo = "amazon-kinesis-client-python"; rev = "refs/tags/v${version}"; - hash = "sha256-3BhccRJd6quElXZSix1aVIqWr9wdcTTziDhnIOLiPPo="; + hash = "sha256-TWIGu7WuoaPhk8cz+hMXvGLIPQ5kly8aj20ZtvTZzwg="; }; - # argparse is just required for python2.6 - prePatch = '' - substituteInPlace setup.py \ - --replace "'argparse'," "" - ''; - - propagatedBuildInputs = [ - mock - boto + patches = [ + (fetchpatch { + name = "remove-deprecated-boto.patch"; + url = "https://github.com/awslabs/amazon-kinesis-client-python/commit/bd2c442cdd1b0e2c99d3471c1d3ffcc9161a7c42.patch"; + hash = "sha256-5W0qItDGjx1F6IllzLH57XCpToKrAu9mTbzv/1wMXuY="; + }) ]; - nativeCheckInputs = [ pytest ]; + build-system = [ setuptools ]; - checkPhase = '' - ${python.interpreter} -m pytest - ''; + dependencies = [ + mock + boto3 + ]; + + pythonImportsCheck = [ "amazon_kclpy" ]; + + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Amazon Kinesis Client Library for Python"; homepage = "https://github.com/awslabs/amazon-kinesis-client-python"; - license = licenses.amazonsl; + license = licenses.asl20; maintainers = with maintainers; [ psyanticy ]; }; } From 40d5481096d3b8d7ad2c315bf665b4cb352f8117 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 21 May 2024 13:54:27 +0900 Subject: [PATCH 07/56] python311Packages.amazon-kclpy: mark as broken amazon-kclpy requires download of jar files at build time, but we don't know how to handle that (cherry picked from commit 3260679a3e3ca3faebe21e1c515913d657c3c402) --- pkgs/development/python-modules/amazon-kclpy/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/amazon-kclpy/default.nix b/pkgs/development/python-modules/amazon-kclpy/default.nix index 194533084a0d..3186ade26999 100644 --- a/pkgs/development/python-modules/amazon-kclpy/default.nix +++ b/pkgs/development/python-modules/amazon-kclpy/default.nix @@ -45,5 +45,6 @@ buildPythonPackage rec { homepage = "https://github.com/awslabs/amazon-kinesis-client-python"; license = licenses.asl20; maintainers = with maintainers; [ psyanticy ]; + broken = true; }; } From 2c3541003ca8b771c7c397ae9c9c80b0311b1d04 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 23 May 2024 17:26:57 +0000 Subject: [PATCH 08/56] govulncheck: 1.1.0 -> 1.1.1 (cherry picked from commit 7ebf5ff345cbc90245b23336378cb9e98047e17b) --- pkgs/tools/security/govulncheck/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/govulncheck/default.nix b/pkgs/tools/security/govulncheck/default.nix index 166e6dd53963..1151ee52bd5b 100644 --- a/pkgs/tools/security/govulncheck/default.nix +++ b/pkgs/tools/security/govulncheck/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "govulncheck"; - version = "1.1.0"; + version = "1.1.1"; src = fetchFromGitHub { owner = "golang"; repo = "vuln"; rev = "refs/tags/v${version}"; - hash = "sha256-sS58HyrwyRv3zYi8OgiDYnKSbyu2i3KVoSX/0wQbqGw="; + hash = "sha256-aDt4TCbs5yBeJu/Fr95uI3BvPBaclnQMuJYPUXT7S+I="; }; patches = [ @@ -23,7 +23,7 @@ buildGoModule rec { }) ]; - vendorHash = "sha256-ZHf//khvBGG+gRBKoKZo4NKoIJCQsbQfe2uT7cAHDcM="; + vendorHash = "sha256-YsZ9CchThybwgUjBg6hDQZ0bEEO18lidbGf9CIfzICc="; subPackages = [ "cmd/govulncheck" From a98830b04ca4bd71d3d7ddea709d3bed080ec9a6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 23 May 2024 06:07:37 +0000 Subject: [PATCH 09/56] swego: 1.0 -> 1.1 (cherry picked from commit a7094f7697b1fcf7b345fa027fc1d2ae98da9368) --- pkgs/servers/swego/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/swego/default.nix b/pkgs/servers/swego/default.nix index eb4bcccbbf9d..4e42ea33f97b 100644 --- a/pkgs/servers/swego/default.nix +++ b/pkgs/servers/swego/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "swego"; - version = "1.0"; + version = "1.1"; src = fetchFromGitHub { owner = "nodauf"; repo = "Swego"; rev = "v${version}"; - sha256 = "sha256-OlaNDXKaIim5n0niqYIpRliVo7lse76vNxPKF6B6yF0="; + sha256 = "sha256-O/wczHyaMev0CpAXoDxiN7TtHDsthG+jaH31SPMEB34="; }; - vendorHash = "sha256-N4HDngQFNCzQ74W52R0khetN6+J7npvBC/bYZBAgLB4="; + vendorHash = "sha256-mJWJdwbZq042//hM3WWp2rnLC1GebckUnsIopbF858Q="; postInstall = '' mv $out/bin/src $out/bin/$pname From eb1099029788a617bcb9dbf24fdfe92309c3bfc3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 12:01:31 +0200 Subject: [PATCH 10/56] swego: refactor (cherry picked from commit dc0118692a7c47c24cb920f0c121bf8cf317775e) --- pkgs/servers/swego/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/swego/default.nix b/pkgs/servers/swego/default.nix index 4e42ea33f97b..e2bf1056b030 100644 --- a/pkgs/servers/swego/default.nix +++ b/pkgs/servers/swego/default.nix @@ -1,7 +1,7 @@ -{ buildGoModule -, fetchFromGitHub -, lib +{ lib , stdenv +, buildGoModule +, fetchFromGitHub }: buildGoModule rec { @@ -11,8 +11,8 @@ buildGoModule rec { src = fetchFromGitHub { owner = "nodauf"; repo = "Swego"; - rev = "v${version}"; - sha256 = "sha256-O/wczHyaMev0CpAXoDxiN7TtHDsthG+jaH31SPMEB34="; + rev = "refs/tags/v${version}"; + hash = "sha256-O/wczHyaMev0CpAXoDxiN7TtHDsthG+jaH31SPMEB34="; }; vendorHash = "sha256-mJWJdwbZq042//hM3WWp2rnLC1GebckUnsIopbF858Q="; @@ -21,8 +21,13 @@ buildGoModule rec { mv $out/bin/src $out/bin/$pname ''; + ldflags = [ + "-w" + "-s" + ]; + meta = with lib; { - description = "Simple Webserver in Golang"; + description = "Simple Webserver"; longDescription = '' Swiss army knife Webserver in Golang. Similar to the Python SimpleHTTPServer but with many features. From c094663047e2f908ac912f5b9c3eac864895e446 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 12:01:46 +0200 Subject: [PATCH 11/56] swego: format with nixfmt (cherry picked from commit 51c39ac7acc44d4130041bad773c0e618400109a) --- pkgs/servers/swego/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/swego/default.nix b/pkgs/servers/swego/default.nix index e2bf1056b030..b8362d2d8675 100644 --- a/pkgs/servers/swego/default.nix +++ b/pkgs/servers/swego/default.nix @@ -1,7 +1,8 @@ -{ lib -, stdenv -, buildGoModule -, fetchFromGitHub +{ + lib, + stdenv, + buildGoModule, + fetchFromGitHub, }: buildGoModule rec { From 6cb0be5b1ee17bb9f0645da7075b914265dfd4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 28 Apr 2024 18:18:18 +0200 Subject: [PATCH 12/56] nixos/bitwarden-directory-connector-cli: add wants network-online.target This fixes the following warning: trace: warning: bitwarden-directory-connector-cli.timer is ordered after 'network-online.target' but doesn't depend on it (cherry picked from commit e4de1c0b19fd9a968b306a5bab27f2245773e57e) --- .../services/security/bitwarden-directory-connector-cli.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/security/bitwarden-directory-connector-cli.nix b/nixos/modules/services/security/bitwarden-directory-connector-cli.nix index d21322caf4c3..fef4a8864897 100644 --- a/nixos/modules/services/security/bitwarden-directory-connector-cli.nix +++ b/nixos/modules/services/security/bitwarden-directory-connector-cli.nix @@ -260,6 +260,7 @@ in { description = "Sync timer for Bitwarden Directory Connector"; wantedBy = ["timers.target"]; after = ["network-online.target"]; + wants = ["network-online.target"]; timerConfig = { OnCalendar = cfg.interval; Unit = "bitwarden-directory-connector-cli.service"; From 5936c60b2df6edf962ea4befa7ae0981cc9a3640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A9=20Dupuis?= Date: Thu, 16 May 2024 16:44:30 -0700 Subject: [PATCH 13/56] rexml: 3.2.6 -> 3.2.8 (cherry picked from commit 0062a1d3305118b17c3854e92db78b464313b799) --- 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 0528d45bef84..18819de3029c 100644 --- a/pkgs/top-level/ruby-packages.nix +++ b/pkgs/top-level/ruby-packages.nix @@ -3127,10 +3127,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; + sha256 = "sha256-CQioY4HZ+XOCRoDfTgp1QidmJy8DscDknbfnnCPbETU="; type = "gem"; }; - version = "3.2.6"; + version = "3.2.8"; }; rmagick = { dependencies = ["observer" "pkg-config"]; From cc8b4c4f2807f351ad14da230caecd6123641543 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 11:53:38 +0200 Subject: [PATCH 14/56] python312Packages.aiosasl: fix broken tests on Python 3.12 https://github.com/horazont/aiosasl/issues/28 (cherry picked from commit f1dfd96632a5e7d83abd8eee3771159f7c1b0a43) --- pkgs/development/python-modules/aiosasl/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/aiosasl/default.nix b/pkgs/development/python-modules/aiosasl/default.nix index 81f96c4d1b1b..fe977cc1bbec 100644 --- a/pkgs/development/python-modules/aiosasl/default.nix +++ b/pkgs/development/python-modules/aiosasl/default.nix @@ -5,13 +5,16 @@ fetchpatch, pyopenssl, pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "aiosasl"; version = "0.5.0"; + pyproject = true; - format = "setuptools"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "horazont"; @@ -28,6 +31,14 @@ buildPythonPackage rec { }) ]; + postPatch = '' + # https://github.com/horazont/aiosasl/issues/28 + substituteInPlace tests/test_aiosasl.py \ + --replace-fail "assertRaisesRegexp" "assertRaisesRegex" + ''; + + build-system = [ setuptools ]; + nativeCheckInputs = [ pyopenssl pytestCheckHook From b0b8c61ee8ebeb4384af1eee43e06f55ced667b8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 12:13:05 +0200 Subject: [PATCH 15/56] python311Packages.aioxmpp: refactor (cherry picked from commit c4bfea54cad62dcb50741caa609dd06d0d584802) --- .../python-modules/aioxmpp/default.nix | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/aioxmpp/default.nix b/pkgs/development/python-modules/aioxmpp/default.nix index 1608a234e721..bb101d56d918 100644 --- a/pkgs/development/python-modules/aioxmpp/default.nix +++ b/pkgs/development/python-modules/aioxmpp/default.nix @@ -1,27 +1,31 @@ { lib, - buildPythonPackage, - fetchFromGitHub, - aiosasl, aioopenssl, + aiosasl, babel, + buildPythonPackage, dnspython, + fetchFromGitHub, lxml, multidict, - pyasn1, pyasn1-modules, + pyasn1, pyopenssl, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, pytz, + setuptools, sortedcollections, tzlocal, - pytestCheckHook, }: buildPythonPackage rec { pname = "aioxmpp"; version = "0.13.3"; + pyproject = true; - format = "setuptools"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "horazont"; @@ -30,7 +34,15 @@ buildPythonPackage rec { hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo="; }; - propagatedBuildInputs = [ + pythonRelaxDeps = [ + "lxml" + ]; + + build-system = [ setuptools ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + dependencies = [ aiosasl aioopenssl babel @@ -63,9 +75,9 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst"; description = "Pure-python XMPP library for asyncio"; homepage = "https://github.com/horazont/aioxmpp"; + changelog = "https://github.com/horazont/aioxmpp/blob/${src.rev}/docs/api/changelog.rst"; license = lib.licenses.lgpl3Plus; maintainers = with lib.maintainers; [ dotlambda ]; }; From 72e74d62f7f8b98b198e57774ca2fa3d67896c9c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 12:19:34 +0200 Subject: [PATCH 16/56] python312Packages.aioxmpp: disable failing tests on Python 3.12 Upstream is archived (cherry picked from commit 79cba4fa1985e287bf63eca4a8d9632d159d29af) --- pkgs/development/python-modules/aioxmpp/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/aioxmpp/default.nix b/pkgs/development/python-modules/aioxmpp/default.nix index bb101d56d918..9e770ae06522 100644 --- a/pkgs/development/python-modules/aioxmpp/default.nix +++ b/pkgs/development/python-modules/aioxmpp/default.nix @@ -12,6 +12,7 @@ pyasn1, pyopenssl, pytestCheckHook, + pythonAtLeast, pythonOlder, pythonRelaxDepsHook, pytz, @@ -72,6 +73,17 @@ buildPythonPackage rec { disabledTests = [ # AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize' "test_convert_field_datetime_default_locale" + ] ++ lib.optionals (pythonAtLeast "3.12") [ + # asyncio issues + "test_is_abstract" + "Testbackground" + "TestCapturingXSO" + "Testcheck_x509" + "TestClient" + "TestIntegerType" + "TestStanzaStream" + "TestStanzaToken" + "TestXMLStream" ]; meta = { From a63e3cdac2cc127a78b16645cd710ce7d2d63365 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 09:55:19 +0200 Subject: [PATCH 17/56] python312Packages.aioquic: 0.9.25 -> 1.0.0 (cherry picked from commit 1349027dbc4f7fe5752b7c5172b0df77c92aa672) --- .../python-modules/aioquic/default.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/aioquic/default.nix b/pkgs/development/python-modules/aioquic/default.nix index 4b909ecb4aca..f3191a7f8ddf 100644 --- a/pkgs/development/python-modules/aioquic/default.nix +++ b/pkgs/development/python-modules/aioquic/default.nix @@ -4,7 +4,6 @@ certifi, cryptography, fetchPypi, - fetchpatch, openssl, pylsqpack, pyopenssl, @@ -16,26 +15,19 @@ buildPythonPackage rec { pname = "aioquic"; - version = "0.9.25"; + version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-cHlceJBTJthVwq5SQHIjSq5YbHibgSkuJy0CHpsEMKM="; + hash = "sha256-7THCta+pjFtsr6TzYUnerx3/bFppcB6t0nFnQV+fFmA="; }; - patches = [ - (fetchpatch { - url = "https://github.com/aiortc/aioquic/commit/e899593805e0b31325a1d347504eb8e6100fe87d.diff"; - hash = "sha256-TTpIIWX/R4k2KxhsN17O9cRW/dN0AARYnju8JTht3D8="; - }) - ]; + build-system = [ setuptools ]; - nativeBuildInputs = [ setuptools ]; - - propagatedBuildInputs = [ + dependencies = [ certifi cryptography pylsqpack From cd679902b2cce53e1ae973e6d472d3b5320cd2a9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 10:32:11 +0200 Subject: [PATCH 18/56] dyndnsc: refactor (cherry picked from commit ed907ddac82fceb5701ee82eb36835de44dddfa8) --- .../networking/dyndns/dyndnsc/default.nix | 57 +++++++++++++------ 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/pkgs/applications/networking/dyndns/dyndnsc/default.nix b/pkgs/applications/networking/dyndns/dyndnsc/default.nix index 6a9a57d67c3b..1e4e3fde1e39 100644 --- a/pkgs/applications/networking/dyndns/dyndnsc/default.nix +++ b/pkgs/applications/networking/dyndns/dyndnsc/default.nix @@ -1,33 +1,57 @@ -{ lib, python3Packages, fetchPypi, stdenv }: +{ lib +, stdenv +, python3Packages +, fetchPypi +}: python3Packages.buildPythonApplication rec { pname = "dyndnsc"; version = "0.6.1"; + pyproject = true; src = fetchPypi { inherit pname version; - sha256 = "13078d29eea2f9a4ca01f05676c3309ead5e341dab047e0d51c46f23d4b7fbb4"; + hash = "sha256-EweNKe6i+aTKAfBWdsMwnq1eNB2rBH4NUcRvI9S3+7Q="; }; postPatch = '' - substituteInPlace setup.py --replace "bottle==" "bottle>=" + substituteInPlace setup.py \ + --replace-fail '"pytest-runner"' "" ''; - nativeBuildInputs = with python3Packages; [ pytest-runner ]; - propagatedBuildInputs = with python3Packages; [ - daemonocle - dnspython - netifaces - requests - json-logging + pythonRelaxDeps = [ + "bottle" + ]; + + build-system = with python3Packages; [ setuptools ]; - nativeCheckInputs = with python3Packages; [ bottle mock pytest-console-scripts pytestCheckHook ]; + + nativeBuildInputs = with python3Packages; [ + pythonRelaxDepsHook + ]; + + dependencies = with python3Packages; [ + daemonocle + dnspython + json-logging + netifaces + requests + setuptools + ]; + + nativeCheckInputs = with python3Packages; [ + bottle + pytest-console-scripts + pytestCheckHook + ]; disabledTests = [ # dnswanip connects to an external server to discover the # machine's IP address. "dnswanip" + # AssertionError + "test_null_dummy" ] ++ lib.optionals stdenv.isDarwin [ # The tests that spawn a server using Bottle cannot be run on # macOS or Windows as the default multiprocessing start method @@ -42,20 +66,21 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Dynamic DNS update client with support for multiple protocols"; - mainProgram = "dyndnsc"; longDescription = '' Dyndnsc is a command line client for sending updates to Dynamic - DNS (DDNS, DynDNS) services. It supports multiple protocols and - services, and it has native support for IPv6. The configuration - file allows using foreign, but compatible services. Dyndnsc + DNS (DDNS, DynDNS) services. It supports multiple protocols and + services, and it has native support for IPv6. The configuration + file allows using foreign, but compatible services. Dyndnsc ships many different IP detection mechanisms, support for configuring multiple services in one place and it has a daemon - mode for running unattended. It has a plugin system to provide + mode for running unattended. It has a plugin system to provide external notification services. ''; homepage = "https://github.com/infothrill/python-dyndnsc"; + changelog = "https://github.com/infothrill/python-dyndnsc/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ AluisioASG ]; + mainProgram = "dyndnsc"; platforms = platforms.unix; }; } From 1258ede1992364482f0e845f539ac4bde452e877 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 10:32:35 +0200 Subject: [PATCH 19/56] dyndnsc: format with nixfmt (cherry picked from commit a3b69628898f5389f57142b4343ed8e602029c8b) --- .../networking/dyndns/dyndnsc/default.nix | 53 +++++++++---------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/pkgs/applications/networking/dyndns/dyndnsc/default.nix b/pkgs/applications/networking/dyndns/dyndnsc/default.nix index 1e4e3fde1e39..930fc3460319 100644 --- a/pkgs/applications/networking/dyndns/dyndnsc/default.nix +++ b/pkgs/applications/networking/dyndns/dyndnsc/default.nix @@ -1,7 +1,8 @@ -{ lib -, stdenv -, python3Packages -, fetchPypi +{ + lib, + stdenv, + python3Packages, + fetchPypi, }: python3Packages.buildPythonApplication rec { @@ -19,17 +20,11 @@ python3Packages.buildPythonApplication rec { --replace-fail '"pytest-runner"' "" ''; - pythonRelaxDeps = [ - "bottle" - ]; + pythonRelaxDeps = [ "bottle" ]; - build-system = with python3Packages; [ - setuptools - ]; + build-system = with python3Packages; [ setuptools ]; - nativeBuildInputs = with python3Packages; [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = with python3Packages; [ pythonRelaxDepsHook ]; dependencies = with python3Packages; [ daemonocle @@ -46,21 +41,23 @@ python3Packages.buildPythonApplication rec { pytestCheckHook ]; - disabledTests = [ - # dnswanip connects to an external server to discover the - # machine's IP address. - "dnswanip" - # AssertionError - "test_null_dummy" - ] ++ lib.optionals stdenv.isDarwin [ - # The tests that spawn a server using Bottle cannot be run on - # macOS or Windows as the default multiprocessing start method - # on those platforms is 'spawn', which requires the code to be - # run to be picklable, which this code isn't. - # Additionaly, other start methods are unsafe and prone to failure - # on macOS; see https://bugs.python.org/issue33725. - "BottleServer" - ]; + disabledTests = + [ + # dnswanip connects to an external server to discover the + # machine's IP address. + "dnswanip" + # AssertionError + "test_null_dummy" + ] + ++ lib.optionals stdenv.isDarwin [ + # The tests that spawn a server using Bottle cannot be run on + # macOS or Windows as the default multiprocessing start method + # on those platforms is 'spawn', which requires the code to be + # run to be picklable, which this code isn't. + # Additionaly, other start methods are unsafe and prone to failure + # on macOS; see https://bugs.python.org/issue33725. + "BottleServer" + ]; # Allow tests that bind or connect to localhost on macOS. __darwinAllowLocalNetworking = true; From 90791b1d9b0189106d6563c10e6bc79dcf905d4f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 10:45:09 +0200 Subject: [PATCH 20/56] python312Packages.aiocache: disable performance tests (cherry picked from commit 310727880651a6f954400c58d808871ee60103cc) --- pkgs/development/python-modules/aiocache/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiocache/default.nix b/pkgs/development/python-modules/aiocache/default.nix index 17e60970e4fa..54a2bfb88ef7 100644 --- a/pkgs/development/python-modules/aiocache/default.nix +++ b/pkgs/development/python-modules/aiocache/default.nix @@ -58,10 +58,15 @@ buildPythonPackage rec { ]; disabledTests = [ - # calls apache benchmark and fails, no usable output + # Test calls apache benchmark and fails, no usable output "test_concurrency_error_rates" ]; + disabledTestPaths = [ + # Benchmark and performance tests are not relevant for Nixpkgs + "tests/performance/" + ]; + preCheck = '' ${lib.getBin pkgs.redis}/bin/redis-server & REDIS_PID=$! @@ -83,7 +88,7 @@ buildPythonPackage rec { description = "Python API Rate Limit Decorator"; homepage = "https://github.com/aio-libs/aiocache"; changelog = "https://github.com/aio-libs/aiocache/releases/tag/v${version}"; - license = with licenses; [ bsd3 ]; + license = licenses.bsd3; maintainers = with maintainers; [ fab ]; }; } From 21b06c04d3b11ae0820522bffda4283b400dac75 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 10:47:16 +0200 Subject: [PATCH 21/56] wapiti: refactor (cherry picked from commit 6abca390a18180719047fdb5f3a106bdfbf0a140) --- pkgs/tools/security/wapiti/default.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/security/wapiti/default.nix b/pkgs/tools/security/wapiti/default.nix index 13a7e55cc3ec..d87f3b45cf61 100644 --- a/pkgs/tools/security/wapiti/default.nix +++ b/pkgs/tools/security/wapiti/default.nix @@ -6,30 +6,32 @@ python3.pkgs.buildPythonApplication rec { pname = "wapiti"; version = "3.1.8"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "wapiti-scanner"; - repo = pname; + repo = "wapiti"; rev = "refs/tags/${version}"; hash = "sha256-2ssbczUa4pTA5Fai+sK1hES8skJMIHxa/R2hNIiEVLs="; }; postPatch = '' - # Ignore pinned versions - sed -i -e "s/==[0-9.]*//;s/>=[0-9.]*//" pyproject.toml - # Remove code coverage checking substituteInPlace pyproject.toml \ --replace "--cov --cov-report=xml" "" ''; - nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDeps = true; + + build-system = with python3.pkgs; [ setuptools - wheel ]; - propagatedBuildInputs = with python3.pkgs; [ + nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook + ]; + + dependencies = with python3.pkgs; [ aiocache aiohttp aiosqlite @@ -154,7 +156,7 @@ python3.pkgs.buildPythonApplication rec { ''; homepage = "https://wapiti-scanner.github.io/"; changelog = "https://github.com/wapiti-scanner/wapiti/blob/${version}/doc/ChangeLog_Wapiti"; - license = with licenses; [ gpl2Only ]; + license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; }; } From 95cbd461c61e71c02369d8cb53976313b63829f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 10:47:39 +0200 Subject: [PATCH 22/56] wapiti: format with nixfmt (cherry picked from commit aa7a7a91eda0c9923ff5bb0cf04c97dec7cdbfda) --- pkgs/tools/security/wapiti/default.nix | 68 +++++++++++++------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/pkgs/tools/security/wapiti/default.nix b/pkgs/tools/security/wapiti/default.nix index d87f3b45cf61..1ddfbb703b96 100644 --- a/pkgs/tools/security/wapiti/default.nix +++ b/pkgs/tools/security/wapiti/default.nix @@ -1,6 +1,7 @@ -{ lib -, fetchFromGitHub -, python3 +{ + lib, + fetchFromGitHub, + python3, }: python3.pkgs.buildPythonApplication rec { @@ -23,37 +24,36 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDeps = true; - build-system = with python3.pkgs; [ - setuptools - ]; + build-system = with python3.pkgs; [ setuptools ]; - nativeBuildInputs = with python3.pkgs; [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ]; - dependencies = with python3.pkgs; [ - aiocache - aiohttp - aiosqlite - arsenic - beautifulsoup4 - browser-cookie3 - dnspython - h11 - httpcore - httpx - httpx-ntlm - loguru - mako - markupsafe - mitmproxy - pyasn1 - six - sqlalchemy - tld - yaswfp - ] ++ httpx.optional-dependencies.brotli - ++ httpx.optional-dependencies.socks; + dependencies = + with python3.pkgs; + [ + aiocache + aiohttp + aiosqlite + arsenic + beautifulsoup4 + browser-cookie3 + dnspython + h11 + httpcore + httpx + httpx-ntlm + loguru + mako + markupsafe + mitmproxy + pyasn1 + six + sqlalchemy + tld + yaswfp + ] + ++ httpx.optional-dependencies.brotli + ++ httpx.optional-dependencies.socks; __darwinAllowLocalNetworking = true; @@ -140,9 +140,7 @@ python3.pkgs.buildPythonApplication rec { "tests/attack/test_mod_ssl.py" ]; - pythonImportsCheck = [ - "wapitiCore" - ]; + pythonImportsCheck = [ "wapitiCore" ]; meta = with lib; { description = "Web application vulnerability scanner"; From b4c2e9e3291c8fb0c9ce15233a95da17a0411c09 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 11:19:45 +0200 Subject: [PATCH 23/56] python312Packages.strawberry-graphql: refactor (cherry picked from commit e05e1737b39e6dcb35b25e1795bd58ec7d597a2a) --- .../strawberry-graphql/default.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/strawberry-graphql/default.nix b/pkgs/development/python-modules/strawberry-graphql/default.nix index 92658dce5086..a791d1e6ebf6 100644 --- a/pkgs/development/python-modules/strawberry-graphql/default.nix +++ b/pkgs/development/python-modules/strawberry-graphql/default.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { pname = "strawberry-graphql"; version = "0.219.2"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -62,22 +62,16 @@ buildPythonPackage rec { url = "https://github.com/strawberry-graphql/strawberry/commit/710bb96f47c244e78fc54c921802bcdb48f5f421.patch"; hash = "sha256-ekUZ2hDPCqwXp9n0YjBikwSkhCmVKUzQk7LrPECcD7Y="; }) - (fetchpatch { - # https://github.com/strawberry-graphql/strawberry/pull/3255 - name = "fix-tests-with-pydantic_2.patch"; - url = "https://github.com/strawberry-graphql/strawberry/commit/0a0dc284ee6d31d4e82ac7ff1ed9fea4dff39fa6.patch"; - hash = "sha256-LACWD7XA6YL/apJwhpx3LPCKxKUfa+XWyTLK+Zkxlaw="; - }) ]; postPatch = '' substituteInPlace pyproject.toml \ - --replace "--emoji --mypy-ini-file=mypy.ini" "" \ + --replace-fail "--emoji --mypy-ini-file=mypy.ini" "" \ ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ graphql-core python-dateutil typing-extensions @@ -169,16 +163,17 @@ buildPythonPackage rec { "tests/test_dataloaders.py" "tests/utils/test_pretty_print.py" "tests/websockets/test_graphql_transport_ws.py" + "tests/litestar/" ]; __darwinAllowLocalNetworking = true; meta = with lib; { description = "A GraphQL library for Python that leverages type annotations"; - mainProgram = "strawberry"; homepage = "https://strawberry.rocks"; changelog = "https://github.com/strawberry-graphql/strawberry/blob/${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ izorkin ]; + mainProgram = "strawberry"; }; } From 2751c362e3b863ceedc1104690b48d0e479e37f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 11:22:00 +0200 Subject: [PATCH 24/56] python312Packages.strawberry-graphql: 0.219.2 -> 0.230.0 Diff: https://github.com/strawberry-graphql/strawberry/compare/refs/tags/0.219.2...0.230.0 Changelog: https://github.com/strawberry-graphql/strawberry/blob/0.230.0/CHANGELOG.md (cherry picked from commit 15a381be44ce630f086a1e3cc14ba94935db931b) --- .../python-modules/strawberry-graphql/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/strawberry-graphql/default.nix b/pkgs/development/python-modules/strawberry-graphql/default.nix index a791d1e6ebf6..86d9b8e49045 100644 --- a/pkgs/development/python-modules/strawberry-graphql/default.nix +++ b/pkgs/development/python-modules/strawberry-graphql/default.nix @@ -43,16 +43,16 @@ buildPythonPackage rec { pname = "strawberry-graphql"; - version = "0.219.2"; + version = "0.230.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "strawberry-graphql"; repo = "strawberry"; rev = "refs/tags/${version}"; - hash = "sha256-uIUETjzuDnlQp6wM7uxyLRSMT5uyrXFrI9NilcjP0BU="; + hash = "sha256-jhInHoOvPGIEoSddv8+30gY38L6XR5OEATUTdrHbNpA="; }; patches = [ @@ -129,9 +129,8 @@ buildPythonPackage rec { rich libcst ]; - # starlite = [ - # starlite - # ]; + # starlite = [ starlite ]; + # litestar = [ litestar ]; pyinstrument = [ pyinstrument ]; }; From 4f9fdc6b9dcd5316c4c46565ee73baf7efba4136 Mon Sep 17 00:00:00 2001 From: Jan van Esdonk Date: Tue, 21 May 2024 22:10:54 +0200 Subject: [PATCH 25/56] python312Packages.webssh: fix test case (cherry picked from commit 78ef0a386ec264bf2c6f2389a9da21e74c674d84) --- .../python-modules/webssh/default.nix | 9 ++++----- .../webssh/remove-typo-in-test-case.patch | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 pkgs/development/python-modules/webssh/remove-typo-in-test-case.patch diff --git a/pkgs/development/python-modules/webssh/default.nix b/pkgs/development/python-modules/webssh/default.nix index 53896c039da7..b18dcd38c2a7 100644 --- a/pkgs/development/python-modules/webssh/default.nix +++ b/pkgs/development/python-modules/webssh/default.nix @@ -18,6 +18,10 @@ buildPythonPackage rec { hash = "sha256-mRestRJukaf7ti3vIs/MM/R+zpGmK551j5HAM2chBsE="; }; + patches = [ + ./remove-typo-in-test-case.patch + ]; + propagatedBuildInputs = [ paramiko tornado @@ -27,11 +31,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "webssh" ]; - disabledTests = [ - # Test fails with AttributeError (possibly related to paramiko update) - "test_app_with_bad_host_key" - ]; - meta = with lib; { description = "Web based SSH client"; mainProgram = "wssh"; diff --git a/pkgs/development/python-modules/webssh/remove-typo-in-test-case.patch b/pkgs/development/python-modules/webssh/remove-typo-in-test-case.patch new file mode 100644 index 000000000000..ac7bd94e5b39 --- /dev/null +++ b/pkgs/development/python-modules/webssh/remove-typo-in-test-case.patch @@ -0,0 +1,18 @@ +--- + tests/test_handler.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_handler.py b/tests/test_handler.py +index a9ad924..950e672 100644 +--- a/tests/test_handler.py ++++ b/tests/test_handler.py +@@ -336,5 +336,5 @@ class TestIndexHandler(unittest.TestCase): + ssh.exec_command.return_value = (stdin, stdout, stderr) + + encoding = IndexHandler.get_default_encoding(handler, ssh) +- self.assertEquals("utf-8", encoding) ++ self.assertEqual("utf-8", encoding) + +-- +2.44.0 + From 0995bee3815586cee5e25dd55d1d7774887d48a6 Mon Sep 17 00:00:00 2001 From: Leah Amelia Chen Date: Wed, 22 May 2024 18:41:18 +0200 Subject: [PATCH 26/56] gobang: unbreak, modernize (cherry picked from commit a1090bebdcca0c8eb7f60c475f67ef7fedd471ff) --- pkgs/by-name/go/gobang/package.nix | 40 + pkgs/by-name/go/gobang/update-sqlx.patch | 1553 +++++++++++++++++ .../tools/database/gobang/default.nix | 35 - pkgs/top-level/all-packages.nix | 4 - 4 files changed, 1593 insertions(+), 39 deletions(-) create mode 100644 pkgs/by-name/go/gobang/package.nix create mode 100644 pkgs/by-name/go/gobang/update-sqlx.patch delete mode 100644 pkgs/development/tools/database/gobang/default.nix diff --git a/pkgs/by-name/go/gobang/package.nix b/pkgs/by-name/go/gobang/package.nix new file mode 100644 index 000000000000..9691aa78fd81 --- /dev/null +++ b/pkgs/by-name/go/gobang/package.nix @@ -0,0 +1,40 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + stdenv, + darwin, +}: +let + version = "0.1.0-alpha.5"; +in +rustPlatform.buildRustPackage { + pname = "gobang"; + inherit version; + + src = fetchFromGitHub { + owner = "tako8ki"; + repo = "gobang"; + rev = "v${version}"; + hash = "sha256-RinfQhG7iCp0Xcs9kLs3I2/wjkJEgCjFYe3mS+FY9Ak="; + }; + + cargoPatches = [ ./update-sqlx.patch ]; + + cargoHash = "sha256-3A3bf7iq1acsWttKmcJmxWM74B0qUIcROBAkjDZFKxE="; + + buildInputs = + with darwin.apple_sdk.frameworks; + lib.optionals stdenv.isDarwin [ + CoreFoundation + Security + SystemConfiguration + ]; + + meta = { + description = "A cross-platform TUI database management tool written in Rust"; + homepage = "https://github.com/tako8ki/gobang"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/by-name/go/gobang/update-sqlx.patch b/pkgs/by-name/go/gobang/update-sqlx.patch new file mode 100644 index 000000000000..1571b00f0339 --- /dev/null +++ b/pkgs/by-name/go/gobang/update-sqlx.patch @@ -0,0 +1,1553 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 6cf1c13..c3ea64b 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -4,24 +4,15 @@ version = 3 + + [[package]] + name = "ahash" +-version = "0.7.4" ++version = "0.7.8" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98" ++checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" + dependencies = [ + "getrandom", + "once_cell", + "version_check", + ] + +-[[package]] +-name = "aho-corasick" +-version = "0.7.18" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +-dependencies = [ +- "memchr", +-] +- + [[package]] + name = "ansi_term" + version = "0.11.0" +@@ -39,9 +30,9 @@ checksum = "15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61" + + [[package]] + name = "arrayvec" +-version = "0.5.2" ++version = "0.7.4" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" ++checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + + [[package]] + name = "async-trait" +@@ -51,7 +42,7 @@ checksum = "0b98e84bbb4cbcdd97da190ba0c58a1bb0de2c1fdf67d159e192ed766aeca722" + dependencies = [ + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + ] + + [[package]] +@@ -74,12 +65,6 @@ dependencies = [ + "winapi", + ] + +-[[package]] +-name = "autocfg" +-version = "0.1.7" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" +- + [[package]] + name = "autocfg" + version = "1.0.1" +@@ -92,31 +77,70 @@ version = "0.13.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" + ++[[package]] ++name = "base64ct" ++version = "1.6.0" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" ++ + [[package]] + name = "bitflags" +-version = "1.2.1" ++version = "1.3.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" ++checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + + [[package]] +-name = "bitvec" +-version = "0.19.5" ++name = "block-buffer" ++version = "0.10.4" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321" ++checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" + dependencies = [ +- "funty", +- "radium", +- "tap", +- "wyz", ++ "generic-array", + ] + + [[package]] +-name = "block-buffer" +-version = "0.9.0" ++name = "borsh" ++version = "0.10.3" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" ++checksum = "4114279215a005bc675e386011e594e1d9b800918cea18fcadadcce864a2046b" + dependencies = [ +- "generic-array", ++ "borsh-derive", ++ "hashbrown 0.11.2", ++] ++ ++[[package]] ++name = "borsh-derive" ++version = "0.10.3" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "0754613691538d51f329cce9af41d7b7ca150bc973056f1156611489475f54f7" ++dependencies = [ ++ "borsh-derive-internal", ++ "borsh-schema-derive-internal", ++ "proc-macro-crate", ++ "proc-macro2", ++ "syn 1.0.109", ++] ++ ++[[package]] ++name = "borsh-derive-internal" ++version = "0.10.3" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "afb438156919598d2c7bad7e1c0adf3d26ed3840dbc010db1a882a65583ca2fb" ++dependencies = [ ++ "proc-macro2", ++ "quote", ++ "syn 1.0.109", ++] ++ ++[[package]] ++name = "borsh-schema-derive-internal" ++version = "0.10.3" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "634205cc43f74a1b9046ef87c4540ebda95696ec0f315024860cad7c5b0f5ccd" ++dependencies = [ ++ "proc-macro2", ++ "quote", ++ "syn 1.0.109", + ] + + [[package]] +@@ -125,6 +149,28 @@ version = "3.7.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631" + ++[[package]] ++name = "bytecheck" ++version = "0.6.12" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2" ++dependencies = [ ++ "bytecheck_derive", ++ "ptr_meta", ++ "simdutf8", ++] ++ ++[[package]] ++name = "bytecheck_derive" ++version = "0.6.12" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659" ++dependencies = [ ++ "proc-macro2", ++ "quote", ++ "syn 1.0.109", ++] ++ + [[package]] + name = "byteorder" + version = "1.4.3" +@@ -184,22 +230,18 @@ dependencies = [ + ] + + [[package]] +-name = "cpufeatures" +-version = "0.1.5" ++name = "const-oid" ++version = "0.7.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" +-dependencies = [ +- "libc", +-] ++checksum = "e4c78c047431fee22c1a7bb92e00ad095a02a983affe4d8a72e2a2c62c1b94f3" + + [[package]] +-name = "crossbeam-channel" +-version = "0.5.1" ++name = "cpufeatures" ++version = "0.2.12" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" ++checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" + dependencies = [ +- "cfg-if", +- "crossbeam-utils", ++ "libc", + ] + + [[package]] +@@ -273,15 +315,25 @@ dependencies = [ + ] + + [[package]] +-name = "crypto-mac" +-version = "0.10.1" ++name = "crypto-bigint" ++version = "0.3.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" ++checksum = "03c6a1d5fa1de37e071642dfa44ec552ca5b299adb128fab16138e24b548fd21" + dependencies = [ + "generic-array", + "subtle", + ] + ++[[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 = "database-tree" + version = "0.1.0-alpha.5" +@@ -291,20 +343,33 @@ dependencies = [ + "thiserror", + ] + ++[[package]] ++name = "der" ++version = "0.5.1" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "6919815d73839e7ad218de758883aae3a257ba6759ce7a9992501efbb53d705c" ++dependencies = [ ++ "const-oid", ++ "crypto-bigint", ++ "pem-rfc7468", ++] ++ + [[package]] + name = "digest" +-version = "0.9.0" ++version = "0.10.7" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" ++checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" + dependencies = [ +- "generic-array", ++ "block-buffer", ++ "crypto-common", ++ "subtle", + ] + + [[package]] + name = "dirs" +-version = "3.0.2" ++version = "4.0.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309" ++checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" + dependencies = [ + "dirs-sys", + ] +@@ -359,6 +424,24 @@ version = "1.6.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" + ++[[package]] ++name = "event-listener" ++version = "2.5.3" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" ++ ++[[package]] ++name = "flume" ++version = "0.10.14" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577" ++dependencies = [ ++ "futures-core", ++ "futures-sink", ++ "pin-project", ++ "spin 0.9.8", ++] ++ + [[package]] + name = "form_urlencoded" + version = "1.0.1" +@@ -369,12 +452,6 @@ dependencies = [ + "percent-encoding", + ] + +-[[package]] +-name = "funty" +-version = "1.1.0" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7" +- + [[package]] + name = "futures" + version = "0.3.15" +@@ -392,9 +469,9 @@ dependencies = [ + + [[package]] + name = "futures-channel" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "e682a68b29a882df0545c143dc3646daefe80ba479bcdede94d5a703de2871e2" ++checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" + dependencies = [ + "futures-core", + "futures-sink", +@@ -402,15 +479,15 @@ dependencies = [ + + [[package]] + name = "futures-core" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "0402f765d8a89a26043b889b26ce3c4679d268fa6bb22cd7c6aad98340e179d1" ++checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + + [[package]] + name = "futures-executor" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "badaa6a909fac9e7236d0620a2f57f7664640c56575b71a7552fbd68deafab79" ++checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" + dependencies = [ + "futures-core", + "futures-task", +@@ -430,42 +507,39 @@ dependencies = [ + + [[package]] + name = "futures-io" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "acc499defb3b348f8d8f3f66415835a9131856ff7714bf10dadfc4ec4bdb29a1" ++checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + + [[package]] + name = "futures-macro" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "a4c40298486cdf52cc00cd6d6987892ba502c7656a16a4192a9992b1ccedd121" ++checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" + dependencies = [ +- "autocfg 1.0.1", +- "proc-macro-hack", + "proc-macro2", + "quote", +- "syn", ++ "syn 2.0.65", + ] + + [[package]] + name = "futures-sink" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "a57bead0ceff0d6dde8f465ecd96c9338121bb7717d3e7b108059531870c4282" ++checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + + [[package]] + name = "futures-task" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8a16bef9fc1a4dddb5bee51c989e3fbba26569cbb0e31f5b303c184e3dd33dae" ++checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + + [[package]] + name = "futures-util" +-version = "0.3.15" ++version = "0.3.30" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "feb5c238d27e2bf94ffdfd27b2c29e3df4a68c4193bb6427384259e2bf191967" ++checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" + dependencies = [ +- "autocfg 1.0.1", + "futures-channel", + "futures-core", + "futures-io", +@@ -475,8 +549,6 @@ dependencies = [ + "memchr", + "pin-project-lite", + "pin-utils", +- "proc-macro-hack", +- "proc-macro-nested", + "slab", + ] + +@@ -523,7 +595,7 @@ dependencies = [ + "strum", + "strum_macros", + "tokio", +- "toml", ++ "toml 0.4.10", + "tui", + "unicode-width", + "which", +@@ -538,13 +610,22 @@ dependencies = [ + "ahash", + ] + ++[[package]] ++name = "hashbrown" ++version = "0.12.3" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" ++dependencies = [ ++ "ahash", ++] ++ + [[package]] + name = "hashlink" + version = "0.7.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "7249a3129cbc1ffccd74857f81464a323a152173cdb134e0fd81bc803b29facf" + dependencies = [ +- "hashbrown", ++ "hashbrown 0.11.2", + ] + + [[package]] +@@ -556,6 +637,15 @@ dependencies = [ + "unicode-segmentation", + ] + ++[[package]] ++name = "heck" ++version = "0.4.1" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" ++dependencies = [ ++ "unicode-segmentation", ++] ++ + [[package]] + name = "hermit-abi" + version = "0.1.18" +@@ -571,13 +661,21 @@ version = "0.4.3" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + ++[[package]] ++name = "hkdf" ++version = "0.12.4" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" ++dependencies = [ ++ "hmac", ++] ++ + [[package]] + name = "hmac" +-version = "0.10.1" ++version = "0.12.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" ++checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" + dependencies = [ +- "crypto-mac", + "digest", + ] + +@@ -598,8 +696,8 @@ version = "1.7.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" + dependencies = [ +- "autocfg 1.0.1", +- "hashbrown", ++ "autocfg", ++ "hashbrown 0.11.2", + ] + + [[package]] +@@ -622,9 +720,9 @@ dependencies = [ + + [[package]] + name = "itoa" +-version = "0.4.7" ++version = "1.0.11" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" ++checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + + [[package]] + name = "js-sys" +@@ -641,27 +739,14 @@ version = "1.4.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + dependencies = [ +- "spin", +-] +- +-[[package]] +-name = "lexical-core" +-version = "0.7.6" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" +-dependencies = [ +- "arrayvec", +- "bitflags", +- "cfg-if", +- "ryu", +- "static_assertions", ++ "spin 0.5.2", + ] + + [[package]] + name = "libc" +-version = "0.2.97" ++version = "0.2.155" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6" ++checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" + + [[package]] + name = "libm" +@@ -671,9 +756,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" + + [[package]] + name = "libsqlite3-sys" +-version = "0.22.2" ++version = "0.24.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "290b64917f8b0cb885d9de0f9959fe1f775d7fa12f1da2db9001c1c8ab60f89d" ++checksum = "898745e570c7d0453cc1fbc4a701eb6c662ed54e8fec8b7d14be137ebeeb9d14" + dependencies = [ + "cc", + "pkg-config", +@@ -698,12 +783,6 @@ dependencies = [ + "cfg-if", + ] + +-[[package]] +-name = "maplit" +-version = "1.0.2" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" +- + [[package]] + name = "matches" + version = "0.1.8" +@@ -712,20 +791,25 @@ checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" + + [[package]] + name = "md-5" +-version = "0.9.1" ++version = "0.10.6" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15" ++checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" + dependencies = [ +- "block-buffer", ++ "cfg-if", + "digest", +- "opaque-debug", + ] + + [[package]] + name = "memchr" +-version = "2.4.0" ++version = "2.7.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" ++checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" ++ ++[[package]] ++name = "minimal-lexical" ++version = "0.2.1" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + + [[package]] + name = "mio" +@@ -751,15 +835,12 @@ dependencies = [ + + [[package]] + name = "nom" +-version = "6.1.2" ++version = "7.1.3" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2" ++checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" + dependencies = [ +- "bitvec", +- "funty", +- "lexical-core", + "memchr", +- "version_check", ++ "minimal-lexical", + ] + + [[package]] +@@ -773,33 +854,21 @@ dependencies = [ + + [[package]] + name = "num-bigint" +-version = "0.3.2" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "7d0a3d5e207573f948a9e5376662aa743a2ea13f7c50a554d7af443a73fbfeba" +-dependencies = [ +- "autocfg 1.0.1", +- "num-integer", +- "num-traits", +-] +- +-[[package]] +-name = "num-bigint" +-version = "0.4.2" ++version = "0.3.3" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "74e768dff5fb39a41b3bcd30bb25cf989706c90d028d1ad71971987aa309d535" ++checksum = "5f6f7833f2cbf2360a6cfd58cd41a53aa7a90bd4c202f5b1c7dd2ed73c57b2c3" + dependencies = [ +- "autocfg 1.0.1", ++ "autocfg", + "num-integer", + "num-traits", + ] + + [[package]] + name = "num-bigint-dig" +-version = "0.7.0" ++version = "0.8.4" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "4547ee5541c18742396ae2c895d0717d0f886d8823b8399cdaf7b07d63ad0480" ++checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" + dependencies = [ +- "autocfg 0.1.7", + "byteorder", + "lazy_static", + "libm", +@@ -817,7 +886,7 @@ version = "0.1.44" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" + dependencies = [ +- "autocfg 1.0.1", ++ "autocfg", + "num-traits", + ] + +@@ -827,7 +896,7 @@ version = "0.1.42" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59" + dependencies = [ +- "autocfg 1.0.1", ++ "autocfg", + "num-integer", + "num-traits", + ] +@@ -838,7 +907,7 @@ version = "0.2.14" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" + dependencies = [ +- "autocfg 1.0.1", ++ "autocfg", + "libm", + ] + +@@ -854,15 +923,9 @@ dependencies = [ + + [[package]] + name = "once_cell" +-version = "1.8.0" ++version = "1.19.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" +- +-[[package]] +-name = "opaque-debug" +-version = "0.3.0" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" ++checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + + [[package]] + name = "parking_lot" +@@ -884,20 +947,24 @@ dependencies = [ + "cfg-if", + "instant", + "libc", +- "redox_syscall", ++ "redox_syscall 0.2.9", + "smallvec", + "winapi", + ] + + [[package]] +-name = "pem" +-version = "0.8.3" ++name = "paste" ++version = "1.0.15" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "fd56cbd21fea48d0c440b41cd69c589faacade08c992d9a54e471b79d0fd13eb" ++checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" ++ ++[[package]] ++name = "pem-rfc7468" ++version = "0.3.1" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "01de5d978f34aa4b2296576379fcc416034702fd94117c56ffd8a1a767cefb30" + dependencies = [ +- "base64", +- "once_cell", +- "regex", ++ "base64ct", + ] + + [[package]] +@@ -906,11 +973,31 @@ version = "2.1.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" + ++[[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 2.0.65", ++] ++ + [[package]] + name = "pin-project-lite" +-version = "0.2.6" ++version = "0.2.14" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905" ++checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + + [[package]] + name = "pin-utils" +@@ -918,6 +1005,28 @@ version = "0.1.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + ++[[package]] ++name = "pkcs1" ++version = "0.3.3" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "a78f66c04ccc83dd4486fd46c33896f4e17b24a7a3a6400dedc48ed0ddd72320" ++dependencies = [ ++ "der", ++ "pkcs8", ++ "zeroize", ++] ++ ++[[package]] ++name = "pkcs8" ++version = "0.8.0" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "7cabda3fb821068a9a4fab19a683eac3af12edf0f34b94a8be53c4972b8149d0" ++dependencies = [ ++ "der", ++ "spki", ++ "zeroize", ++] ++ + [[package]] + name = "pkg-config" + version = "0.3.19" +@@ -930,6 +1039,15 @@ version = "0.2.10" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" + ++[[package]] ++name = "proc-macro-crate" ++version = "0.1.5" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" ++dependencies = [ ++ "toml 0.5.11", ++] ++ + [[package]] + name = "proc-macro-error" + version = "1.0.4" +@@ -939,7 +1057,7 @@ dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + "version_check", + ] + +@@ -955,41 +1073,43 @@ dependencies = [ + ] + + [[package]] +-name = "proc-macro-hack" +-version = "0.5.19" ++name = "proc-macro2" ++version = "1.0.83" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" ++checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" ++dependencies = [ ++ "unicode-ident", ++] + + [[package]] +-name = "proc-macro-nested" +-version = "0.1.7" ++name = "ptr_meta" ++version = "0.1.4" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086" ++checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" ++dependencies = [ ++ "ptr_meta_derive", ++] + + [[package]] +-name = "proc-macro2" +-version = "1.0.27" ++name = "ptr_meta_derive" ++version = "0.1.4" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038" ++checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" + dependencies = [ +- "unicode-xid", ++ "proc-macro2", ++ "quote", ++ "syn 1.0.109", + ] + + [[package]] + name = "quote" +-version = "1.0.9" ++version = "1.0.36" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" ++checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" + dependencies = [ + "proc-macro2", + ] + +-[[package]] +-name = "radium" +-version = "0.5.3" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8" +- + [[package]] + name = "rand" + version = "0.8.4" +@@ -1039,6 +1159,15 @@ dependencies = [ + "bitflags", + ] + ++[[package]] ++name = "redox_syscall" ++version = "0.4.1" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" ++dependencies = [ ++ "bitflags", ++] ++ + [[package]] + name = "redox_users" + version = "0.4.0" +@@ -1046,26 +1175,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" + dependencies = [ + "getrandom", +- "redox_syscall", ++ "redox_syscall 0.2.9", + ] + + [[package]] +-name = "regex" +-version = "1.5.4" ++name = "rend" ++version = "0.4.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" ++checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c" + dependencies = [ +- "aho-corasick", +- "memchr", +- "regex-syntax", ++ "bytecheck", + ] + +-[[package]] +-name = "regex-syntax" +-version = "0.6.25" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +- + [[package]] + name = "ring" + version = "0.16.20" +@@ -1075,41 +1196,73 @@ dependencies = [ + "cc", + "libc", + "once_cell", +- "spin", ++ "spin 0.5.2", + "untrusted", + "web-sys", + "winapi", + ] + ++[[package]] ++name = "rkyv" ++version = "0.7.40" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "c30f1d45d9aa61cbc8cd1eb87705470892289bb2d01943e7803b873a57404dc3" ++dependencies = [ ++ "bytecheck", ++ "hashbrown 0.12.3", ++ "ptr_meta", ++ "rend", ++ "rkyv_derive", ++ "seahash", ++] ++ ++[[package]] ++name = "rkyv_derive" ++version = "0.7.40" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "ff26ed6c7c4dfc2aa9480b86a60e3c7233543a270a680e10758a507c5a4ce476" ++dependencies = [ ++ "proc-macro2", ++ "quote", ++ "syn 1.0.109", ++] ++ + [[package]] + name = "rsa" +-version = "0.4.1" ++version = "0.6.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "7b0aeddcca1082112a6eeb43bf25fd7820b066aaf6eaef776e19d0a1febe38fe" ++checksum = "4cf22754c49613d2b3b119f0e5d46e34a2c628a937e3024b8762de4e7d8c710b" + dependencies = [ + "byteorder", + "digest", +- "lazy_static", + "num-bigint-dig", + "num-integer", + "num-iter", + "num-traits", +- "pem", +- "rand", +- "simple_asn1", ++ "pkcs1", ++ "pkcs8", ++ "rand_core", ++ "smallvec", + "subtle", + "zeroize", + ] + + [[package]] + name = "rust_decimal" +-version = "1.15.0" ++version = "1.30.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "c5446d1cf2dfe2d6367c8b27f2082bdf011e60e76fa1fcd140047f535156d6e7" ++checksum = "d0446843641c69436765a35a5a77088e28c2e6a12da93e84aa3ab1cd4aa5a042" + dependencies = [ + "arrayvec", ++ "borsh", ++ "bytecheck", ++ "byteorder", ++ "bytes", + "num-traits", ++ "rand", ++ "rkyv", + "serde", ++ "serde_json", + ] + + [[package]] +@@ -1147,33 +1300,38 @@ dependencies = [ + "untrusted", + ] + ++[[package]] ++name = "seahash" ++version = "4.1.0" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" ++ + [[package]] + name = "serde" +-version = "1.0.126" ++version = "1.0.202" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" ++checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" + dependencies = [ + "serde_derive", + ] + + [[package]] + name = "serde_derive" +-version = "1.0.126" ++version = "1.0.202" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" ++checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" + dependencies = [ + "proc-macro2", + "quote", +- "syn", ++ "syn 2.0.65", + ] + + [[package]] + name = "serde_json" +-version = "1.0.64" ++version = "1.0.117" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" ++checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" + dependencies = [ +- "indexmap", + "itoa", + "ryu", + "serde", +@@ -1181,28 +1339,24 @@ dependencies = [ + + [[package]] + name = "sha-1" +-version = "0.9.6" ++version = "0.10.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8c4cfa741c5832d0ef7fab46cabed29c2aae926db0b11bb2069edd8db5e64e16" ++checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" + dependencies = [ +- "block-buffer", + "cfg-if", + "cpufeatures", + "digest", +- "opaque-debug", + ] + + [[package]] + name = "sha2" +-version = "0.9.5" ++version = "0.10.8" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" ++checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" + dependencies = [ +- "block-buffer", + "cfg-if", + "cpufeatures", + "digest", +- "opaque-debug", + ] + + [[package]] +@@ -1247,16 +1401,10 @@ dependencies = [ + ] + + [[package]] +-name = "simple_asn1" +-version = "0.5.4" ++name = "simdutf8" ++version = "0.1.4" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8eb4ea60fb301dc81dfc113df680571045d375ab7345d171c5dc7d7e13107a80" +-dependencies = [ +- "chrono", +- "num-bigint 0.4.2", +- "num-traits", +- "thiserror", +-] ++checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" + + [[package]] + name = "slab" +@@ -1266,9 +1414,9 @@ checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" + + [[package]] + name = "smallvec" +-version = "1.6.1" ++version = "1.13.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" ++checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + + [[package]] + name = "spin" +@@ -1276,24 +1424,41 @@ version = "0.5.2" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + ++[[package]] ++name = "spin" ++version = "0.9.8" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" ++dependencies = [ ++ "lock_api", ++] ++ ++[[package]] ++name = "spki" ++version = "0.5.4" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "44d01ac02a6ccf3e07db148d2be087da624fea0221a16152ed01f0496a6b0a27" ++dependencies = [ ++ "base64ct", ++ "der", ++] ++ + [[package]] + name = "sqlformat" +-version = "0.1.6" ++version = "0.1.8" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "6d86e3c77ff882a828346ba401a7ef4b8e440df804491c6064fe8295765de71c" ++checksum = "b4b7922be017ee70900be125523f38bdd644f4f06a1b16e8fa5a8ee8c34bffd4" + dependencies = [ +- "lazy_static", +- "maplit", ++ "itertools", + "nom", +- "regex", + "unicode_categories", + ] + + [[package]] + name = "sqlx" +-version = "0.5.7" ++version = "0.5.13" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "0e4b94ab0f8c21ee4899b93b06451ef5d965f1a355982ee73684338228498440" ++checksum = "551873805652ba0d912fec5bbb0f8b4cdd96baf8e2ebf5970e5671092966019b" + dependencies = [ + "sqlx-core", + "sqlx-macros", +@@ -1301,9 +1466,9 @@ dependencies = [ + + [[package]] + name = "sqlx-core" +-version = "0.5.7" ++version = "0.5.13" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "ec28b91a01e1fe286d6ba66f68289a2286df023fc97444e1fd86c2fd6d5dc026" ++checksum = "e48c61941ccf5ddcada342cd59e3e5173b007c509e1e8e990dafc830294d9dc5" + dependencies = [ + "ahash", + "atoi", +@@ -1312,29 +1477,32 @@ dependencies = [ + "byteorder", + "bytes", + "chrono", +- "crossbeam-channel", + "crossbeam-queue", +- "crossbeam-utils", + "digest", + "dirs", + "either", ++ "event-listener", ++ "flume", + "futures-channel", + "futures-core", ++ "futures-executor", + "futures-intrusive", + "futures-util", + "generic-array", + "hashlink", + "hex", ++ "hkdf", + "hmac", ++ "indexmap", + "itoa", + "libc", + "libsqlite3-sys", + "log", + "md-5", + "memchr", +- "num-bigint 0.3.2", ++ "num-bigint", + "once_cell", +- "parking_lot", ++ "paste", + "percent-encoding", + "rand", + "rsa", +@@ -1358,41 +1526,34 @@ dependencies = [ + + [[package]] + name = "sqlx-macros" +-version = "0.5.7" ++version = "0.5.13" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "4dc33c35d54774eed73d54568d47a6ac099aed8af5e1556a017c131be88217d5" ++checksum = "bc0fba2b0cae21fc00fe6046f8baa4c7fcb49e379f0f592b04696607f69ed2e1" + dependencies = [ + "dotenv", + "either", +- "futures", +- "heck", ++ "heck 0.4.1", + "once_cell", + "proc-macro2", + "quote", + "serde_json", + "sqlx-core", + "sqlx-rt", +- "syn", ++ "syn 1.0.109", + "url", + ] + + [[package]] + name = "sqlx-rt" +-version = "0.5.7" ++version = "0.5.13" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "14302b678d9c76b28f2e60115211e25e0aabc938269991745a169753dc00e35c" ++checksum = "4db708cd3e459078f85f39f96a00960bd841f66ee2a669e90bf36907f5a79aae" + dependencies = [ + "once_cell", + "tokio", + "tokio-rustls", + ] + +-[[package]] +-name = "static_assertions" +-version = "1.1.0" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +- + [[package]] + name = "stringprep" + version = "0.1.2" +@@ -1426,11 +1587,11 @@ version = "0.4.15" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "7813934aecf5f51a54775e00068c237de98489463968231a51746bbbc03f9c10" + dependencies = [ +- "heck", ++ "heck 0.3.3", + "proc-macro-error", + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + ] + + [[package]] +@@ -1445,10 +1606,10 @@ version = "0.21.1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" + dependencies = [ +- "heck", ++ "heck 0.3.3", + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + ] + + [[package]] +@@ -1459,33 +1620,26 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2" + + [[package]] + name = "syn" +-version = "1.0.73" ++version = "1.0.109" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7" ++checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" + dependencies = [ + "proc-macro2", + "quote", +- "unicode-xid", ++ "unicode-ident", + ] + + [[package]] +-name = "synstructure" +-version = "0.12.4" ++name = "syn" ++version = "2.0.65" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" ++checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" + dependencies = [ + "proc-macro2", + "quote", +- "syn", +- "unicode-xid", ++ "unicode-ident", + ] + +-[[package]] +-name = "tap" +-version = "1.0.1" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +- + [[package]] + name = "textwrap" + version = "0.11.0" +@@ -1497,22 +1651,22 @@ dependencies = [ + + [[package]] + name = "thiserror" +-version = "1.0.25" ++version = "1.0.61" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6" ++checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" + dependencies = [ + "thiserror-impl", + ] + + [[package]] + name = "thiserror-impl" +-version = "1.0.25" ++version = "1.0.61" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d" ++checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" + dependencies = [ + "proc-macro2", + "quote", +- "syn", ++ "syn 2.0.65", + ] + + [[package]] +@@ -1542,11 +1696,10 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" + + [[package]] + name = "tokio" +-version = "1.11.0" ++version = "1.16.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b4efe6fc2395938c8155973d7be49fe8d03a843726e285e100a8a383cc0154ce" ++checksum = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a" + dependencies = [ +- "autocfg 1.0.1", + "bytes", + "libc", + "memchr", +@@ -1562,13 +1715,13 @@ dependencies = [ + + [[package]] + name = "tokio-macros" +-version = "1.3.0" ++version = "1.8.2" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "54473be61f4ebe4efd09cec9bd5d16fa51d70ea0192213d754d2d500457db110" ++checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" + dependencies = [ + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + ] + + [[package]] +@@ -1584,9 +1737,9 @@ dependencies = [ + + [[package]] + name = "tokio-stream" +-version = "0.1.7" ++version = "0.1.15" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" ++checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" + dependencies = [ + "futures-core", + "pin-project-lite", +@@ -1602,6 +1755,15 @@ dependencies = [ + "serde", + ] + ++[[package]] ++name = "toml" ++version = "0.5.11" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" ++dependencies = [ ++ "serde", ++] ++ + [[package]] + name = "tui" + version = "0.15.0" +@@ -1617,9 +1779,9 @@ dependencies = [ + + [[package]] + name = "typenum" +-version = "1.13.0" ++version = "1.17.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" ++checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + + [[package]] + name = "unicode-bidi" +@@ -1630,6 +1792,12 @@ dependencies = [ + "matches", + ] + ++[[package]] ++name = "unicode-ident" ++version = "1.0.12" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" ++ + [[package]] + name = "unicode-normalization" + version = "0.1.19" +@@ -1651,12 +1819,6 @@ version = "0.1.8" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" + +-[[package]] +-name = "unicode-xid" +-version = "0.2.2" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +- + [[package]] + name = "unicode_categories" + version = "0.1.1" +@@ -1705,6 +1867,12 @@ version = "0.10.2+wasi-snapshot-preview1" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" + ++[[package]] ++name = "wasite" ++version = "0.1.0" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" ++ + [[package]] + name = "wasm-bindgen" + version = "0.2.74" +@@ -1726,7 +1894,7 @@ dependencies = [ + "log", + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + "wasm-bindgen-shared", + ] + +@@ -1748,7 +1916,7 @@ checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97" + dependencies = [ + "proc-macro2", + "quote", +- "syn", ++ "syn 1.0.109", + "wasm-bindgen-backend", + "wasm-bindgen-shared", + ] +@@ -1801,11 +1969,12 @@ dependencies = [ + + [[package]] + name = "whoami" +-version = "1.1.2" ++version = "1.5.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "4abacf325c958dfeaf1046931d37f2a901b6dfe0968ee965a29e94c6766b2af6" ++checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9" + dependencies = [ +- "wasm-bindgen", ++ "redox_syscall 0.4.1", ++ "wasite", + "web-sys", + ] + +@@ -1831,29 +2000,8 @@ version = "0.4.0" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +-[[package]] +-name = "wyz" +-version = "0.2.0" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214" +- + [[package]] + name = "zeroize" +-version = "1.3.0" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +-dependencies = [ +- "zeroize_derive", +-] +- +-[[package]] +-name = "zeroize_derive" +-version = "1.1.0" ++version = "1.7.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "a2c1e130bebaeab2f23886bf9acbaca14b092408c452543c857f66399cd6dab1" +-dependencies = [ +- "proc-macro2", +- "quote", +- "syn", +- "synstructure", +-] ++checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +diff --git a/Cargo.toml b/Cargo.toml +index 95f5b91..ea7eec5 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -20,7 +20,7 @@ tui = { version = "0.15.0", features = ["crossterm"], default-features = false } + crossterm = "0.20" + anyhow = "1.0.38" + unicode-width = "0.1" +-sqlx = { version = "0.5.6", features = ["mysql", "postgres", "sqlite", "chrono", "runtime-tokio-rustls", "decimal", "json"], default-features = false } ++sqlx = { version = "0.5.13", features = ["mysql", "postgres", "sqlite", "chrono", "runtime-tokio-rustls", "decimal", "json"], default-features = false } + chrono = "0.4" + tokio = { version = "1.11.0", features = ["full"] } + futures = "0.3.5" diff --git a/pkgs/development/tools/database/gobang/default.nix b/pkgs/development/tools/database/gobang/default.nix deleted file mode 100644 index b3611169996c..000000000000 --- a/pkgs/development/tools/database/gobang/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, stdenv -, CoreFoundation -, Security -, SystemConfiguration -}: - -rustPlatform.buildRustPackage rec { - pname = "gobang"; - version = "0.1.0-alpha.5"; - - src = fetchFromGitHub { - owner = "tako8ki"; - repo = pname; - rev = "v${version}"; - sha256 = "02glb3hlprpdc72ji0248a7g0vr36yxr0gfbbms2m25v251dyaa6"; - }; - - cargoSha256 = "sha256-Tiefet5gLpiuYY6Scg5fjnaPiZfVl5Gy2oZFdhgNRxY="; - - buildInputs = lib.optionals stdenv.isDarwin [ - CoreFoundation - Security - SystemConfiguration - ]; - - meta = with lib; { - description = "A cross-platform TUI database management tool written in Rust"; - homepage = "https://github.com/tako8ki/gobang"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dabc04b68d9e..e5b53cb99033 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16020,10 +16020,6 @@ with pkgs; gocover-cobertura = callPackage ../development/tools/gocover-cobertura { }; - gobang = callPackage ../development/tools/database/gobang { - inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; - }; - goblob = callPackage ../tools/security/goblob { }; gogetdoc = callPackage ../development/tools/gogetdoc { }; From 6f85ce210bd399a03e77af16c0daef37f65e9fe5 Mon Sep 17 00:00:00 2001 From: Matt Kline Date: Thu, 23 May 2024 14:22:33 -0700 Subject: [PATCH 27/56] nixos/snapper, nixos/borgbackup: Fix module doc typo The persistentTimer argument sets the _Persistent_ field in systemd.timer(5). Pointed out in #312549 (cherry picked from commit 234f4db797d0a64bd2995601f15fd12c2394157f) --- nixos/modules/services/backup/borgbackup.nix | 2 +- nixos/modules/services/misc/snapper.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/backup/borgbackup.nix b/nixos/modules/services/backup/borgbackup.nix index 04f971008073..a3c0715c9e60 100644 --- a/nixos/modules/services/backup/borgbackup.nix +++ b/nixos/modules/services/backup/borgbackup.nix @@ -361,7 +361,7 @@ in { type = types.bool; example = true; description = '' - Set the `persistentTimer` option for the + Set the `Persistent` option for the {manpage}`systemd.timer(5)` which triggers the backup immediately if the last trigger was missed (e.g. if the system was powered down). diff --git a/nixos/modules/services/misc/snapper.nix b/nixos/modules/services/misc/snapper.nix index 33207ac2b5bd..a42fca5b6028 100644 --- a/nixos/modules/services/misc/snapper.nix +++ b/nixos/modules/services/misc/snapper.nix @@ -108,7 +108,7 @@ in type = types.bool; example = true; description = '' - Set the `persistentTimer` option for the + Set the `Persistent` option for the {manpage}`systemd.timer(5)` which triggers the snapshot immediately if the last trigger was missed (e.g. if the system was powered down). From 277c62dc587846d6c571548f1d9cf03430713c10 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 23 May 2024 22:51:08 +0100 Subject: [PATCH 28/56] githooks.tests: fix eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the change the eval fails as: $ nix build --no-link -f. githooks.tests error: … while evaluating the 'name' attribute of a derivation … while evaluating a branch condition at lib/strings.nix:1194:3: 1193| # First detect the common case of already valid strings, to speed those up 1194| if stringLength string <= 207 && okRegex string != null | ^ 1195| then unsafeDiscardStringContext string … in the left operand of the AND (&&) operator at lib/strings.nix:1194:33: 1193| # First detect the common case of already valid strings, to speed those up 1194| if stringLength string <= 207 && okRegex string != null | ^ 1195| then unsafeDiscardStringContext string (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: expected a set but found a string: "githooks-cli" (cherry picked from commit 44744fc83f3ce1034eaf0b6cbb245a88234a42fe) --- pkgs/by-name/gi/githooks/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gi/githooks/package.nix b/pkgs/by-name/gi/githooks/package.nix index f4e4cd02bd86..8a68c861471b 100644 --- a/pkgs/by-name/gi/githooks/package.nix +++ b/pkgs/by-name/gi/githooks/package.nix @@ -5,6 +5,7 @@ git, testers, makeWrapper, + githooks }: buildGoModule rec { pname = "githooks"; @@ -70,7 +71,7 @@ buildGoModule rec { ''; passthru.tests.version = testers.testVersion { - package = "githooks-cli"; + package = githooks; command = "githooks-cli --version"; inherit version; }; From 09f3028054c5ff001b015689604896d2b9356a6f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 23 May 2024 15:02:26 +0200 Subject: [PATCH 29/56] =?UTF-8?q?coqPackages.graph-theory:=200.9.3=20?= =?UTF-8?q?=E2=86=92=200.9.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 9e274ea2cdf7feb0278d16999b2d65fdc99ea17f) --- pkgs/development/coq-modules/graph-theory/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/coq-modules/graph-theory/default.nix b/pkgs/development/coq-modules/graph-theory/default.nix index 0d28bbc0527f..6554b811f4b9 100644 --- a/pkgs/development/coq-modules/graph-theory/default.nix +++ b/pkgs/development/coq-modules/graph-theory/default.nix @@ -8,12 +8,14 @@ mkCoqDerivation { release."0.9.1".sha256 = "sha256-lRRY+501x+DqNeItBnbwYIqWLDksinWIY4x/iojRNYU="; release."0.9.2".sha256 = "sha256-DPYCZS8CzkfgpR+lmYhV2v20ezMtyWp8hdWpuh0OOQU="; release."0.9.3".sha256 = "sha256-9WX3gsw+4btJLqcGg2W+7Qy+jaZtkfw7vCp8sXYmaWw="; + release."0.9.4".sha256 = "sha256-fXTAsRdPisNhg8Umaa7S7gZ1M8zuPGg426KP9fAkmXQ="; releaseRev = v: "v${v}"; inherit version; defaultVersion = with lib.versions; lib.switch [ coq.coq-version mathcomp.version ] [ - { cases = [ (isGe "8.16") (range "2.0.0" "2.1.0") ]; out = "0.9.3"; } + { cases = [ (isGe "8.16") (range "2.0.0" "2.2.0") ]; out = "0.9.4"; } + { cases = [ (range "8.16" "8.18") (range "2.0.0" "2.1.0" ) ]; out = "0.9.3"; } { cases = [ (range "8.14" "8.18") (range "1.13.0" "1.18.0") ]; out = "0.9.2"; } { cases = [ (range "8.14" "8.16") (range "1.13.0" "1.14.0") ]; out = "0.9.1"; } { cases = [ (range "8.12" "8.13") (range "1.12.0" "1.14.0") ]; out = "0.9"; } From b847f3078aeb7d5bcac931818e6173810f46ae23 Mon Sep 17 00:00:00 2001 From: Greaka Date: Fri, 23 Feb 2024 19:59:09 +0100 Subject: [PATCH 30/56] maintainers: add greaka (cherry picked from commit 7bda925dacb26d2207c5e3c4b23f7e12d6f4e497) --- maintainers/maintainer-list.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d3118edf4fd4..c2e77eef35f8 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7731,6 +7731,14 @@ fingerprint = "7FC7 98AB 390E 1646 ED4D 8F1F 797F 6238 68CD 00C2"; }]; }; + greaka = { + email = "git@greaka.de"; + github = "greaka"; + githubId = 2805834; + name = "Greaka"; + keys = + [{ fingerprint = "6275 FB5C C9AC 9D85 FF9E 44C5 EE92 A5CD C367 118C"; }]; + }; greg = { email = "greg.hellings@gmail.com"; github = "greg-hellings"; From 8ab3d77d283c8394029fcbff6fed7f83f9ea8386 Mon Sep 17 00:00:00 2001 From: Greaka Date: Fri, 23 Feb 2024 20:00:05 +0100 Subject: [PATCH 31/56] maintainers: add lpostula (cherry picked from commit 8d6f8c9ed75a8900b6bd91b2a54c305c38b4cf40) --- maintainers/maintainer-list.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c2e77eef35f8..afe506275a97 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11934,6 +11934,14 @@ githubId = 10626; name = "Andreas Wagner"; }; + lpostula = { + email = "lois@postu.la"; + github = "loispostula"; + githubId = 1423612; + name = "Loïs Postula"; + keys = + [{ fingerprint = "0B4A E7C7 D3B7 53F5 3B3D 774C 3819 3C6A 09C3 9ED1"; }]; + }; lrewega = { email = "lrewega@c32.ca"; github = "lrewega"; From 21c744b445757dfb7bcdcb7798a76135270b4aab Mon Sep 17 00:00:00 2001 From: Greaka Date: Fri, 23 Feb 2024 20:02:40 +0100 Subject: [PATCH 32/56] maintainers/team-list: add fslabs (cherry picked from commit 0e5f44658ee645b05322c221f0e00b840991a8d2) --- maintainers/team-list.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index e0c1629a6f23..b2539cf31c82 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -345,6 +345,16 @@ with lib.maintainers; { shortName = "freedesktop.org packaging"; }; + fslabs = { + # Verify additions to this team with at least one already existing member of the team. + members = [ + greaka + lpostula + ]; + scope = "Group registration for packages maintained by Foresight Spatial Labs."; + shortName = "Foresight Spatial Labs employees"; + }; + gcc = { members = [ synthetica From 81366e6c91fc3de209f9a719bd7d0e94728e5ac0 Mon Sep 17 00:00:00 2001 From: Greaka Date: Fri, 23 Feb 2024 20:03:51 +0100 Subject: [PATCH 33/56] grafanaPlugins.grafana-oncall-app: init at 1.5.1 (cherry picked from commit 254dbdcc6296ba83381e218bf755b939c91a7f8e) --- .../grafana/plugins/grafana-oncall-app/default.nix | 13 +++++++++++++ pkgs/servers/monitoring/grafana/plugins/plugins.nix | 1 + 2 files changed, 14 insertions(+) create mode 100644 pkgs/servers/monitoring/grafana/plugins/grafana-oncall-app/default.nix diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-oncall-app/default.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-oncall-app/default.nix new file mode 100644 index 000000000000..6f475f49cfa7 --- /dev/null +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-oncall-app/default.nix @@ -0,0 +1,13 @@ +{ grafanaPlugin, lib }: + +grafanaPlugin { + pname = "grafana-oncall-app"; + version = "1.5.1"; + zipHash = "sha256-3mC4TJ9ACM9e3e6UKI5vaDwXuW6RjbsOQFJU5v0wjk8="; + meta = with lib; { + description = "Developer-friendly incident response for Grafana"; + license = licenses.agpl3Only; + maintainers = lib.teams.fslabs.members; + platforms = platforms.unix; + }; +} diff --git a/pkgs/servers/monitoring/grafana/plugins/plugins.nix b/pkgs/servers/monitoring/grafana/plugins/plugins.nix index 8bbd738f7ab9..bd1e775243f7 100644 --- a/pkgs/servers/monitoring/grafana/plugins/plugins.nix +++ b/pkgs/servers/monitoring/grafana/plugins/plugins.nix @@ -8,6 +8,7 @@ grafadruid-druid-datasource = callPackage ./grafadruid-druid-datasource { }; grafana-clickhouse-datasource = callPackage ./grafana-clickhouse-datasource { }; grafana-clock-panel = callPackage ./grafana-clock-panel { }; + grafana-oncall-app = callPackage ./grafana-oncall-app { }; grafana-piechart-panel = callPackage ./grafana-piechart-panel { }; grafana-polystat-panel = callPackage ./grafana-polystat-panel { }; grafana-worldmap-panel = callPackage ./grafana-worldmap-panel { }; From 715b0459f19a5cea7f4e71015b959ff2c012e155 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Thu, 23 May 2024 23:44:31 +0800 Subject: [PATCH 34/56] python3Packages.scikits-samplerate: remove (cherry picked from commit cb8e62b899d94611841e30a709af741b03db8d6b) --- .../scikits-samplerate/default.nix | 40 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 4 -- 3 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 pkgs/development/python-modules/scikits-samplerate/default.nix diff --git a/pkgs/development/python-modules/scikits-samplerate/default.nix b/pkgs/development/python-modules/scikits-samplerate/default.nix deleted file mode 100644 index b2cd98d477de..000000000000 --- a/pkgs/development/python-modules/scikits-samplerate/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - buildPythonPackage, - numpy, - libsamplerate, - fetchFromGitHub, -}: - -buildPythonPackage { - pname = "scikits-samplerate"; - version = "0.3.3"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "cournape"; - repo = "samplerate"; - rev = "a536c97eb2d6195b5f266ea3cc3a35364c4c2210"; - hash = "sha256-7x03Q6VXfP9p8HCk15IDZ9HeqTyi5F1AlGX/otdh8VU="; - }; - - buildInputs = [ libsamplerate ]; - - propagatedBuildInputs = [ numpy ]; - - preConfigure = '' - cat > site.cfg << END - [samplerate] - library_dirs=${libsamplerate.out}/lib - include_dirs=${lib.getDev libsamplerate}/include - END - ''; - - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/cournape/samplerate"; - description = "High quality sampling rate convertion from audio data in numpy arrays"; - license = licenses.gpl2; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 49eec3d93d70..61922b2690eb 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -485,6 +485,7 @@ mapAliases ({ sapi-python-client = kbcstorage; # added 2022-04-20 scikitimage = scikit-image; # added 2023-05-14 scikitlearn = scikit-learn; # added 2021-07-21 + scikits-samplerate = throw "scikits-samplerate has been removed, it was unsed and unmaintained since 2015"; # added 2024-05-23 selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10 sequoia = throw "python3Packages.sequoia was replaced by pysequoia - built from a dedicated repository, with a new API."; # added 2023-06-24 setuptools_dso = setuptools-dso; # added 2024-03-03 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ce45f029664f..4618817a3a3a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13619,10 +13619,6 @@ self: super: with self; { scikits-odes = callPackage ../development/python-modules/scikits-odes { }; - scikits-samplerate = callPackage ../development/python-modules/scikits-samplerate { - inherit (pkgs) libsamplerate; - }; - scikit-tda = callPackage ../development/python-modules/scikit-tda { }; scipy = callPackage ../development/python-modules/scipy { }; From c00fe4bb53116afcd8ec27dad0431989876f929d Mon Sep 17 00:00:00 2001 From: aleksana Date: Wed, 22 May 2024 21:17:25 +0800 Subject: [PATCH 35/56] share-preview: init at 0.5.0 (cherry picked from commit 7d2316c7c884c01c0126e56b482f4dcb8b23e42e) --- pkgs/by-name/sh/share-preview/package.nix | 58 +++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pkgs/by-name/sh/share-preview/package.nix diff --git a/pkgs/by-name/sh/share-preview/package.nix b/pkgs/by-name/sh/share-preview/package.nix new file mode 100644 index 000000000000..6e621efa39c6 --- /dev/null +++ b/pkgs/by-name/sh/share-preview/package.nix @@ -0,0 +1,58 @@ +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + meson, + ninja, + pkg-config, + rustc, + cargo, + wrapGAppsHook4, + desktop-file-utils, + libadwaita, + openssl, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "share-preview"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "rafaelmardojai"; + repo = "share-preview"; + rev = finalAttrs.version; + hash = "sha256-FqualaTkirB+gBcgkThQpSBHhM4iaXkiGujwBUnUX0E="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit (finalAttrs) src; + name = "share-preview-${finalAttrs.version}"; + hash = "sha256-Gh6bQZD1mlkj3XeGp+fF/NShC4PZCZSEqymrsSdX4Ec="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + rustPlatform.cargoSetupHook + rustc + cargo + wrapGAppsHook4 + desktop-file-utils + ]; + + buildInputs = [ + libadwaita + openssl + ]; + + meta = { + description = "Preview and debug websites metadata tags for social media share"; + homepage = "https://apps.gnome.org/SharePreview"; + license = lib.licenses.gpl3Plus; + mainProgram = "share-preview"; + maintainers = with lib.maintainers; [ aleksana ]; + platforms = lib.platforms.unix; + }; +}) From 109dff3b44bd6d783e4e744d3d6bc83f8bf55409 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 23 May 2024 07:02:23 +0200 Subject: [PATCH 36/56] share-preview: fix build on darwin (cherry picked from commit bc26aacc972c84bd936aa896783eb3d0a2679e8a) --- pkgs/by-name/sh/share-preview/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/sh/share-preview/package.nix b/pkgs/by-name/sh/share-preview/package.nix index 6e621efa39c6..093bbaf33270 100644 --- a/pkgs/by-name/sh/share-preview/package.nix +++ b/pkgs/by-name/sh/share-preview/package.nix @@ -12,6 +12,7 @@ desktop-file-utils, libadwaita, openssl, + darwin, }: stdenv.mkDerivation (finalAttrs: { @@ -45,8 +46,15 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ libadwaita openssl + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Foundation + darwin.apple_sdk.frameworks.SystemConfiguration ]; + env.NIX_CFLAGS_COMPILE = toString ( + lib.optionals stdenv.isDarwin [ "-Wno-error=incompatible-function-pointer-types" ] + ); + meta = { description = "Preview and debug websites metadata tags for social media share"; homepage = "https://apps.gnome.org/SharePreview"; From 9075e154ad76052baad1e71058df9f6bee88d988 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 21:36:58 +0200 Subject: [PATCH 37/56] lse: init at 4.14nw Linux enumeration tool with verbosity levels https://github.com/diego-treitos/linux-smart-enumeration (cherry picked from commit 42d21c614766fe69cac21d1ba4f3e53bef18c040) --- pkgs/by-name/ls/lse/package.nix | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/ls/lse/package.nix diff --git a/pkgs/by-name/ls/lse/package.nix b/pkgs/by-name/ls/lse/package.nix new file mode 100644 index 000000000000..52d050e5ba7c --- /dev/null +++ b/pkgs/by-name/ls/lse/package.nix @@ -0,0 +1,40 @@ +{ + lib, + stdenv, + bash, + fetchFromGitHub, + makeWrapper, +}: + +stdenv.mkDerivation rec { + pname = "lse"; + version = "4.14nw"; + + src = fetchFromGitHub { + owner = "diego-treitos"; + repo = "linux-smart-enumeration"; + rev = "refs/tags/${version}"; + hash = "sha256-qGLmrbyeyhHG6ONs7TJLTm68xpvxB1iAnMUApfTSqEk="; + }; + + buildInputs = [ bash ]; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + mkdir -p $out/bin + cp lse.sh $out/bin/lse.sh + wrapProgram $out/bin/lse.sh \ + --prefix PATH : ${lib.makeBinPath [ bash ]} + ''; + + meta = with lib; { + description = "Linux enumeration tool with verbosity levels"; + homepage = "https://github.com/diego-treitos/linux-smart-enumeration"; + changelog = "https://github.com/diego-treitos/linux-smart-enumeration/releases/tag/${version}"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ fab ]; + mainProgram = "lse.sh"; + platforms = platforms.all; + }; +} From fa72b9074e78bcb50b84823f4d112568e59a1742 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 23 May 2024 17:44:52 +0000 Subject: [PATCH 38/56] nuclei-templates: 9.8.6 -> 9.8.7 (cherry picked from commit 14fdf50a3ca0c1ea0218d0ef081883f72c6c9f39) --- pkgs/by-name/nu/nuclei-templates/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/nu/nuclei-templates/package.nix b/pkgs/by-name/nu/nuclei-templates/package.nix index 90eb9d35d25e..1d4910c212de 100644 --- a/pkgs/by-name/nu/nuclei-templates/package.nix +++ b/pkgs/by-name/nu/nuclei-templates/package.nix @@ -6,13 +6,13 @@ stdenvNoCC.mkDerivation rec { pname = "nuclei-templates"; - version = "9.8.6"; + version = "9.8.7"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "nuclei-templates"; rev = "refs/tags/v${version}"; - hash = "sha256-3hJfWSBciJ/UutVBIGisptcxmtWfvSfTbx55cyWxs4k="; + hash = "sha256-Masj0v9WGcLJKd/43T4klwyIM2uqhvuLSW5PBuKzsQg="; }; installPhase = '' From bb7972a3408f214164ceef23317b8c8f7c794fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 14 May 2024 19:32:49 -0700 Subject: [PATCH 39/56] imagemagick: fix passthru.tests.pkg-config The version suffix starting with "-" is not present in the pkg-config file. (cherry picked from commit 7f301eab1b3989fefb49f6c1f4edd7eb7b274756) --- pkgs/applications/graphics/ImageMagick/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index c15af9d94fb2..608e7bc50612 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -135,7 +135,10 @@ stdenv.mkDerivation (finalAttrs: { inherit nixos-icons; inherit (perlPackages) ImageMagick; inherit (python3.pkgs) img2pdf; - pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + version = lib.head (lib.splitString "-" finalAttrs.version); + }; }; meta = with lib; { From 5cb6818960a47667deb9d8b8d795038d31a68839 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Thu, 23 May 2024 14:02:41 +0700 Subject: [PATCH 40/56] s9fes: fix build on darwin (cherry picked from commit cbcb982a1d3847afa69deed5aad0ade9efd85c49) --- pkgs/development/interpreters/s9fes/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/interpreters/s9fes/default.nix b/pkgs/development/interpreters/s9fes/default.nix index 7cf60b00eb9b..4107b28e1cf9 100644 --- a/pkgs/development/interpreters/s9fes/default.nix +++ b/pkgs/development/interpreters/s9fes/default.nix @@ -22,7 +22,11 @@ stdenv.mkDerivation rec { ''; buildInputs = [ ncurses ]; + preBuild = '' + makeFlagsArray+=(CFLAGS="-O2 -std=c89") + ''; makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "PREFIX=$(out)" ]; + enableParallelBuilding = true; # ...-bash-5.2-p15/bin/bash: line 1: ...-s9fes-20181205/bin/s9help: No such file or directory # make: *** [Makefile:157: install-util] Error 1 From 9b8bd6b72e44f0db0090719b441613c5920f148d Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Thu, 23 May 2024 17:47:21 +0200 Subject: [PATCH 41/56] yaralyzer: 0.9.3 -> 0.9.4 https://github.com/michelcrypt4d4mus/yaralyzer/blob/v0.9.4/CHANGELOG.md https://github.com/michelcrypt4d4mus/yaralyzer/compare/v0.9.3...v0.9.4 (cherry picked from commit d5a6ef09a867abca2f63f389a30d1858b913bec9) --- pkgs/tools/security/yaralyzer/default.nix | 33 +++++++---------------- 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/pkgs/tools/security/yaralyzer/default.nix b/pkgs/tools/security/yaralyzer/default.nix index ddfc828741e5..47b5576e7bec 100644 --- a/pkgs/tools/security/yaralyzer/default.nix +++ b/pkgs/tools/security/yaralyzer/default.nix @@ -3,31 +3,16 @@ , fetchFromGitHub }: -let - python = python3.override { - packageOverrides = self: super: { - yara-python = super.yara-python.overridePythonAttrs (oldAttrs: rec { - version = "4.2.3"; - src = fetchFromGitHub { - owner = "VirusTotal"; - repo = "yara-python"; - rev = "v${version}"; - hash = "sha256-spUQuezQMqaG1hboM0/Gs7siCM6x0b40O+sV7qGGBng="; - }; - }); - }; - }; -in -python.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "yaralyzer"; - version = "0.9.3"; + version = "0.9.4"; pyproject = true; src = fetchFromGitHub { owner = "michelcrypt4d4mus"; repo = "yaralyzer"; rev = "refs/tags/v${version}"; - hash = "sha256-KGQNonzAZp8c0a3Rjb1WfsEkx5srgRzZfGR3gfNEdzY="; + hash = "sha256-rDb09XJOGWNARR0hhQQ91KXWepsLyR2a6/o3jagh6nA="; }; pythonRelaxDeps = [ @@ -35,12 +20,12 @@ python.pkgs.buildPythonApplication rec { "rich" ]; - nativeBuildInputs = with python.pkgs; [ + build-system = with python3.pkgs; [ poetry-core pythonRelaxDepsHook ]; - propagatedBuildInputs = with python.pkgs; [ + dependencies = with python3.pkgs; [ chardet python-dotenv rich @@ -52,12 +37,12 @@ python.pkgs.buildPythonApplication rec { "yaralyzer" ]; - meta = with lib; { + meta = { description = "Tool to visually inspect and force decode YARA and regex matches"; homepage = "https://github.com/michelcrypt4d4mus/yaralyzer"; - changelog = "https://github.com/michelcrypt4d4mus/yaralyzer/blob/${version}/CHANGELOG.md"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ fab ]; + changelog = "https://github.com/michelcrypt4d4mus/yaralyzer/blob/v${version}/CHANGELOG.md"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ fab ]; mainProgram = "yaralyze"; }; } From a598d2d15034c75275aecd4d8ed37f38e254e3f5 Mon Sep 17 00:00:00 2001 From: lucasew Date: Thu, 16 May 2024 13:03:49 -0300 Subject: [PATCH 42/56] ablog: move to by-name, fix build Signed-off-by: lucasew (cherry picked from commit 4d6e011773176acead319a9869fc7420a5872349) --- .../default.nix => by-name/ab/ablog/package.nix} | 14 ++++++++++---- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 10 insertions(+), 6 deletions(-) rename pkgs/{applications/misc/ablog/default.nix => by-name/ab/ablog/package.nix} (77%) diff --git a/pkgs/applications/misc/ablog/default.nix b/pkgs/by-name/ab/ablog/package.nix similarity index 77% rename from pkgs/applications/misc/ablog/default.nix rename to pkgs/by-name/ab/ablog/package.nix index 67b21e5199de..791c8598868c 100644 --- a/pkgs/applications/misc/ablog/default.nix +++ b/pkgs/by-name/ab/ablog/package.nix @@ -1,6 +1,7 @@ { lib , python3 -, fetchPypi +, fetchFromGitHub +, gitUpdater }: python3.pkgs.buildPythonApplication rec { @@ -8,9 +9,11 @@ python3.pkgs.buildPythonApplication rec { version = "0.11.8"; format = "pyproject"; - src = fetchPypi { - inherit pname version; - hash = "sha256-PpNBfa4g14l8gm9+PxOFc2NDey031D7Ohutx2OGUeak="; + src = fetchFromGitHub { + owner = "sunpy"; + repo = "ablog"; + rev = "v${version}"; + hash = "sha256-t3Vxw1IJoHuGqHv/0S4IoHwjWbtR6knXCBg4d0cM3lw="; }; nativeBuildInputs = with python3.pkgs; [ @@ -31,6 +34,7 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = with python3.pkgs; [ pytestCheckHook + defusedxml ]; pytestFlagsArray = [ @@ -39,6 +43,8 @@ python3.pkgs.buildPythonApplication rec { "-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError ]; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; + meta = with lib; { description = "ABlog for blogging with Sphinx"; mainProgram = "ablog"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dabc04b68d9e..906d98c61b35 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1497,8 +1497,6 @@ with pkgs; abduco = callPackage ../tools/misc/abduco { }; - ablog = callPackage ../applications/misc/ablog { }; - acct = callPackage ../tools/system/acct { }; accuraterip-checksum = callPackage ../tools/audio/accuraterip-checksum { }; From ffb350f8dcf090e0e18668eafac3be94aa516ca3 Mon Sep 17 00:00:00 2001 From: lucasew Date: Thu, 16 May 2024 13:04:30 -0300 Subject: [PATCH 43/56] ablog: 0.11.8 -> 0.11.10 Signed-off-by: lucasew (cherry picked from commit 1e1685f116d30b0dcddc4e022cd2ee87d320493f) --- pkgs/by-name/ab/ablog/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ab/ablog/package.nix b/pkgs/by-name/ab/ablog/package.nix index 791c8598868c..3221b16dcfcf 100644 --- a/pkgs/by-name/ab/ablog/package.nix +++ b/pkgs/by-name/ab/ablog/package.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "ablog"; - version = "0.11.8"; + version = "0.11.10"; format = "pyproject"; src = fetchFromGitHub { owner = "sunpy"; repo = "ablog"; rev = "v${version}"; - hash = "sha256-t3Vxw1IJoHuGqHv/0S4IoHwjWbtR6knXCBg4d0cM3lw="; + hash = "sha256-8NyFLGtMJLUkojEhWpWNZz3zlfgGVgSvgk4dDEz1jzs="; }; nativeBuildInputs = with python3.pkgs; [ From 29be0e61f385c4ed1c8323e737cdfb8c21ad2e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 29 Apr 2024 16:37:49 +0200 Subject: [PATCH 44/56] nixos/oauth2_proxy_nginx: fix proxy_set_header (cherry picked from commit f221b4f5f5ab5d8608df03ba5566c717a2bb4f57) --- .../services/security/oauth2-proxy-nginx.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/security/oauth2-proxy-nginx.nix b/nixos/modules/services/security/oauth2-proxy-nginx.nix index 07192e7287b0..44bf56233e95 100644 --- a/nixos/modules/services/security/oauth2-proxy-nginx.nix +++ b/nixos/modules/services/security/oauth2-proxy-nginx.nix @@ -83,6 +83,15 @@ in } ++ (lib.mapAttrsToList (vhost: conf: { virtualHosts.${vhost} = { locations = { + "/".extraConfig = '' + # pass information via X-User and X-Email headers to backend, requires running with --set-xauthrequest flag + proxy_set_header X-User $user; + proxy_set_header X-Email $email; + + # if you enabled --cookie-refresh, this is needed for it to work with auth_request + add_header Set-Cookie $auth_cookie; + ''; + "/oauth2/auth" = let maybeQueryArg = name: value: if value == null then null @@ -102,6 +111,7 @@ in proxy_pass_request_body off; ''; }; + "@redirectToAuth2ProxyLogin" = { return = "307 https://${cfg.domain}/oauth2/start?rd=$scheme://$host$request_uri"; extraConfig = '' @@ -114,16 +124,10 @@ in auth_request /oauth2/auth; error_page 401 = @redirectToAuth2ProxyLogin; - # pass information via X-User and X-Email headers to backend, - # requires running with --set-xauthrequest flag + # set variables being used in locations."/".extraConfig auth_request_set $user $upstream_http_x_auth_request_user; auth_request_set $email $upstream_http_x_auth_request_email; - proxy_set_header X-User $user; - proxy_set_header X-Email $email; - - # if you enabled --cookie-refresh, this is needed for it to work with auth_request auth_request_set $auth_cookie $upstream_http_set_cookie; - add_header Set-Cookie $auth_cookie; ''; }; }) cfg.virtualHosts))); From 0ba44b389f5c56b9d2da3afdfbb810258a9eebbe Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 24 May 2024 10:17:14 +0200 Subject: [PATCH 45/56] python311Packages.weatherflow4py: init at 0.2.20 Module to interact with the WeatherFlow REST API https://github.com/jeeftor/weatherflow4py (cherry picked from commit 477f540b11daf72e4ce5565f632a8e9d092f21a9) --- .../python-modules/weatherflow4py/default.nix | 54 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/python-modules/weatherflow4py/default.nix diff --git a/pkgs/development/python-modules/weatherflow4py/default.nix b/pkgs/development/python-modules/weatherflow4py/default.nix new file mode 100644 index 000000000000..d3dd7c8fd6fb --- /dev/null +++ b/pkgs/development/python-modules/weatherflow4py/default.nix @@ -0,0 +1,54 @@ +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + dataclasses-json, + fetchFromGitHub, + marshmallow, + poetry-core, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + websockets, +}: + +buildPythonPackage rec { + pname = "weatherflow4py"; + version = "0.2.20"; + pyproject = true; + + disabled = pythonOlder "3.11"; + + src = fetchFromGitHub { + owner = "jeeftor"; + repo = "weatherflow4py"; + rev = "refs/tags/v${version}"; + hash = "sha256-kkNGhFhciOfhrbjxLM01YC2IRmkdKEbk4EUyDJZJuxU="; + }; + + build-system = [ poetry-core ]; + + dependencies = [ + aiohttp + dataclasses-json + marshmallow + websockets + ]; + + nativeCheckInputs = [ + aioresponses + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ "weatherflow4py" ]; + + meta = with lib; { + description = "Module to interact with the WeatherFlow REST API"; + homepage = "https://github.com/jeeftor/weatherflow4py"; + changelog = "https://github.com/jeeftor/weatherflow4py/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4618817a3a3a..bb73e27a8de6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16826,6 +16826,8 @@ self: super: with self; { weasyprint = callPackage ../development/python-modules/weasyprint { }; + weatherflow4py = callPackage ../development/python-modules/weatherflow4py { }; + weaviate-client = callPackage ../development/python-modules/weaviate-client { }; web3 = callPackage ../development/python-modules/web3 { }; From 1481f5b59b1f0d164b934cfda46b0860c3a464a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 24 May 2024 10:17:39 +0200 Subject: [PATCH 46/56] home-assistant: update component-packages (cherry picked from commit a6340441a8158671ad01fa6c47415b8ea659934b) --- pkgs/servers/home-assistant/component-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 56a8d62cc20e..d9dfc59b12f1 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -4896,7 +4896,8 @@ pyweatherflowudp ]; "weatherflow_cloud" = ps: with ps; [ - ]; # missing inputs: weatherflow4py + weatherflow4py + ]; "weatherkit" = ps: with ps; [ apple-weatherkit ]; @@ -5974,6 +5975,7 @@ "waze_travel_time" "weather" "weatherflow" + "weatherflow_cloud" "weatherkit" "webhook" "webostv" From 9043a9df415b1abd9ad76af886c2802f838ab22c Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 23 May 2024 13:26:30 +0200 Subject: [PATCH 47/56] wordpressPackages.themes.proton: init at 1.0.1 (cherry picked from commit ef13f279d1f970b555c31efc84faf2b122973f16) --- .../wordpress/packages/thirdparty.nix | 37 ++++++++++++++----- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix b/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix index 24836f3ac42c..764408470064 100644 --- a/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix +++ b/pkgs/servers/web-apps/wordpress/packages/thirdparty.nix @@ -10,16 +10,35 @@ }; meta.license = lib.licenses.agpl3Only; }; - themes.geist = stdenv.mkDerivation rec { - pname = "geist"; - version = "2.0.3"; - src = fetchzip { - inherit version; - name = pname; - url = "https://github.com/christophery/geist/archive/refs/tags/${version}.zip"; - hash = "sha256-c85oRhqu5E5IJlpgqKJRQITur1W7x40obOvHZbPevzU="; + themes = { + geist = stdenv.mkDerivation rec { + pname = "geist"; + version = "2.0.3"; + src = fetchzip { + inherit version; + name = pname; + url = "https://github.com/christophery/geist/archive/refs/tags/${version}.zip"; + hash = "sha256-c85oRhqu5E5IJlpgqKJRQITur1W7x40obOvHZbPevzU="; + }; + meta.license = lib.licenses.gpl2Only; + }; + proton = stdenv.mkDerivation rec { + pname = "proton"; + version = "1.0.1"; + src = fetchzip { + inherit version; + name = pname; + url = "https://github.com/christophery/proton/archive/refs/tags/${version}.zip"; + hash = "sha256-JgKyLJ3dRqh1uwlsNuffCOM7LPBigGkLVFqftjFAiP4="; + }; + installPhase = '' + runHook preInstall + mkdir -p $out + cp -r ./* $out/ + runHook postInstall + ''; + meta.license = lib.licenses.mit; }; - meta.license = lib.licenses.gpl2Only; }; } From 41dab08042e75a5011eb8b29cd59926c1927164a Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 24 May 2024 03:07:21 +0200 Subject: [PATCH 48/56] chromedriver: 125.0.6422.76 -> 125.0.6422.112 (cherry picked from commit 42ddc8213f151fb8728d343db8cb0c1e1637becb) --- .../networking/browsers/chromium/upstream-info.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.nix b/pkgs/applications/networking/browsers/chromium/upstream-info.nix index e3bf7d7c0944..2c78950e3ff1 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.nix +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.nix @@ -1,11 +1,11 @@ { stable = { chromedriver = { - hash_darwin = "sha256-DX0J3xeOK4Dy4BAjbrbu1rnIkmF8nlmy9tMaQhLsFcU="; + hash_darwin = "sha256-1gi+hWrVL+mBB8pHMXnX/8kzRCQqGuut/+wO/9yBABs="; hash_darwin_aarch64 = - "sha256-hRJeaeQS30srO5M1Gi43VYR/KrjNAhH0XozkEzvcbA0="; - hash_linux = "sha256-CcBQhIsK7mL7VNJCs6ynhrQeXPuB793DysyV1nj90mM="; - version = "125.0.6422.76"; + "sha256-skYFjXBvv+2u/K770Dd3uxFYFer6GGx/EgWfAgzE9pI="; + hash_linux = "sha256-67rXlDJeDSpcpEhNQq0rVS2bSWPy3GXVnTo6dwKAnZU="; + version = "125.0.6422.78"; }; deps = { gn = { From 12897f94845bdd8be801d6dc28d70cfd47f0e1d6 Mon Sep 17 00:00:00 2001 From: emilylange Date: Fri, 24 May 2024 03:07:51 +0200 Subject: [PATCH 49/56] chromium: 125.0.6422.76 -> 125.0.6422.112 https://chromereleases.googleblog.com/2024/05/stable-channel-update-for-desktop_23.html This update includes 1 security fix. Google is aware that an exploit for CVE-2024-5274 exists in the wild. CVEs: CVE-2024-5274 (cherry picked from commit fc37fd1ae241815479b438efa0e2369d40ad0405) --- .../networking/browsers/chromium/upstream-info.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.nix b/pkgs/applications/networking/browsers/chromium/upstream-info.nix index 2c78950e3ff1..fe0e6ec6c41c 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.nix +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.nix @@ -15,8 +15,8 @@ version = "2024-04-10"; }; }; - hash = "sha256-m7WeRloS6tGH2AwhkNicpqThUQmS+9w2xFS2dbmu1vw="; - version = "125.0.6422.76"; + hash = "sha256-EA8TzemtndFb8qAp4XWNjwWmNRz/P4Keh3k1Cn9qLEU="; + version = "125.0.6422.112"; }; ungoogled-chromium = { deps = { From d143ed989a457144fa1e9ea00319d9f80840b13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Fri, 24 May 2024 12:59:53 +0200 Subject: [PATCH 50/56] dbeaver-bin: add update script (cherry picked from commit 07fd54a4a230b6a52b86b3b6775cfcf1fd91d94f) --- pkgs/by-name/db/dbeaver-bin/package.nix | 2 ++ pkgs/by-name/db/dbeaver-bin/update.sh | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100755 pkgs/by-name/db/dbeaver-bin/update.sh diff --git a/pkgs/by-name/db/dbeaver-bin/package.nix b/pkgs/by-name/db/dbeaver-bin/package.nix index ddf67faca43c..65aaff55a7a4 100644 --- a/pkgs/by-name/db/dbeaver-bin/package.nix +++ b/pkgs/by-name/db/dbeaver-bin/package.nix @@ -61,6 +61,8 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = ./update.sh; + meta = with lib; { homepage = "https://dbeaver.io/"; description = "Universal SQL Client for developers, DBA and analysts. Supports MySQL, PostgreSQL, MariaDB, SQLite, and more"; diff --git a/pkgs/by-name/db/dbeaver-bin/update.sh b/pkgs/by-name/db/dbeaver-bin/update.sh new file mode 100755 index 000000000000..ad09144f9a4b --- /dev/null +++ b/pkgs/by-name/db/dbeaver-bin/update.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env nix-shell +#!nix-shell -I nixpkgs=./. -i bash -p curl jq + +latestVersion=$(curl "https://api.github.com/repos/dbeaver/dbeaver/tags" | jq -r '.[0].name') +currentVersion=$(nix-instantiate --eval -E "with import ./. {}; dbeaver-bin.version" | tr -d '"') + +echo "latest version: $latestVersion" +echo "current version: $currentVersion" + +if [[ "$latestVersion" == "$currentVersion" ]]; then + echo "package is up-to-date" + exit 0 +fi + +for i in \ + "x86_64-linux linux.gtk.x86_64-nojdk.tar.gz" \ + "aarch64-linux linux.gtk.aarch64-nojdk.tar.gz" +do + set -- $i + prefetch=$(nix-prefetch-url "https://github.com/dbeaver/dbeaver/releases/download/$latestVersion/dbeaver-ce-$latestVersion-$2") + hash=$(nix-hash --type sha256 --to-sri $prefetch) + + update-source-version dbeaver-bin 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=$1 + update-source-version dbeaver-bin $latestVersion $hash --system=$1 +done From 56a4f9ffc44de8318d3286c5d4e4f4d1fb646560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Fri, 24 May 2024 12:59:12 +0200 Subject: [PATCH 51/56] dbeaver-bin: fix aarch64 hash mismatch (cherry picked from commit 237485a9dbef337fc08f9a3297bb2d1b58342749) --- pkgs/by-name/db/dbeaver-bin/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/db/dbeaver-bin/package.nix b/pkgs/by-name/db/dbeaver-bin/package.nix index 65aaff55a7a4..c4998ec7ce90 100644 --- a/pkgs/by-name/db/dbeaver-bin/package.nix +++ b/pkgs/by-name/db/dbeaver-bin/package.nix @@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { }; hash = selectSystem { x86_64-linux = "sha256-q6VIr55hXn47kZrE2i6McEOfp2FBOvwB0CcUnRHFMZs="; - aarch64-linux = "sha256-CQg2+p1P+Bg1uFM1PMTWtweS0TNElXTP7tI7D5WxixM="; + aarch64-linux = "sha256-Xn3X1C31UALBAsZIGyMWdp0HNhJEm5N+7Go7nMs8W64="; }; in fetchurl { From 000d2fae43268634413138f6ffcf8abef0b4dde4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 23 May 2024 14:41:59 +0000 Subject: [PATCH 52/56] goimports-reviser: 3.6.4 -> 3.6.5 (cherry picked from commit c48dd1b43abf0a25936991d4685c5592e040a372) --- pkgs/development/tools/goimports-reviser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/goimports-reviser/default.nix b/pkgs/development/tools/goimports-reviser/default.nix index 437b27ce8435..b7bdf8632164 100644 --- a/pkgs/development/tools/goimports-reviser/default.nix +++ b/pkgs/development/tools/goimports-reviser/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "goimports-reviser"; - version = "3.6.4"; + version = "3.6.5"; src = fetchFromGitHub { owner = "incu6us"; repo = "goimports-reviser"; rev = "v${version}"; - hash = "sha256-+GVC/qJnqWm5tsn2Y5BPafapp7ct9kqHWlDNxukEZsM="; + hash = "sha256-46s6A1sGqoJR3XihaCkVCxTpManl330mMcJ8hv66zDc="; }; vendorHash = "sha256-z+FeAXPXKi653im2X2WOP1R9gRl/x7UBnndoEXoxdwA="; From 5ea7c6dce570065ebcb23271a7e68b0ba28a4e77 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Fri, 24 May 2024 20:57:53 +0800 Subject: [PATCH 53/56] python3Packages.tokenlib: 0.3.1 -> 2.0.0 (cherry picked from commit ccd107e02da6a87a7ac53d69e40d7df22008625a) --- .../python-modules/tokenlib/default.nix | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/tokenlib/default.nix b/pkgs/development/python-modules/tokenlib/default.nix index 1b0641574eec..59a19b81a3f9 100644 --- a/pkgs/development/python-modules/tokenlib/default.nix +++ b/pkgs/development/python-modules/tokenlib/default.nix @@ -4,25 +4,40 @@ fetchFromGitHub, requests, webob, + fetchpatch, + setuptools, }: buildPythonPackage rec { pname = "tokenlib"; - version = "0.3.1"; - format = "setuptools"; + version = "2.0.0"; + + pyproject = true; + build-system = [ setuptools ]; src = fetchFromGitHub { owner = "mozilla-services"; - repo = pname; - rev = "refs/tags/${version}"; - sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8"; + repo = "tokenlib"; + rev = "${version}"; + hash = "sha256-+KybaLb4XAcuBARJUhL5gK71jfNMb8YL8dV5Vzf7yXI="; }; - propagatedBuildInputs = [ + patches = [ + # fix wrong function name in tests + # See https://github.com/mozilla-services/tokenlib/pull/9 + (fetchpatch { + url = "https://github.com/mozilla-services/tokenlib/pull/9/commits/cb7ef761f82f36e40069bd1b8684eec05af3b8a3.patch"; + hash = "sha256-hc+iydxZu9bFqBD0EQDWMkRs2ibqNAhx6Qxjh6ppKNw="; + }) + ]; + + dependencies = [ requests webob ]; + pythonImportsCheck = [ "tokenlib" ]; + meta = with lib; { homepage = "https://github.com/mozilla-services/tokenlib"; description = "Generic support library for signed-token-based auth schemes"; From 15f3844c0cbd2ab6502cfc74927925784603565b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Fri, 24 May 2024 21:05:13 +0200 Subject: [PATCH 54/56] lemmy-server: fix darwin build (cherry picked from commit 0fc86c4a7a9f7f2180db471583aad9ac725508ce) --- pkgs/servers/web-apps/lemmy/server.nix | 3 ++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/lemmy/server.nix b/pkgs/servers/web-apps/lemmy/server.nix index 4f605b0b2dbd..d4d44c473f5c 100644 --- a/pkgs/servers/web-apps/lemmy/server.nix +++ b/pkgs/servers/web-apps/lemmy/server.nix @@ -6,6 +6,7 @@ , postgresql , libiconv , Security +, SystemConfiguration , protobuf , rustfmt , nixosTests @@ -33,7 +34,7 @@ rustPlatform.buildRustPackage rec { cargoHash = pinData.serverCargoHash; buildInputs = [ postgresql ] - ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; + ++ lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ]; # Using OPENSSL_NO_VENDOR is not an option on darwin # As of version 0.10.35 rust-openssl looks for openssl on darwin diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 26b886b8c81a..2a0eba45bec6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25849,7 +25849,7 @@ with pkgs; leafnode1 = callPackage ../servers/news/leafnode/1.nix { }; lemmy-server = callPackage ../servers/web-apps/lemmy/server.nix { - inherit (darwin.apple_sdk.frameworks) Security; + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; lemmy-ui = callPackage ../servers/web-apps/lemmy/ui.nix { From f651e7d4d81dabc4e4172cb22993018e064ccfe0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 May 2024 23:11:22 +0200 Subject: [PATCH 55/56] [Backport release-24.05] nixos/frigate: drop BindPaths from systemd service (#314325) * frigate: drop BindPaths from systemd service Migrations have been working well even with misconfigured BindPaths => removing (cherry picked from commit f45e2f7604d202ce2abb3d5a4b1e116f6ac219ed) --- nixos/modules/services/video/frigate.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/services/video/frigate.nix b/nixos/modules/services/video/frigate.nix index 0e6bde447c03..c3ec4a3c76c3 100644 --- a/nixos/modules/services/video/frigate.nix +++ b/nixos/modules/services/video/frigate.nix @@ -427,10 +427,6 @@ in PrivateTmp = true; CacheDirectory = "frigate"; CacheDirectoryMode = "0750"; - - BindPaths = [ - "/migrations:${cfg.package}/share/frigate/migrations:ro" - ]; }; }; }; From 59cc582cf717bb97f7b8aafa28071779e2ce80e2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 24 May 2024 22:45:34 +0200 Subject: [PATCH 56/56] home-assistant: 2024.5.4 -> 2024.5.5 https://github.com/home-assistant/core/releases/tag/2024.5.5 (cherry picked from commit 835e4595569d4d9138eaa271e9a5093742c989cb) --- pkgs/servers/home-assistant/component-packages.nix | 2 +- pkgs/servers/home-assistant/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index d9dfc59b12f1..23f17c9ad7c1 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2024.5.4"; + version = "2024.5.5"; components = { "3_day_blinds" = ps: with ps; [ ]; diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index bb2de0881bf6..d122c85fc75e 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -550,7 +550,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2024.5.4"; + hassVersion = "2024.5.5"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -568,13 +568,13 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = "refs/tags/${version}"; - hash = "sha256-YJluhc1MCRxeDtn8R9tF2QYA6qCiYpjOpRJaQeay3lk="; + hash = "sha256-WAwLir9+O82kNBAwy0hUdfVxgDb3C4sIRDcyzVxfcuM="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-e2evRFP/l2HHcDgMUWQEM7xvvAfLRwdFtz+u2mwXepI="; + hash = "sha256-kcZM+IK96/q2GXeDSJzJTbzbz5mYcHevTDLpKspII6o="; }; build-system = with python.pkgs; [