2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "spacy-legacy";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "3.0.9";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-T33LxObI6MtOrbsAn5wKGipnRC4AMsjWd2yUcMN1mQM=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# checkInputs = [ pytestCheckHook spacy ];
|
|
|
|
doCheck = false;
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"spacy_legacy"
|
|
|
|
];
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-01-11 07:51:40 +00:00
|
|
|
description = "Legacy registered functions for spaCy backwards compatibility";
|
|
|
|
homepage = "https://github.com/explosion/spacy-legacy";
|
|
|
|
changelog = "https://github.com/explosion/spacy-legacy/releases/tag/v${version}";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ melling ];
|
|
|
|
};
|
|
|
|
}
|