1{ lib
2, fetchPypi
3, buildPythonPackage
4}:
5
6buildPythonPackage rec {
7 pname = "spacy-legacy";
8 version = "3.0.12";
9
10 src = fetchPypi {
11 inherit pname version;
12 hash = "sha256-s31uDJtuHXyhz1vHFSq2SkxGcfWcha2vej/LhwNXp3Q=";
13 };
14
15 # nativeCheckInputs = [ pytestCheckHook spacy ];
16 doCheck = false;
17
18 pythonImportsCheck = [
19 "spacy_legacy"
20 ];
21
22 meta = with lib; {
23 description = "Legacy registered functions for spaCy backwards compatibility";
24 homepage = "https://github.com/explosion/spacy-legacy";
25 changelog = "https://github.com/explosion/spacy-legacy/releases/tag/v${version}";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ melling ];
28 };
29}