summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-02-21 10:54:03 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-02-21 10:54:03 +0100
commitcbe4ff80030e6ebd96f2e3aaff15006c20f346b5 (patch)
tree3e94f64459e3f1458fd10880161f1e00508d5ab8
parent17436a24612c38572449680c844c2e5a0cfe7a93 (diff)
downloadnixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.tar
nixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.tar.gz
nixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.tar.bz2
nixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.tar.lz
nixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.tar.xz
nixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.tar.zst
nixpkgs-cbe4ff80030e6ebd96f2e3aaff15006c20f346b5.zip
python310Packages.flask-mongoengine: remove buildInputs
buildInputs covered the inputs which should have been part of
checkInputs. Tests are not executed, thus removed.
-rw-r--r--pkgs/development/python-modules/flask-mongoengine/default.nix16
1 files changed, 5 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/flask-mongoengine/default.nix b/pkgs/development/python-modules/flask-mongoengine/default.nix
index dd9705c666c..6a9598166c1 100644
--- a/pkgs/development/python-modules/flask-mongoengine/default.nix
+++ b/pkgs/development/python-modules/flask-mongoengine/default.nix
@@ -5,9 +5,6 @@
 , flask-wtf
 , mongoengine
 , six
-, nose
-, rednose
-, coverage
 , email-validator
 }:
 
@@ -30,16 +27,13 @@ buildPythonPackage rec {
     six
   ];
 
-  # they set test requirements to setup_requirements...
-  buildInputs = [
-    nose
-    rednose
-    coverage
-  ];
-
-  # tests require working mongodb connection
+  # Tests require working mongodb connection
   doCheck = false;
 
+  pythonImportsCheck = [
+    "flask_mongoengine"
+  ];
+
   meta = with lib; {
     description = "Flask extension that provides integration with MongoEngine and WTF model forms";
     homepage = "https://github.com/mongoengine/flask-mongoengine";