mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 21:04:30 +00:00
python3Packages.spacy: 2.1.8 -> 2.2.0
Changelog: https://github.com/explosion/spaCy/releases/tag/v2.2.0
This commit is contained in:
parent
bff5f0bbb1
commit
4491958922
@ -26,18 +26,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spacy";
|
||||
version = "2.1.8";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dja0crbai2n1l19m0hkv2fkj9r6zzy5ijd6dffp60v7lrch8lcw";
|
||||
sha256 = "1cfgp3qnwcyiz5hs0i920aidz12j0iaargrfgf69fc6pc0n3a899";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6" \
|
||||
--replace "thinc>=7.0.8,<7.1.0" "thinc>=7.0.8" \
|
||||
--replace "blis>=0.2.2,<0.3.0" "blis>=0.2.2"
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "plac<1.0.0,>=0.9.6" "plac>=0.9.6"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user