diff --git a/pkgs/development/libraries/symengine/default.nix b/pkgs/development/libraries/symengine/default.nix index cbdb542dbfd96..9d6ef0f2404c9 100644 --- a/pkgs/development/libraries/symengine/default.nix +++ b/pkgs/development/libraries/symengine/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "symengine"; - version = "0.12.0"; + version = "0.13.0"; src = fetchFromGitHub { owner = "symengine"; repo = "symengine"; rev = "v${version}"; - hash = "sha256-SfifujR2VM1OlPN0ZRUC3hWImXO/8PuiyrBdpyNoKW4="; + hash = "sha256-hMTndwIXTqf3cxKZdnn38SFvZLEb48k1Lvm5/hW7U8k="; }; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/development/python-modules/symengine/default.nix b/pkgs/development/python-modules/symengine/default.nix index bd01445dd62e7..abea3479d15bc 100644 --- a/pkgs/development/python-modules/symengine/default.nix +++ b/pkgs/development/python-modules/symengine/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, cython, cmake, symengine, @@ -30,16 +29,6 @@ buildPythonPackage rec { SymEngine_DIR = "${symengine}"; }; - patches = [ - # Distutils has been removed in python 3.12 - # See https://github.com/symengine/symengine.py/pull/478 - (fetchpatch { - name = "no-distutils.patch"; - url = "https://github.com/symengine/symengine.py/pull/478/commits/e72006d5f7425cd50c54b22766e0ed4bcd2dca85.patch"; - hash = "sha256-kGJRGkBgxOfI1wf88JwnSztkOYd1wvg62H7wA6CcYEQ="; - }) - ]; - postPatch = '' substituteInPlace setup.py \ --replace-fail "'cython>=0.29.24'" "'cython'"