Skip to content

Commit

Permalink
symengine: 0.12.0 -> 0.13.0 (NixOS#346237)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Nov 7, 2024
2 parents b2127e7 + 7977047 commit c18e1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/symengine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
11 changes: 0 additions & 11 deletions pkgs/development/python-modules/symengine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
cython,
cmake,
symengine,
Expand Down Expand Up @@ -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'"
Expand Down

0 comments on commit c18e1d0

Please sign in to comment.