Merge pull request #319939 from mweinelt/python-filter-source

python312Packages.spacy: clean source for annotation test
This commit is contained in:
Silvan Mosberger
2024-06-17 17:16:54 +02:00
committed by GitHub
2 changed files with 14 additions and 2 deletions
@@ -1,4 +1,5 @@
{
lib,
stdenv,
pytest,
spacy-models,
@@ -7,7 +8,12 @@
stdenv.mkDerivation {
name = "spacy-transformers-annotation-test";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./annotate.py
];
};
dontConfigure = true;
dontBuild = true;
@@ -1,4 +1,5 @@
{
lib,
stdenv,
pytest,
spacy-models,
@@ -7,7 +8,12 @@
stdenv.mkDerivation {
name = "spacy-annotation-test";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./annotate.py
];
};
dontConfigure = true;
dontBuild = true;