From 7d3e3f0d6161c6bac8471bb9eefa6ae46b0dadc3 Mon Sep 17 00:00:00 2001 From: aktaboot Date: Sun, 3 Nov 2024 10:20:35 +0100 Subject: [PATCH] python312Packages.pyfxa: fix build, add missing dependencies --- pkgs/development/python-modules/pyfxa/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pyfxa/default.nix b/pkgs/development/python-modules/pyfxa/default.nix index 4460239e63680..d3a4dcfac3ed5 100644 --- a/pkgs/development/python-modules/pyfxa/default.nix +++ b/pkgs/development/python-modules/pyfxa/default.nix @@ -12,8 +12,8 @@ pythonOlder, requests, responses, - setuptools, - six, + hatchling, + parameterized, }: buildPythonPackage rec { @@ -28,7 +28,7 @@ buildPythonPackage rec { hash = "sha256-dTsWFWaqX6YypNJz9WSlcxJlYOstmTu2ZgOG3RPSViw="; }; - build-system = [ setuptools ]; + build-system = [ hatchling ]; dependencies = [ cryptography @@ -36,8 +36,6 @@ buildPythonPackage rec { pybrowserid pyjwt requests - setuptools # imports pkg_resources - six ]; nativeCheckInputs = [ @@ -45,6 +43,7 @@ buildPythonPackage rec { mock responses pytestCheckHook + parameterized ]; pythonImportsCheck = [ "fxa" ];