From 7951da562299b7521c249dfe27d49ff8ef51ddeb Mon Sep 17 00:00:00 2001 From: Pyrox Date: Wed, 31 Jul 2024 12:40:27 -0400 Subject: [PATCH] python312Packages.http-ece: modernize --- pkgs/development/python-modules/http-ece/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/http-ece/default.nix b/pkgs/development/python-modules/http-ece/default.nix index 307a7b1f4d5e..d4010abc5242 100644 --- a/pkgs/development/python-modules/http-ece/default.nix +++ b/pkgs/development/python-modules/http-ece/default.nix @@ -11,6 +11,7 @@ buildPythonPackage rec { pname = "http-ece"; version = "1.2.1"; + pyproject = true; src = fetchFromGitHub { owner = "web-push-libs"; @@ -21,14 +22,16 @@ buildPythonPackage rec { sourceRoot = "${src.name}/python"; - propagatedBuildInputs = [ cryptography ]; + build-system = [ setuptools ]; + + dependencies = [ cryptography ]; nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ]; - meta = with lib; { + meta = { description = "Encipher HTTP Messages"; homepage = "https://github.com/web-push-libs/encrypted-content-encoding"; license = lib.licenses.mit;