3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/spacy-transformers/annotation-test/default.nix

24 lines
353 B
Nix

{ stdenv, pytest, spacy_models }:
stdenv.mkDerivation {
name = "spacy-transformers-annotation-test";
src = ./.;
dontConfigure = true;
dontBuild = true;
doCheck = true;
checkInputs = [ pytest spacy_models.en_core_web_trf ];
checkPhase = ''
pytest annotate.py
'';
installPhase = ''
touch $out
'';
meta.timeout = 60;
}