repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
handheld-daemon-ui: 3.2.3 -> 3.3.0 (#361609)
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
spacy-transformers
/
annotation-test
/
default.nix
blob
3205238b742b4091a4aad2abbb96ed5eea8e9121
1
{
2
lib,
3
stdenv,
4
pytest,
5
spacy-models,
6
}:
7
8
stdenv.mkDerivation {
9
name = "spacy-transformers-annotation-test";
10
11
src = lib.fileset.toSource {
12
root = ./.;
13
fileset = lib.fileset.unions [
14
./annotate.py
15
];
16
};
17
18
dontConfigure = true;
19
dontBuild = true;
20
21
nativeCheckInputs = [
22
pytest
23
spacy-models.en_core_web_trf
24
];
25
26
checkPhase = ''
27
pytest annotate.py
28
'';
29
30
installPhase = ''
31
touch $out
32
'';
33
34
meta.timeout = 60;
35
}