2020-08-20 17:08:02 +00:00
|
|
|
{ stdenv, pytest, spacy_models }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "spacy-annotation-test";
|
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = true;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest spacy_models.en_core_web_sm ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest annotate.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
touch $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta.timeout = 60;
|
|
|
|
}
|