diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix index c2e741bef176..827f73f27e7a 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" ];