summary refs log tree commit diff
path: root/pkgs/development/python-modules/marshmallow-sqlalchemy
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-02-12 00:55:45 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-02-12 00:55:45 +0100
commit0f4fecced88d78fb6558e67f854d00ff08652417 (patch)
tree96b712efeebc978508736dbfdaf9a0f3895f3e7b /pkgs/development/python-modules/marshmallow-sqlalchemy
parentf3d2fb42b8eb91de6c9c87fccbf75e233566ce71 (diff)
downloadnixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.tar
nixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.tar.gz
nixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.tar.bz2
nixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.tar.lz
nixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.tar.xz
nixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.tar.zst
nixpkgs-0f4fecced88d78fb6558e67f854d00ff08652417.zip
python3Packages.marshmallow-sqlalchemy: enable tests
Diffstat (limited to 'pkgs/development/python-modules/marshmallow-sqlalchemy')
-rw-r--r--pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix32
1 files changed, 22 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix b/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
index e25e1992f56..ba10c89e140 100644
--- a/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
+++ b/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
@@ -1,23 +1,35 @@
-{ lib, buildPythonPackage, fetchPypi,
-  marshmallow, sqlalchemy
+{ lib
+, buildPythonPackage
+, fetchPypi
+, marshmallow
+, sqlalchemy
+, pytest-lazy-fixture
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
   pname = "marshmallow-sqlalchemy";
   version = "0.24.2";
 
-  meta = {
-    homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
-    description = "SQLAlchemy integration with marshmallow ";
-    license = lib.licenses.mit;
-  };
-
   src = fetchPypi {
     inherit pname version;
     sha256 = "ee3ead3b83de6608c6850ff60515691b0dc556ca226680f8a82b9f785cdb71b1";
   };
 
-  propagatedBuildInputs = [ marshmallow sqlalchemy ];
+  propagatedBuildInputs = [
+    marshmallow
+    sqlalchemy
+  ];
+
+  checkInputs = [
+    pytest-lazy-fixture
+    pytestCheckHook
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
+    description = "SQLAlchemy integration with marshmallow ";
+    license = licenses.mit;
+  };
 
-  doCheck = false;
 }