Files
nixpkgs/pkgs/development/python-modules/spacy/annotation-test/default.nix
Martin Weinelt 266c161842 python312Packages: cleanup instances of doCheck = true
This is implicitly the case, and unless `doCheck` is referenced it makes
no sense setting it.
2024-10-26 01:47:02 +02:00

36 lines
453 B
Nix

{
lib,
stdenv,
pytest,
spacy-models,
}:
stdenv.mkDerivation {
name = "spacy-annotation-test";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./annotate.py
];
};
dontConfigure = true;
dontBuild = true;
nativeCheckInputs = [
pytest
spacy-models.en_core_web_sm
];
checkPhase = ''
pytest annotate.py
'';
installPhase = ''
touch $out
'';
meta.timeout = 60;
}