python312Packages.spacy-curated-transformers: 0.3.0 -> 2.1.2 (#408496)

This commit is contained in:
Gaétan Lepage
2025-05-19 11:27:31 +02:00
committed by GitHub
2 changed files with 12 additions and 8 deletions
@@ -36,11 +36,11 @@ buildPythonPackage rec {
# models from Hugging Face Hub.
pythonImportsCheck = [ "curated_transformers" ];
meta = with lib; {
meta = {
description = "PyTorch library of curated Transformer models and their composable components";
homepage = "https://github.com/explosion/curated-transformers";
changelog = "https://github.com/explosion/curated-transformers/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danieldk ];
};
}
@@ -11,18 +11,22 @@
buildPythonPackage rec {
pname = "spacy-curated-transformers";
version = "0.3.0";
version = "2.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "explosion";
repo = "spacy-curated-transformers";
tag = "release-v${version}";
hash = "sha256-3LL0ofVsyacMzLJtttg0Tl9SlkPex7TwWL/HVF4WkfI=";
hash = "sha256-Y3puV9fDN5mAugLPmXuoIbwUBpSMcmkq+oXAyYdmQew=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [
"thinc"
];
dependencies = [
curated-tokenizers
curated-transformers
@@ -34,11 +38,11 @@ buildPythonPackage rec {
# models from Hugging Face Hub.
pythonImportsCheck = [ "spacy_curated_transformers" ];
meta = with lib; {
meta = {
description = "spaCy entry points for Curated Transformers";
homepage = "https://github.com/explosion/spacy-curated-transformers";
changelog = "https://github.com/explosion/spacy-curated-transformers/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danieldk ];
};
}