python3Packages.preshed: 2.0.1 -> 3.0.2

This commit is contained in:
Daniël de Kok 2019-10-02 19:37:42 +02:00 committed by Jon
parent 7eace49cc5
commit 770d7f46b9

View File

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, murmurhash
, pytest
, cython
, cymem
@ -8,27 +9,23 @@
}:
buildPythonPackage rec {
pname = "preshed";
version = "2.0.1";
version = "3.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1rd943zp4gyspajqm5qxzndxziyh51grx0zcw23w8r9r65s1rq6s";
sha256 = "1jrnci1pw9yv7j1a9b2q6c955l3gb8fv1q4d0id6s7bwr5l39mv1";
};
propagatedBuildInputs = [
cython
cymem
murmurhash
];
buildInputs = [
checkInputs = [
pytest
];
prePatch = ''
substituteInPlace setup.py \
--replace "wheel>=0.32.0,<0.33.0" "wheel>=0.31.0"
'';
checkPhase = ''
${python.interpreter} setup.py test
'';