From f82ceb1c489cf552e668e5a6411ae60a4a475fd6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Aug 2022 10:52:40 +0200 Subject: [PATCH 01/22] python310Packages.dvc-http: init at 0.0.1 --- .../python-modules/dvc-http/default.nix | 53 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 55 insertions(+) create mode 100644 pkgs/development/python-modules/dvc-http/default.nix diff --git a/pkgs/development/python-modules/dvc-http/default.nix b/pkgs/development/python-modules/dvc-http/default.nix new file mode 100644 index 000000000000..293504279625 --- /dev/null +++ b/pkgs/development/python-modules/dvc-http/default.nix @@ -0,0 +1,53 @@ +{ lib +, aiohttp-retry +, buildPythonPackage +, dvc +, fetchFromGitHub +, fsspec +, pythonOlder +, pythonRelaxDepsHook +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "dvc-http"; + version = "0.0.1"; + format = "pyproject"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "iterative"; + repo = pname; + rev = version; + hash = "sha256-lZctTmMMF9OMvzMbTYH1d/twW284/IcO8ICb/ennFQA="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + pythonRelaxDepsHook + setuptools-scm + ]; + + propagatedBuildInputs = [ + dvc + fsspec + aiohttp-retry + ]; + + # Currently it's not possible to run the tests + # ModuleNotFoundError: No module named 'dvc.testing' + doCheck = false; + + pythonImportsCheck = [ + "dvc_http" + ]; + + meta = with lib; { + description = "HTTP plugin for dvc"; + homepage = "https://github.com/iterative/dvc-http"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 51cbc01b565a..89f54f154e1b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2733,6 +2733,8 @@ in { dvc-data = callPackage ../development/python-modules/dvc-data { }; + dvc-http = callPackage ../development/python-modules/dvc-http { }; + dvc-objects = callPackage ../development/python-modules/dvc-objects { }; dvc-render = callPackage ../development/python-modules/dvc-render { }; From 1480cd40981da3986ead8ea0554eb13c47515127 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 8 Mar 2023 21:10:22 +0100 Subject: [PATCH 02/22] =?UTF-8?q?ocamlPackages.merlin:=204.7=20=E2=86=92?= =?UTF-8?q?=204.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/tools/ocaml/merlin/4.x.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/ocaml/merlin/4.x.nix b/pkgs/development/tools/ocaml/merlin/4.x.nix index 296675664547..ae57eb31529f 100644 --- a/pkgs/development/tools/ocaml/merlin/4.x.nix +++ b/pkgs/development/tools/ocaml/merlin/4.x.nix @@ -15,13 +15,13 @@ }: let - merlinVersion = "4.7"; + merlinVersion = if lib.versionAtLeast ocaml.version "4.14" then "4.8" else "4.7"; hashes = { "4.7-412" = "sha256-0U3Ia7EblKULNy8AuXFVKACZvGN0arYJv7BWiBRgT0Y="; "4.7-413" = "sha256-aVmGWS4bJBLuwsxDKsng/n0A6qlyJ/pnDTcYab/5gyU="; - "4.7-414" = "sha256-bIZ4kwmnit/ujM2//jZA59rweo7Y0QfDb+BpoTxswHs="; - "4.7-500" = "sha256-elYb/0vVvohi9yYFe/54brb6Qh6fyiN1kYPRq5fP1zE="; + "4.8-414" = "sha256-HMXWhcVOXW058y143rNBcfEOmjt2tZJXcXKHmKZ5i68="; + "4.8-500" = "sha256-n5NHKuo0/lZmfe7WskqnW3xm1S0PmXKSS93BDKrpjCI="; }; ocamlVersionShorthand = lib.substring 0 3 From 4e59252a2a6afaaa8b6d712e4c572ceaac1ded2b Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Wed, 8 Mar 2023 15:22:11 +0800 Subject: [PATCH 03/22] python3Packages.torch: Enable Accelerate.framework on darwin to increase performance --- pkgs/development/python-modules/torch/default.nix | 4 ++-- pkgs/top-level/python-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index b00146b573fe..7a399f54512a 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -9,7 +9,7 @@ # Build inputs numactl, - CoreServices, libobjc, + Accelerate, CoreServices, libobjc, # Propagated build inputs numpy, pyyaml, cffi, click, typing-extensions, @@ -275,7 +275,7 @@ in buildPythonPackage rec { ++ lib.optionals rocmSupport [ openmp ] ++ lib.optionals (cudaSupport || rocmSupport) [ magma ] ++ lib.optionals stdenv.isLinux [ numactl ] - ++ lib.optionals stdenv.isDarwin [ CoreServices libobjc ]; + ++ lib.optionals stdenv.isDarwin [ Accelerate CoreServices libobjc ]; propagatedBuildInputs = [ cffi diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 21e75c132962..9bf6a2e922dc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11675,7 +11675,7 @@ self: super: with self; { torch = callPackage ../development/python-modules/torch { cudaSupport = pkgs.config.cudaSupport or false; - inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; + inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate CoreServices; inherit (pkgs.darwin) libobjc; inherit (pkgs.llvmPackages_rocm) openmp; }; From 0d758c2aa116f2eb17ce5cde62c3b1e361a64661 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Thu, 9 Mar 2023 21:16:21 +0800 Subject: [PATCH 04/22] python3Packages.torch: Disable MKLDNN on aarch64-darwin It negatively impacts performance, this is also what official pytorch build does. In my test in a Macbook Pro M1 2020, using [pianotrans][1] to transcribe [cut_liszt.opus][2], transcription time: Enable mkldnn and disable Accelerate.framework: ~88s Disable mkldnn and disable Accelerate.framework: ~21s Disable mkldnn and enable Accelerate.framework: ~9s The final result is close to using torch-bin. See also https://github.com/NixOS/nixpkgs/pull/219104 [1]: https://github.com/azuwis/pianotrans [2]: https://github.com/azuwis/pianotrans/raw/master/test/cut_liszt.opus --- pkgs/development/python-modules/torch/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index 7a399f54512a..d889dfc60201 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -1,6 +1,6 @@ { stdenv, lib, fetchFromGitHub, fetchpatch, buildPythonPackage, python, cudaSupport ? false, cudaPackages, magma, - mklDnnSupport ? true, useSystemNccl ? true, + useSystemNccl ? true, MPISupport ? false, mpi, buildDocs ? false, @@ -17,6 +17,10 @@ # Unit tests hypothesis, psutil, + # Disable MKLDNN on aarch64-darwin, it negatively impacts performance, + # this is also what official pytorch build does + mklDnnSupport ? !(stdenv.isDarwin && stdenv.isAarch64), + # virtual pkg that consistently instantiates blas across nixpkgs # See https://github.com/NixOS/nixpkgs/pull/83888 blas, From c9a42e3530dcebdd9c4ca306aaa092b96dbfbfda Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 11 Mar 2023 20:56:36 +0000 Subject: [PATCH 05/22] waypipe: 0.8.4 -> 0.8.5 Full changelog: Fix dmabuf-feedback event ordering Update issue filing guidelines Avoid acquiring controlling terminal Provide dmabuf main device from opened drm fd Allow --drm-node option in ssh and client modes Fix a crash with ffmpeg 6.0 Bump version --- pkgs/applications/networking/remote/waypipe/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/remote/waypipe/default.nix b/pkgs/applications/networking/remote/waypipe/default.nix index ec94d504b9db..8aa0e38fcf42 100644 --- a/pkgs/applications/networking/remote/waypipe/default.nix +++ b/pkgs/applications/networking/remote/waypipe/default.nix @@ -5,14 +5,14 @@ stdenv.mkDerivation rec { pname = "waypipe"; - version = "0.8.4"; + version = "0.8.5"; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "mstoeckl"; repo = "waypipe"; rev = "v${version}"; - sha256 = "sha256-ee3RKlcZQf8o8cQfz1ckiLDFNzdFJesBJKJTTrUmcpU="; + sha256 = "sha256-uf2+PSqgZ+RShuVYlR42xMV38tuYbGV+bW1tdXgiZYU="; }; strictDeps = true; From b2d958c94fab9e720ef94f87eb71e85d15844bbf Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Sun, 5 Mar 2023 23:47:12 +0000 Subject: [PATCH 06/22] rauc: switch buildsystem to meson Adjust the buildsystem to use meson instead of autotools and add additional dependencies. Also add a page to install the man page when using meson. --- pkgs/tools/misc/rauc/default.nix | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/misc/rauc/default.nix b/pkgs/tools/misc/rauc/default.nix index 7bc613ac3f93..3548ba6975ff 100644 --- a/pkgs/tools/misc/rauc/default.nix +++ b/pkgs/tools/misc/rauc/default.nix @@ -1,7 +1,7 @@ -{ autoreconfHook -, curl +{ curl , dbus , fetchFromGitHub +, fetchpatch , glib , json-glib , lib @@ -9,6 +9,11 @@ , openssl , pkg-config , stdenv +, meson +, ninja +, util-linux +, libnl +, systemd }: stdenv.mkDerivation rec { @@ -22,21 +27,29 @@ stdenv.mkDerivation rec { sha256 = "sha256-VpHcJUTRZ5aJyfYypjVsYyRNrK0+9ci42mmlZQSkWAk="; }; + patches = [ + (fetchpatch { + # Patch to install the man page when using meson, remove on package bump + url = "https://github.com/rauc/rauc/commit/756c677d031c435070a6900e6778d06961822261.patch"; + hash = "sha256-QgIUagioRo61PeC0JyKjZtnauFiYP1Fz9wrxGEikBGI="; + }) + ]; passthru = { updateScript = nix-update-script { }; }; enableParallelBuilding = true; - nativeBuildInputs = [ pkg-config autoreconfHook ]; + nativeBuildInputs = [ pkg-config meson ninja ]; - buildInputs = [ curl dbus glib json-glib openssl ]; + buildInputs = [ curl dbus glib json-glib openssl util-linux libnl systemd ]; - configureFlags = [ - "--with-systemdunitdir=${placeholder "out"}/lib/systemd/system" - "--with-dbusinterfacesdir=${placeholder "out"}/share/dbus-1/interfaces" - "--with-dbuspolicydir=${placeholder "out"}/share/dbus-1/system.d" - "--with-dbussystemservicedir=${placeholder "out"}/share/dbus-1/system-services" + mesonFlags = [ + "--buildtype=release" + (lib.mesonOption "systemdunitdir" "${placeholder "out"}/lib/systemd/system") + (lib.mesonOption "dbusinterfacesdir" "${placeholder "out"}/share/dbus-1/interfaces") + (lib.mesonOption "dbuspolicydir" "${placeholder "out"}/share/dbus-1/system.d") + (lib.mesonOption "dbussystemservicedir" "${placeholder "out"}/share/dbus-1/system-services") ]; meta = with lib; { From efb6a85e389647cb79de44a2164d54c7bd4c37e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 9 Mar 2023 00:52:03 +0100 Subject: [PATCH 07/22] python310Packages.argcomplete: 2.0.0 -> 2.1.1 --- .../python-modules/argcomplete/default.nix | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/argcomplete/default.nix b/pkgs/development/python-modules/argcomplete/default.nix index 5bf20d82b2fe..12fd0fbd5a3e 100644 --- a/pkgs/development/python-modules/argcomplete/default.nix +++ b/pkgs/development/python-modules/argcomplete/default.nix @@ -1,30 +1,29 @@ -{ buildPythonPackage, fetchPypi, lib -, dicttoxml -, importlib-metadata +{ buildPythonPackage +, fetchPypi +, lib , pexpect -, prettytable -, requests-toolbelt }: + buildPythonPackage rec { pname = "argcomplete"; - version = "2.0.0"; + version = "2.1.1"; src = fetchPypi { inherit pname version; - sha256 = "6372ad78c89d662035101418ae253668445b391755cfe94ea52f1b9d22425b20"; + sha256 = "sha256-cuCDQIUtMlREWcDBmq0bSKosOpbejG5XQkVrT1OMpS8="; }; - doCheck = false; # meant to be ran with interactive interpreter + postPatch = '' + substituteInPlace setup.py \ + --replace '"coverage",' "" \ + --replace " + lint_require" "" + ''; - # re-enable if we are able to make testing work - # nativeCheckInputs = [ bashInteractive coverage flake8 ]; + # tries to build and install test packages which fails + doCheck = false; propagatedBuildInputs = [ - dicttoxml - importlib-metadata pexpect - prettytable - requests-toolbelt ]; pythonImportsCheck = [ "argcomplete" ]; From 6419b97e49a33301c60df2a9d750454b98f9008f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Mar 2023 11:20:16 +0100 Subject: [PATCH 08/22] commitizen: fix build after argcomplete update --- pkgs/applications/version-management/commitizen/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/commitizen/default.nix b/pkgs/applications/version-management/commitizen/default.nix index 927bd7acaa94..ab15b09a4d18 100644 --- a/pkgs/applications/version-management/commitizen/default.nix +++ b/pkgs/applications/version-management/commitizen/default.nix @@ -1,4 +1,5 @@ { buildPythonApplication +, charset-normalizer , colorama , commitizen , decli @@ -41,10 +42,12 @@ buildPythonApplication rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace 'charset-normalizer = "^2.1.0"' 'charset-normalizer = "*"' + --replace 'charset-normalizer = "^2.1.0"' 'charset-normalizer = "*"' \ + --replace 'argcomplete = ">=1.12.1,<2.1"' 'argcomplete = ">=1.12.1"' ''; propagatedBuildInputs = [ + charset-normalizer termcolor questionary colorama From 957a7cbcc839d2463c1cee2f66fb7cb35bda2f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Mar 2023 11:31:05 +0100 Subject: [PATCH 09/22] python310Packages.can: add missing dependency, skip timing sensitive tests --- pkgs/development/python-modules/can/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/can/default.nix b/pkgs/development/python-modules/can/default.nix index d96f588a0aae..d8937082cb69 100644 --- a/pkgs/development/python-modules/can/default.nix +++ b/pkgs/development/python-modules/can/default.nix @@ -10,6 +10,8 @@ , pytest-timeout , pytestCheckHook , pythonOlder +, setuptools +, stdenv , typing-extensions , wrapt , uptime @@ -37,6 +39,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ msgpack packaging + setuptools typing-extensions wrapt ]; @@ -73,10 +76,16 @@ buildPythonPackage rec { # pytest.approx is not supported in a boolean context (since pytest7) "test_pack_unpack" "test_receive" + ] ++ lib.optionals stdenv.isDarwin [ + # timing sensitive + "test_general" + "test_gap" ]; preCheck = '' export PATH="$PATH:$out/bin"; + # skips timing senstive tests + export CI=1 ''; pythonImportsCheck = [ From 665daeee0012a9cc8219fb529c4d8a51d0bc3fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Mar 2023 11:31:14 +0100 Subject: [PATCH 10/22] python310Packages.msgspec: fix src hash --- pkgs/development/python-modules/msgspec/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/msgspec/default.nix b/pkgs/development/python-modules/msgspec/default.nix index 78aa7eb6e61e..10e0e6b23e8a 100644 --- a/pkgs/development/python-modules/msgspec/default.nix +++ b/pkgs/development/python-modules/msgspec/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "jcrist"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-TGCdsimcoY3441/nOXxHGqYM4q8uoWd78HtUts6EOJY="; + hash = "sha256-Sq0hV5ZftUCIR/6QOWvdfzg8UHYLZXo5ba5ydTnjqPg="; }; # Requires libasan to be accessible From 98fe000b3db44821eee3e92173a7906cbffda828 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 14 Mar 2023 01:01:42 +0100 Subject: [PATCH 11/22] python310Packages.dvc-http: 0.0.1 -> 2.30.2 Changelog: https://github.com/iterative/dvc-http/releases/tag/2.30.2 --- pkgs/development/python-modules/dvc-http/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dvc-http/default.nix b/pkgs/development/python-modules/dvc-http/default.nix index 293504279625..cb812d850c16 100644 --- a/pkgs/development/python-modules/dvc-http/default.nix +++ b/pkgs/development/python-modules/dvc-http/default.nix @@ -1,8 +1,8 @@ { lib , aiohttp-retry , buildPythonPackage -, dvc , fetchFromGitHub +, dvc-objects , fsspec , pythonOlder , pythonRelaxDepsHook @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "dvc-http"; - version = "0.0.1"; + version = "2.30.2"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -19,19 +19,18 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "iterative"; repo = pname; - rev = version; - hash = "sha256-lZctTmMMF9OMvzMbTYH1d/twW284/IcO8ICb/ennFQA="; + rev = "refs/tags/${version}"; + hash = "sha256-IlgJEnS+rHSg5cw7SCc3vVtG1mJA5voGViya7nkpL2M="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ - pythonRelaxDepsHook setuptools-scm ]; propagatedBuildInputs = [ - dvc + dvc-objects fsspec aiohttp-retry ]; @@ -47,6 +46,7 @@ buildPythonPackage rec { meta = with lib; { description = "HTTP plugin for dvc"; homepage = "https://github.com/iterative/dvc-http"; + changelog = "https://github.com/iterative/dvc-http/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; From d3e75339e5d54a5d7bf004f769757a31513ea378 Mon Sep 17 00:00:00 2001 From: nixpkgs-upkeep-bot Date: Tue, 14 Mar 2023 00:44:47 +0000 Subject: [PATCH 12/22] vscode: 1.76.0 -> 1.76.1 --- pkgs/applications/editors/vscode/vscode.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index c178aec86517..79417b42f99f 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -18,17 +18,17 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "00n7mykr8dyn9chiwsp0s8pk53c39by4wl0hyx1inb0zqxaszw25"; - x86_64-darwin = "1q41x23jbpisbwcxgmx18g0bcdsj5g1w3pbj9m6mxlssvbc2xiw6"; - aarch64-linux = "1kaj8g50m8imk34whf6sq41a2b1751mjqxvpwnprlx0i7xj2l832"; - aarch64-darwin = "1h6plmyv3xkkbpwka5rrkc1bdrgj9d8jp0q6qyhch368x8mp781m"; - armv7l-linux = "0q46nzhn8agsif9s50dbdbx6ds3ll39yp5lrp9n7y9a26m4cwjmv"; + x86_64-linux = "0dqwjc606z8qizg9hcfjlpq92hmaxh3a09368ffz7irl5sgwp300"; + x86_64-darwin = "00795gr9dmshz6sfgsp70fii6m76fqdmqskwkdwqwxddl0i07sw5"; + aarch64-linux = "04ckk6l9ym1igaqk1zfyy4zx05yryi641lc0i1l38k3mbv1k3gvw"; + aarch64-darwin = "16z96h8s9irgb17gy6ng3r6cbiwrxa7q7qazqamnmgvvahg08kvj"; + armv7l-linux = "042ihy4bg39y4m2djkqcx099w9710ikprbw3z7gh1gqvj3qyxy6i"; }.${system} or throwSystem; in callPackage ./generic.nix rec { # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.76.0"; + version = "1.76.1"; pname = "vscode"; executableName = "code" + lib.optionalString isInsiders "-insiders"; From 7c9b69b1aa79fb3f92623234ef74643c220d8c18 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 14 Mar 2023 04:20:00 +0000 Subject: [PATCH 13/22] twilio-cli: 5.4.1 -> 5.4.2 https://github.com/twilio/twilio-cli/releases/tag/5.4.2 --- pkgs/development/tools/twilio-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/twilio-cli/default.nix b/pkgs/development/tools/twilio-cli/default.nix index 3187fb28eef0..0842a07049c5 100644 --- a/pkgs/development/tools/twilio-cli/default.nix +++ b/pkgs/development/tools/twilio-cli/default.nix @@ -2,11 +2,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "twilio-cli"; - version = "5.4.1"; + version = "5.4.2"; src = fetchzip { url = "https://twilio-cli-prod.s3.amazonaws.com/twilio-v${finalAttrs.version}/twilio-v${finalAttrs.version}.tar.gz"; - sha256 = "sha256-UEfnwYMiYE+DAENwf3cfSE20ctAxVjbko428rDNIMzI="; + sha256 = "sha256-Zrn+4/zeqJXkKOSsbpPR2bO+ilApn8JUVAgqWydv/Is="; }; buildInputs = [ nodejs ]; From ba9146d6d882f0341cc5fa0155e40e35566ee8fe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Mar 2023 06:20:17 +0000 Subject: [PATCH 14/22] python310Packages.nextcord: 2.4.0 -> 2.4.1 --- pkgs/development/python-modules/nextcord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nextcord/default.nix b/pkgs/development/python-modules/nextcord/default.nix index f2a6137faed9..58e7d1b57a53 100644 --- a/pkgs/development/python-modules/nextcord/default.nix +++ b/pkgs/development/python-modules/nextcord/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "nextcord"; - version = "2.4.0"; + version = "2.4.1"; format = "setuptools"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "nextcord"; repo = "nextcord"; rev = "refs/tags/v${version}"; - hash = "sha256-TePUsyQ4DCuvfRQD4KAUs94o3MJRmZmu6jMPv4lJtHE="; + hash = "sha256-9Zgdaw5JXr0xUhxuhBWyPwKN64NY76Z72KJ571Hko2w="; }; patches = [ From f6005898a12f66a96674063cd7d5bae101284c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Apayd=C4=B1n?= Date: Tue, 14 Mar 2023 11:04:35 +0300 Subject: [PATCH 15/22] buildkit: add developer-guy to maintainers list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Batuhan Apaydın --- pkgs/development/tools/buildkit/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/buildkit/default.nix b/pkgs/development/tools/buildkit/default.nix index b17e8d348d89..1455dc38e66f 100644 --- a/pkgs/development/tools/buildkit/default.nix +++ b/pkgs/development/tools/buildkit/default.nix @@ -23,7 +23,7 @@ buildGoModule rec { description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit"; homepage = "https://github.com/moby/buildkit"; license = licenses.asl20; - maintainers = with maintainers; [ vdemeester marsam ]; + maintainers = with maintainers; [ vdemeester marsam developer-guy ]; mainProgram = "buildctl"; }; } From e1c8e49e43de3b451a8ef3c3b96e60c7e7556945 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Mar 2023 08:22:04 +0000 Subject: [PATCH 16/22] k3s: 1.26.1+k3s1 -> 1.26.2+k3s1 --- pkgs/applications/networking/cluster/k3s/1_26/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/k3s/1_26/default.nix b/pkgs/applications/networking/cluster/k3s/1_26/default.nix index 1b8b5a1b2a64..ecd8b4005652 100644 --- a/pkgs/applications/networking/cluster/k3s/1_26/default.nix +++ b/pkgs/applications/networking/cluster/k3s/1_26/default.nix @@ -46,10 +46,10 @@ # Those pieces of software we entirely ignore upstream's handling of, and just # make sure they're in the path if desired. let - k3sVersion = "1.26.1+k3s1"; # k3s git tag - k3sCommit = "f10af367c3c96863c081ada4018e94e085c9404d"; # k3s git commit at the above version - k3sRepoSha256 = "13h20yb9gyrclhv2r0vv7fnsr73i06686rm6r0pcvy72hw26i848"; - k3sVendorSha256 = "sha256-WvkuXHG6NM9eScuu7qG3HDZbBPAJ6xVPz3RRuAxP994="; + k3sVersion = "1.26.2+k3s1"; # k3s git tag + k3sCommit = "ea094d1d497b26538b61b5cbc27c1a4a1f2f3f24"; # k3s git commit at the above version + k3sRepoSha256 = "13jrxr0imgkwl7bay4rrq9iv7ipak9hlmn82x9shr63hihlw7z9l"; + k3sVendorSha256 = "sha256-4uIOjHStU/DZk6YBdfC0F4L9z+csekMTjENJKpMmgx0="; # nix generated by update.sh # Based on the traefik charts here: https://github.com/k3s-io/k3s/blob/d71ab6317e22dd34673faa307a412a37a16767f6/scripts/download#L29-L32 From 18055cefb1a503498279f5e9022eb626b4211815 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 14 Mar 2023 08:59:20 +0000 Subject: [PATCH 17/22] fheroes2: 1.0.1 -> 1.0.2 Changes: https://github.com/ihhub/fheroes2/releases/tag/1.0.2 --- pkgs/games/fheroes2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/fheroes2/default.nix b/pkgs/games/fheroes2/default.nix index 30ba8eaabe5a..18a2353616b9 100644 --- a/pkgs/games/fheroes2/default.nix +++ b/pkgs/games/fheroes2/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "fheroes2"; - version = "1.0.1"; + version = "1.0.2"; src = fetchFromGitHub { owner = "ihhub"; repo = "fheroes2"; rev = version; - sha256 = "sha256-l7MFvcUOv1jA7moA8VYcaQO15eyK/06x6Jznz5jsNNg="; + sha256 = "sha256-Y1D9oLqO4al+1OXV9QhlzlZxSZtcQJtBQAzXqyhBFKI="; }; buildInputs = [ gettext glibcLocalesUtf8 libpng SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib ]; From 3f795bc5785106f4b3a83ab3d6240dcafc314784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 14 Mar 2023 20:14:06 +1100 Subject: [PATCH 18/22] acpica-tools: fix darwin build Don't use the gcc-specific flags with other compilers. --- pkgs/tools/system/acpica-tools/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/acpica-tools/default.nix b/pkgs/tools/system/acpica-tools/default.nix index 92f30e4ddbc9..214fe763f283 100644 --- a/pkgs/tools/system/acpica-tools/default.nix +++ b/pkgs/tools/system/acpica-tools/default.nix @@ -29,11 +29,12 @@ stdenv.mkDerivation rec { "iasl" ]; - env.NIX_CFLAGS_COMPILE = toString [ + env.NIX_CFLAGS_COMPILE = toString ([ "-O3" + ] ++ lib.optionals (stdenv.cc.isGNU) [ # Needed with GCC 12 "-Wno-dangling-pointer" - ]; + ]); enableParallelBuilding = true; From 12ebd64d985e674ec55e3d7312c5ecea2c692db2 Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Tue, 14 Mar 2023 10:06:43 +0100 Subject: [PATCH 19/22] garage: 0.8.1 -> 0.8.2 https://git.deuxfleurs.fr/Deuxfleurs/garage/releases/tag/v0.8.2 Remove workaround for failing tests, upstream fixed them in https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/526 --- pkgs/tools/filesystems/garage/default.nix | 16 ++++++---------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/tools/filesystems/garage/default.nix b/pkgs/tools/filesystems/garage/default.nix index eeb8dddb645b..4eb488b2d025 100644 --- a/pkgs/tools/filesystems/garage/default.nix +++ b/pkgs/tools/filesystems/garage/default.nix @@ -27,7 +27,7 @@ let OPENSSL_NO_VENDOR = true; - # See https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/v0.7.2/default.nix#L84-L98 + # See https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/v0.8.2/nix/compile.nix#L192-L198 # on version changes for checking if changes are required here buildFeatures = [ "kubernetes-discovery" @@ -57,10 +57,6 @@ let "sqlite" ]); - # Workaround until upstream fixes integration test race condition - # https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/528 - dontUseCargoParallelTests = true; - passthru = nixosTests.garage; meta = { @@ -87,13 +83,13 @@ in garage_0_7 = garage_0_7_3; - garage_0_8_1 = generic { - version = "0.8.1"; - sha256 = "sha256-lpNp/jw4YaczG3NM3pVWR0cZ8u/KBQCWvvfAswO4+Do="; - cargoSha256 = "sha256-TXHSAnttXfxoFLOP+vsd86O8sVoyrSkadij26cF4aXI="; + garage_0_8_2 = generic { + version = "0.8.2"; + sha256 = "sha256-IlDWbNWI1yXvPPF3HIqQvo79M2FQCtoX1wRLJrDbd9k="; + cargoSha256 = "sha256-6l4tDBMcOvckTkEO05rman4hHlmVbBt1nCeX5/dETKk="; }; - garage_0_8 = garage_0_8_1; + garage_0_8 = garage_0_8_2; garage = garage_0_8; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a0d1e76e1c35..901039d799aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7663,7 +7663,7 @@ with pkgs; }) garage garage_0_7 garage_0_8 - garage_0_7_3 garage_0_8_1; + garage_0_7_3 garage_0_8_2; garmin-plugin = callPackage ../applications/misc/garmin-plugin { }; From d433beb6c44d8463daca0c81911d97aa6a2fe68f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 14 Mar 2023 10:28:30 +0100 Subject: [PATCH 20/22] python310Packages.asyncssh: add optional-dependencies --- .../python-modules/asyncssh/default.nix | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/asyncssh/default.nix b/pkgs/development/python-modules/asyncssh/default.nix index 4165db53b128..078dbea926a3 100644 --- a/pkgs/development/python-modules/asyncssh/default.nix +++ b/pkgs/development/python-modules/asyncssh/default.nix @@ -1,5 +1,5 @@ -{ stdenv -, lib +{ lib +, stdenv , bcrypt , buildPythonPackage , cryptography @@ -31,23 +31,38 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ - bcrypt cryptography - fido2 - gssapi - libnacl libsodium nettle - pyopenssl - python-pkcs11 typing-extensions ]; + passthru.optional-dependencies = { + bcrypt = [ + bcrypt + ]; + fido2 = [ + fido2 + ]; + gssapi = [ + gssapi + ]; + libnacl = [ + libnacl + ]; + pkcs11 = [ + python-pkcs11 + ]; + pyOpenSSL = [ + pyopenssl + ]; + }; + nativeCheckInputs = [ openssh openssl pytestCheckHook - ]; + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); patches = [ # Reverts https://github.com/ronf/asyncssh/commit/4b3dec994b3aa821dba4db507030b569c3a32730 From 490b338580db6a18cb4a8cfef60d64e51ba9145c Mon Sep 17 00:00:00 2001 From: Johannes Schleifenbaum Date: Tue, 14 Mar 2023 11:08:23 +0100 Subject: [PATCH 21/22] protoc-gen-go: 1.29.0 -> 1.29.1 --- pkgs/development/tools/protoc-gen-go/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/protoc-gen-go/default.nix b/pkgs/development/tools/protoc-gen-go/default.nix index 53ddf571df23..a9c826a9304a 100644 --- a/pkgs/development/tools/protoc-gen-go/default.nix +++ b/pkgs/development/tools/protoc-gen-go/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "protoc-gen-go"; - version = "1.29.0"; + version = "1.29.1"; src = fetchFromGitHub { owner = "protocolbuffers"; repo = "protobuf-go"; rev = "v${version}"; - sha256 = "sha256-su8upKXi7mvalk+Fa/sGGFizAXisHiBCc5OVIizujwI="; + sha256 = "sha256-xlRHhr25+gXlO6ggIQgijWYzIVZCpRVCnuLnSW1r15s="; }; vendorSha256 = "sha256-yb8l4ooZwqfvenlxDRg95rqiL+hmsn0weS/dPv/oD2Y="; From 30b287fbad05a5a3a0cb25e11d08a5644aa2ced4 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Tue, 14 Mar 2023 06:47:32 -0400 Subject: [PATCH 22/22] fwupd: add passthru.fwupd-efi Some downstream consumers (e.g. ones that facilitate Secure Boot like Lanzaboote), might need to get the `fwupd-efi` derivation that `fwupd` was built with. Lanzaboote specifically plans to use this to be able to sign the EFI PE to allow fwupd to be used with Secure Boot enforcing. --- pkgs/os-specific/linux/firmware/fwupd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/firmware/fwupd/default.nix b/pkgs/os-specific/linux/firmware/fwupd/default.nix index 331492b2d30f..615df19c70ce 100644 --- a/pkgs/os-specific/linux/firmware/fwupd/default.nix +++ b/pkgs/os-specific/linux/firmware/fwupd/default.nix @@ -382,6 +382,9 @@ stdenv.mkDerivation (finalAttrs: { # For updating. inherit test-firmware; + # For downstream consumers that need the fwupd-efi this was built with. + inherit fwupd-efi; + tests = let listToPy = list: "[${lib.concatMapStringsSep ", " (f: "'${f}'") list}]";