Unverified Commit c9e79f07 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

symengine: 0.13.0 -> 0.14.0 (#382865)

parents e6057380 f35f35c9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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
  ];
+6 −7
Original line number Diff line number Diff line
@@ -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