about summary refs log tree commit diff
path: root/pkgs/development/python-modules/agate-sql
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-16 17:39:19 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-21 22:35:24 +0200
commit94c628e631fde01e8acb30bccd07aa2fd82c9e8e (patch)
treeb9653ab47928000fbbd6984efbfe06c84d3f8fd1 /pkgs/development/python-modules/agate-sql
parentb4e278209f6d68e5a5f8d14b8b25e35843b37cdc (diff)
python3Packages.agate-sql: reenable test and use pytest instead of nose
Diffstat (limited to 'pkgs/development/python-modules/agate-sql')
-rw-r--r--pkgs/development/python-modules/agate-sql/default.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix
index c2e741bef1769..827f73f27e7ab 100644
--- a/pkgs/development/python-modules/agate-sql/default.nix
+++ b/pkgs/development/python-modules/agate-sql/default.nix
@@ -5,7 +5,7 @@
 , agate
 , sqlalchemy
 , crate
-, nose
+, pytestCheckHook
 , geojson
 }:
 
@@ -22,15 +22,7 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ agate sqlalchemy ];
 
-  # crate is broken in nixpkgs, with SQLAlchemy > 1.3
-  # Skip tests for now as they rely on it.
-  doCheck = false;
-
-  checkInputs = [ crate nose geojson ];
-
-  checkPhase = ''
-    nosetests
-  '';
+  checkInputs = [ crate geojson pytestCheckHook ];
 
   pythonImportsCheck = [ "agatesql" ];