about summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorJonas Meurer <jmpunkt@outlook.com>2024-05-27 23:38:37 +0200
committerJonas Meurer <jmpunkt@outlook.com>2024-05-27 23:38:37 +0200
commit4a2bbf27a8f68e08fbfb7333214decba4bdc7745 (patch)
tree8c1f9cefc958b628a5b99c38144c1e35e4fb4b8c /pkgs/applications/science/math
parent61f95814d35e9faf61aa1dd81bd7acdf9a5514b9 (diff)
downloadnixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.tar
nixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.tar.gz
nixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.tar.bz2
nixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.tar.lz
nixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.tar.xz
nixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.tar.zst
nixlib-4a2bbf27a8f68e08fbfb7333214decba4bdc7745.zip
fricas: 1.3.9 -> 1.3.10
Previous builds refused to build due to memory exhaustion. This was
already fixed by upstream in 759272d834538c54d69d3dbb9f31a2b1e51cf9a8.
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/fricas/default.nix19
1 files 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;