pythonPackages.thinc: 6.12.1 -> 7.0.4
This commit is contained in:
parent
54f9e90e4f
commit
613e802f01
@ -21,15 +21,18 @@
|
|||||||
, mock
|
, mock
|
||||||
, wrapt
|
, wrapt
|
||||||
, dill
|
, dill
|
||||||
|
, blis
|
||||||
|
, srsly
|
||||||
|
, wasabi
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "thinc";
|
pname = "thinc";
|
||||||
version = "6.12.1";
|
version = "7.0.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1kkp8b3xcs3yn3ia5sxrh086c9xv27s2khdxd17abdypxxa99ich";
|
sha256 = "14v8ygjrkj63dwd4pi490ld6i2d8n8wzcf15hnacjjfwij93pa1q";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||||
@ -37,6 +40,7 @@ buildPythonPackage rec {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
blis
|
||||||
cython
|
cython
|
||||||
cymem
|
cymem
|
||||||
msgpack-numpy
|
msgpack-numpy
|
||||||
@ -48,8 +52,10 @@ buildPythonPackage rec {
|
|||||||
cytoolz
|
cytoolz
|
||||||
plac
|
plac
|
||||||
six
|
six
|
||||||
|
srsly
|
||||||
wrapt
|
wrapt
|
||||||
dill
|
dill
|
||||||
|
wasabi
|
||||||
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||||
|
|
||||||
|
|
||||||
@ -61,12 +67,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "pathlib==1.0.1" "pathlib>=1.0.0,<2.0.0" \
|
--replace "plac>=0.9.6,<1.0.0" "plac>=0.9.6"
|
||||||
--replace "plac>=0.9.6,<1.0.0" "plac>=0.9.6" \
|
|
||||||
--replace "msgpack-numpy<0.4.4" "msgpack-numpy" \
|
|
||||||
--replace "wheel>=0.32.0,<0.33.0" "wheel" \
|
|
||||||
--replace "wrapt>=1.10.0,<1.11.0" "wrapt" \
|
|
||||||
--replace "msgpack>=0.5.6,<0.6.0" "msgpack"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Cannot find cython modules.
|
# Cannot find cython modules.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user