diff options
Diffstat (limited to 'pkgs/development/python-modules/pyramid/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyramid/default.nix | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/pyramid/default.nix b/pkgs/development/python-modules/pyramid/default.nix index d3f8d03debed..d30f96b67d66 100644 --- a/pkgs/development/python-modules/pyramid/default.nix +++ b/pkgs/development/python-modules/pyramid/default.nix @@ -1,25 +1,28 @@ -{ lib -, buildPythonPackage -, fetchPypi -, webtest -, zope-component -, hupper -, pastedeploy -, plaster -, plaster-pastedeploy -, repoze-lru -, translationstring -, venusian -, webob -, zope-deprecation -, zope-interface -, pythonOlder +{ + lib, + buildPythonPackage, + fetchPypi, + webtest, + zope-component, + hupper, + pastedeploy, + 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"; @@ -28,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 @@ -44,11 +50,10 @@ buildPythonPackage rec { nativeCheckInputs = [ webtest zope-component + pytestCheckHook ]; - pythonImportsCheck = [ - "pyramid" - ]; + pythonImportsCheck = [ "pyramid" ]; meta = with lib; { description = "Python web framework"; |