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