python3Packages.agate-sql: reenable test and use pytest instead of nose

This commit is contained in:
Martin Weinelt
2022-07-21 22:35:24 +02:00
parent b4e278209f
commit 94c628e631
@@ -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" ];