python3Package.thinc: 6.12.0 -> 6.12.1

This commit is contained in:
Daniël de Kok 2018-12-15 09:28:44 +01:00
parent 2473754ad2
commit d1edf245e8

View File

@ -19,18 +19,17 @@
, plac
, six
, mock
, termcolor
, wrapt
, dill
}:
buildPythonPackage rec {
pname = "thinc";
version = "6.12.0";
version = "6.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "0lfdf08v7rrj9b29z2vf8isaqa0zh16acw9im8chkqsh8bay4ykm";
sha256 = "1kkp8b3xcs3yn3ia5sxrh086c9xv27s2khdxd17abdypxxa99ich";
};
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
@ -45,20 +44,18 @@ buildPythonPackage rec {
preshed
numpy
murmurhash
pytest
hypothesis
tqdm
cytoolz
plac
six
mock
termcolor
wrapt
dill
] ++ lib.optional (pythonOlder "3.4") pathlib;
checkInputs = [
hypothesis
mock
pytest
];
@ -66,7 +63,7 @@ buildPythonPackage rec {
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 "wheel>=0.32.0,<0.33.0" "wheel>=0.31.0"
--replace "msgpack-numpy<0.4.4" "msgpack-numpy"
'';
# Cannot find cython modules.