From a5a00a7973799e036239f4eef5da229acdf3e7d3 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 3 Sep 2025 22:11:02 +0200 Subject: [PATCH] python3Packages.http-message-signatures: use pyproject, unbreak https://hydra.nixos.org/build/305645816 --- .../http-message-signatures/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/http-message-signatures/default.nix b/pkgs/development/python-modules/http-message-signatures/default.nix index c5877acb8119..87362685ceb4 100644 --- a/pkgs/development/python-modules/http-message-signatures/default.nix +++ b/pkgs/development/python-modules/http-message-signatures/default.nix @@ -3,19 +3,19 @@ buildPythonPackage, cryptography, fetchFromGitHub, - http-sfv, pytestCheckHook, pythonOlder, - setuptools-scm, + hatchling, + hatch-vcs, requests, }: buildPythonPackage rec { pname = "http-message-signatures"; version = "1.0.0"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pyauth"; @@ -24,11 +24,13 @@ buildPythonPackage rec { hash = "sha256-vPZeAS3hR7Bmj2FtME+V9WU3TViBndrBb9GLkdMVh2Q="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ + hatchling + hatch-vcs + ]; propagatedBuildInputs = [ cryptography - http-sfv ]; nativeCheckInputs = [