From 062d47f93ea0e00816b59691cd2394d529fde6fb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 Aug 2021 16:44:47 +0200 Subject: [PATCH] python3Packages.webtest: add pythonImportsCheck --- .../python-modules/webtest/default.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/webtest/default.nix b/pkgs/development/python-modules/webtest/default.nix index e173dfa8daab..e5dd4758df70 100644 --- a/pkgs/development/python-modules/webtest/default.nix +++ b/pkgs/development/python-modules/webtest/default.nix @@ -28,17 +28,30 @@ buildPythonPackage rec { substituteInPlace setup.py --replace "nose<1.3.0" "nose" ''; - propagatedBuildInputs = [ webob six beautifulsoup4 waitress ]; + propagatedBuildInputs = [ + webob + six + beautifulsoup4 + waitress + ]; - checkInputs = [ nose mock PasteDeploy wsgiproxy2 pyquery ]; + checkInputs = [ + nose + mock + PasteDeploy + wsgiproxy2 + pyquery + ]; # Some of the tests use localhost networking. __darwinAllowLocalNetworking = true; + pythonImportsCheck = [ "webtest" ]; + meta = with lib; { description = "Helper to test WSGI applications"; homepage = "https://webtest.readthedocs.org/en/latest/"; license = licenses.mit; + maintainers = with maintainers; [ ]; }; - }