Merge pull request #319939 from mweinelt/python-filter-source
python312Packages.spacy: clean source for annotation test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user