python3Packages.symengine: 0.7.2 -> 0.8.1

patching out cython version requirement as their choice seems to have
been arbitrary ("the latest")
This commit is contained in:
Robert Scott 2021-09-14 21:40:20 +01:00
parent d7c262d057
commit 6169b45fd4

View File

@ -11,18 +11,19 @@
buildPythonPackage rec {
pname = "symengine";
version = "0.7.2";
version = "0.8.1";
src = fetchFromGitHub {
owner = "symengine";
repo = "symengine.py";
rev = "v${version}";
sha256 = "1xaclpvk7m6mbp70zrsvi3blz4v89pbsf7b6rpmx5903m6kxqr4m";
sha256 = "0yyi3w03fk19i32jmns1baq3rpmf7xfykzkivc7dmnxmjmxvq2gr";
};
postConfigure = ''
substituteInPlace setup.py \
--replace "\"cmake\"" "\"${cmake}/bin/cmake\""
--replace "\"cmake\"" "\"${cmake}/bin/cmake\"" \
--replace "'cython>=0.29.24'" "'cython'"
substituteInPlace cmake/FindCython.cmake \
--replace "SET(CYTHON_BIN cython" "SET(CYTHON_BIN ${cython}/bin/cython"