From 4a2bbf27a8f68e08fbfb7333214decba4bdc7745 Mon Sep 17 00:00:00 2001 From: Jonas Meurer Date: Mon, 27 May 2024 23:38:37 +0200 Subject: [PATCH] fricas: 1.3.9 -> 1.3.10 Previous builds refused to build due to memory exhaustion. This was already fixed by upstream in 759272d834538c54d69d3dbb9f31a2b1e51cf9a8. --- .../science/math/fricas/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/science/math/fricas/default.nix b/pkgs/applications/science/math/fricas/default.nix index 355238ace15c..41dc9d66b8a7 100644 --- a/pkgs/applications/science/math/fricas/default.nix +++ b/pkgs/applications/science/math/fricas/default.nix @@ -1,20 +1,27 @@ -{ lib, stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: +{ lib, stdenv, fetchFromGitHub, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: stdenv.mkDerivation rec { pname = "fricas"; - version = "1.3.9"; + version = "1.3.10"; - src = fetchurl { - url = "mirror://sourceforge/fricas/fricas/${version}/fricas-${version}-full.tar.bz2"; - sha256 = "sha256-5RPcffM0GN0l6r8IgHJlwdxwwp2y4kIdJ5M3JnGZCzc="; + src = fetchFromGitHub { + owner = "fricas"; + repo = "fricas"; + rev = version; + sha256 = "sha256-T1xDndDnHq/hmhTWWO3Eu0733u8+C8sJMCF6pbLU2GI="; }; buildInputs = [ sbcl libX11 libXpm libICE libSM libXt libXau libXdmcp ]; + # Remove when updating to next version + configurePhase = '' + ./configure --prefix=$out --with-lisp='sbcl --dynamic-space-size 3072' + ''; + dontStrip = true; meta = { - homepage = "https://fricas.sourceforge.net/"; + homepage = "https://fricas.github.io"; description = "An advanced computer algebra system"; license = lib.licenses.bsd3;