Add (past packages maths).

* modules/past/packages/maths.scm: New file.
parent 9b43fd25
Pipeline #155560 passed with stages
in 7 minutes and 54 seconds
;;; Guix Past --- Packages from the past for GNU Guix.
;;; Copyright © 2020 Ricardo Wurmus <>
;;; This file is part of Guix Past.
;;; Guix Past is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;; Guix Past is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; GNU General Public License for more details.
;;; You should have received a copy of the GNU General Public License
;;; along with Guix Past. If not, see <>.
(define-module (past packages maths)
#:use-module (guix)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages))
(define S specification->package)
(define-public gsl-1.16
(name "gsl")
(version "1.16")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gsl/gsl-"
version ".tar.gz"))
(build-system gnu-build-system)
(modify-phases %standard-phases
;; XXX: Both of these tests fail like this:
;; gsl: fprintf_source.c:164: ERROR: fscanf failed
;; Default GSL error handler invoked.
(add-after 'unpack 'disable-broken-tests
(lambda _
(substitute* "vector/"
(("^(check_PROGRAMS = test\\$\\(EXEEXT\\)).*$" _ m)
(string-append m "\n")))
(substitute* "matrix/"
(("^check_PROGRAMS = .*$")
"check_PROGRAMS = test_static$(EXEEXT)\n"))
`(("pkg-config" ,(S "pkg-config"))))
(home-page "")
(synopsis "Numerical library for C and C++")
"The GNU Scientific Library is a library for numerical analysis
in C and C++. It includes a wide range of mathematical routines, with
over 1000 functions in total. Subject areas covered by the library
include: differential equations, linear algebra, Fast Fourier
Transforms and random numbers.")
(license license:gpl3+)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment