1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5}:
6
7buildPythonPackage rec {
8 pname = "spacy-legacy";
9 version = "3.0.12";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-s31uDJtuHXyhz1vHFSq2SkxGcfWcha2vej/LhwNXp3Q=";
15 };
16
17 # nativeCheckInputs = [ pytestCheckHook spacy ];
18 doCheck = false;
19
20 pythonImportsCheck = [ "spacy_legacy" ];
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}