pythonPackages.cymem: 1.31.2 -> 2.0.2

This commit is contained in:
Daniël de Kok 2018-10-20 12:04:59 +02:00
parent 7a10601dc4
commit 5653f3d531
1 changed files with 8 additions and 3 deletions

View File

@ -6,20 +6,25 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cymem"; pname = "cymem";
version = "1.31.2"; version = "2.0.2";
name = pname + "-" + version; name = pname + "-" + version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "explosion"; owner = "explosion";
repo = "cymem"; repo = "cymem";
rev = "1.31.2"; rev = "v${version}";
sha256 = "0miznr4kbdzw8yik3m96jmrlmln4qv7z3i3qdp7wjqr51zpqfm1k"; sha256 = "109i67vwgql9za8mfvgbrd6rgraz4djkvpzb4gqvzl13214s6ava";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
cython cython
]; ];
prePatch = ''
substituteInPlace setup.py \
--replace "wheel>=0.32.0,<0.33.0" "wheel>=0.31.0"
'';
checkPhase = '' checkPhase = ''
cd cymem/tests cd cymem/tests
${python.interpreter} -m unittest discover -p "*test*" ${python.interpreter} -m unittest discover -p "*test*"