symengine: 0.13.0 -> 0.14.0 (#382865)

This commit is contained in:
Weijia Wang
2025-03-28 11:38:18 +01:00
committed by GitHub
2 changed files with 10 additions and 11 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
fetchFromGitHub,
cmake,
gmp,
flint,
flint3,
mpfr,
libmpc,
withShared ? true,
@@ -12,20 +12,20 @@
stdenv.mkDerivation rec {
pname = "symengine";
version = "0.13.0";
version = "0.14.0";
src = fetchFromGitHub {
owner = "symengine";
repo = "symengine";
rev = "v${version}";
hash = "sha256-hMTndwIXTqf3cxKZdnn38SFvZLEb48k1Lvm5/hW7U8k=";
hash = "sha256-WriVcYt3fkObR2U4J6a4KGGc2HgyyFyFpdrwxBD+AHA=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gmp
flint
flint3
mpfr
libmpc
];
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "symengine";
version = "0.13.0";
version = "0.14.0";
build-system = [ setuptools ];
pyproject = true;
@@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "symengine";
repo = "symengine.py";
tag = "v${version}";
hash = "sha256-PJUzA86SGCnDpqU9j/dr3PlM9inyi8SQX0HGqPQ9wQw=";
hash = "sha256-jzEQLfiV/TLLUm9DKPCRKjpxfj3kYtobOcGifsdwaxY=";
};
env = {
@@ -32,14 +32,13 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace-fail "'cython>=0.29.24'" "'cython'"
export PATH=${cython}/bin:$PATH
'';
dontUseCmakeConfigure = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ cython ];
nativeBuildInputs = [
cmake
cython
];
nativeCheckInputs = [
pytest