Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Guix Past
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guix-hpc
Guix Past
Commits
253271a8
Unverified
Commit
253271a8
authored
Jul 03, 2020
by
Ricardo Wurmus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add (past packages maths).
* modules/past/packages/maths.scm: New file.
parent
9b43fd25
Pipeline
#155560
passed with stages
in 7 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
modules/past/packages/maths.scm
modules/past/packages/maths.scm
+64
-0
No files found.
modules/past/packages/maths.scm
0 → 100644
View file @
253271a8
;;; Guix Past --- Packages from the past for GNU Guix.
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; 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
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; 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 <http://www.gnu.org/licenses/>.
(
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
(
package
(
name
"gsl"
)
(
version
"1.16"
)
(
source
(
origin
(
method
url-fetch
)
(
uri
(
string-append
"mirror://gnu/gsl/gsl-"
version
".tar.gz"
))
(
sha256
(
base32
"0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k"
))))
(
build-system
gnu-build-system
)
(
arguments
`
(
#
:phases
(
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/Makefile.in"
((
"^(check_PROGRAMS = test\\$\\(EXEEXT\\)).*$"
_
m
)
(
string-append
m
"\n"
)))
(
substitute*
"matrix/Makefile.in"
((
"^check_PROGRAMS = .*$"
)
"check_PROGRAMS = test_static$(EXEEXT)\n"
))
#t
)))))
(
native-inputs
`
((
"pkg-config"
,
(
S
"pkg-config"
))))
(
home-page
"https://www.gnu.org/software/gsl/"
)
(
synopsis
"Numerical library for C and C++"
)
(
description
"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+
)))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment