From 18bbf33b382828c495c33619e692f5978fa7c8a2 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Thu, 29 Jun 2023 17:52:08 -0700 Subject: [PATCH 01/33] test.cross.mbuffer: init This adds a test case for the tricky issue encountered in https://github.com/NixOS/nixpkgs/issues/213453 --- pkgs/test/cross/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/test/cross/default.nix b/pkgs/test/cross/default.nix index beb64df19577..a5144fe2cef6 100644 --- a/pkgs/test/cross/default.nix +++ b/pkgs/test/cross/default.nix @@ -110,4 +110,14 @@ let in { gcc = (lib.mapAttrs (_: mapMultiPlatformTest (system: system // {useLLVM = false;})) tests); llvm = (lib.mapAttrs (_: mapMultiPlatformTest (system: system // {useLLVM = true;})) tests); + + # see https://github.com/NixOS/nixpkgs/issues/213453 + # this is a good test of a lot of tricky glibc/libgcc corner cases + mbuffer = let + mbuffer = pkgs.pkgsCross.aarch64-multiplatform.mbuffer; + emulator = with lib.systems; (elaborate examples.aarch64-multiplatform).emulator pkgs; + in + pkgs.runCommand "test-mbuffer" {} '' + echo hello | ${emulator} ${mbuffer}/bin/mbuffer + ''; } From 3ea8390db35bc464c08800884f0305d9a3cd16f8 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> Date: Sun, 2 Jul 2023 01:04:36 +0100 Subject: [PATCH 02/33] perl: use makeBinaryWrapper for perl.withPackages --- pkgs/development/interpreters/perl/wrapper.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/perl/wrapper.nix b/pkgs/development/interpreters/perl/wrapper.nix index e1909a15e059..8e4630b48e76 100644 --- a/pkgs/development/interpreters/perl/wrapper.nix +++ b/pkgs/development/interpreters/perl/wrapper.nix @@ -1,4 +1,4 @@ -{ lib, perl, buildEnv, makeWrapper +{ lib, perl, buildEnv, makeBinaryWrapper , extraLibs ? [] , extraOutputsToInstall ? [] , postBuild ? "" @@ -17,7 +17,7 @@ let inherit ignoreCollisions; extraOutputsToInstall = [ "out" ] ++ extraOutputsToInstall; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeBinaryWrapper ]; # we create wrapper for the binaries in the different packages postBuild = '' From f6f0ccd6c9b4aab06997354dd423bca9efc489db Mon Sep 17 00:00:00 2001 From: Markus Theil Date: Fri, 14 Jul 2023 11:18:41 +0200 Subject: [PATCH 03/33] lib.systems.bluefield2: init Add support for Nvidia's Bluefield 2 plattform as a compilation target. There exists a version with and without crypto support, while the crypto supported version is the most common one. Support for the non-crypto version can be easily added in the future, if needed. For a datasheet of the hardware, see: https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/documents/datasheet-nvidia-bluefield-2-dpu.pdf Signed-off-by: Markus Theil --- lib/systems/examples.nix | 4 ++++ lib/systems/platforms.nix | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 9ad7c3e422d8..8d9c09561ddb 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -37,6 +37,10 @@ rec { config = "armv6l-unknown-linux-gnueabihf"; } // platforms.raspberrypi; + bluefield2 = { + config = "aarch64-unknown-linux-gnu"; + } // platforms.bluefield2; + remarkable1 = { config = "armv7l-unknown-linux-gnueabihf"; } // platforms.zero-gravitas; diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index d574943e47df..0b6a9f3891da 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -209,6 +209,14 @@ rec { # Legacy attribute, for compatibility with existing configs only. raspberrypi2 = armv7l-hf-multiplatform; + # Nvidia Bluefield 2 (w. crypto support) + bluefield2 = { + gcc = { + arch = "armv8-a+fp+simd+crc+crypto"; + cpu = "cortex-a72"; + }; + }; + zero-gravitas = { linux-kernel = { name = "zero-gravitas"; From d70459bd36d7c64c73b3898d55e7831bc4253278 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sat, 8 Jul 2023 22:07:46 +0200 Subject: [PATCH 04/33] python3Packages.semaphore-bot: init at 0.16.0 --- .../python-modules/semaphore-bot/default.nix | 40 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/development/python-modules/semaphore-bot/default.nix diff --git a/pkgs/development/python-modules/semaphore-bot/default.nix b/pkgs/development/python-modules/semaphore-bot/default.nix new file mode 100644 index 000000000000..7725b48adac4 --- /dev/null +++ b/pkgs/development/python-modules/semaphore-bot/default.nix @@ -0,0 +1,40 @@ +{ lib +, buildPythonPackage +, fetchPypi +, python-dateutil +, attrs +, anyio +}: + +buildPythonPackage rec { + pname = "semaphore-bot"; + version = "0.16.0"; + format = "setuptools"; + + src = fetchPypi { + inherit version pname; + hash = "sha256-EOUvzW4a8CgyQSxb2fXnIWfOYs5Xe0v794vDIruSHmI="; + }; + + postPatch = '' + substituteInPlace setup.py --replace "anyio>=3.5.0,<=3.6.2" "anyio" + ''; + + propagatedBuildInputs = [ + anyio + attrs + python-dateutil + ]; + + # Upstream has no tests + doCheck = false; + + pythonImportsCheck = [ "semaphore" ]; + + meta = with lib; { + description = "Simple rule-based bot library for Signal Private Messenger"; + homepage = "https://github.com/lwesterhof/semaphore"; + license = with licenses; [ agpl3Plus ]; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b2fe97d01705..67b32499c3f1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11231,6 +11231,8 @@ self: super: with self; { semantic-version = callPackage ../development/python-modules/semantic-version { }; + semaphore-bot = callPackage ../development/python-modules/semaphore-bot { }; + semver = callPackage ../development/python-modules/semver { }; send2trash = callPackage ../development/python-modules/send2trash { }; From 4bb75693711a53b7a25cf9c27f35146fa0666280 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Jul 2023 10:57:00 +0000 Subject: [PATCH 05/33] python310Packages.python-manilaclient: 4.4.0 -> 4.5.0 --- .../python-modules/python-manilaclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-manilaclient/default.nix b/pkgs/development/python-modules/python-manilaclient/default.nix index 88a11a121960..de841e5f1fe2 100644 --- a/pkgs/development/python-modules/python-manilaclient/default.nix +++ b/pkgs/development/python-modules/python-manilaclient/default.nix @@ -22,12 +22,12 @@ buildPythonPackage rec { pname = "python-manilaclient"; - version = "4.4.0"; + version = "4.5.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-iKBbR4h9J9OiQMHjUHxUVk+NbCRUYmIPtWxRwVVGQtY="; + hash = "sha256-voeJkwe/7nta2B19+Y5d27XTkhQ/nbWt6MXOicYQZnU="; }; nativeBuildInputs = [ From 15640652bf2903019885d336493e975a5fa24f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:07:27 +0200 Subject: [PATCH 06/33] python310Packages.cliff: fix passthru.tests --- pkgs/development/python-modules/cliff/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cliff/tests.nix b/pkgs/development/python-modules/cliff/tests.nix index 56a29a6ef6ab..a2738cc590e8 100644 --- a/pkgs/development/python-modules/cliff/tests.nix +++ b/pkgs/development/python-modules/cliff/tests.nix @@ -5,11 +5,10 @@ , testscenarios }: -buildPythonPackage rec { +buildPythonPackage { pname = "cliff"; - inherit (cliff) version; - - src = cliff.src; + inherit (cliff) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From f22fdf5d72e99e6ac5dd69992fd89acf0fa82ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:07:39 +0200 Subject: [PATCH 07/33] python310Packages.debtcollector: fix passthru.tests --- pkgs/development/python-modules/debtcollector/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/debtcollector/tests.nix b/pkgs/development/python-modules/debtcollector/tests.nix index 5c10dc90904d..19386cdb53b8 100644 --- a/pkgs/development/python-modules/debtcollector/tests.nix +++ b/pkgs/development/python-modules/debtcollector/tests.nix @@ -3,11 +3,10 @@ , stestr }: -buildPythonPackage rec { +buildPythonPackage { pname = "debtcollector-tests"; - inherit (debtcollector) version; - - src = debtcollector.src; + inherit (debtcollector) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From d4166c312f1097b67b35bab18f6f8f4d6399e374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:07:58 +0200 Subject: [PATCH 08/33] python310Packages.ipykernel: fix passthru.tests --- pkgs/development/python-modules/ipykernel/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ipykernel/tests.nix b/pkgs/development/python-modules/ipykernel/tests.nix index 49208b30fe37..edbb13912ad9 100644 --- a/pkgs/development/python-modules/ipykernel/tests.nix +++ b/pkgs/development/python-modules/ipykernel/tests.nix @@ -10,11 +10,10 @@ }: -buildPythonPackage rec { +buildPythonPackage { pname = "ipykernel-tests"; - inherit (ipykernel) version; - - src = ipykernel.src; + inherit (ipykernel) version src; + format = "other"; dontBuild = true; dontInstall = true; From a2a2f4838e822ced5af9439ed5dc20772ddc0e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:06 +0200 Subject: [PATCH 09/33] python310Packages.openstacksdk: fix passthru.tests --- pkgs/development/python-modules/openstacksdk/tests.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/openstacksdk/tests.nix b/pkgs/development/python-modules/openstacksdk/tests.nix index aa96ed5ae843..148f76d03529 100644 --- a/pkgs/development/python-modules/openstacksdk/tests.nix +++ b/pkgs/development/python-modules/openstacksdk/tests.nix @@ -15,11 +15,9 @@ buildPythonPackage { pname = "openstacksdk-tests"; - inherit (openstacksdk) version; + inherit (openstacksdk) version src; format = "other"; - src = openstacksdk.src; - dontBuild = true; dontInstall = true; From f8ca471ef65ca5234fa527eeea966680bd22b8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:18 +0200 Subject: [PATCH 10/33] python310Packages.os-service-types: fix passthru.tests --- pkgs/development/python-modules/os-service-types/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/os-service-types/tests.nix b/pkgs/development/python-modules/os-service-types/tests.nix index 5958d824d58d..a0996765cb6b 100644 --- a/pkgs/development/python-modules/os-service-types/tests.nix +++ b/pkgs/development/python-modules/os-service-types/tests.nix @@ -7,11 +7,10 @@ , testscenarios }: -buildPythonPackage rec { +buildPythonPackage { pname = "os-service-types-tests"; - inherit (os-service-types) version; - - src = os-service-types.src; + inherit (os-service-types) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From 36340bf60124ee415a123e15f09b197118452677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:25 +0200 Subject: [PATCH 11/33] python310Packages.oslo-config: fix passthru.tests --- pkgs/development/python-modules/oslo-config/tests.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/oslo-config/tests.nix b/pkgs/development/python-modules/oslo-config/tests.nix index b2a730928b8f..0540760e57a0 100644 --- a/pkgs/development/python-modules/oslo-config/tests.nix +++ b/pkgs/development/python-modules/oslo-config/tests.nix @@ -9,11 +9,10 @@ , testscenarios }: -buildPythonPackage rec { - pname = "oslo-config-tests"; - inherit (oslo-config) version; - - src = oslo-config.src; +buildPythonPackage { +pname = "oslo-config-tests"; + inherit (oslo-config) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From b9d0814f509b7e5c41622279848dd7697890821a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:36 +0200 Subject: [PATCH 12/33] python310Packages.oslotest: fix passthru.tests --- pkgs/development/python-modules/oslotest/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/oslotest/tests.nix b/pkgs/development/python-modules/oslotest/tests.nix index fb18e64bb9d9..f80073e1c1bd 100644 --- a/pkgs/development/python-modules/oslotest/tests.nix +++ b/pkgs/development/python-modules/oslotest/tests.nix @@ -4,11 +4,10 @@ , stestr }: -buildPythonPackage rec { +buildPythonPackage { pname = "oslotest-tests"; - inherit (oslotest) version; - - src = oslotest.src; + inherit (oslotest) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From aecf7364ccfaf3d2dbca3418e9a5ecd20b8ac4a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:41 +0200 Subject: [PATCH 13/33] python310Packages.pbr: fix passthru.tests --- pkgs/development/python-modules/pbr/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pbr/tests.nix b/pkgs/development/python-modules/pbr/tests.nix index 47be8ef19f07..05266a0eb7df 100644 --- a/pkgs/development/python-modules/pbr/tests.nix +++ b/pkgs/development/python-modules/pbr/tests.nix @@ -10,11 +10,10 @@ , virtualenv }: -buildPythonPackage rec { +buildPythonPackage { pname = "pbr"; - inherit (pbr) version; - - src = pbr.src; + inherit (pbr) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From f5dd81423af44759701f1c0dde4b9735ccc8da27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:47 +0200 Subject: [PATCH 14/33] python310Packages.python-manilaclient: fix passthru.tests --- .../python-modules/python-manilaclient/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/python-manilaclient/tests.nix b/pkgs/development/python-modules/python-manilaclient/tests.nix index 37357d779b16..d1ceb5ed7431 100644 --- a/pkgs/development/python-modules/python-manilaclient/tests.nix +++ b/pkgs/development/python-modules/python-manilaclient/tests.nix @@ -7,11 +7,10 @@ , python-openstackclient }: -buildPythonPackage rec { +buildPythonPackage { pname = "python-manilaclient-tests"; - inherit (python-manilaclient) version; - - src = python-manilaclient.src; + inherit (python-manilaclient) version src; + format = "other"; dontBuild = true; dontInstall = true; From e052d608cbd3f5e5ac1b6eeed2cf7e20dcfa5d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:08:57 +0200 Subject: [PATCH 15/33] python310Packages.stestr: fix passthru.tests --- pkgs/development/python-modules/stestr/tests.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/stestr/tests.nix b/pkgs/development/python-modules/stestr/tests.nix index b66310f2dc63..f4964fa8f66e 100644 --- a/pkgs/development/python-modules/stestr/tests.nix +++ b/pkgs/development/python-modules/stestr/tests.nix @@ -2,11 +2,10 @@ , stestr }: -buildPythonPackage rec { +buildPythonPackage { pname = "stestr-tests"; - inherit (stestr) version; - - src = stestr.src; + inherit (stestr) version src; + format = "other"; postPatch = '' # only a small portion of the listed packages are actually needed for running the tests From 9c6a7f93e24b87a625f9e0d34a8fd1ee3137b86f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:08 +0200 Subject: [PATCH 16/33] python310Packages.dm-haiku: remove unused input, rec --- pkgs/development/python-modules/dm-haiku/tests.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dm-haiku/tests.nix b/pkgs/development/python-modules/dm-haiku/tests.nix index 208fb14e76be..dec909729dcf 100644 --- a/pkgs/development/python-modules/dm-haiku/tests.nix +++ b/pkgs/development/python-modules/dm-haiku/tests.nix @@ -1,5 +1,4 @@ -{ stdenv -, buildPythonPackage +{ buildPythonPackage , dm-haiku , chex , cloudpickle @@ -16,9 +15,10 @@ , rlax , distrax , tensorflow-probability -, optax }: +, optax +}: -buildPythonPackage rec { +buildPythonPackage { pname = "dm-haiku-tests"; inherit (dm-haiku) version; From b42f54435eda8496d47fc41ad9e84eab85ea1182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:17 +0200 Subject: [PATCH 17/33] python310Packages.flit-core: remove unused rec --- pkgs/development/python-modules/flit-core/tests.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/flit-core/tests.nix b/pkgs/development/python-modules/flit-core/tests.nix index dd05212407bc..49d6ac89fce6 100644 --- a/pkgs/development/python-modules/flit-core/tests.nix +++ b/pkgs/development/python-modules/flit-core/tests.nix @@ -5,7 +5,7 @@ , testpath }: -buildPythonPackage rec { +buildPythonPackage { pname = "flit-core"; inherit (flit-core) version; From 5cfde70626511d645cb8e701a82d75d881c0b87c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:25 +0200 Subject: [PATCH 18/33] python310Packages.optax: remove unused input, rec --- pkgs/development/python-modules/optax/tests.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/optax/tests.nix b/pkgs/development/python-modules/optax/tests.nix index 59fed40bdf08..1ab548f2f399 100644 --- a/pkgs/development/python-modules/optax/tests.nix +++ b/pkgs/development/python-modules/optax/tests.nix @@ -1,5 +1,4 @@ -{ stdenv -, buildPythonPackage +{ buildPythonPackage , dm-haiku , pytest-xdist , pytestCheckHook @@ -9,7 +8,7 @@ , optax }: -buildPythonPackage rec { +buildPythonPackage { pname = "optax-tests"; inherit (optax) version; @@ -31,5 +30,4 @@ buildPythonPackage rec { # See https://github.com/deepmind/optax/issues/323 "examples/lookahead_mnist_test.py" ]; - } From 09cb8467e6aeb47fe06007379e82031482ba3261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:31 +0200 Subject: [PATCH 19/33] python310Packages.pytest-asyncio: remove unused rec --- pkgs/development/python-modules/pytest-asyncio/tests.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytest-asyncio/tests.nix b/pkgs/development/python-modules/pytest-asyncio/tests.nix index 6a471513112a..94e6e1855afb 100644 --- a/pkgs/development/python-modules/pytest-asyncio/tests.nix +++ b/pkgs/development/python-modules/pytest-asyncio/tests.nix @@ -6,7 +6,7 @@ , pytestCheckHook }: -buildPythonPackage rec { +buildPythonPackage { pname = "pytest-asyncio-tests"; inherit (pytest-asyncio) version; From 91ae0efefd244b4fd5aea8f3f730bd6112508a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:37 +0200 Subject: [PATCH 20/33] python310Packages.setuptools-scm: remove unused rec, use inherit --- pkgs/development/python-modules/setuptools-scm/tests.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/setuptools-scm/tests.nix b/pkgs/development/python-modules/setuptools-scm/tests.nix index 9bbdb1c6946c..b679a0f5ca4c 100644 --- a/pkgs/development/python-modules/setuptools-scm/tests.nix +++ b/pkgs/development/python-modules/setuptools-scm/tests.nix @@ -7,13 +7,11 @@ , virtualenv }: -buildPythonPackage rec { +buildPythonPackage { pname = "setuptools-scm-tests"; - inherit (setuptools-scm) version; + inherit (setuptools-scm) version src; format = "other"; - src = setuptools-scm.src; - dontBuild = true; dontInstall = true; From af947b57a87ddba37f107de0339b7276ae9260af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:45 +0200 Subject: [PATCH 21/33] python310Packages.uvicorn: remove unused rec --- pkgs/development/python-modules/uvicorn/tests.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uvicorn/tests.nix b/pkgs/development/python-modules/uvicorn/tests.nix index cb8e479377a8..4ada58e1d992 100644 --- a/pkgs/development/python-modules/uvicorn/tests.nix +++ b/pkgs/development/python-modules/uvicorn/tests.nix @@ -12,10 +12,9 @@ , wsproto }: -buildPythonPackage rec { +buildPythonPackage { pname = "uvicorn-tests"; inherit (uvicorn) version; - format = "other"; src = uvicorn.testsout; From aad1458981045216fa19e30859087a132ccb9d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 14 Jul 2023 14:09:51 +0200 Subject: [PATCH 22/33] python310Packages.wasmer: remove unused rec --- pkgs/development/python-modules/wasmer/tests.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/wasmer/tests.nix b/pkgs/development/python-modules/wasmer/tests.nix index 523d06a401ad..e46c9f7ac670 100644 --- a/pkgs/development/python-modules/wasmer/tests.nix +++ b/pkgs/development/python-modules/wasmer/tests.nix @@ -6,7 +6,7 @@ , wasmer-compiler-singlepass }: -buildPythonPackage rec { +buildPythonPackage { pname = "wasmer-tests"; inherit (wasmer) version; From 9d8053e2bb508de621247a0aeb1a480ba7339c1f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Jul 2023 13:03:28 +0000 Subject: [PATCH 23/33] otpclient: 3.1.8 -> 3.1.9 --- pkgs/applications/misc/otpclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/otpclient/default.nix b/pkgs/applications/misc/otpclient/default.nix index cfda9e4e88e3..b313ab2fa1a2 100644 --- a/pkgs/applications/misc/otpclient/default.nix +++ b/pkgs/applications/misc/otpclient/default.nix @@ -20,13 +20,13 @@ stdenv.mkDerivation rec { pname = "otpclient"; - version = "3.1.8"; + version = "3.1.9"; src = fetchFromGitHub { owner = "paolostivanin"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-wwK8JI/IP89aRmetUXE+RlrqU8bpfIkzMZ9nF7qFe1Q="; + hash = "sha256-FSXUqnES/YxONwLza4N2C4Ks02OOfRaXHbdBxr85sFg="; }; nativeBuildInputs = [ From 9115395261bf5b8d38d1075bba03744601084361 Mon Sep 17 00:00:00 2001 From: Feyorsh <44840644+Feyorsh@users.noreply.github.com> Date: Sat, 24 Jun 2023 09:32:18 -0400 Subject: [PATCH 24/33] brave: add kerberos authentication --- .../networking/browsers/brave/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/browsers/brave/default.nix b/pkgs/applications/networking/browsers/brave/default.nix index d234a1f65316..cf77fb1fb55a 100644 --- a/pkgs/applications/networking/browsers/brave/default.nix +++ b/pkgs/applications/networking/browsers/brave/default.nix @@ -1,5 +1,4 @@ { lib, stdenv, fetchurl, wrapGAppsHook, makeWrapper -, dpkg , alsa-lib , at-spi2-atk , at-spi2-core @@ -7,6 +6,7 @@ , cairo , cups , dbus +, dpkg , expat , fontconfig , freetype @@ -15,32 +15,33 @@ , gnome , gsettings-desktop-schemas , gtk3 -, libuuid -, libdrm , libX11 +, libXScrnSaver , libXcomposite , libXcursor , libXdamage , libXext , libXfixes , libXi -, libxkbcommon , libXrandr , libXrender -, libXScrnSaver -, libxshmfence , libXtst +, libdrm +, libkrb5 +, libuuid +, libxkbcommon +, libxshmfence , mesa , nspr , nss , pango , pipewire +, snappy , udev , wayland +, xdg-utils , xorg , zlib -, xdg-utils -, snappy # command line arguments which are always set e.g "--disable-gpu" , commandLineArgs ? "" @@ -73,7 +74,7 @@ let libxkbcommon libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libxshmfence libXtst libuuid mesa nspr nss pango pipewire udev wayland - xorg.libxcb zlib snappy + xorg.libxcb zlib snappy libkrb5 ] ++ optional pulseSupport libpulseaudio ++ optional libvaSupport libva; From e7ec942dea0ee69c24e46a8b70bc4c3993eef634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Fri, 14 Jul 2023 18:06:36 +0200 Subject: [PATCH 25/33] fsuae-launcher: fix find executable --- pkgs/applications/emulators/fs-uae/launcher.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/emulators/fs-uae/launcher.nix b/pkgs/applications/emulators/fs-uae/launcher.nix index 570b439f4a1e..63ff7eee2ea6 100644 --- a/pkgs/applications/emulators/fs-uae/launcher.nix +++ b/pkgs/applications/emulators/fs-uae/launcher.nix @@ -34,8 +34,11 @@ stdenv.mkDerivation (finalAttrs: { preFixup = '' wrapQtApp "$out/bin/fs-uae-launcher" \ - --set PYTHONPATH "$PYTHONPATH" \ - --prefix PATH : ${lib.makeBinPath [ fsuae ]} + --set PYTHONPATH "$PYTHONPATH" + + # fs-uae-launcher search side by side for fs-uae + # see $src/fsgs/plugins/pluginexecutablefinder.py#find_executable + ln -s ${fsuae}/bin/fs-uae $out/bin ''; meta = { From 8980fdd9b57b2b43592058cbda2e866148e14ab5 Mon Sep 17 00:00:00 2001 From: schnusch Date: Thu, 13 Jul 2023 12:57:23 +0200 Subject: [PATCH 26/33] nixos/cgit: fix \v and \f in regexEscape --- nixos/modules/services/networking/cgit.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/cgit.nix b/nixos/modules/services/networking/cgit.nix index 672b0b030eee..7d1f12fa9146 100644 --- a/nixos/modules/services/networking/cgit.nix +++ b/nixos/modules/services/networking/cgit.nix @@ -14,7 +14,9 @@ let # taken from https://github.com/python/cpython/blob/05cb728d68a278d11466f9a6c8258d914135c96c/Lib/re.py#L251-L266 special = [ "(" ")" "[" "]" "{" "}" "?" "*" "+" "-" "|" "^" "$" "\\" "." "&" "~" - "#" " " "\t" "\n" "\r" "\v" "\f" + "#" " " "\t" "\n" "\r" + " " # \v / 0x0B + " " # \f / 0x0C ]; in replaceStrings special (map (c: "\\${c}") special); From 996c95449c0819c512197f72f274727f6fb06473 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Jul 2023 20:14:29 +0000 Subject: [PATCH 27/33] dolt: 1.7.4 -> 1.7.5 --- pkgs/servers/sql/dolt/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/sql/dolt/default.nix b/pkgs/servers/sql/dolt/default.nix index 9da25e22eaa9..62757b5457e3 100644 --- a/pkgs/servers/sql/dolt/default.nix +++ b/pkgs/servers/sql/dolt/default.nix @@ -2,18 +2,18 @@ buildGoModule rec { pname = "dolt"; - version = "1.7.4"; + version = "1.7.5"; src = fetchFromGitHub { owner = "dolthub"; repo = "dolt"; rev = "v${version}"; - sha256 = "sha256-6rjcoruv+egIDL3kZPIVEMpigDV1j5jjRer3bDvCjjU="; + sha256 = "sha256-nAcwH4RVvRPZfPnXyPDOO5GFpUxIBmJzl3QH+5G6jcY="; }; modRoot = "./go"; subPackages = [ "cmd/dolt" ]; - vendorHash = "sha256-lYf3ARw2TX9dfX2z8W3OY7h+AqocfSdYcGgjvf8h5Bc="; + vendorHash = "sha256-ODOAxH73AflCp9tLeYMU46bqr3MAS1casuGAFWuLYjA="; proxyVendor = true; doCheck = false; From f448f0959c70879c8950094f42652a5888947ee8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Jul 2023 20:20:50 +0000 Subject: [PATCH 28/33] bun: 0.6.13 -> 0.6.14 --- pkgs/development/web/bun/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/web/bun/default.nix b/pkgs/development/web/bun/default.nix index 72a85fb5b4a8..7c35fb29a942 100644 --- a/pkgs/development/web/bun/default.nix +++ b/pkgs/development/web/bun/default.nix @@ -12,7 +12,7 @@ }: stdenvNoCC.mkDerivation rec { - version = "0.6.13"; + version = "0.6.14"; pname = "bun"; src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); @@ -33,19 +33,19 @@ stdenvNoCC.mkDerivation rec { sources = { "aarch64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; - sha256 = "6d4pDuAJCgUIFpmp8gGLn2rHvpQ54I6vCXU2WmIYe0M="; + sha256 = "adXsZjg2dmUzaKTBARfS195y3eTUgiOep5pr6y36c6g="; }; "aarch64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; - sha256 = "Hr3c0840fz47jDNjigTsz7HEUSP6btXVDFUUtDtdO5I="; + sha256 = "IHGYARyeRHN3vORW/fBX7+j3vpfQX+ZQWX2TcIOrMHc="; }; "x86_64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; - sha256 = "H7pjr6ySoxYOGrOpLjzMb/b3BiG50XSmMi6atQooRN4="; + sha256 = "uESJFXTVXpK2HPUszU0l5Jgnvz28toBP/0DgVFvqYGY="; }; "x86_64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; - sha256 = "f3VysZdTfs4G4a48AahbaEACVpiKPG7OfbAYTCGHi1k="; + sha256 = "5iU+1FevTjjzo/qN0zjIoCQflbWCmdfMXkx+6BOEEcc="; }; }; updateScript = writeShellScript "update-bun" '' From d1a9aa51f7159ea548d687801f34f99735311c83 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Jul 2023 00:43:13 +0000 Subject: [PATCH 29/33] grails: 5.3.2 -> 5.3.3 --- pkgs/development/web/grails/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/grails/default.nix b/pkgs/development/web/grails/default.nix index 9f09e1b74aac..51bc4396c6e4 100644 --- a/pkgs/development/web/grails/default.nix +++ b/pkgs/development/web/grails/default.nix @@ -11,11 +11,11 @@ let in stdenv.mkDerivation rec { pname = "grails"; - version = "5.3.2"; + version = "5.3.3"; src = fetchurl { url = "https://github.com/grails/grails-core/releases/download/v${version}/grails-${version}.zip"; - sha256 = "sha256-UdRtrQiHbBc8VoVUulDCZmAfZ1YTVdgNfeF91HomSqc="; + sha256 = "sha256-uNp6jQAlSOQlZ26PBYofBWANhKEnkYN+PTOSy8bQQ/o="; }; nativeBuildInputs = [ unzip ]; From c48d319ac6d676bf56cf29c2362e61e705e43d77 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Jul 2023 03:21:29 +0000 Subject: [PATCH 30/33] jenkins: 2.401.1 -> 2.401.2 --- .../tools/continuous-integration/jenkins/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/jenkins/default.nix b/pkgs/development/tools/continuous-integration/jenkins/default.nix index 3aa53619666d..174f2e0eae81 100644 --- a/pkgs/development/tools/continuous-integration/jenkins/default.nix +++ b/pkgs/development/tools/continuous-integration/jenkins/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "jenkins"; - version = "2.401.1"; + version = "2.401.2"; src = fetchurl { url = "https://get.jenkins.io/war-stable/${version}/jenkins.war"; - hash = "sha256-YAtz6r95eFLjmRlUG4T3aG/2Abl8d7ROsAhD65HH3Ww="; + hash = "sha256-hr2OCytRB1yZsA1DYDwoWEQL8BHs0Imlx5HQyWTUBoI="; }; nativeBuildInputs = [ makeWrapper ]; From dfdbcc428f365071f0ca3888f6ec8c25c3792885 Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Fri, 14 Jul 2023 17:30:57 -0500 Subject: [PATCH 31/33] 9pfs: 2015-09-18 -> 0.3 (#241801) * _9pfs: 2015-09-18 -> 0.3 * _9pfs: add updateScript --- pkgs/tools/filesystems/9pfs/default.nix | 36 +++++--------- .../filesystems/9pfs/fix-darwin-build.patch | 47 ------------------- 2 files changed, 11 insertions(+), 72 deletions(-) delete mode 100644 pkgs/tools/filesystems/9pfs/fix-darwin-build.patch diff --git a/pkgs/tools/filesystems/9pfs/default.nix b/pkgs/tools/filesystems/9pfs/default.nix index 5ca592aa4565..abb8f695ebcc 100644 --- a/pkgs/tools/filesystems/9pfs/default.nix +++ b/pkgs/tools/filesystems/9pfs/default.nix @@ -1,39 +1,25 @@ -{ lib, stdenv, fetchFromGitHub, fuse }: +{ lib, stdenv, fetchFromGitHub, pkg-config, fuse, gitUpdater }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "9pfs"; - version = "unstable-2015-09-18"; + version = "0.3"; src = fetchFromGitHub { - owner = "mischief"; + owner = "ftrvxmtrx"; repo = "9pfs"; - rev = "7f4ca4cd750d650c1215b92ac3cc2a28041960e4"; - sha256 = "007s2idsn6bspmfxv1qabj39ggkgvn6gwdbhczwn04lb4c6gh3xc"; + rev = version; + sha256 = "sha256-ywWG/H2ilt36mjlDSgIzYpardCFXpmbLiml6wy47XuA="; }; - # Upstream development has stopped and is no longer accepting patches - # https://github.com/mischief/9pfs/pull/3 - patches = [ ./fix-darwin-build.patch ]; - - preConfigure = - '' - substituteInPlace Makefile --replace '-g bin' "" - installFlagsArray+=(BIN=$out/bin MAN=$out/share/man/man1) - mkdir -p $out/bin $out/share/man/man1 - ''; - + makeFlags = [ "BIN=$(out)/bin" "MAN=$(out)/share/man/man1" ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ fuse ]; - - # Workaround build failure on -fno-common toolchains like upstream - # gcc-10. Otherwise build fails as: - # ld: lib/auth_rpc.o:/build/source/lib/../9pfs.h:35: multiple definition of - # `logfile'; 9pfs.o:/build/source/9pfs.h:35: first defined here - env.NIX_CFLAGS_COMPILE = "-fcommon"; - enableParallelBuilding = true; + passthru.updateScript = gitUpdater { }; + meta = { - homepage = "https://github.com/mischief/9pfs"; + homepage = "https://github.com/ftrvxmtrx/9pfs"; description = "FUSE-based client of the 9P network filesystem protocol"; maintainers = [ lib.maintainers.eelco ]; platforms = lib.platforms.unix; diff --git a/pkgs/tools/filesystems/9pfs/fix-darwin-build.patch b/pkgs/tools/filesystems/9pfs/fix-darwin-build.patch deleted file mode 100644 index a565248f19d5..000000000000 --- a/pkgs/tools/filesystems/9pfs/fix-darwin-build.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 6b7863b51c97f8ecd9a93fc4347f8938f9b5c05f Mon Sep 17 00:00:00 2001 -From: midchildan -Date: Tue, 30 Mar 2021 22:21:51 +0900 -Subject: [PATCH] build: fix build for macOS - ---- - 9pfs.c | 4 ++-- - libc.h | 4 ++++ - 2 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/9pfs.c b/9pfs.c -index 2c481bd..f5c487c 100644 ---- a/9pfs.c -+++ b/9pfs.c -@@ -30,7 +30,7 @@ - enum - { - CACHECTLSIZE = 8, /* sizeof("cleared\n") - 1 */ -- MSIZE = 8192 -+ MSIZE_9P = 8192 - }; - - void dir2stat(struct stat*, Dir*); -@@ -505,7 +505,7 @@ main(int argc, char *argv[]) - freeaddrinfo(ainfo); - - init9p(); -- msize = _9pversion(MSIZE); -+ msize = _9pversion(MSIZE_9P); - if(doauth){ - authfid = _9pauth(AUTHFID, user, NULL); - ai = auth_proxy(authfid, auth_getkey, "proto=p9any role=client"); -diff --git a/libc.h b/libc.h -index 099adba..aac03c5 100644 ---- a/libc.h -+++ b/libc.h -@@ -61,6 +61,10 @@ typedef unsigned char uchar; - typedef unsigned long long uvlong; - typedef long long vlong; - -+#ifndef __GLIBC__ -+typedef unsigned long ulong; -+#endif -+ - typedef - struct Qid - { From 3d19582ebe18c4b9a710d30ce666ce44d403cae2 Mon Sep 17 00:00:00 2001 From: happysalada Date: Thu, 13 Jul 2023 17:45:50 +0800 Subject: [PATCH 32/33] python310Packages.pyre-extensions: init at 0.0.30 --- .../pyre-extensions/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/pyre-extensions/default.nix diff --git a/pkgs/development/python-modules/pyre-extensions/default.nix b/pkgs/development/python-modules/pyre-extensions/default.nix new file mode 100644 index 000000000000..dd9868d2078d --- /dev/null +++ b/pkgs/development/python-modules/pyre-extensions/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +# build inputs +, typing-extensions +, typing-inspect +}: +let + pname = "pyre-extensions"; + version = "0.0.30"; +in +buildPythonPackage { + inherit pname version; + format = "setuptools"; + + disable = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-unkjxIbgia+zehBiOo9K6C1zz/QkJtcRxIrwcOW8MbI="; + }; + + propagatedBuildInputs = [ + typing-extensions + typing-inspect + ]; + + pythonImportsCheck = [ "pyre_extensions" ]; + + meta = with lib; { + description = "This module defines extensions to the standard “typing” module that are supported by the Pyre typechecker"; + homepage = "https://pypi.org/project/pyre-extensions"; + license = licenses.mit; + maintainers = with maintainers; [ happysalada ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 133088f8f9fa..1e941f872775 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7961,6 +7961,8 @@ self: super: with self; { pyrdfa3 = callPackage ../development/python-modules/pyrdfa3 { }; + pyre-extensions = callPackage ../development/python-modules/pyre-extensions { }; + pyrevolve = callPackage ../development/python-modules/pyrevolve { }; pyrfxtrx = callPackage ../development/python-modules/pyrfxtrx { }; From 7764e28784180311051541497bc19a7ec890dbda Mon Sep 17 00:00:00 2001 From: happysalada Date: Thu, 13 Jul 2023 18:48:49 +0800 Subject: [PATCH 33/33] python310Packages.xformers: init at 0.0.20 --- .../python-modules/xformers/default.nix | 85 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 87 insertions(+) create mode 100644 pkgs/development/python-modules/xformers/default.nix diff --git a/pkgs/development/python-modules/xformers/default.nix b/pkgs/development/python-modules/xformers/default.nix new file mode 100644 index 000000000000..cd6c6aa0ebdb --- /dev/null +++ b/pkgs/development/python-modules/xformers/default.nix @@ -0,0 +1,85 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchFromGitHub +, pythonRelaxDepsHook +, which +# runtime dependencies +, numpy +, torch +, pyre-extensions +# check dependencies +, pytestCheckHook +, pytest-cov +# , pytest-mpi +, pytest-timeout +# , pytorch-image-models +, hydra-core +, fairscale +, scipy +, cmake +, openai-triton +, networkx +}: +let + version = "0.0.20"; +in +buildPythonPackage { + pname = "xformers"; + inherit version; + format = "setuptools"; + + disable = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "facebookresearch"; + repo = "xformers"; + rev = "v${version}"; + hash = "sha256-OFH4I3eTKw1bQEKHh1AvkpcoShKK5R5674AoJ/mY85I="; + fetchSubmodules = true; + }; + + preBuild = '' + cat << EOF > ./xformers/version.py + # noqa: C801 + __version__ = "${version}" + EOF + ''; + + nativeBuildInputs = [ + pythonRelaxDepsHook + which + ]; + + pythonRelaxDeps = [ + "pyre-extensions" + ]; + + propagatedBuildInputs = [ + numpy + torch + pyre-extensions + ]; + + pythonImportsCheck = [ "xformers" ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-cov + pytest-timeout + hydra-core + fairscale + scipy + cmake + networkx + openai-triton + ]; + + meta = with lib; { + description = "XFormers: A collection of composable Transformer building blocks"; + homepage = "https://github.com/facebookresearch/xformers"; + changelog = "https://github.com/facebookresearch/xformers/blob/${version}/CHANGELOG.md"; + license = licenses.bsd3; + maintainers = with maintainers; [ happysalada ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1e941f872775..52f5d9859b4e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13487,6 +13487,8 @@ self: super: with self; { inherit (pkgs) graphviz; }; + xformers = callPackage ../development/python-modules/xformers { }; + xgboost = callPackage ../development/python-modules/xgboost { inherit (pkgs) xgboost; };