From e4a6b7a2e32ed07569980fe9c7c73283f3bd65cc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 13 Oct 2024 01:59:08 +0200 Subject: [PATCH] python312Packages.pyramid: fix missing dep, modernize --- pkgs/development/python-modules/pyramid/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyramid/default.nix b/pkgs/development/python-modules/pyramid/default.nix index 3564c0bd1aea..d30f96b67d66 100644 --- a/pkgs/development/python-modules/pyramid/default.nix +++ b/pkgs/development/python-modules/pyramid/default.nix @@ -9,18 +9,20 @@ plaster, plaster-pastedeploy, repoze-lru, + setuptools, translationstring, venusian, webob, zope-deprecation, zope-interface, pythonOlder, + pytestCheckHook, }: buildPythonPackage rec { pname = "pyramid"; version = "2.0.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -29,12 +31,15 @@ buildPythonPackage rec { hash = "sha256-NyE4pzjkIWU1zHbczm7d1aGqypUTDyNU+4NCZMBvGN4="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ hupper pastedeploy plaster plaster-pastedeploy repoze-lru + setuptools # for pkg_resources translationstring venusian webob @@ -45,6 +50,7 @@ buildPythonPackage rec { nativeCheckInputs = [ webtest zope-component + pytestCheckHook ]; pythonImportsCheck = [ "pyramid" ];