11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
19 sha256 = "sha256-5KpxBusJCuwrfFWHbrRKlH6Ic7YivYqz2m+BCbNfZp0=";
23 cp ${catch}/include/catch/catch.hpp symengine/utilities/catch/catch.hpp
26 nativeBuildInputs = [ cmake ];
28 buildInputs = [ gmp flint mpfr libmpc ];
32 "-DINTEGER_CLASS=flint"
33 "-DWITH_SYMENGINE_THREAD_SAFE=yes"
35 "-DBUILD_FOR_DISTRIBUTION=yes"
45 description = "A fast symbolic manipulation library";
46 homepage = "https://github.com/symengine/symengine";
47 platforms = platforms.unix ++ platforms.windows;
48 license = licenses.bsd3;
49 maintainers = [ maintainers.costrouc ];