depot/third_party/nixpkgs/pkgs/development/python-modules/spacy/legacy.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

29 lines
695 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "spacy-legacy";
version = "3.0.12";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-s31uDJtuHXyhz1vHFSq2SkxGcfWcha2vej/LhwNXp3Q=";
};
# nativeCheckInputs = [ pytestCheckHook spacy ];
doCheck = false;
pythonImportsCheck = [
"spacy_legacy"
];
meta = with lib; {
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}";
license = licenses.asl20;
maintainers = with maintainers; [ melling ];
};
}